diff --git a/src/DataProtection/DataProtection.Autorest/Az.DataProtection.format.ps1xml b/src/DataProtection/DataProtection.Autorest/Az.DataProtection.format.ps1xml index bfa336b675a4..e2c20c9f1887 100644 --- a/src/DataProtection/DataProtection.Autorest/Az.DataProtection.format.ps1xml +++ b/src/DataProtection/DataProtection.Autorest/Az.DataProtection.format.ps1xml @@ -89,6 +89,40 @@ + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorDetail + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorDetail + + + + + + + + + + + + + + + + + + Code + + + Message + + + Target + + + + + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData @@ -170,9 +204,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResource @@ -198,9 +232,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AbsoluteDeleteOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AbsoluteDeleteOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AbsoluteDeleteOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AbsoluteDeleteOption @@ -226,9 +260,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdHocBackupRuleOptions + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdHocBackupRuleOptions - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdHocBackupRuleOptions + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdHocBackupRuleOptions @@ -248,9 +282,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdhocBackupTriggerOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdhocBackupTriggerOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdhocBackupTriggerOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdhocBackupTriggerOption @@ -270,9 +304,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdhocBasedTriggerContext + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdhocBasedTriggerContext - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdhocBasedTriggerContext + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdhocBasedTriggerContext @@ -292,9 +326,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentials + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentials - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentials + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentials @@ -314,9 +348,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupDiscreteRecoveryPoint + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupDiscreteRecoveryPoint - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupDiscreteRecoveryPoint + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupDiscreteRecoveryPoint @@ -338,6 +372,9 @@ + + + @@ -372,6 +409,9 @@ RecoveryPointId + + RecoveryPointState + RecoveryPointTime @@ -390,9 +430,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesRequest @@ -424,9 +464,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesRequestResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesRequestResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesRequestResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesRequestResource @@ -470,9 +510,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesResponse + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesResponse - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesResponse + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesResponse @@ -492,9 +532,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesResponseResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesResponseResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesResponseResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesResponseResource @@ -514,9 +554,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupJob + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJob - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupJob + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJob @@ -704,9 +744,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupJobResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJobResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupJobResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJobResource @@ -726,9 +766,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupJobResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJobResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupJobResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJobResourceList @@ -748,9 +788,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupParams + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupParams - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupParams + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupParams @@ -776,9 +816,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPoint + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPoint - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPoint + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPoint @@ -798,9 +838,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPointBasedRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPointBasedRestoreRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPointBasedRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPointBasedRestoreRequest @@ -850,9 +890,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPointResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPointResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPointResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPointResource @@ -872,9 +912,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPointResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPointResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPointResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPointResourceList @@ -894,9 +934,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryTimeBasedRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryTimeBasedRestoreRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryTimeBasedRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryTimeBasedRestoreRequest @@ -946,9 +986,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRehydrationRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRehydrationRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRehydrationRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRehydrationRequest @@ -980,9 +1020,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequest @@ -1014,9 +1054,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRestoreWithRehydrationRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreWithRehydrationRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRestoreWithRehydrationRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreWithRehydrationRequest @@ -1078,9 +1118,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRule - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRule @@ -1106,9 +1146,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureMonitorAlertSettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureMonitorAlertSettings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureMonitorAlertSettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureMonitorAlertSettings @@ -1128,9 +1168,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureOperationalStoreParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureOperationalStoreParameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureOperationalStoreParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureOperationalStoreParameters @@ -1162,9 +1202,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureRetentionRule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureRetentionRule - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureRetentionRule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureRetentionRule @@ -1196,9 +1236,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupCriteria @@ -1218,9 +1258,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupDatasourceParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupDatasourceParameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupDatasourceParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupDatasourceParameters @@ -1240,9 +1280,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstance + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstance - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstance + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstance @@ -1286,9 +1326,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResourceList @@ -1308,9 +1348,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupParameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupParameters @@ -1330,9 +1370,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupPolicy + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupPolicy - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupPolicy + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupPolicy @@ -1358,9 +1398,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupSchedule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupSchedule - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupSchedule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupSchedule @@ -1386,9 +1426,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVault + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVault - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVault + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVault @@ -1398,6 +1438,9 @@ + + + @@ -1414,6 +1457,9 @@ ProvisioningState + + ReplicatedRegion + ResourceMoveState @@ -1426,9 +1472,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVaultResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVaultResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVaultResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVaultResource @@ -1460,9 +1506,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVaultResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVaultResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVaultResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVaultResourceList @@ -1482,9 +1528,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicy + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicy - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicy + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicy @@ -1510,9 +1556,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicyResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicyResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicyResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicyResource @@ -1532,9 +1578,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicyResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicyResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicyResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicyResourceList @@ -1554,9 +1600,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BasePolicyRule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BasePolicyRule - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BasePolicyRule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BasePolicyRule @@ -1582,9 +1628,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseResourceProperties + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseResourceProperties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseResourceProperties + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseResourceProperties @@ -1604,9 +1650,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BlobBackupDatasourceParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BlobBackupDatasourceParameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BlobBackupDatasourceParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BlobBackupDatasourceParameters @@ -1632,9 +1678,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CheckNameAvailabilityRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CheckNameAvailabilityRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CheckNameAvailabilityRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CheckNameAvailabilityRequest @@ -1654,9 +1700,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CheckNameAvailabilityResult + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CheckNameAvailabilityResult - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CheckNameAvailabilityResult + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CheckNameAvailabilityResult @@ -1688,9 +1734,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryDisplay + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryDisplay - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryDisplay + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryDisplay @@ -1728,9 +1774,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForLogSpecification + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForLogSpecification - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForLogSpecification + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForLogSpecification @@ -1762,9 +1808,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryResponse + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryResponse - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryResponse + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryResponse @@ -1784,9 +1830,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryValueForSingleApi + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryValueForSingleApi - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryValueForSingleApi + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryValueForSingleApi @@ -1818,9 +1864,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CopyOnExpiryOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CopyOnExpiryOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CopyOnExpiryOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CopyOnExpiryOption @@ -1840,9 +1886,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CopyOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CopyOption @@ -1862,9 +1908,99 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossRegionRestoreSettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossRegionRestoreSettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreDetails + + + + + + + + + + + + + + + SourceBackupInstanceId + + + SourceRegion + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreJobRequest + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreJobRequest + + + + + + + + + + + + + + + + + + JobId + + + SourceBackupVaultId + + + SourceRegion + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreJobsRequest + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreJobsRequest + + + + + + + + + + + + + + + SourceBackupVaultId + + + SourceRegion + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreSettings + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreSettings @@ -1884,9 +2020,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossSubscriptionRestoreSettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossSubscriptionRestoreSettings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossSubscriptionRestoreSettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossSubscriptionRestoreSettings @@ -1906,9 +2042,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CustomCopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CustomCopyOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CustomCopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CustomCopyOption @@ -1934,9 +2070,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Datasource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Datasource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Datasource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Datasource @@ -1986,9 +2122,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSet + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSet - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSet + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSet @@ -2044,9 +2180,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreInfoBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreInfoBase - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreInfoBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreInfoBase @@ -2072,9 +2208,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreParameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreParameters @@ -2100,9 +2236,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Day + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Day - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Day + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Day @@ -2128,9 +2264,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DefaultResourceProperties + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DefaultResourceProperties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DefaultResourceProperties + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DefaultResourceProperties @@ -2150,9 +2286,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletedBackupInstance + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletedBackupInstance - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletedBackupInstance + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletedBackupInstance @@ -2196,9 +2332,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletedBackupInstanceResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletedBackupInstanceResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletedBackupInstanceResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletedBackupInstanceResource @@ -2218,9 +2354,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletedBackupInstanceResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletedBackupInstanceResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletedBackupInstanceResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletedBackupInstanceResourceList @@ -2240,9 +2376,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeleteOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeleteOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeleteOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeleteOption @@ -2268,9 +2404,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletionInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletionInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletionInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletionInfo @@ -2308,9 +2444,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResource @@ -2330,9 +2466,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResourceList @@ -2352,9 +2488,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResource @@ -2386,9 +2522,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResourceTags + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResourceTags - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResourceTags + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResourceTags @@ -2408,9 +2544,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppIdentityDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppIdentityDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppIdentityDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppIdentityDetails @@ -2436,9 +2572,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppProxyResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppProxyResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppProxyResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppProxyResource @@ -2458,9 +2594,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppProxyResourceTags + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppProxyResourceTags - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppProxyResourceTags + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppProxyResourceTags @@ -2480,9 +2616,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResource @@ -2502,9 +2638,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResourceList @@ -2524,9 +2660,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppTrackedResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppTrackedResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppTrackedResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppTrackedResource @@ -2558,9 +2694,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppTrackedResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppTrackedResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppTrackedResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppTrackedResourceList @@ -2580,9 +2716,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequest @@ -2626,9 +2762,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestHeaders + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestHeaders - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestHeaders + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestHeaders @@ -2648,9 +2784,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestParameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestParameters @@ -2670,9 +2806,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Error + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Error - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Error + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Error @@ -2704,9 +2840,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ExportJobsResult + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ExportJobsResult - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ExportJobsResult + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ExportJobsResult @@ -2744,9 +2880,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureValidationRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureValidationRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureValidationRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureValidationRequest @@ -2778,9 +2914,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureValidationRequestBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureValidationRequestBase - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureValidationRequestBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureValidationRequestBase @@ -2800,9 +2936,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureValidationResponse + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureValidationResponse - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureValidationResponse + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureValidationResponse @@ -2828,9 +2964,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureValidationResponseBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureValidationResponseBase - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureValidationResponseBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureValidationResponseBase @@ -2850,9 +2986,37 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FetchSecondaryRPsRequestParameters + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FetchSecondaryRPsRequestParameters + + + + + + + + + + + + + + + SourceBackupInstanceId + + + SourceRegion + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetails @@ -2878,9 +3042,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ImmediateCopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ImmediateCopyOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ImmediateCopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ImmediateCopyOption @@ -2900,9 +3064,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ImmutabilitySettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ImmutabilitySettings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ImmutabilitySettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ImmutabilitySettings @@ -2922,9 +3086,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.InnerError + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.InnerError - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.InnerError + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.InnerError @@ -2944,9 +3108,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.InnerErrorAdditionalInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.InnerErrorAdditionalInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.InnerErrorAdditionalInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.InnerErrorAdditionalInfo @@ -2966,9 +3130,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreCriteria @@ -2988,9 +3152,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreTargetInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreTargetInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreTargetInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreTargetInfo @@ -3022,9 +3186,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemPathBasedRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemPathBasedRestoreCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemPathBasedRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemPathBasedRestoreCriteria @@ -3062,9 +3226,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfo @@ -3096,9 +3260,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfoAdditionalDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfoAdditionalDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfoAdditionalDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfoAdditionalDetails @@ -3118,9 +3282,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobSubTask + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobSubTask - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobSubTask + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobSubTask @@ -3158,9 +3322,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobSubTaskAdditionalDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobSubTaskAdditionalDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobSubTaskAdditionalDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobSubTaskAdditionalDetails @@ -3180,9 +3344,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterBackupDatasourceParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterBackupDatasourceParameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterBackupDatasourceParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterBackupDatasourceParameters @@ -3244,9 +3408,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteria @@ -3314,9 +3478,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteriaNamespaceMappings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteriaNamespaceMappings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteriaNamespaceMappings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteriaNamespaceMappings @@ -3336,9 +3500,113 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesPvRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterVaultTierRestoreCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesPvRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterVaultTierRestoreCriteria + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ObjectType + + + ConflictPolicy + + + ExcludedNamespace + + + ExcludedResourceType + + + IncludeClusterScopeResource + + + IncludedNamespace + + + IncludedResourceType + + + LabelSelector + + + PersistentVolumeRestoreMode + + + StagingResourceGroupId + + + StagingStorageAccountId + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings + + + + + + + + + + + + Item + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesPvRestoreCriteria + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesPvRestoreCriteria @@ -3370,9 +3638,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesStorageClassRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesStorageClassRestoreCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesStorageClassRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesStorageClassRestoreCriteria @@ -3404,9 +3672,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.NamespacedNameResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.NamespacedNameResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResource @@ -3432,9 +3700,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationExtendedInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationExtendedInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationExtendedInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationExtendedInfo @@ -3454,9 +3722,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationJobExtendedInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationJobExtendedInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationJobExtendedInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationJobExtendedInfo @@ -3482,9 +3750,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationResource @@ -3522,9 +3790,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchResourceGuardInputTags + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchResourceGuardInputTags - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchResourceGuardInputTags + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchResourceGuardInputTags @@ -3544,9 +3812,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchResourceRequestInputTags + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchResourceRequestInputTags - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchResourceRequestInputTags + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchResourceRequestInputTags @@ -3566,9 +3834,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PolicyInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PolicyInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PolicyInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PolicyInfo @@ -3594,9 +3862,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ProtectionStatusDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ProtectionStatusDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ProtectionStatusDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ProtectionStatusDetails @@ -3616,9 +3884,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RangeBasedItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RangeBasedItemLevelRestoreCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RangeBasedItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RangeBasedItemLevelRestoreCriteria @@ -3650,9 +3918,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RecoveryPointDataStoreDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RecoveryPointDataStoreDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RecoveryPointDataStoreDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RecoveryPointDataStoreDetails @@ -3708,9 +3976,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RecoveryPointsFilters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RecoveryPointsFilters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RecoveryPointsFilters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RecoveryPointsFilters @@ -3760,9 +4028,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuard + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuard - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuard + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuard @@ -3800,9 +4068,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperation + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperation - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperation + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperation @@ -3828,9 +4096,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperationDetail + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperationDetail + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationDetail @@ -3856,9 +4124,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBase - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBase @@ -3890,9 +4158,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBaseResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBaseResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBaseResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBaseResource @@ -3912,9 +4180,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBaseResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBaseResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBaseResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBaseResourceList @@ -3934,9 +4202,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardResource @@ -3968,9 +4236,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardResourceList - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardResourceList @@ -3990,9 +4258,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceMoveDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceMoveDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceMoveDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceMoveDetails @@ -4036,9 +4304,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestorableTimeRange + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestorableTimeRange - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestorableTimeRange + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestorableTimeRange @@ -4070,9 +4338,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreFilesTargetInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreFilesTargetInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreFilesTargetInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreFilesTargetInfo @@ -4104,9 +4372,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetails @@ -4132,9 +4400,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfo @@ -4166,9 +4434,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBase - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBase @@ -4200,9 +4468,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RetentionTag + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RetentionTag - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RetentionTag + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RetentionTag @@ -4228,9 +4496,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ScheduleBasedBackupCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ScheduleBasedBackupCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ScheduleBasedBackupCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ScheduleBasedBackupCriteria @@ -4280,9 +4548,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ScheduleBasedTriggerContext + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ScheduleBasedTriggerContext - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ScheduleBasedTriggerContext + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ScheduleBasedTriggerContext @@ -4302,9 +4570,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecretStoreBasedAuthCredentials + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecretStoreBasedAuthCredentials - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecretStoreBasedAuthCredentials + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecretStoreBasedAuthCredentials @@ -4324,9 +4592,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecretStoreResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecretStoreResource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecretStoreResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecretStoreResource @@ -4358,9 +4626,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SoftDeleteSettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SoftDeleteSettings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SoftDeleteSettings + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SoftDeleteSettings @@ -4386,9 +4654,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.StorageSetting + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.StorageSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.StorageSetting + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.StorageSetting @@ -4408,9 +4676,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SupportedFeature + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SupportedFeature - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SupportedFeature + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SupportedFeature @@ -4442,9 +4710,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SyncBackupInstanceRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SyncBackupInstanceRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SyncBackupInstanceRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SyncBackupInstanceRequest @@ -4464,9 +4732,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TaggingCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TaggingCriteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TaggingCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TaggingCriteria @@ -4492,9 +4760,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TargetDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TargetDetails - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TargetDetails + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TargetDetails @@ -4532,9 +4800,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TriggerContext + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TriggerContext - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TriggerContext + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TriggerContext @@ -4554,9 +4822,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UnlockDeleteRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UnlockDeleteRequest - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UnlockDeleteRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UnlockDeleteRequest @@ -4582,9 +4850,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UnlockDeleteResponse + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UnlockDeleteResponse - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UnlockDeleteResponse + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UnlockDeleteResponse @@ -4604,9 +4872,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingError + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingError - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingError + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingError @@ -4656,9 +4924,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorProperties + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorProperties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorProperties + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorProperties @@ -4677,5 +4945,27 @@ + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingWarningDetail + + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingWarningDetail + + + + + + + + + + + + ResourceName + + + + + + \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/Az.DataProtection.psd1 b/src/DataProtection/DataProtection.Autorest/Az.DataProtection.psd1 index d177e0bcda64..b77b7d4e914c 100644 --- a/src/DataProtection/DataProtection.Autorest/Az.DataProtection.psd1 +++ b/src/DataProtection/DataProtection.Autorest/Az.DataProtection.psd1 @@ -1,179 +1,24 @@ -# -# Module manifest for module 'Az.DataProtection' -# -# Generated by: Microsoft Corporation -# -# Generated on: 9/20/2023 -# - @{ - -# Script module or binary module file associated with this manifest. -RootModule = './Az.DataProtection.psm1' - -# Version number of this module. -ModuleVersion = '2.1.0' - -# Supported PSEditions -CompatiblePSEditions = 'Core', 'Desktop' - -# ID used to uniquely identify this module -GUID = '0796af7c-0a7c-417f-8d0d-19f9179dac7a' - -# Author of this module -Author = 'Microsoft Corporation' - -# Company or vendor of this module -CompanyName = 'Microsoft Corporation' - -# Copyright statement for this module -Copyright = 'Microsoft Corporation. All rights reserved.' - -# Description of the functionality provided by this module -Description = 'Microsoft Azure PowerShell: DataProtection cmdlets' - -# Minimum version of the PowerShell engine required by this module -PowerShellVersion = '5.1' - -# Name of the PowerShell host required by this module -# PowerShellHostName = '' - -# Minimum version of the PowerShell host required by this module -# PowerShellHostVersion = '' - -# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only. -DotNetFrameworkVersion = '4.7.2' - -# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only. -# ClrVersion = '' - -# Processor architecture (None, X86, Amd64) required by this module -# ProcessorArchitecture = '' - -# Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.13.1'; }) - -# Assemblies that must be loaded prior to importing this module -RequiredAssemblies = './bin/Az.DataProtection.private.dll' - -# Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() - -# Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() - -# Format files (.ps1xml) to be loaded when importing this module -FormatsToProcess = './Az.DataProtection.format.ps1xml' - -# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess -# NestedModules = @() - -# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export. -FunctionsToExport = 'Backup-AzDataProtectionBackupInstanceAdhoc', - 'Edit-AzDataProtectionPolicyRetentionRuleClientObject', - 'Edit-AzDataProtectionPolicyTagClientObject', - 'Edit-AzDataProtectionPolicyTriggerClientObject', - 'Find-AzDataProtectionRestorableTimeRange', - 'Get-AzDataProtectionBackupInstance', - 'Get-AzDataProtectionBackupPolicy', - 'Get-AzDataProtectionBackupVault', 'Get-AzDataProtectionJob', - 'Get-AzDataProtectionOperation', - 'Get-AzDataProtectionOperationStatus', - 'Get-AzDataProtectionPolicyTemplate', - 'Get-AzDataProtectionRecoveryPoint', - 'Get-AzDataProtectionResourceGuard', - 'Get-AzDataProtectionResourceGuardMapping', - 'Get-AzDataProtectionSoftDeletedBackupInstance', - 'Initialize-AzDataProtectionBackupInstance', - 'Initialize-AzDataProtectionRestoreRequest', - 'New-AzDataProtectionBackupConfigurationClientObject', - 'New-AzDataProtectionBackupInstance', - 'New-AzDataProtectionBackupPolicy', - 'New-AzDataProtectionBackupVault', - 'New-AzDataProtectionBackupVaultStorageSettingObject', - 'New-AzDataProtectionPolicyTagCriteriaClientObject', - 'New-AzDataProtectionPolicyTriggerScheduleClientObject', - 'New-AzDataProtectionResourceGuard', - 'New-AzDataProtectionRestoreConfigurationClientObject', - 'New-AzDataProtectionRetentionLifeCycleClientObject', - 'Remove-AzDataProtectionBackupInstance', - 'Remove-AzDataProtectionBackupPolicy', - 'Remove-AzDataProtectionBackupVault', - 'Remove-AzDataProtectionResourceGuard', - 'Remove-AzDataProtectionResourceGuardMapping', - 'Resume-AzDataProtectionBackupInstanceProtection', - 'Search-AzDataProtectionBackupInstanceInAzGraph', - 'Search-AzDataProtectionJobInAzGraph', - 'Set-AzDataProtectionMSIPermission', - 'Set-AzDataProtectionResourceGuardMapping', - 'Start-AzDataProtectionBackupInstanceRestore', - 'Stop-AzDataProtectionBackupInstanceProtection', - 'Suspend-AzDataProtectionBackupInstanceBackup', - 'Sync-AzDataProtectionBackupInstance', - 'Test-AzDataProtectionBackupInstanceReadiness', - 'Test-AzDataProtectionBackupInstanceRestore', - 'Undo-AzDataProtectionBackupInstanceDeletion', - 'Unlock-AzDataProtectionResourceGuardOperation', - 'Update-AzDataProtectionBackupInstanceAssociatedPolicy', - 'Update-AzDataProtectionBackupVault', - 'Update-AzDataProtectionResourceGuard' - -# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export. -CmdletsToExport = @() - -# Variables to export from this module -# VariablesToExport = @() - -# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export. -AliasesToExport = '*' - -# DSC resources to export from this module -# DscResourcesToExport = @() - -# List of all modules packaged with this module -# ModuleList = @() - -# List of all files packaged with this module -# FileList = @() - -# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell. -PrivateData = @{ - + GUID = 'e7388191-d3e0-4d54-b898-d55f0992a1dc' + RootModule = './Az.DataProtection.psm1' + ModuleVersion = '0.1.0' + CompatiblePSEditions = 'Core', 'Desktop' + Author = 'Microsoft Corporation' + CompanyName = 'Microsoft Corporation' + Copyright = 'Microsoft Corporation. All rights reserved.' + Description = 'Microsoft Azure PowerShell: DataProtection cmdlets' + PowerShellVersion = '5.1' + DotNetFrameworkVersion = '4.7.2' + RequiredAssemblies = './bin/Az.DataProtection.private.dll' + FormatsToProcess = './Az.DataProtection.format.ps1xml' + FunctionsToExport = 'Backup-AzDataProtectionBackupInstanceAdhoc', 'Edit-AzDataProtectionPolicyRetentionRuleClientObject', 'Edit-AzDataProtectionPolicyTagClientObject', 'Edit-AzDataProtectionPolicyTriggerClientObject', 'Find-AzDataProtectionRestorableTimeRange', 'Get-AzDataProtectionBackupInstance', 'Get-AzDataProtectionBackupPolicy', 'Get-AzDataProtectionBackupVault', 'Get-AzDataProtectionJob', 'Get-AzDataProtectionOperation', 'Get-AzDataProtectionOperationStatus', 'Get-AzDataProtectionPolicyTemplate', 'Get-AzDataProtectionRecoveryPoint', 'Get-AzDataProtectionResourceGuard', 'Get-AzDataProtectionResourceGuardMapping', 'Get-AzDataProtectionSoftDeletedBackupInstance', 'Initialize-AzDataProtectionBackupInstance', 'Initialize-AzDataProtectionRestoreRequest', 'New-AzDataProtectionBackupConfigurationClientObject', 'New-AzDataProtectionBackupInstance', 'New-AzDataProtectionBackupPolicy', 'New-AzDataProtectionBackupVault', 'New-AzDataProtectionBackupVaultStorageSettingObject', 'New-AzDataProtectionPolicyTagCriteriaClientObject', 'New-AzDataProtectionPolicyTriggerScheduleClientObject', 'New-AzDataProtectionResourceGuard', 'New-AzDataProtectionRestoreConfigurationClientObject', 'New-AzDataProtectionRetentionLifeCycleClientObject', 'Remove-AzDataProtectionBackupInstance', 'Remove-AzDataProtectionBackupPolicy', 'Remove-AzDataProtectionBackupVault', 'Remove-AzDataProtectionResourceGuard', 'Remove-AzDataProtectionResourceGuardMapping', 'Resume-AzDataProtectionBackupInstanceProtection', 'Search-AzDataProtectionBackupInstanceInAzGraph', 'Search-AzDataProtectionBackupVaultInAzGraph', 'Search-AzDataProtectionJobInAzGraph', 'Set-AzDataProtectionMSIPermission', 'Set-AzDataProtectionResourceGuardMapping', 'Start-AzDataProtectionBackupInstanceRestore', 'Stop-AzDataProtectionBackupInstanceProtection', 'Suspend-AzDataProtectionBackupInstanceBackup', 'Sync-AzDataProtectionBackupInstance', 'Test-AzDataProtectionBackupInstanceReadiness', 'Test-AzDataProtectionBackupInstanceRestore', 'Undo-AzDataProtectionBackupInstanceDeletion', 'Unlock-AzDataProtectionResourceGuardOperation', 'Update-AzDataProtectionBackupInstanceAssociatedPolicy', 'Update-AzDataProtectionBackupVault', 'Update-AzDataProtectionResourceGuard', '*' + AliasesToExport = '*' + PrivateData = @{ PSData = @{ - - # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','DataProtection' - - # A URL to the license for this module. - LicenseUri = 'https://aka.ms/azps-license' - - # A URL to the main website for this project. - ProjectUri = 'https://github.com/Azure/azure-powershell' - - # A URL to an icon representing this module. - # IconUri = '' - - # ReleaseNotes of this module - ReleaseNotes = '* Added soft delete and MUA feature for Backup vaults' - - # Prerelease string of this module - # Prerelease = '' - - # Flag to indicate whether the module requires explicit user acceptance for install/update/save - # RequireLicenseAcceptance = $false - - # External dependent modules of this module - # ExternalModuleDependencies = @() - - } # End of PSData hashtable - - } # End of PrivateData hashtable - -# HelpInfo URI of this module -# HelpInfoURI = '' - -# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix. -# DefaultCommandPrefix = '' - + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'DataProtection' + LicenseUri = 'https://aka.ms/azps-license' + ProjectUri = 'https://github.com/Azure/azure-powershell' + ReleaseNotes = '' + } + } } - diff --git a/src/DataProtection/DataProtection.Autorest/README.md b/src/DataProtection/DataProtection.Autorest/README.md index 1117acb046f3..175ea31d4060 100644 --- a/src/DataProtection/DataProtection.Autorest/README.md +++ b/src/DataProtection/DataProtection.Autorest/README.md @@ -34,12 +34,16 @@ 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: acf24167b5174d88f36302e243c883f2e63eec52 +commit: c0e7b1360c19187fde2497251f784aa82641aa95 require: - - $(this-folder)/../readme.azure.noprofile.md + - $(this-folder)/../../readme.azure.noprofile.md input-file: - - $(repo)/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-05-01/dataprotection.json + - $(repo)/specification/dataprotection/resource-manager/Microsoft.DataProtection/stable/2023-11-01/dataprotection.json title: DataProtection +# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option +use-extension: + "@autorest/powershell": "3.x" + directive: - from: swagger-document where: $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}"].delete @@ -232,6 +236,10 @@ directive: verb: Start subject: ExportJob remove: true + - where: + verb: Start + subject: .*Restore$ + hide: true - where: verb: Get subject: OperationResultPatch @@ -302,6 +310,23 @@ directive: subject: BackupInstanceRestore variant: ^Validate1$|^ValidateExpanded1$|^ValidateViaIdentity1$|^ValidateViaIdentityExpanded1$ hide: true + - where: + verb: Test + subject: BackupInstanceCrossRegionRestore + hide: true + - where: + subject: FetchCrossRegionRestoreJob + set: + subject: CrossRegionRestoreJob + - where: + subject: CrossRegionRestoreJob + variant: ^Get.* + set: + subject: CrossRegionRestoreJobDetail + - where: + verb: Get + subject: ^Job$|^CrossRegionRestoreJob.*|FetchSecondaryRecoveryPoint + hide: true - where: property-name: AzureMonitorAlertSettingAlertsForAllJobFailure set: @@ -359,6 +384,8 @@ directive: - IdentityType - no-inline: - BackupInstance + - CrossRegionRestoreDetails + - CrossRegionRestoreRequestObject - DeletionInfo - InnerError - ItemLevelRestoreTargetInfo @@ -370,19 +397,20 @@ directive: - SecretStoreResource - SystemData - UserFacingError - - ValidateRestoreRequestObject + - ValidateRestoreRequestObject + - ValidateCrossRegionRestoreRequestObject - from: source-file-csharp where: $ - transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy Property'); + transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy Property'); - from: source-file-csharp where: $ - transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext Trigger', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext Trigger'); + transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext Trigger', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext Trigger'); - from: source-file-csharp where: $ - transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters BackupParameter', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters BackupParameter'); + transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters BackupParameter', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters BackupParameter'); - from: source-file-csharp where: $ - transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint Property'); + transform: $ = $.replace('internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint Property', 'public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint Property'); ``` ## Alternate settings diff --git a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupInstances-recoveryPoints.json b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupInstances-recoveryPoints.json index f2d38dd75dfd..5a16aca4878f 100644 --- a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupInstances-recoveryPoints.json +++ b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupInstances-recoveryPoints.json @@ -1,6 +1,6 @@ { "resourceType": "backupVaults/backupInstances/recoveryPoints", - "apiVersion": "2023-05-01", + "apiVersion": "2023-11-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.dataprotection" }, diff --git a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupInstances.json b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupInstances.json index aa8d856b63be..ba3478b1310e 100644 --- a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupInstances.json +++ b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupInstances.json @@ -1,6 +1,6 @@ { "resourceType": "backupVaults/backupInstances", - "apiVersion": "2023-05-01", + "apiVersion": "2023-11-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.dataprotection" }, diff --git a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupJobs.json b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupJobs.json index c9c86a3337bd..158aaa4cedd0 100644 --- a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupJobs.json +++ b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupJobs.json @@ -1,13 +1,13 @@ { "resourceType": "backupVaults/backupJobs", - "apiVersion": "2023-05-01", + "apiVersion": "2023-11-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.dataprotection" }, "commands": [ { "name": "Get-AzDataProtectionJob", - "description": "Gets a job with id in a backup vault", + "description": "Gets or lists jobs in a backup vault", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/{jobId}", "help": { "learnMore": { diff --git a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupPolicies.json b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupPolicies.json index 4339e578d6b6..3d0c05827da9 100644 --- a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupPolicies.json +++ b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupPolicies.json @@ -1,6 +1,6 @@ { "resourceType": "backupVaults/backupPolicies", - "apiVersion": "2023-05-01", + "apiVersion": "2023-11-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.dataprotection" }, diff --git a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupResourceGuardProxies.json b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupResourceGuardProxies.json index 30af3d73c2a3..5d0330b1bc4f 100644 --- a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupResourceGuardProxies.json +++ b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-backupResourceGuardProxies.json @@ -1,6 +1,6 @@ { "resourceType": "backupVaults/backupResourceGuardProxies", - "apiVersion": "2023-05-01", + "apiVersion": "2023-11-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.dataprotection" }, diff --git a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-deletedBackupInstances.json b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-deletedBackupInstances.json index 23e124c7e224..df72f64e6424 100644 --- a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-deletedBackupInstances.json +++ b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults-deletedBackupInstances.json @@ -1,6 +1,6 @@ { "resourceType": "backupVaults/deletedBackupInstances", - "apiVersion": "2023-05-01", + "apiVersion": "2023-11-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.dataprotection" }, diff --git a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults.json b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults.json index 0a02feff4120..d5da8548af61 100644 --- a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults.json +++ b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/backupVaults.json @@ -1,6 +1,6 @@ { "resourceType": "backupVaults", - "apiVersion": "2023-05-01", + "apiVersion": "2023-11-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.dataprotection" }, diff --git a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/locations-operationStatus.json b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/locations-operationStatus.json index 1da1141208e2..e1cd99e6b031 100644 --- a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/locations-operationStatus.json +++ b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/locations-operationStatus.json @@ -1,6 +1,6 @@ { "resourceType": "locations/operationStatus", - "apiVersion": "2023-05-01", + "apiVersion": "2023-11-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.dataprotection" }, diff --git a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/resourceGuards.json b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/resourceGuards.json index bcaf78d18dbb..14d4117ba3d7 100644 --- a/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/resourceGuards.json +++ b/src/DataProtection/DataProtection.Autorest/UX/Microsoft.DataProtection/resourceGuards.json @@ -1,6 +1,6 @@ { "resourceType": "resourceGuards", - "apiVersion": "2023-05-01", + "apiVersion": "2023-11-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.dataprotection" }, diff --git a/src/DataProtection/DataProtection.Autorest/build-module.ps1 b/src/DataProtection/DataProtection.Autorest/build-module.ps1 index ac2836d67995..68463901cfef 100644 --- a/src/DataProtection/DataProtection.Autorest/build-module.ps1 +++ b/src/DataProtection/DataProtection.Autorest/build-module.ps1 @@ -143,7 +143,8 @@ if($NoDocs) { $null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue } $null = New-Item -ItemType Directory -Force -Path $docsFolder - Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid + $addComplexInterfaceInfo = ![System.Convert]::ToBoolean('true') + Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid -AddComplexInterfaceInfo:$addComplexInterfaceInfo } Write-Host -ForegroundColor Green 'Creating format.ps1xml...' @@ -162,4 +163,10 @@ Export-TestStub -ModuleName $moduleName -ExportsFolder $exportsFolder -OutputFol Write-Host -ForegroundColor Green 'Creating example stubs...' Export-ExampleStub -ExportsFolder $exportsFolder -OutputFolder $examplesFolder +if (Test-Path (Join-Path $PSScriptRoot 'generate-portal-ux.ps1')) +{ + Write-Host -ForegroundColor Green 'Creating ux metadata...' + . (Join-Path $PSScriptRoot 'generate-portal-ux.ps1') +} + Write-Host -ForegroundColor Green '-------------Done-------------' diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Backupcenter/Search-AzDataProtectionBackupInstanceInAzGraph.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Backupcenter/Search-AzDataProtectionBackupInstanceInAzGraph.ps1 index c780b9974220..2df9f0ad89f8 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Backupcenter/Search-AzDataProtectionBackupInstanceInAzGraph.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Backupcenter/Search-AzDataProtectionBackupInstanceInAzGraph.ps1 @@ -23,7 +23,53 @@ [Parameter(Mandatory=$false, HelpMessage='Protection Status of the item')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProtectionStatus[]] - ${ProtectionStatus} + ${ProtectionStatus}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} ) process @@ -49,13 +95,14 @@ $null = $PSBoundParameters.Add("Subscription", $Subscription) $null = $PSBoundParameters.Add("query", $query) $null = $PSBoundParameters.Add("First", 1000) + $null = $PSBoundParameters.Remove("HttpPipelinePrepend") $argInstanceResponse = Az.ResourceGraph\Search-AzGraph @PSBoundParameters $backupInstances = @() foreach($argResponse in $argInstanceResponse) { $jsonStringResponse = $argResponse | ConvertTo-Json -Depth 100 - $backupInstances += [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceResource]::FromJsonString($jsonStringResponse) + $backupInstances += [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResource]::FromJsonString($jsonStringResponse) } return $backupInstances } diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Backupcenter/Search-AzDataProtectionBackupVaultInAzGraph.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Backupcenter/Search-AzDataProtectionBackupVaultInAzGraph.ps1 new file mode 100644 index 000000000000..6f2d89f41c0f --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Backupcenter/Search-AzDataProtectionBackupVaultInAzGraph.ps1 @@ -0,0 +1,98 @@ +function Search-AzDataProtectionBackupVaultInAzGraph +{ + [OutputType('PSObject')] + [CmdletBinding(PositionalBinding=$false)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Searches for Backup vaults in Azure Resource Graph and retrieves the expected entries')] + + param ( + [Parameter(Mandatory, HelpMessage='Subscription of Vault')] + [System.String[]] + ${Subscription}, + + [Parameter(Mandatory=$false, HelpMessage='Resource Group of Vault')] + [System.String[]] + ${ResourceGroup}, + + [Parameter(Mandatory=$false, HelpMessage='Name of the vault')] + [System.String[]] + ${Vault}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + ) + + process + { + CheckResourceGraphModuleDependency + + # $manifest = LoadManifest -DatasourceType $DatasourceType + $query = GetBackupVaultARGQuery + + if($PSBoundParameters.ContainsKey("ResourceGroup")){ $query = AddFilterToQuery -Query $query -FilterKey "resourceGroup" -FilterValues $ResourceGroup } + if($PSBoundParameters.ContainsKey("Vault")){ $query = AddFilterToQuery -Query $query -FilterKey "name" -FilterValues $Vault } + + foreach($param in @("Subscription", "ResourceGroup", "Vault")) + { + if($PSBoundParameters.ContainsKey($param)) + { + $null = $PSBoundParameters.Remove($param) + } + } + $null = $PSBoundParameters.Add("Subscription", $Subscription) + $null = $PSBoundParameters.Add("query", $query) + $null = $PSBoundParameters.Add("First", 1000) + $null = $PSBoundParameters.Remove("HttpPipelinePrepend") + + $argAllVaults = Az.ResourceGraph\Search-AzGraph @PSBoundParameters + $backupVaults = @() + foreach($argVault in $argAllVaults) + { + $jsonStringResponse = $argVault | ConvertTo-Json -Depth 100 + $backupVaults += [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVaultResource]::FromJsonString($jsonStringResponse) + } + return $backupVaults + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Backupcenter/Search-AzDataProtectionJobInAzGraph.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Backupcenter/Search-AzDataProtectionJobInAzGraph.ps1 index df83d44b0c64..0eaca8744601 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Backupcenter/Search-AzDataProtectionJobInAzGraph.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Backupcenter/Search-AzDataProtectionJobInAzGraph.ps1 @@ -35,7 +35,53 @@ [Parameter(Mandatory, HelpMessage='Datasource Type')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes] - ${DatasourceType} + ${DatasourceType}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} ) process @@ -76,6 +122,7 @@ $null = $PSBoundParameters.Add("Subscription", $Subscription) $null = $PSBoundParameters.Add("query", $query) $null = $PSBoundParameters.Add("First", 1000) + $null = $PSBoundParameters.Remove("HttpPipelinePrepend") $argJobResponse = Az.ResourceGraph\Search-AzGraph @PSBoundParameters @@ -83,7 +130,7 @@ foreach($jobresponse in $argJobResponse) { $jsonStringResponse = $jobresponse | ConvertTo-Json -Depth 100 - $backupJobs += [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupJobResource]::FromJsonString($jsonStringResponse) + $backupJobs += [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJobResource]::FromJsonString($jsonStringResponse) } return $backupJobs } diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Initialize-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Initialize-AzDataProtectionBackupInstance.ps1 index 919e6d4ad6a4..d381085f89c8 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Initialize-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Initialize-AzDataProtectionBackupInstance.ps1 @@ -2,7 +2,7 @@ function Initialize-AzDataProtectionBackupInstance { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource')] [CmdletBinding(PositionalBinding=$false)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Initializes Backup instance Request object for configuring backup')] @@ -44,14 +44,14 @@ function Initialize-AzDataProtectionBackupInstance { ${FriendlyName}, [Parameter(Mandatory=$false, HelpMessage='Backup configuration for backup. Use this parameter to configure protection for AzureKubernetesService.')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters] ${BackupConfiguration} ) process { $manifest = LoadManifest -DatasourceType $DatasourceType.ToString() - $backupInstance = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstance]::new() + $backupInstance = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstance]::new() $backupInstance.ObjectType = "BackupInstance" if($manifest.snapshotRGPermissions.Length -eq 0 -and $SnapshotResourceGroupId -ne "") @@ -106,9 +106,9 @@ function Initialize-AzDataProtectionBackupInstance { $errormsg = "Please input SecretStoreType" throw $errormsg } - $backupInstance.DatasourceAuthCredentials = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecretStoreBasedAuthCredentials]::new() + $backupInstance.DatasourceAuthCredentials = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecretStoreBasedAuthCredentials]::new() $backupInstance.DatasourceAuthCredentials.ObjectType = "SecretStoreBasedAuthCredentials" - $backupInstance.DatasourceAuthCredentials.SecretStoreResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecretStoreResource]::new() + $backupInstance.DatasourceAuthCredentials.SecretStoreResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecretStoreResource]::new() $backupInstance.DatasourceAuthCredentials.SecretStoreResource.SecretStoreType = $SecretStoreType $backupInstance.DatasourceAuthCredentials.SecretStoreResource.Uri = $SecretStoreURI } @@ -118,7 +118,7 @@ function Initialize-AzDataProtectionBackupInstance { } } - $backupInstanceResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceResource]::new() + $backupInstanceResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResource]::new() $backupInstanceResource.Property = $backupInstance if($PSBoundParameters.ContainsKey("DatasourceId")) @@ -136,7 +136,7 @@ function Initialize-AzDataProtectionBackupInstance { if($manifest.addDataStoreParametersList -eq $true) { - $operationalParam = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureOperationalStoreParameters]::new() + $operationalParam = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureOperationalStoreParameters]::new() $operationalParam.DataStoreType = "OperationalStore" $operationalParam.ObjectType = "AzureOperationalStoreParameters" $operationalParam.ResourceGroupId = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}" diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/New-AzDataProtectionBackupConfigurationClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/New-AzDataProtectionBackupConfigurationClientObject.ps1 index 865a47fd87fc..7ba8131d9b3c 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/New-AzDataProtectionBackupConfigurationClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/New-AzDataProtectionBackupConfigurationClientObject.ps1 @@ -39,7 +39,7 @@ function New-AzDataProtectionBackupConfigurationClientObject{ ${IncludeClusterScopeResource}, [Parameter(Mandatory=$false, HelpMessage='Hook reference to be executed during backup.')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.NamespacedNameResource[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResource[]] ${BackupHookReference}, [Parameter(Mandatory=$false, HelpMessage='List of containers to be backed up inside the VaultStore. Use this parameter for DatasourceType AzureBlob.')] @@ -71,7 +71,7 @@ function New-AzDataProtectionBackupConfigurationClientObject{ throw $message } - $dataSourceParam = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterBackupDatasourceParameters]::new() + $dataSourceParam = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterBackupDatasourceParameters]::new() $dataSourceParam.ObjectType = "KubernetesClusterBackupDatasourceParameters" $dataSourceParam.ExcludedResourceType = $ExcludedResourceType @@ -97,7 +97,7 @@ function New-AzDataProtectionBackupConfigurationClientObject{ } if($DatasourceType.ToString() -eq "AzureBlob"){ - $dataSourceParam = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BlobBackupDatasourceParameters]::new() + $dataSourceParam = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BlobBackupDatasourceParameters]::new() $dataSourceParam.ObjectType = "BlobBackupDatasourceParameters" if($VaultedBackupContainer -ne $null){ diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/New-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/New-AzDataProtectionBackupInstance.ps1 index 8c410b0c7fcb..d6d209f59bec 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/New-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/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.Api20230501.IBackupInstanceResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource] ${BackupInstance}, [Parameter(Mandatory=$false, HelpMessage='Resource tags')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/New-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/New-AzDataProtectionResourceGuard.ps1 index fab2773ebc51..33f3109487f9 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/New-AzDataProtectionResourceGuard.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/New-AzDataProtectionResourceGuard.ps1 @@ -2,7 +2,7 @@ function New-AzDataProtectionResourceGuard { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource')] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Creates a resource guard under a resource group')] @@ -82,7 +82,7 @@ function New-AzDataProtectionResourceGuard { $null = $PSBoundParameters.Remove("IdentityType") - # DppRef : need to move this to parameter level + # TODO : need to move this to parameter level Write-Warning "Parameter IdentityType is no longer in use and will be depricated in upcoming breaking change release" } Az.DataProtection.Internal\New-AzDataProtectionResourceGuard @PSBoundParameters diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Unlock-AzDataProtectionResourceGuardOperation.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Unlock-AzDataProtectionResourceGuardOperation.ps1 index a51790951868..c1eadb406cd7 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Unlock-AzDataProtectionResourceGuardOperation.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Unlock-AzDataProtectionResourceGuardOperation.ps1 @@ -82,7 +82,7 @@ function Unlock-AzDataProtectionResourceGuardOperation $ResGuardProxy = Get-AzDataProtectionResourceGuardMapping -VaultName $VaultName -ResourceGroupName $ResourceGroupName } - # DppRef : Add new operations + # TODO : Add new operations $CriticalOperationsMap = @{ DisableMUA = "deleteResourceGuardProxyRequests"; DeleteBackupInstance = "deleteBackupInstanceRequests" } # modify Critical operation exclusion list diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1 index e09975d2843d..895e0a9017b7 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1 @@ -2,7 +2,7 @@ function Update-AzDataProtectionBackupInstanceAssociatedPolicy { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource')] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Updates associated policy for a given backup instance')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Update-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Update-AzDataProtectionResourceGuard.ps1 index c066a23c88bc..b3a5f280dd36 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Update-AzDataProtectionResourceGuard.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Common/Update-AzDataProtectionResourceGuard.ps1 @@ -2,7 +2,7 @@ function Update-AzDataProtectionResourceGuard { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource')] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Updates a resource guard belonging to a resource group')] @@ -113,7 +113,7 @@ function Update-AzDataProtectionResourceGuard if($PSBoundParameters.ContainsKey("IdentityType")) { $null = $PSBoundParameters.Remove("IdentityType") - # DppRef : need to move this to parameter level + # TODO : need to move this to parameter level Write-Warning "Parameter IdentityType is no longer in use and will be depricated in upcoming breaking change release" } diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Job/Get-AzDataProtectionJob.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Job/Get-AzDataProtectionJob.ps1 new file mode 100644 index 000000000000..1eda4db857e3 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Job/Get-AzDataProtectionJob.ps1 @@ -0,0 +1,126 @@ +function Get-AzDataProtectionJob +{ + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource')] + [CmdletBinding(PositionalBinding=$false)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Gets or lists jobs in a backup vault')] + + param( + [Parameter(ParameterSetName="Get", Mandatory=$false, HelpMessage='Subscription Id of the vault')] + [Parameter(ParameterSetName="List", Mandatory=$false, HelpMessage='Subscription Id of the vault')] + [System.String[]] + ${SubscriptionId}, + + [Parameter(ParameterSetName="Get", Mandatory=$true, HelpMessage='Resource Group of the backup vault')] + [Parameter(ParameterSetName="List", Mandatory=$true, HelpMessage='Resource Group of the backup vault')] + [System.String] + ${ResourceGroupName}, + + [Parameter(ParameterSetName="Get", Mandatory=$true, HelpMessage='Name of the backup vault')] + [Parameter(ParameterSetName="List", Mandatory=$true, HelpMessage='Name of the backup vault')] + [System.String] + ${VaultName}, + + [Parameter(ParameterSetName="Get", Mandatory=$true, HelpMessage='Job ID to get a particular Job')] + [Alias('JobId')] + [System.String] + ${Id}, + + [Parameter(ParameterSetName="GetViaIdentity", Mandatory=$true, HelpMessage='Identity Parameter', ValueFromPipeline=$true)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] + ${InputObject}, + + [Parameter(ParameterSetName="Get", Mandatory=$false, HelpMessage='Switch parameter to fetch dataprotection job from secondary region (Cross Region Restore)')] + [Parameter(ParameterSetName="List", Mandatory=$false, HelpMessage='Switch parameter to fetch dataprotection job from secondary region (Cross Region Restore)')] + [Switch] + ${UseSecondaryRegion}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + ) + + process + { + $jobs = $null + $hasUseSecondaryRegion = $PSBoundParameters.Remove("UseSecondaryRegion") + + if($hasUseSecondaryRegion){ + $hasId = $PSBoundParameters.Remove("Id") + + # fetch vault from ARG + $hasSubscriptionId = $PSBoundParameters.Remove("SubscriptionId") + $null = $PSBoundParameters.Remove("ResourceGroupName") + $null = $PSBoundParameters.Remove("VaultName") + $PSBoundParameters.Add('ResourceGroup', $ResourceGroupName) + $PSBoundParameters.Add('Vault', $VaultName) + if($hasSubscriptionId) { $PSBoundParameters.Add('Subscription', $SubscriptionId) } + + $vault = Search-AzDataProtectionBackupVaultInAzGraph @PSBoundParameters + + $null = $PSBoundParameters.Remove("Subscription") + $null = $PSBoundParameters.Remove("ResourceGroup") + $null = $PSBoundParameters.Remove("Vault") + $PSBoundParameters.Add('ResourceGroupName', $ResourceGroupName) + if($hasSubscriptionId) { $PSBoundParameters.Add('SubscriptionId', $SubscriptionId) } + + # Location - CRR secondary region - $vault.ReplicatedRegion[0] + $PSBoundParameters.Add('Location', $vault.ReplicatedRegion[0]) + $PSBoundParameters.Add('SourceBackupVaultId', $vault.Id) + $PSBoundParameters.Add('SourceRegion', $vault.Location) + + if($hasId){ + $PSBoundParameters.Add('JobId', $Id) + Az.DataProtection.internal\Get-AzDataProtectionCrossRegionRestoreJobDetail @PSBoundParameters + } + else{ + Az.DataProtection.internal\Get-AzDataProtectionCrossRegionRestoreJob @PSBoundParameters + } + } + else{ + Az.DataProtection.internal\Get-AzDataProtectionJob @PSBoundParameters + } + + } +} diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/RecoveryPoint/Get-AzDataProtectionRecoveryPoint_List.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/RecoveryPoint/Get-AzDataProtectionRecoveryPoint_List.ps1 index c4bdaa6b909b..1519b778be2d 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/RecoveryPoint/Get-AzDataProtectionRecoveryPoint_List.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/RecoveryPoint/Get-AzDataProtectionRecoveryPoint_List.ps1 @@ -29,6 +29,10 @@ [System.DateTime] ${EndTime}, + [Parameter(Mandatory=$false, HelpMessage='Switch parameter to fetch recovery points from secondary region')] + [Switch] + ${UseSecondaryRegion}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -78,7 +82,6 @@ $utcStartTime = $StartTime.ToUniversalTime() $startTimeFilter = $utcStartTime.ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") $filter = "startDate eq '" + $startTimeFilter + "'" - } if($PSBoundParameters.ContainsKey("EndTime")) { @@ -102,7 +105,42 @@ $null = $PSBoundParameters.Add("Filter", $filter) } - $rps = Az.DataProtection.internal\Get-AzDataProtectionRecoveryPoint @PSBoundParameters + $hasUseSecondaryRegion = $PSBoundParameters.Remove("UseSecondaryRegion") + + $rps = $null + if($hasUseSecondaryRegion){ + + # fetch vault from ARG + $null = $PSBoundParameters.Remove("BackupInstanceName") + $hasFilter = $PSBoundParameters.Remove("Filter") + $hasSubscriptionId = $PSBoundParameters.Remove("SubscriptionId") + $null = $PSBoundParameters.Remove("ResourceGroupName") + $null = $PSBoundParameters.Remove("VaultName") + $PSBoundParameters.Add('ResourceGroup', $ResourceGroupName) + $PSBoundParameters.Add('Vault', $VaultName) + if($hasSubscriptionId) { $PSBoundParameters.Add('Subscription', $SubscriptionId) } + + $vault = Search-AzDataProtectionBackupVaultInAzGraph @PSBoundParameters + + $null = $PSBoundParameters.Remove("Subscription") + $null = $PSBoundParameters.Remove("ResourceGroup") + $null = $PSBoundParameters.Remove("Vault") + $PSBoundParameters.Add('ResourceGroupName', $ResourceGroupName) + if($hasSubscriptionId) { $PSBoundParameters.Add('SubscriptionId', $SubscriptionId) } + if($hasFilter) { $PSBoundParameters.Add('Filter', $Filter) } + + $backupInstanceId = "/subscriptions/" + $SubscriptionId + "/resourceGroups/" + $ResourceGroupName + "/providers/Microsoft.DataProtection/backupVaults/" + $VaultName + "/backupInstances/" + $BackupInstanceName + + $PSBoundParameters.Add('Location', $vault.ReplicatedRegion[0]) + $PSBoundParameters.Add('SourceBackupInstanceId', $backupInstanceId) + $PSBoundParameters.Add('SourceRegion', $vault.Location) + + $rps = Az.DataProtection.internal\Get-AzDataProtectionFetchSecondaryRecoveryPoint @PSBoundParameters + } + else{ + $rps = Az.DataProtection.internal\Get-AzDataProtectionRecoveryPoint @PSBoundParameters + } + return $rps } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Initialize-AzDataProtectionRestoreRequest.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Initialize-AzDataProtectionRestoreRequest.ps1 index ee5d319faa4f..004f43bf0479 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Initialize-AzDataProtectionRestoreRequest.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Initialize-AzDataProtectionRestoreRequest.ps1 @@ -1,6 +1,6 @@ function Initialize-AzDataProtectionRestoreRequest { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest')] [CmdletBinding(PositionalBinding=$false)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Initializes Restore Request object for triggering restore on a protected backup instance.')] @@ -67,11 +67,11 @@ [Parameter(ParameterSetName="RestoreAsFiles", Mandatory, HelpMessage='Restore Target Type')] [Parameter(ParameterSetName="AlternateLocationILR", Mandatory, HelpMessage='Restore Target Type')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetType] - ${RestoreType}, + ${RestoreType}, [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.Api20230501.BackupInstanceResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResource] ${BackupInstance}, # this is applicable to all workloads wherever ALR supported. @@ -117,7 +117,7 @@ [Parameter(ParameterSetName="AlternateLocationILR", Mandatory=$false, HelpMessage='Restore configuration for restore. Use this parameter to restore with AzureKubernetesService.')] [Parameter(ParameterSetName="OriginalLocationFullRecovery", Mandatory=$false, HelpMessage='Restore configuration for restore. Use this parameter to restore with AzureKubernetesService.')] [Parameter(ParameterSetName="AlternateLocationFullRecovery", Mandatory=$false, HelpMessage='Restore configuration for restore. Use this parameter to restore with AzureKubernetesService.')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteria] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteria] ${RestoreConfiguration}, [Parameter(ParameterSetName="OriginalLocationFullRecovery", Mandatory=$false, HelpMessage='Secret uri for secret store authentication of data source. This parameter is only supported for AzureDatabaseForPostgreSQL currently.')] @@ -151,7 +151,7 @@ Write-Debug -Message $RecoveryPoint if($PSBoundParameters.ContainsKey("RehydrationPriority")){ - $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRestoreWithRehydrationRequest]::new() + $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreWithRehydrationRequest]::new() $restoreRequest.ObjectType = "AzureBackupRestoreWithRehydrationRequest" $restoreRequest.RehydrationPriority = $RehydrationPriority if($PSBoundParameters.ContainsKey("RehydrationDuration")){ @@ -162,7 +162,7 @@ } } else{ - $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPointBasedRestoreRequest]::new() + $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPointBasedRestoreRequest]::new() $restoreRequest.ObjectType = "AzureBackupRecoveryPointBasedRestoreRequest" } $restoreRequest.RecoveryPointId = $RecoveryPoint @@ -172,7 +172,7 @@ { $utcTime = $PointInTime.ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") Write-Debug -Message $utcTime - $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryTimeBasedRestoreRequest]::new() + $restoreRequest = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryTimeBasedRestoreRequest]::new() $restoreRequest.ObjectType = "AzureBackupRecoveryTimeBasedRestoreRequest" $restoreRequest.RecoveryPointTime = $utcTime $restoreMode = "PointInTimeBased" @@ -189,7 +189,7 @@ if($RestoreType -eq "RestoreAsFiles") { - $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreFilesTargetInfo]::new() + $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreFilesTargetInfo]::new() $restoreRequest.RestoreTargetInfo.ObjectType = "RestoreFilesTargetInfo" if(!($PSBoundParameters.ContainsKey("FileNamePrefix")) -or !($PSBoundParameters.ContainsKey("TargetContainerURI")) ){ @@ -210,11 +210,11 @@ { # RestoreTargetInfo for OLR ALR Full recovery if($DatasourceType -ne "AzureKubernetesService"){ - $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfo]::new() + $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfo]::new() $restoreRequest.RestoreTargetInfo.ObjectType = "restoreTargetInfo" } else{ - $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreTargetInfo]::new() + $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreTargetInfo]::new() $restoreRequest.RestoreTargetInfo.ObjectType = "itemLevelRestoreTargetInfo" $restoreCriteriaList = @() @@ -234,18 +234,18 @@ else { # ILR: ItemLevelRestoreTargetInfo - $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreTargetInfo]::new() + $restoreRequest.RestoreTargetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreTargetInfo]::new() $restoreRequest.RestoreTargetInfo.ObjectType = "itemLevelRestoreTargetInfo" $restoreCriteriaList = @() # can generalise this condition to manifest level if needed - if($DatasourceType -ne "AzureKubernetesService"){ + if($DatasourceType -ne "AzureKubernetesService"){ # TODO: remove Datasource dependency if(($RecoveryPoint -ne $null) -and ($RecoveryPoint -ne "") -and $ContainersList.length -gt 0){ for($i = 0; $i -lt $ContainersList.length; $i++){ - $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemPathBasedRestoreCriteria]::new() + $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemPathBasedRestoreCriteria]::new() $restoreCriteria.ObjectType = "ItemPathBasedRestoreCriteria" $restoreCriteria.ItemPath = $ContainersList[$i] @@ -258,7 +258,7 @@ elseif($ContainersList.length -gt 0){ for($i = 0; $i -lt $ContainersList.length; $i++){ - $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RangeBasedItemLevelRestoreCriteria]::new() + $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RangeBasedItemLevelRestoreCriteria]::new() $restoreCriteria.ObjectType = "RangeBasedItemLevelRestoreCriteria" $restoreCriteria.MinMatchingValue = $ContainersList[$i] @@ -277,7 +277,7 @@ for($i = 0; $i -lt $FromPrefixPattern.length; $i++){ - $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RangeBasedItemLevelRestoreCriteria]::new() + $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RangeBasedItemLevelRestoreCriteria]::new() $restoreCriteria.ObjectType = "RangeBasedItemLevelRestoreCriteria" $restoreCriteria.MinMatchingValue = $FromPrefixPattern[$i] @@ -352,9 +352,9 @@ $errormsg = "Please input SecretStoreType" throw $errormsg } - $restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecretStoreBasedAuthCredentials]::new() + $restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecretStoreBasedAuthCredentials]::new() $restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials.ObjectType = "SecretStoreBasedAuthCredentials" - $restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials.SecretStoreResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecretStoreResource]::new() + $restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials.SecretStoreResource = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecretStoreResource]::new() $restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials.SecretStoreResource.SecretStoreType = $SecretStoreType $restoreRequest.RestoreTargetInfo.DatasourceAuthCredentials.SecretStoreResource.Uri = $SecretStoreURI } diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/New-AzDataProtectionRestoreConfigurationClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/New-AzDataProtectionRestoreConfigurationClientObject.ps1 index a8094430e4d8..0d01a9451a0c 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/New-AzDataProtectionRestoreConfigurationClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/New-AzDataProtectionRestoreConfigurationClientObject.ps1 @@ -40,7 +40,7 @@ function New-AzDataProtectionRestoreConfigurationClientObject{ ${ConflictPolicy}, [Parameter(Mandatory=$false, HelpMessage='Namespaces mapping from source namespaces to target namespaces to resolve namespace naming conflicts in the target cluster.')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteriaNamespaceMappings] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteriaNamespaceMappings] ${NamespaceMapping}, [Parameter(Mandatory=$false, HelpMessage='Restore mode for persistent volumes. Allowed values are RestoreWithVolumeData, RestoreWithoutVolumeData. Default value is RestoreWithVolumeData')] @@ -49,12 +49,12 @@ function New-AzDataProtectionRestoreConfigurationClientObject{ ${PersistentVolumeRestoreMode}, [Parameter(Mandatory=$false, HelpMessage='Hook reference to be executed during restore.')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.NamespacedNameResource[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResource[]] ${RestoreHookReference} ) process { - $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteria]::new() + $restoreCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteria]::new() $restoreCriteria.ObjectType = "KubernetesClusterRestoreCriteria" $restoreCriteria.ExcludedResourceType = $ExcludedResourceType diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Start-AzDataProtectionBackupInstanceRestore.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Start-AzDataProtectionBackupInstanceRestore.ps1 new file mode 100644 index 000000000000..f876f68abadd --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Start-AzDataProtectionBackupInstanceRestore.ps1 @@ -0,0 +1,172 @@ + + +function Start-AzDataProtectionBackupInstanceRestore +{ + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo')] + [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Triggers restore for a BackupInstance')] + + param( + # Trigger, TriggerExpanded + [Parameter(Mandatory=$false, HelpMessage='Subscription Id of the backup vault')] + [System.String] + ${SubscriptionId}, + + [Parameter(Mandatory, HelpMessage='The name of the resource group where the backup vault is present')] + [System.String] + ${ResourceGroupName}, + + [Parameter(Mandatory, HelpMessage='The name of the backup instance')] + [System.String] + ${BackupInstanceName}, + + [Parameter(Mandatory, HelpMessage='The name of the backup vault')] + [System.String] + ${VaultName}, + + [Parameter(ParameterSetName="Trigger", Mandatory, HelpMessage='Restore request object to be initialized using Initialize-AzDataProtectionRestoreRequest cmdlet', ValueFromPipeline=$true)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest] + ${Parameter}, + + [Parameter(ParameterSetName="TriggerExpanded", Mandatory, HelpMessage='Object type of the restore request')] + [System.String] + ${ObjectType}, + + [Parameter(ParameterSetName="TriggerExpanded", Mandatory, HelpMessage='Gets or sets the restore target information')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase] + ${RestoreTargetInfo}, + + [Parameter(ParameterSetName="TriggerExpanded", Mandatory, HelpMessage='Type of the source data store')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType] + ${SourceDataStoreType}, + + [Parameter(ParameterSetName="TriggerExpanded", Mandatory=$false, HelpMessage='ARM URL for User Assigned Identity')] + [System.String] + ${IdentityDetailUserAssignedIdentityArmUrl}, # TODO: add parameter alias to this and below + + [Parameter(ParameterSetName="TriggerExpanded", Mandatory=$false, HelpMessage='Specifies if the BI is protected by System Identity')] + [System.Management.Automation.SwitchParameter] + ${IdentityDetailUseSystemAssignedIdentity}, + + [Parameter(ParameterSetName="TriggerExpanded", Mandatory=$false, HelpMessage='Fully qualified Azure Resource Manager ID of the datasource which is being recovered')] + [System.String] + ${SourceResourceId}, + + [Parameter(Mandatory=$false, HelpMessage='Switch parameter to trigger restore to secondary region (Cross region restore)')] + [Switch] + ${RestoreToSecondaryRegion}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [System.Management.Automation.PSObject] + # The credentials, account, tenant, and subscription used for communication with Azure. + ${DefaultProfile}, + + [Parameter(DontShow)] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(HelpMessage='Run the command as a job')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(HelpMessage='Run the command asynchronously')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} + ) + + process + { + $hasRestoreToSecondaryRegion = $PSBoundParameters.Remove("RestoreToSecondaryRegion") + + if($hasRestoreToSecondaryRegion){ + + $hasParameter = $PSBoundParameters.Remove("Parameter") + $hasObjectType = $PSBoundParameters.Remove("ObjectType") + $hasRestoreTargetInfo = $PSBoundParameters.Remove("RestoreTargetInfo") + $hasSourceDataStoreType = $PSBoundParameters.Remove("SourceDataStoreType") + $hasSourceResourceId = $PSBoundParameters.Remove("SourceResourceId") + $hasIdentityDetailUserAssignedIdentityArmUrl = $PSBoundParameters.Remove("IdentityDetailUserAssignedIdentityArmUrl") + $hasIdentityDetailUseSystemAssignedIdentity = $PSBoundParameters.Remove("IdentityDetailUseSystemAssignedIdentity") + + # fetch vault from ARG + $hasSubscriptionId = $PSBoundParameters.Remove("SubscriptionId") + $null = $PSBoundParameters.Remove("ResourceGroupName") + $null = $PSBoundParameters.Remove("VaultName") + $null = $PSBoundParameters.Remove("BackupInstanceName") + + $PSBoundParameters.Add('ResourceGroup', $ResourceGroupName) + $PSBoundParameters.Add('Vault', $VaultName) + if($hasSubscriptionId) { $PSBoundParameters.Add('Subscription', $SubscriptionId) } + + $vault = Search-AzDataProtectionBackupVaultInAzGraph @PSBoundParameters + + $null = $PSBoundParameters.Remove("Subscription") + $null = $PSBoundParameters.Remove("ResourceGroup") + $null = $PSBoundParameters.Remove("Vault") + $PSBoundParameters.Add('ResourceGroupName', $ResourceGroupName) + if($hasSubscriptionId) { $PSBoundParameters.Add('SubscriptionId', $SubscriptionId) } + + $backupInstanceId = "/subscriptions/" + $SubscriptionId + "/resourceGroups/" + $ResourceGroupName + "/providers/Microsoft.DataProtection/backupVaults/" + $VaultName + "/backupInstances/" + $BackupInstanceName + + $crossRegionRestoreDetail = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreDetails]::new() + $crossRegionRestoreDetail.SourceBackupInstanceId = $backupInstanceId + $crossRegionRestoreDetail.SourceRegion = $vault.Location + + $PSBoundParameters.Add('Location', $vault.ReplicatedRegion[0]) + $PSBoundParameters.Add("CrossRegionRestoreDetail", $crossRegionRestoreDetail) + + if($hasParameter){ + $PSBoundParameters.Add("RestoreRequestObject", $Parameter) + } + else{ + $restoreRequestObject = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequest]::new() + if($hasObjectType) { $restoreRequestObject.ObjectType = $ObjectType } + if($hasRestoreTargetInfo) { $restoreRequestObject.RestoreTargetInfo = $RestoreTargetInfo } + if($hasSourceDataStoreType) { $restoreRequestObject.SourceDataStoreType = $SourceDataStoreType } + if($hasSourceResourceId) { $restoreRequestObject.SourceResourceId = $SourceResourceId } + if($hasIdentityDetailUseSystemAssignedIdentity) { $restoreRequestObject.IdentityDetailUseSystemAssignedIdentity = $IdentityDetailUseSystemAssignedIdentity } + if($hasIdentityDetailUserAssignedIdentityArmUrl) { $restoreRequestObject.IdentityDetailUserAssignedIdentityArmUrl = $IdentityDetailUserAssignedIdentityArmUrl } + + $PSBoundParameters.Add("RestoreRequestObject", $restoreRequestObject) + } + + Az.DataProtection.Internal\Start-AzDataProtectionBackupInstanceCrossRegionRestore @PSBoundParameters + } + else{ + Az.DataProtection.Internal\Start-AzDataProtectionBackupInstanceRestore @PSBoundParameters + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Test-AzDataProtectionBackupInstanceRestore.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Test-AzDataProtectionBackupInstanceRestore.ps1 index e33f00439b9a..de534eab8556 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Test-AzDataProtectionBackupInstanceRestore.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Restore/Test-AzDataProtectionBackupInstanceRestore.ps1 @@ -2,7 +2,7 @@ function Test-AzDataProtectionBackupInstanceRestore { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo')] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Validates if Restore can be triggered for a DataSource')] @@ -24,9 +24,13 @@ function Test-AzDataProtectionBackupInstanceRestore ${VaultName}, [Parameter(ParameterSetName="ValidateRestore", Mandatory, HelpMessage='Restore request object for which to validate')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest] ${RestoreRequest}, + [Parameter(Mandatory=$false, HelpMessage='Switch parameter to trigger restore to secondary region')] + [Switch] + ${RestoreToSecondaryRegion}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -80,12 +84,49 @@ function Test-AzDataProtectionBackupInstanceRestore process { - $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ValidateRestoreRequestObject]::new() - $Parameter.RestoreRequestObject = $RestoreRequest + $hasRestoreToSecondaryRegion = $PSBoundParameters.Remove("RestoreToSecondaryRegion") $null = $PSBoundParameters.Remove("RestoreRequest") + if($hasRestoreToSecondaryRegion){ + + # fetch vault from ARG + $hasSubscriptionId = $PSBoundParameters.Remove("SubscriptionId") + $null = $PSBoundParameters.Remove("ResourceGroupName") + $null = $PSBoundParameters.Remove("VaultName") + $null = $PSBoundParameters.Remove("Name") + + $PSBoundParameters.Add('ResourceGroup', $ResourceGroupName) + $PSBoundParameters.Add('Vault', $VaultName) + if($hasSubscriptionId) { $PSBoundParameters.Add('Subscription', $SubscriptionId) } + + $vault = Search-AzDataProtectionBackupVaultInAzGraph @PSBoundParameters + + $null = $PSBoundParameters.Remove("Subscription") + $null = $PSBoundParameters.Remove("ResourceGroup") + $null = $PSBoundParameters.Remove("Vault") + $PSBoundParameters.Add('ResourceGroupName', $ResourceGroupName) + if($hasSubscriptionId) { $PSBoundParameters.Add('SubscriptionId', $SubscriptionId) } + + $backupInstanceId = "/subscriptions/" + $SubscriptionId + "/resourceGroups/" + $ResourceGroupName + "/providers/Microsoft.DataProtection/backupVaults/" + $VaultName + "/backupInstances/" + $Name + + $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ValidateCrossRegionRestoreRequestObject]::new() + $Parameter.RestoreRequestObject = $RestoreRequest + + $Parameter.CrossRegionRestoreDetail = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreDetails]::new() + $Parameter.CrossRegionRestoreDetail.SourceBackupInstanceId = $backupInstanceId + $Parameter.CrossRegionRestoreDetail.SourceRegion = $vault.Location + + $PSBoundParameters.Add("Parameter", $Parameter) + $PSBoundParameters.Add('Location', $vault.ReplicatedRegion[0]) + + Az.DataProtection.Internal\Test-AzDataProtectionBackupInstanceCrossRegionRestore @PSBoundParameters + } + else{ + $Parameter = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ValidateRestoreRequestObject]::new() + $Parameter.RestoreRequestObject = $RestoreRequest - $null = $PSBoundParameters.Add("Parameter", $Parameter) + $null = $PSBoundParameters.Add("Parameter", $Parameter) - Az.DataProtection.Internal\Test-AzDataProtectionBackupInstanceRestore @PSBoundParameters + Az.DataProtection.Internal\Test-AzDataProtectionBackupInstanceRestore @PSBoundParameters + } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVault.ps1 index 52087f0658e4..653f398bc72f 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/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.Api20230501.IStorageSetting[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting[]] ${StorageSetting}, [Parameter(Mandatory=$false, HelpMessage='Parameter to Enable or Disable built-in azure monitor alerts for job failures. Security alerts cannot be disabled.')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVaultStorageSettingObject.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVaultStorageSettingObject.ps1 index db3e29591115..7d19850bb409 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVaultStorageSettingObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/New-AzDataProtectionBackupVaultStorageSettingObject.ps1 @@ -15,7 +15,7 @@ function New-AzDataProtectionBackupVaultStorageSettingObject{ ) process { - $storageSetting = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.StorageSetting]::new() + $storageSetting = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.StorageSetting]::new() $storageSetting.Type = $Type $storageSetting.DataStoreType = $DataStoreType diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/Set-AzDataProtectionMSIPermission.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/Set-AzDataProtectionMSIPermission.ps1 index b998dde14985..112335ae6533 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/Set-AzDataProtectionMSIPermission.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Platform/Vault/Set-AzDataProtectionMSIPermission.ps1 @@ -5,7 +5,7 @@ param( [Parameter(ParameterSetName="SetPermissionsForBackup", Mandatory, HelpMessage='Backup instance request object which will be used to configure backup')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource] ${BackupInstance}, [Parameter(ParameterSetName="SetPermissionsForBackup", Mandatory=$false, HelpMessage='ID of the keyvault')] @@ -27,7 +27,7 @@ ${PermissionsScope}, [Parameter(ParameterSetName="SetPermissionsForRestore", Mandatory, HelpMessage='Restore request object which will be used for restore')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest] ${RestoreRequest}, [Parameter(ParameterSetName="SetPermissionsForRestore", Mandatory, HelpMessage='Sanpshot Resource Group')] diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1 index daf3f920b9ca..8bd20805adab 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1 @@ -1,14 +1,14 @@  function Edit-AzDataProtectionPolicyRetentionRuleClientObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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.Api20230501.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy] ${Policy}, [Parameter(ParameterSetName='AddRetention',Mandatory, HelpMessage='Retention Rule Name')] @@ -29,7 +29,7 @@ function Edit-AzDataProtectionPolicyRetentionRuleClientObject { ${OverwriteLifeCycle}, [Parameter(ParameterSetName='AddRetention',Mandatory, HelpMessage='Life cycles associated with the retention rule.')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle[]] ${LifeCycles} ) @@ -68,7 +68,7 @@ function Edit-AzDataProtectionPolicyRetentionRuleClientObject { throw "Selected Retention Rule " + $Name + " is not applicable for datasource type " + $DatasourceType } - $newRetentionRule = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureRetentionRule]::new() + $newRetentionRule = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureRetentionRule]::new() $newRetentionRule.ObjectType = "AzureRetentionRule" $newRetentionRule.IsDefault = $IsDefault $newRetentionRule.Name = $Name @@ -92,7 +92,7 @@ function Edit-AzDataProtectionPolicyRetentionRuleClientObject { throw $message } - $newRetentionRule = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureRetentionRule]::new() + $newRetentionRule = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureRetentionRule]::new() $newRetentionRule.ObjectType = "AzureRetentionRule" $newRetentionRule.IsDefault = $IsDefault $newRetentionRule.Name = $Name diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTagClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTagClientObject.ps1 index 592fee79a93e..15d337707f6e 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTagClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTagClientObject.ps1 @@ -1,12 +1,12 @@ function Edit-AzDataProtectionPolicyTagClientObject{ - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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.Api20230501.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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.Api20230501.IScheduleBasedBackupCriteria[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria[]] ${Criteria} ) @@ -83,7 +83,7 @@ if($tagIndex -eq -1) { - $tagCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TaggingCriteria]::new() + $tagCriteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TaggingCriteria]::new() $tagCriteria.TaggingPriority = GetTaggingPriority -Name $Name $tagCriteria.Criterion = $Criteria $tagCriteria.TagInfoTagName = $Name diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTriggerClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTriggerClientObject.ps1 index ea96d3dac8cd..7cccb0209bc2 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTriggerClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Edit-AzDataProtectionPolicyTriggerClientObject.ps1 @@ -1,12 +1,12 @@ function Edit-AzDataProtectionPolicyTriggerClientObject{ - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy')] [CmdletBinding(PositionalBinding=$false)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description('Updates Backup schedule of an existing backup policy.')] param ( [Parameter(ParameterSetName='ModifyBackupSchedule', Mandatory, HelpMessage='Backup Policy object.')] [Parameter(ParameterSetName='RemoveBackupSchedule', Mandatory, HelpMessage='Backup Policy object.')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy] ${Policy}, [Parameter(ParameterSetName='ModifyBackupSchedule', Mandatory, HelpMessage='Schedule to be associated to backup policy.')] @@ -40,7 +40,7 @@ if($index -ne -1) # $backupRuleIndex -ne -1 { - # DppRef : can add a optional parameter TimeZone + # TODO : can add a optional parameter TimeZone # set Local TimeZone for policy Schedule $timezone = Get-TimeZone $Policy.PolicyRule[$backupRuleIndex].Trigger.ScheduleTimeZone = $timezone.StandardName diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Get-AzDataProtectionPolicyTemplate.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Get-AzDataProtectionPolicyTemplate.ps1 index a864b07ba9b1..f59870bd63bf 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Get-AzDataProtectionPolicyTemplate.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/Get-AzDataProtectionPolicyTemplate.ps1 @@ -1,7 +1,7 @@  function Get-AzDataProtectionPolicyTemplate { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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.Api20230501.BackupPolicy]::FromJsonString($jsonPolicyString) + $defaultPolicy = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupPolicy]::FromJsonString($jsonPolicyString) return $defaultPolicy } diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionBackupPolicy.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionBackupPolicy.ps1 index 11d2d3b3c6f7..e7d8bbbac53f 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionBackupPolicy.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionBackupPolicy.ps1 @@ -1,7 +1,7 @@ function New-AzDataProtectionBackupPolicy { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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.Api20230501.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy] ${Policy}, [Parameter()] @@ -114,7 +114,7 @@ $index += 1 } - $policyObject = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicyResource]::new() + $policyObject = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicyResource]::new() $policyObject.Property = $Policy $null = $PSBoundParameters.Remove("Policy") diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1 index cd569681af09..6b76776968b6 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1 @@ -1,5 +1,5 @@ function New-AzDataProtectionPolicyTagCriteriaClientObject{ - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteria')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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.Api20230501.ScheduleBasedBackupCriteria]::new() + $criteria = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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.Api20230501.Day]::new() + $day = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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.Api20230501.Day]::new() + $day = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Day]::new() $day.IsLast = $true $criteria.DaysOfMonth += $day } diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionPolicyTriggerScheduleClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionPolicyTriggerScheduleClientObject.ps1 index 2cd54e9306f2..efe08015a712 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionPolicyTriggerScheduleClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionPolicyTriggerScheduleClientObject.ps1 @@ -19,7 +19,7 @@ function New-AzDataProtectionPolicyTriggerScheduleClientObject{ ) process { - # DppRef: can add a TimeZone parameter to control the timezone and offset + # TODO: can add a TimeZone parameter to control the timezone and offset # Validation for Interval Type and Interval count diff --git a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionRetentionLifeCycleClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionRetentionLifeCycleClientObject.ps1 index 1802965f33a1..1f6b757893c0 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionRetentionLifeCycleClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Cmdlets/Policy/New-AzDataProtectionRetentionLifeCycleClientObject.ps1 @@ -1,5 +1,5 @@ function New-AzDataProtectionRetentionLifeCycleClientObject { - [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle')] + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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.Api20230501.SourceLifeCycle]::new() + $lifeCycle = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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.Api20230501.TargetCopySetting]::new() + $targetCopySetting = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TargetCopySetting]::new() $targetCopySetting.DataStoreObjectType = "DataStoreInfoBase" $targetCopySetting.DataStoreType = $TargetDataStore $targetCopySetting.CopyAfterObjectType = $CopyOption diff --git a/src/DataProtection/DataProtection.Autorest/custom/Helpers/BackupcenterHelper.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Helpers/BackupcenterHelper.ps1 index 96b3533db207..9f7031b00c79 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Helpers/BackupcenterHelper.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Helpers/BackupcenterHelper.ps1 @@ -285,6 +285,17 @@ function GetBackupJobARGQuery { $query += ", tolower(properties.operationCategory) startswith 'backup' and properties.isUserTriggered == 'false', strcat('Scheduled', properties.operationCategory)" $query += ", type =~ 'microsoft.dataprotection/backupVaults/backupJobs', properties.operationCategory, 'Invalid')" + return $query + } +} + +function GetBackupVaultARGQuery { + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotExportAttribute()] + param() + + process { + $query = "Resources | where type =~ 'microsoft.dataprotection/backupvaults'" + return $query } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/custom/Helpers/CommonHelpers.ps1 b/src/DataProtection/DataProtection.Autorest/custom/Helpers/CommonHelpers.ps1 index f14cd457c1a4..3df0dc36ce7d 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Helpers/CommonHelpers.ps1 +++ b/src/DataProtection/DataProtection.Autorest/custom/Helpers/CommonHelpers.ps1 @@ -5,7 +5,7 @@ function GetDatasourceSetInfo param( [Parameter(Mandatory=$true)] [ValidateNotNullOrEmpty()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource] $DatasourceInfo, [Parameter(Mandatory=$true)] @@ -16,7 +16,7 @@ function GetDatasourceSetInfo process { - $DataSourceSetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSet]::new() + $DataSourceSetInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSet]::new() $DataSourceSetInfo.DatasourceType = $DatasourceInfo.Type $DataSourceSetInfo.ObjectType = "DatasourceSet" $DataSourceSetInfo.ResourceLocation = $DatasourceInfo.ResourceLocation @@ -64,7 +64,7 @@ function GetDatasourceInfo process { $manifest = LoadManifest -DatasourceType $DatasourceType.ToString() - $DataSourceInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Datasource]::new() + $DataSourceInfo = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Datasource]::new() $DataSourceInfo.ObjectType = "Datasource" $DataSourceInfo.ResourceId = $ResourceId $DataSourceInfo.ResourceLocation = $ResourceLocation diff --git a/src/DataProtection/DataProtection.Autorest/custom/Models/BackupInstanceResource.cs b/src/DataProtection/DataProtection.Autorest/custom/Models/BackupInstanceResource.cs index 0e5464e19f88..6ee1b1544806 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/Models/BackupInstanceResource.cs +++ b/src/DataProtection/DataProtection.Autorest/custom/Models/BackupInstanceResource.cs @@ -2,7 +2,7 @@ using System.Collections.Generic; using System.Text; -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { public partial class BackupInstanceResource { diff --git a/src/DataProtection/DataProtection.Autorest/custom/manifests/AzureBlob.json b/src/DataProtection/DataProtection.Autorest/custom/manifests/AzureBlob.json index 193bb14db1dd..9e561f7ce9bd 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/manifests/AzureBlob.json +++ b/src/DataProtection/DataProtection.Autorest/custom/manifests/AzureBlob.json @@ -16,6 +16,7 @@ "addDataStoreParametersList": false, "friendlyNameRequired": false, "supportSecretStoreAuthentication": false, + "supportCrossRegionRestore": false, "policySettings": { "supportedRetentionTags": [ "Weekly", "Monthly", "Yearly" ], "supportedDatastoreTypes": [ "OperationalStore", "VaultStore" ], diff --git a/src/DataProtection/DataProtection.Autorest/custom/manifests/AzureDatabaseForPostgreSQL.json b/src/DataProtection/DataProtection.Autorest/custom/manifests/AzureDatabaseForPostgreSQL.json index daf421ea28de..aae91425084a 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/manifests/AzureDatabaseForPostgreSQL.json +++ b/src/DataProtection/DataProtection.Autorest/custom/manifests/AzureDatabaseForPostgreSQL.json @@ -16,6 +16,7 @@ "addDataStoreParametersList": false, "friendlyNameRequired": false, "supportSecretStoreAuthentication": true, + "supportCrossRegionRestore": true, "policySettings": { "supportedRetentionTags": [ "Weekly", "Monthly", "Yearly" ], "supportedDatastoreTypes": [ "VaultStore", "ArchiveStore" ], diff --git a/src/DataProtection/DataProtection.Autorest/custom/manifests/AzureDisk.json b/src/DataProtection/DataProtection.Autorest/custom/manifests/AzureDisk.json index 75a34bd29761..fd53b446472a 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/manifests/AzureDisk.json +++ b/src/DataProtection/DataProtection.Autorest/custom/manifests/AzureDisk.json @@ -16,6 +16,7 @@ "addDataStoreParametersList": true, "friendlyNameRequired": false, "supportSecretStoreAuthentication": false, + "supportCrossRegionRestore": false, "policySettings": { "supportedRetentionTags": [ "Daily", "Weekly" ], "supportedDatastoreTypes": [ "OperationalStore" ], diff --git a/src/DataProtection/DataProtection.Autorest/custom/manifests/AzureKubernetesService.json b/src/DataProtection/DataProtection.Autorest/custom/manifests/AzureKubernetesService.json index 58d3561f393c..f37c964f85ca 100644 --- a/src/DataProtection/DataProtection.Autorest/custom/manifests/AzureKubernetesService.json +++ b/src/DataProtection/DataProtection.Autorest/custom/manifests/AzureKubernetesService.json @@ -12,10 +12,11 @@ "allowedRestoreTargetTypes": [ "AlternateLocation", "OriginalLocation" ], "itemLevelRecoveyEnabled": true, "addBackupDatasourceParametersList": true, - "backupConfigurationRequired": true, + "backupConfigurationRequired": true, "addDataStoreParametersList": true, "friendlyNameRequired": true, "supportSecretStoreAuthentication": false, + "supportCrossRegionRestore": false, "policySettings": { "supportedRetentionTags": [ "Daily", "Weekly" ], "supportedDatastoreTypes": [ "OperationalStore" ], diff --git a/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionJob.md b/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionJob.md index 548d520ad616..e6242db8a7f4 100644 --- a/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionJob.md +++ b/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionJob.md @@ -16,7 +16,7 @@ a6a4879d-f914-4174-b129-0e27da8a4fb0 Microsoft.DataProtection/backupVaults/backu This command gets all the backup jobs in a given backup vault. -### Example 2: Get a single Job +### Example 2: Get a single Job with Id ```powershell Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Id 4abaea8c-f53a-4bb1-9963-59f96b597165 ``` @@ -29,3 +29,16 @@ Name Type This command returns a single job entity with given Id. +### Example 3: Get backup Jobs in a backup vault from secondary region +```powershell +Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -UseSecondaryRegion +``` + +```output +Name Type +---- ---- +a6a4879d-f914-4174-b129-0e27da8a4fb0 Microsoft.DataProtection/backupVaults/backupJobs +1a402664-a245-4a9d-8bb5-a6bafbb40d26 Microsoft.DataProtection/backupVaults/backupJobs +``` + +This command gets cross region restore jobs in a backup vault from secondary region. \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionRecoveryPoint.md b/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionRecoveryPoint.md index 5cf83dfa6fa6..914e5f6b0f84 100644 --- a/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionRecoveryPoint.md +++ b/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionRecoveryPoint.md @@ -31,3 +31,18 @@ Name Type This command returns a recovery point with given id. +### Example 3: Get all recovery points of a given backup instance from secondary region +```powershell +$instance = $instance = Search-AzDataProtectionBackupInstanceInAzGraph -DatasourceType AzureDatabaseForPostgreSQL -Subscription "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroup sarath-rg -Vault sarath-vault +$recoveryPoints = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[2].Name -UseSecondaryRegion +``` + +```output +Name +---- +aded40a562134f97b732f30d0b486fef +aecc362b85484f4eb905bb05ef445e3e +dc814d61a9624c36a1f9d635bc0b80f0 +``` + +This command lists all recovery points of a given backup instance from secondary region. One of these recovery points can be used to trigger cross region restore to secondary region. \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionResourceGuardMapping.md b/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionResourceGuardMapping.md index a9bef1503fcd..656cc6b3a108 100644 --- a/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionResourceGuardMapping.md +++ b/src/DataProtection/DataProtection.Autorest/examples/Get-AzDataProtectionResourceGuardMapping.md @@ -12,8 +12,8 @@ LastUpdatedTime : 2023-08-29T07:23:05.1111730Z Name : DppResourceGuardProxy ResourceGuardId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/hiaga-rg/providers/Microsoft.DataProtection/resourceGuard s/mua-pstest-resguard -ResourceGuardOperationDetail : {Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperationDetail, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperationDetail} +ResourceGuardOperationDetail : {Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationDetail, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationDetail} SystemData : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData Type : Microsoft.DataProtection/vaults/backupResourceGuardProxies ``` diff --git a/src/DataProtection/DataProtection.Autorest/examples/Initialize-AzDataProtectionRestoreRequest.md b/src/DataProtection/DataProtection.Autorest/examples/Initialize-AzDataProtectionRestoreRequest.md index 0df8aba9b515..0ddfca73df1a 100644 --- a/src/DataProtection/DataProtection.Autorest/examples/Initialize-AzDataProtectionRestoreRequest.md +++ b/src/DataProtection/DataProtection.Autorest/examples/Initialize-AzDataProtectionRestoreRequest.md @@ -77,3 +77,41 @@ FromPrefix ToPrefix Note: The ranges shouldn't overlap with each other. Reference: https://learn.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata +### Example 5: Get cross region restore request object for restore as database for datasource type AzureDatabaseForPostgreSQL + +```powershell +$vault = Search-AzDataProtectionBackupVaultInAzGraph -ResourceGroup $ResourceGroupName -Subscription $SubscriptionId -Vault $VaultName +$instance = Search-AzDataProtectionBackupInstanceInAzGraph -Subscription $subscriptionId -ResourceGroup $resourceGroupName -Vault $vaultName -DatasourceType AzureDatabaseForPostgreSQL +$recoveryPointsCrr = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance.Name -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subscriptionId -UseSecondaryRegion +$targetResourceId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/{targetResourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{targetServerName}/databases/{targetDatabaseName}" +$secretURI = "https://{crr-key-vault}.vault.azure.net/secrets/{secret-for-crr}" +$OssRestoreReq = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation $vault.ReplicatedRegion[0] -RestoreType AlternateLocation -RecoveryPoint $recoveryPointsCrr[0].Property.RecoveryPointId -TargetResourceId $targetResourceId -SecretStoreURI $secretURI -SecretStoreType AzureKeyVault +``` + +```output +ObjectType SourceDataStoreType SourceResourceId RecoveryPointId +---------- ------------------- ---------------- --------------- +AzureBackupRecoveryPointBasedRestoreRequest VaultStore d49aeb83264456ccab92a105cade9afe +``` + +First and second commands fetch the vault and backup instance from Azure resource graph. Third command is used to fetch recovery points from secondary region for cross region restore. Last command constructs the cross region restore request object for restore to alternate location as database for datasourcetype AzureDatabaseForPostgreSQL. Please note that we set RestoreLocation parameter to $vault.ReplicatedRegion[0] (paired region) instead of $vault.Location for normal restore. +Use Test-AzDataProtectionBackupInstanceRestore, Start-AzDataProtectionBackupInstanceRestore commands to validate and trigger restore. + +### Example 6: Get cross region restore request object for restore as database for datasource type AzureDatabaseForPostgreSQL + +```powershell +$vault = Search-AzDataProtectionBackupVaultInAzGraph -ResourceGroup $ResourceGroupName -Subscription $SubscriptionId -Vault $VaultName +$instance = Search-AzDataProtectionBackupInstanceInAzGraph -Subscription $subscriptionId -ResourceGroup $resourceGroupName -Vault $vaultName -DatasourceType AzureDatabaseForPostgreSQL +$recoveryPointsCrr = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance.Name -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subscriptionId -UseSecondaryRegion +$targetContainerURI = "https://{targetStorageAccountName}.blob.core.windows.net/{targetContainerName}" +$fileNamePrefix = "oss-pstest-crrasfiles" +$OssRestoreReq = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation $vault.ReplicatedRegion[0] -RestoreType RestoreAsFiles -RecoveryPoint $recoveryPointsCrr[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -FileNamePrefix $fileNamePrefix +``` + +```output +ObjectType SourceDataStoreType SourceResourceId RecoveryPointId +---------- ------------------- ---------------- --------------- +AzureBackupRecoveryPointBasedRestoreRequest VaultStore d49aeb83264456ccab92a105cade9afe +``` + +First and second commands fetch the vault and backup instance from Azure resource graph. Third command is used to fetch recovery points from secondary region for cross region restore. Last command constructs the cross region restore request object for restore as files for datasourcetype AzureDatabaseForPostgreSQL. Please note that we set RestoreLocation parameter to $vault.ReplicatedRegion[0] (paired region) instead of $vault.Location for normal restore. Use Test-AzDataProtectionBackupInstanceRestore, Start-AzDataProtectionBackupInstanceRestore commands to validate and trigger restore. diff --git a/src/DataProtection/DataProtection.Autorest/examples/Search-AzDataProtectionBackupVaultInAzGraph.md b/src/DataProtection/DataProtection.Autorest/examples/Search-AzDataProtectionBackupVaultInAzGraph.md new file mode 100644 index 000000000000..64ebc3026bcd --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/examples/Search-AzDataProtectionBackupVaultInAzGraph.md @@ -0,0 +1,13 @@ +### Example 1: Get a specific vault with its name. +```powershell +Search-AzDataProtectionBackupVaultInAzGraph -Subscription "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroup $resourceGroupName -Vault $vaultName +``` + +```output +ETag IdentityPrincipalId IdentityTenantId IdentityType Location Name Type +---- ------------------- ---------------- ------------ -------- ---- ---- + xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx SystemAssigned centraluseuap sarath-vault Microsoft.DataProtection/backupVaults +``` + +This command gets a specific vault by given vault name from ARG (Azure Resource Graph). + diff --git a/src/DataProtection/DataProtection.Autorest/examples/Set-AzDataProtectionResourceGuardMapping.md b/src/DataProtection/DataProtection.Autorest/examples/Set-AzDataProtectionResourceGuardMapping.md index cf365dd3b29c..c768d24c0425 100644 --- a/src/DataProtection/DataProtection.Autorest/examples/Set-AzDataProtectionResourceGuardMapping.md +++ b/src/DataProtection/DataProtection.Autorest/examples/Set-AzDataProtectionResourceGuardMapping.md @@ -12,8 +12,8 @@ LastUpdatedTime : 2023-08-29T07:23:05.1111730Z Name : DppResourceGuardProxy ResourceGuardId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/hiaga-rg/providers/Microsoft.DataProtection/resourceGuard s/mua-pstest-resguard -ResourceGuardOperationDetail : {Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperationDetail, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperationDetail} +ResourceGuardOperationDetail : {Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationDetail, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationDetail} SystemData : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData Type : Microsoft.DataProtection/vaults/backupResourceGuardProxies ``` diff --git a/src/DataProtection/DataProtection.Autorest/examples/Start-AzDataProtectionBackupInstanceRestore.md b/src/DataProtection/DataProtection.Autorest/examples/Start-AzDataProtectionBackupInstanceRestore.md index 39ee63c15333..7caedb795872 100644 --- a/src/DataProtection/DataProtection.Autorest/examples/Start-AzDataProtectionBackupInstanceRestore.md +++ b/src/DataProtection/DataProtection.Autorest/examples/Start-AzDataProtectionBackupInstanceRestore.md @@ -134,3 +134,19 @@ The fourth, fifth command initializes targetContainerURI and fileNamePrefix for The sixth command initializes the restore request object for AzureDatabaseForPostgreSQL restore. The seventh command triggers validate before restore. The last command triggers the cross subscription restore as files for AzureDatabaseForPostgreSQL. + +### Example 8: Trigger cross region restore for AzureDatabaseForPostgreSQL. +```powershell +$restoreJobCRR = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.Name -ResourceGroupName $ResourceGroupName -VaultName $vaultName -SubscriptionId $SubscriptionId -Parameter $OssRestoreReq -RestoreToSecondaryRegion +$jobid = $restoreJobCRR.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -UseSecondaryRegion + $jobstatus = $currentjob.Status +} +``` + + +This command command triggers the cross region restore for AzureDatabaseForPostgreSQL. For triggering cross region restore to secondary region, use RestoreToSecondaryRegion switch. diff --git a/src/DataProtection/DataProtection.Autorest/examples/Test-AzDataProtectionBackupInstanceRestore.md b/src/DataProtection/DataProtection.Autorest/examples/Test-AzDataProtectionBackupInstanceRestore.md index 9126947434ed..fe0094e1fedc 100644 --- a/src/DataProtection/DataProtection.Autorest/examples/Test-AzDataProtectionBackupInstanceRestore.md +++ b/src/DataProtection/DataProtection.Autorest/examples/Test-AzDataProtectionBackupInstanceRestore.md @@ -8,3 +8,10 @@ $validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instances[0 ``` The command tests the restore request object is valid for restore + +### Example 2: Validate cross region restore +```powershell +$validateRestore = Test-AzDataProtectionBackupInstanceRestore -ResourceGroupName $ResourceGroupName -Name $instance[0].Name -VaultName $VaultName -RestoreRequest $RestoreRequestObject -SubscriptionId $SubscriptionId -RestoreToSecondaryRegion +``` + +The command tests the restore request object is valid for cross region restore. For normal restore (non-CRR), DO NOT use RestoreToSecondaryRegion switch. diff --git a/src/DataProtection/DataProtection.Autorest/exports/Backup-AzDataProtectionBackupInstanceAdhoc.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Backup-AzDataProtectionBackupInstanceAdhoc.ps1 index c774ec67f23b..cb9f01fbd5e2 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Backup-AzDataProtectionBackupInstanceAdhoc.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Backup-AzDataProtectionBackupInstanceAdhoc.ps1 @@ -38,7 +38,7 @@ while($jobstatus -ne "Completed") .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -62,7 +62,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/backup-azdataprotectionbackupinstanceadhoc #> function Backup-AzDataProtectionBackupInstanceAdhoc { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='BackupExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='BackupExpanded', Mandatory)] @@ -206,6 +206,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1 index dc2fc6cea63b..0d2913d73c11 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Edit-AzDataProtectionPolicyRetentionRuleClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/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.Api20230501.IBackupPolicy +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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.Api20230501.IBackupPolicy])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy])] [CmdletBinding(DefaultParameterSetName='RemoveRetention', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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.Api20230501.ISourceLifeCycle[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle[]] # Life cycles associated with the retention rule. # To construct, see NOTES section for LIFECYCLES properties and create a hash table. ${LifeCycles}, @@ -140,6 +140,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Edit-AzDataProtectionPolicyTagClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Edit-AzDataProtectionPolicyTagClientObject.ps1 index a29d1cbe98e1..e3532d07b954 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Edit-AzDataProtectionPolicyTagClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/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.Api20230501.IBackupPolicy +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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.Api20230501.IBackupPolicy])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy])] [CmdletBinding(DefaultParameterSetName='RemoveTag', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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.Api20230501.IScheduleBasedBackupCriteria[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria[]] # Criterias to be associated with the schedule tag. # To construct, see NOTES section for CRITERIA properties and create a hash table. ${Criteria} @@ -128,6 +128,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Edit-AzDataProtectionPolicyTriggerClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Edit-AzDataProtectionPolicyTriggerClientObject.ps1 index 9c7506ca53d4..51f89ebd77ab 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Edit-AzDataProtectionPolicyTriggerClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/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.Api20230501.IBackupPolicy +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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.Api20230501.IBackupPolicy])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy])] [CmdletBinding(DefaultParameterSetName='RemoveBackupSchedule', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy] # Backup Policy object. # To construct, see NOTES section for POLICY properties and create a hash table. ${Policy}, @@ -108,6 +108,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Find-AzDataProtectionRestorableTimeRange.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Find-AzDataProtectionRestorableTimeRange.ps1 index 1c27198a8c96..b60812a21543 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Find-AzDataProtectionRestorableTimeRange.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Find-AzDataProtectionRestorableTimeRange.ps1 @@ -27,12 +27,12 @@ $pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName $pointInTimeRange.RestorableTimeRange | Format-List .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/find-azdataprotectionrestorabletimerange #> function Find-AzDataProtectionRestorableTimeRange { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource])] [CmdletBinding(DefaultParameterSetName='FindExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -165,6 +165,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupInstance.ps1 index fd28511eafb4..55150b2a1499 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupInstance.ps1 @@ -27,7 +27,7 @@ Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxx .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupinstance #> function Get-AzDataProtectionBackupInstance { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -176,6 +176,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupPolicy.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupPolicy.ps1 index 83e8e2c5ce1c..14d66c64eceb 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupPolicy.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupPolicy.ps1 @@ -27,7 +27,7 @@ Get-AzDataProtectionBackupPolicy -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupNa .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackuppolicy #> function Get-AzDataProtectionBackupPolicy { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -176,6 +176,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupVault.ps1 index b610e478e6f2..db8a99532d7b 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionBackupVault.ps1 @@ -32,7 +32,7 @@ $vault.SecureScore .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource .Notes COMPLEX PARAMETER PROPERTIES @@ -56,7 +56,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupvault #> function Get-AzDataProtectionBackupVault { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get')] @@ -175,6 +175,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionJob.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionJob.ps1 index 0b672686f45f..35e164593bd3 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionJob.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionJob.ps1 @@ -16,18 +16,20 @@ <# .Synopsis -Gets a job with id in a backup vault +Gets or lists jobs in a backup vault .Description -Gets a job with id in a backup vault +Gets or lists jobs in a backup vault .Example Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault .Example Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Id 4abaea8c-f53a-4bb1-9963-59f96b597165 +.Example +Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -UseSecondaryRegion .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource .Notes COMPLEX PARAMETER PROPERTIES @@ -51,95 +53,89 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionjob #> function Get-AzDataProtectionJob { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( + [Parameter(ParameterSetName='List', Mandatory)] [Parameter(ParameterSetName='Get', Mandatory)] - [Alias('JobId')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # The Job ID. - # This is a GUID-formatted string (e.g. - # 00000000-0000-0000-0000-000000000000). - ${Id}, + # Resource Group of the backup vault + ${ResourceGroupName}, - [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Parameter(ParameterSetName='Get', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, + # Name of the backup vault + ${VaultName}, - [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [Parameter(ParameterSetName='Get')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String[]] - # The ID of the target subscription. - # The value must be an UUID. + # Subscription Id of the vault ${SubscriptionId}, + [Parameter(ParameterSetName='List')] + [Parameter(ParameterSetName='Get')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Switch parameter to fetch dataprotection job from secondary region (Cross Region Restore) + ${UseSecondaryRegion}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + [Parameter(ParameterSetName='Get', Mandatory)] - [Parameter(ParameterSetName='List', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Alias('JobId')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # The name of the backup vault. - ${VaultName}, + # Job ID to get a particular Job + ${Id}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] - [System.Management.Automation.PSObject] - # The DefaultProfile parameter is not functional. - # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - ${DefaultProfile}, - [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] [System.Uri] - # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) @@ -169,15 +165,16 @@ begin { } $mapping = @{ - Get = 'Az.DataProtection.private\Get-AzDataProtectionJob_Get'; - GetViaIdentity = 'Az.DataProtection.private\Get-AzDataProtectionJob_GetViaIdentity'; - List = 'Az.DataProtection.private\Get-AzDataProtectionJob_List'; - } - if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + List = 'Az.DataProtection.custom\Get-AzDataProtectionJob'; + Get = 'Az.DataProtection.custom\Get-AzDataProtectionJob'; + GetViaIdentity = 'Az.DataProtection.custom\Get-AzDataProtectionJob'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionOperation.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionOperation.ps1 index b154b9a5386a..585e9ab31a29 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionOperation.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionOperation.ps1 @@ -23,12 +23,12 @@ Returns the list of available operations. Get-AzDataProtectionOperation .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionoperation #> function Get-AzDataProtectionOperation { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter()] @@ -110,6 +110,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionOperationStatus.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionOperationStatus.ps1 index 51d4f301e67e..d10103cc26c3 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionOperationStatus.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionOperationStatus.ps1 @@ -30,7 +30,7 @@ While((Get-AzDataProtectionOperationStatus -OperationId $operationId -Location $ .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource .Notes COMPLEX PARAMETER PROPERTIES @@ -54,7 +54,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionoperationstatus #> function Get-AzDataProtectionOperationStatus { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -167,6 +167,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionPolicyTemplate.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionPolicyTemplate.ps1 index 8d5e0c4a004c..2779fca527bf 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionPolicyTemplate.ps1 +++ b/src/DataProtection/DataProtection.Autorest/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.Api20230501.IBackupPolicy +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionpolicytemplate #> function Get-AzDataProtectionPolicyTemplate { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -68,6 +68,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionRecoveryPoint.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionRecoveryPoint.ps1 index 6114583d364b..9a73046a9f2a 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionRecoveryPoint.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionRecoveryPoint.ps1 @@ -25,11 +25,14 @@ Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupN .Example $instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[2].Name -Id 892e5c5014dc4a96807d22924f5745c9 +.Example +$instance = $instance = Search-AzDataProtectionBackupInstanceInAzGraph -DatasourceType AzureDatabaseForPostgreSQL -Subscription "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroup sarath-rg -Vault sarath-vault +$recoveryPoints = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[2].Name -UseSecondaryRegion .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource .Outputs System.Management.Automation.PSObject .Notes @@ -55,7 +58,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionrecoverypoint #> function Get-AzDataProtectionRecoveryPoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource], [PSObject])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource], [PSObject])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -161,7 +164,13 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.DateTime] # End Time filter for recovery points - ${EndTime} + ${EndTime}, + + [Parameter(ParameterSetName='List')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Switch parameter to fetch recovery points from secondary region + ${UseSecondaryRegion} ) begin { @@ -199,6 +208,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuard.ps1 index ebeb07831488..6aa917298a91 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuard.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuard.ps1 @@ -27,7 +27,7 @@ Get-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxx .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource .Notes COMPLEX PARAMETER PROPERTIES @@ -51,7 +51,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionresourceguard #> function Get-AzDataProtectionResourceGuard { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource])] [CmdletBinding(DefaultParameterSetName='Get1', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -168,6 +168,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuardMapping.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuardMapping.ps1 index 40c0b65d8fc2..0499b5b781c3 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuardMapping.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionResourceGuardMapping.ps1 @@ -26,7 +26,7 @@ $mapping | fl .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource .Notes COMPLEX PARAMETER PROPERTIES @@ -50,7 +50,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionresourceguardmapping #> function Get-AzDataProtectionResourceGuardMapping { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -171,6 +171,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionSoftDeletedBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionSoftDeletedBackupInstance.ps1 index 7c3a09117efc..81e0f8e98696 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionSoftDeletedBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Get-AzDataProtectionSoftDeletedBackupInstance.ps1 @@ -25,7 +25,7 @@ Get-AzDataProtectionSoftDeletedBackupInstance -ResourceGroupName $resourceGroupN .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource .Notes COMPLEX PARAMETER PROPERTIES @@ -49,7 +49,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionsoftdeletedbackupinstance #> function Get-AzDataProtectionSoftDeletedBackupInstance { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -173,6 +173,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Initialize-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Initialize-AzDataProtectionBackupInstance.ps1 index df8925ceca6a..6b8bf5328256 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Initialize-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Initialize-AzDataProtectionBackupInstance.ps1 @@ -34,7 +34,7 @@ $backupInstance = Initialize-AzDataProtectionBackupInstance -DatasourceType Azur $instance .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource .Notes COMPLEX PARAMETER PROPERTIES @@ -46,7 +46,7 @@ BACKUPCONFIGURATION : Backup configuration for back https://learn.microsoft.com/powershell/module/az.dataprotection/initialize-azdataprotectionbackupinstance #> function Initialize-AzDataProtectionBackupInstance { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -101,7 +101,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters] # Backup configuration for backup. # Use this parameter to configure protection for AzureKubernetesService. # To construct, see NOTES section for BACKUPCONFIGURATION properties and create a hash table. @@ -138,6 +138,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Initialize-AzDataProtectionRestoreRequest.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Initialize-AzDataProtectionRestoreRequest.ps1 index c96f7f1e7cb1..2e9857f04dd7 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Initialize-AzDataProtectionRestoreRequest.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Initialize-AzDataProtectionRestoreRequest.ps1 @@ -41,9 +41,23 @@ $endTime = (Get-Date).AddDays(0).ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") $instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "rgName" -VaultName "vaultName" $pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName $instance[0].BackupInstanceName -ResourceGroupName "rgName" -SubscriptionId "subscriptionId" -VaultName "vaultName" -SourceDataStoreType OperationalStore -StartTime $startTime -EndTime $endTime 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" +.Example +$vault = Search-AzDataProtectionBackupVaultInAzGraph -ResourceGroup $ResourceGroupName -Subscription $SubscriptionId -Vault $VaultName +$instance = Search-AzDataProtectionBackupInstanceInAzGraph -Subscription $subscriptionId -ResourceGroup $resourceGroupName -Vault $vaultName -DatasourceType AzureDatabaseForPostgreSQL +$recoveryPointsCrr = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance.Name -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subscriptionId -UseSecondaryRegion +$targetResourceId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/{targetResourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{targetServerName}/databases/{targetDatabaseName}" +$secretURI = "https://{crr-key-vault}.vault.azure.net/secrets/{secret-for-crr}" +$OssRestoreReq = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation $vault.ReplicatedRegion[0] -RestoreType AlternateLocation -RecoveryPoint $recoveryPointsCrr[0].Property.RecoveryPointId -TargetResourceId $targetResourceId -SecretStoreURI $secretURI -SecretStoreType AzureKeyVault +.Example +$vault = Search-AzDataProtectionBackupVaultInAzGraph -ResourceGroup $ResourceGroupName -Subscription $SubscriptionId -Vault $VaultName +$instance = Search-AzDataProtectionBackupInstanceInAzGraph -Subscription $subscriptionId -ResourceGroup $resourceGroupName -Vault $vaultName -DatasourceType AzureDatabaseForPostgreSQL +$recoveryPointsCrr = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance.Name -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subscriptionId -UseSecondaryRegion +$targetContainerURI = "https://{targetStorageAccountName}.blob.core.windows.net/{targetContainerName}" +$fileNamePrefix = "oss-pstest-crrasfiles" +$OssRestoreReq = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation $vault.ReplicatedRegion[0] -RestoreType RestoreAsFiles -RecoveryPoint $recoveryPointsCrr[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -FileNamePrefix $fileNamePrefix .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest .Notes COMPLEX PARAMETER PROPERTIES @@ -105,7 +119,7 @@ RESTORECONFIGURATION : Restore configuration f https://learn.microsoft.com/powershell/module/az.dataprotection/initialize-azdataprotectionrestorerequest #> function Initialize-AzDataProtectionRestoreRequest { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest])] [CmdletBinding(DefaultParameterSetName='AlternateLocationFullRecovery', PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -165,7 +179,7 @@ param( [Parameter(ParameterSetName='AlternateLocationFullRecovery')] [Parameter(ParameterSetName='OriginalLocationFullRecovery')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteria] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteria] # Restore configuration for restore. # Use this parameter to restore with AzureKubernetesService. # To construct, see NOTES section for RESTORECONFIGURATION properties and create a hash table. @@ -232,7 +246,7 @@ param( [Parameter(ParameterSetName='OriginalLocationILR', Mandatory)] [Parameter(ParameterSetName='OriginalLocationFullRecovery', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResource] # Backup Instance object to trigger original localtion restore. # To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. ${BackupInstance}, @@ -292,6 +306,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupConfigurationClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupConfigurationClientObject.ps1 index 25e32b9a9690..0b499d376d66 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupConfigurationClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupConfigurationClientObject.ps1 @@ -95,7 +95,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.NamespacedNameResource[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResource[]] # Hook reference to be executed during backup. # To construct, see NOTES section for BACKUPHOOKREFERENCE properties and create a hash table. ${BackupHookReference}, @@ -159,6 +159,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupInstance.ps1 index edc79f7c82d7..079492c92a9e 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupInstance.ps1 @@ -118,7 +118,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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}, @@ -216,6 +216,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupPolicy.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupPolicy.ps1 index cd913606c151..3b71a11eea8a 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupPolicy.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupPolicy.ps1 @@ -98,7 +98,7 @@ $defaultPol.PolicyRule[0].Trigger.ScheduleTimeZone = $timeZone[0].Id $operationalVaultedPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "operationalVaultedPolicyName" -Policy $defaultPol .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource .Notes COMPLEX PARAMETER PROPERTIES @@ -128,7 +128,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.Api20230501.IBaseBackupPolicyResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource])] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -151,7 +151,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy] # Policy Request Object # To construct, see NOTES section for POLICY properties and create a hash table. ${Policy}, @@ -233,6 +233,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupVault.ps1 index 2dbfca0bb907..9ac77b4064c3 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupVault.ps1 @@ -65,7 +65,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. @@ -217,6 +217,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupVaultStorageSettingObject.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupVaultStorageSettingObject.ps1 index 4792aeb8b894..e2f90bbdfb5d 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupVaultStorageSettingObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionBackupVaultStorageSettingObject.ps1 @@ -74,6 +74,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1 index 31a88d44be89..e7b91e1f43af 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionPolicyTagCriteriaClientObject.ps1 @@ -25,12 +25,12 @@ New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfDay New-AzDataProtectionPolicyTagCriteriaClientObject -DaysOfWeek @("Sunday", "Monday") .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteria +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria .Link https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionpolicytagcriteriaclientobject #> function New-AzDataProtectionPolicyTagCriteriaClientObject { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteria])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria])] [CmdletBinding(DefaultParameterSetName='ScheduleCriteria', PositionalBinding=$false)] param( [Parameter(ParameterSetName='AbsoluteCriteria', Mandatory)] @@ -105,6 +105,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionPolicyTriggerScheduleClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionPolicyTriggerScheduleClientObject.ps1 index 2054f911945e..94bb6f25ab33 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionPolicyTriggerScheduleClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionPolicyTriggerScheduleClientObject.ps1 @@ -84,6 +84,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionResourceGuard.ps1 index 06597c140b94..af968b7fccb1 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionResourceGuard.ps1 +++ b/src/DataProtection/DataProtection.Autorest/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.Api20230501.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionresourceguard #> function New-AzDataProtectionResourceGuard { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource])] [CmdletBinding(DefaultParameterSetName='CreateResourceGuard', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -144,6 +144,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionRestoreConfigurationClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionRestoreConfigurationClientObject.ps1 index ff725cfd733f..5751d8413bbb 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionRestoreConfigurationClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionRestoreConfigurationClientObject.ps1 @@ -95,7 +95,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteriaNamespaceMappings] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteriaNamespaceMappings] # Namespaces mapping from source namespaces to target namespaces to resolve namespace naming conflicts in the target cluster. # To construct, see NOTES section for NAMESPACEMAPPING properties and create a hash table. ${NamespaceMapping}, @@ -110,7 +110,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.NamespacedNameResource[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResource[]] # Hook reference to be executed during restore. # To construct, see NOTES section for RESTOREHOOKREFERENCE properties and create a hash table. ${RestoreHookReference} @@ -146,6 +146,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionRetentionLifeCycleClientObject.ps1 b/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionRetentionLifeCycleClientObject.ps1 index 18a41279d3d6..db09b6e491b5 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/New-AzDataProtectionRetentionLifeCycleClientObject.ps1 +++ b/src/DataProtection/DataProtection.Autorest/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.Api20230501.ISourceLifeCycle +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle .Link https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionretentionlifecycleclientobject #> function New-AzDataProtectionRetentionLifeCycleClientObject { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -94,6 +94,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/ProxyCmdletDefinitions.ps1 b/src/DataProtection/DataProtection.Autorest/exports/ProxyCmdletDefinitions.ps1 index f95f9ad3d69f..cccbf4bc4ceb 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/ProxyCmdletDefinitions.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/ProxyCmdletDefinitions.ps1 @@ -38,7 +38,7 @@ while($jobstatus -ne "Completed") .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -62,7 +62,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/backup-azdataprotectionbackupinstanceadhoc #> function Backup-AzDataProtectionBackupInstanceAdhoc { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='BackupExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='BackupExpanded', Mandatory)] @@ -206,6 +206,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -263,12 +267,12 @@ $pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName $pointInTimeRange.RestorableTimeRange | Format-List .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/find-azdataprotectionrestorabletimerange #> function Find-AzDataProtectionRestorableTimeRange { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource])] [CmdletBinding(DefaultParameterSetName='FindExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -401,6 +405,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -458,7 +466,7 @@ Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxx .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource .Notes COMPLEX PARAMETER PROPERTIES @@ -482,7 +490,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupinstance #> function Get-AzDataProtectionBackupInstance { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -607,6 +615,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -664,7 +676,7 @@ Get-AzDataProtectionBackupPolicy -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupNa .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource .Notes COMPLEX PARAMETER PROPERTIES @@ -688,7 +700,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackuppolicy #> function Get-AzDataProtectionBackupPolicy { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -813,6 +825,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -875,7 +891,7 @@ $vault.SecureScore .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource .Notes COMPLEX PARAMETER PROPERTIES @@ -899,7 +915,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupvault #> function Get-AzDataProtectionBackupVault { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get')] @@ -1018,214 +1034,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) - $scriptCmd = {& $wrappedCmd @PSBoundParameters} - $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) - $steppablePipeline.Begin($PSCmdlet) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} - -process { - try { - $steppablePipeline.Process($_) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } - - finally { - $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - -} -end { - try { - $steppablePipeline.End() - - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets - if ($preTelemetryId -eq '') { - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId - - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} -} - -<# -.Synopsis -Gets a job with id in a backup vault -.Description -Gets a job with id in a backup vault -.Example -Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -.Example -Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Id 4abaea8c-f53a-4bb1-9963-59f96b597165 - -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity -.Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.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. - [BackupPolicyName ]: - [Id ]: Resource identity path - [JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - [Location ]: The location in which uniqueness will be verified. - [OperationId ]: - [RecoveryPointId ]: - [RequestName ]: - [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceGuardProxyName ]: name of the resource guard proxy - [ResourceGuardsName ]: The name of ResourceGuard - [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.Api20230501.IAzureBackupJobResource])] -[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] -param( - [Parameter(ParameterSetName='Get', Mandatory)] - [Alias('JobId')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The Job ID. - # This is a GUID-formatted string (e.g. - # 00000000-0000-0000-0000-000000000000). - ${Id}, - - [Parameter(ParameterSetName='Get', Mandatory)] - [Parameter(ParameterSetName='List', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter(ParameterSetName='Get')] - [Parameter(ParameterSetName='List')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String[]] - # The ID of the target subscription. - # The value must be an UUID. - ${SubscriptionId}, - - [Parameter(ParameterSetName='Get', Mandatory)] - [Parameter(ParameterSetName='List', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the backup vault. - ${VaultName}, - - [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] - # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - ${InputObject}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] - [System.Management.Automation.PSObject] - # The DefaultProfile parameter is not functional. - # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - ${DefaultProfile}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} -) - -begin { - try { - $outBuffer = $null - if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { - $PSBoundParameters['OutBuffer'] = 1 - } - $parameterSet = $PSCmdlet.ParameterSetName - - if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() - } - $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - if ($preTelemetryId -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) - } else { - $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - if ($internalCalledCmdlets -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name - } else { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' - } - - $mapping = @{ - Get = 'Az.DataProtection.private\Get-AzDataProtectionJob_Get'; - GetViaIdentity = 'Az.DataProtection.private\Get-AzDataProtectionJob_GetViaIdentity'; - List = 'Az.DataProtection.private\Get-AzDataProtectionJob_List'; + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) } - if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id - } - $cmdInfo = Get-Command -Name $mapping[$parameterSet] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -1286,7 +1098,7 @@ While((Get-AzDataProtectionOperationStatus -OperationId $operationId -Location $ .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource .Notes COMPLEX PARAMETER PROPERTIES @@ -1310,7 +1122,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionoperationstatus #> function Get-AzDataProtectionOperationStatus { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -1423,6 +1235,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -1476,12 +1292,12 @@ Returns the list of available operations. Get-AzDataProtectionOperation .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionoperation #> function Get-AzDataProtectionOperation { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter()] @@ -1563,6 +1379,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -1618,11 +1438,14 @@ Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupN .Example $instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[2].Name -Id 892e5c5014dc4a96807d22924f5745c9 +.Example +$instance = $instance = Search-AzDataProtectionBackupInstanceInAzGraph -DatasourceType AzureDatabaseForPostgreSQL -Subscription "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroup sarath-rg -Vault sarath-vault +$recoveryPoints = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[2].Name -UseSecondaryRegion .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource .Outputs System.Management.Automation.PSObject .Notes @@ -1648,7 +1471,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionrecoverypoint #> function Get-AzDataProtectionRecoveryPoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource], [PSObject])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource], [PSObject])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -1754,7 +1577,13 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.DateTime] # End Time filter for recovery points - ${EndTime} + ${EndTime}, + + [Parameter(ParameterSetName='List')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Switch parameter to fetch recovery points from secondary region + ${UseSecondaryRegion} ) begin { @@ -1792,6 +1621,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -1848,7 +1681,7 @@ $mapping | fl .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource .Notes COMPLEX PARAMETER PROPERTIES @@ -1872,7 +1705,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionresourceguardmapping #> function Get-AzDataProtectionResourceGuardMapping { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -1993,6 +1826,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -2050,7 +1887,7 @@ Get-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxx .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource .Notes COMPLEX PARAMETER PROPERTIES @@ -2074,7 +1911,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionresourceguard #> function Get-AzDataProtectionResourceGuard { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource])] [CmdletBinding(DefaultParameterSetName='Get1', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -2191,6 +2028,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -2246,7 +2087,7 @@ Get-AzDataProtectionSoftDeletedBackupInstance -ResourceGroupName $resourceGroupN .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource .Notes COMPLEX PARAMETER PROPERTIES @@ -2270,7 +2111,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionsoftdeletedbackupinstance #> function Get-AzDataProtectionSoftDeletedBackupInstance { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -2394,6 +2235,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -2613,6 +2458,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -2820,6 +2669,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -3031,6 +2884,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -3236,6 +3093,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -3435,6 +3296,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -3652,6 +3517,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -3706,7 +3575,7 @@ $proxy = Set-AzDataProtectionResourceGuardMapping -ResourceGroupName $resourceGr $proxy | fl .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource .Notes COMPLEX PARAMETER PROPERTIES @@ -3719,7 +3588,7 @@ RESOURCEGUARDOPERATIONDETAIL : . https://learn.microsoft.com/powershell/module/az.dataprotection/set-azdataprotectionresourceguardmapping #> function Set-AzDataProtectionResourceGuardMapping { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -3834,6 +3703,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -3880,136 +3753,56 @@ end { <# .Synopsis -Triggers restore for a BackupInstance +This operation will stop protection of a backup instance and data will be held forever .Description -Triggers restore for a BackupInstance -.Example -$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "sarath-rg" -VaultName "sarath-vault" -$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxx-xxx-xxx" -ResourceGroupName "sarath-rg" -VaultName "sarath-vault" -BackupInstanceName $instance.Name -$restoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDisk -SourceDataStore OperationalStore -RestoreLocation "westus" -RestoreType AlternateLocation -TargetResourceId "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{DiskName}" -RecoveryPoint $rp[0].name -Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.BackupInstanceName -ResourceGroupName sarath-rg -VaultName sarath-vault -SubscriptionId "xxx-xxx-xxx" -Parameter $restorerequest -.Example -$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name -$targetResourceId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.DBforPostgreSQL/servers/serverName/databases/targetDbName" -$secretURI = "https://oss-keyvault.vault.azure.net/secrets/oss-secret" -$restoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation "westus" -RestoreType AlternateLocation -TargetResourceId $targetResourceId -RecoveryPoint $rp[0].Property.RecoveryPointId -SecretStoreURI $secretURI -SecretStoreType AzureKeyVault -$restoreJob = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.BackupInstanceName -ResourceGroupName resourceGroupName -VaultName vaultName -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -Parameter $restorerequest -$jobid = $restoreJob.JobId.Split("/")[-1] -$jobstatus = "InProgress" -while($jobstatus -ne "Completed") -{ - Start-Sleep -Seconds 10 - $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" - $jobstatus = $currentjob.Status -} +This operation will stop protection of a backup instance and data will be held forever .Example -$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name -$targetContainerURI = "https://targetStorageAccount.blob.core.windows.net/targetContainerName" -$fileNamePrefix = "restore_as_files_12345" -$restoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation "westus" -RestoreType RestoreAsFiles -RecoveryPoint $rp[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -FileNamePrefix $fileNamePrefix -$restoreJob = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.BackupInstanceName -ResourceGroupName resourceGroupName -VaultName vaultName -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -Parameter $restorerequest -$jobid = $restoreJob.JobId.Split("/")[-1] -$jobstatus = "InProgress" -while($jobstatus -ne "Completed") -{ - Start-Sleep -Seconds 10 - $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" - $jobstatus = $currentjob.Status -} -.Example -$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Name -match "aks-cluster-name" } -$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name -$aksRestoreCriteria = New-AzDataProtectionRestoreConfigurationClientObject -DatasourceType AzureKubernetesService -PersistentVolumeRestoreMode RestoreWithVolumeData -IncludeClusterScopeResource $true -NamespaceMapping @{"sourceNamespace1"="targetNamespace1";"sourceNamespace2"="targetNamespace2"} -$snapshotResourceGroupId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/snapshotResourceGroup" -$aksOLRRestoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureKubernetesService -SourceDataStore OperationalStore -RestoreLocation eastus -RestoreType OriginalLocation -RecoveryPoint $rps[0].Property.RecoveryPointId -RestoreConfiguration $aksRestoreCriteria -BackupInstance $instance - -Set-AzDataProtectionMSIPermission -VaultResourceGroup "resourceGroupName" -VaultName "vaultName" -PermissionsScope "ResourceGroup" -RestoreRequest $aksOLRRestoreRequest -SnapshotResourceGroupId $snapshotResourceGroupId -$validateRestore = Test-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -RestoreRequest $aksOLRRestoreRequest -Name $instance.BackupInstanceName -$restoreJob = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $aksOLRRestoreRequest -.Example -$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Name -match "storageAcountName" } -$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name -$backedUpContainers = $instance.Property.PolicyInfo.PolicyParameter.BackupDatasourceParametersList[0].ContainersList -$restoreReq = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore VaultStore -RestoreLocation "vaultLocation" -RecoveryPoint $rp[0].Name -ItemLevelRecovery -RestoreType AlternateLocation -TargetResourceId "targetStorageAccountId" -ContainersList $backedUpContainers[0,1] -Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -RestoreRequest $restoreReq -$restoreJob = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $restoreReq -.Example -$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Name -match "storageAcountName" } -$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name -$backedUpContainers = $instance.Property.PolicyInfo.PolicyParameter.BackupDatasourceParametersList[0].ContainersList -$targetCrossSubscriptionStorageAccountId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/targetStorageAccount" -$restoreReqCSR = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore VaultStore -RestoreLocation "vaultLocation" -RecoveryPoint $rp[0].Name -ItemLevelRecovery -RestoreType AlternateLocation -TargetResourceId $targetCrossSubscriptionStorageAccountId -ContainersList $backedUpContainers[0,1] -Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -RestoreRequest $restoreReqCSR -$restoreJobCSR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $restoreReqCSR -.Example -$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Property.DataSourceInfo.ResourceType -match "Postgre" } -$rp = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance[0].BackupInstanceName -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -$targetResourceArmId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/crossSubResourceGroupName/providers/Microsoft.Storage/storageAccounts/akneemasaecy/blobServices/default/containers/oss-csr-container" -$targetContainerURI = "https://akneemasaecy.blob.core.windows.net/oss-csr-container" -$fileNamePrefix = "oss-csr-pstest-restoreasfiles" -$ossRestoreReqFiles = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation "vaultLocation" -RestoreType RestoreAsFiles -RecoveryPoint $rp[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -FileNamePrefix $fileNamePrefix -TargetResourceIdForRestoreAsFile $targetContainerArmId -$validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -RestoreRequest $ossRestoreReqFiles -$restoreJobCSR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $ossRestoreReqFiles -$jobid = $restoreJobCSR.JobId.Split("/")[-1] -$jobstatus = "InProgress" -while($jobstatus -ne "Completed") -{ - Start-Sleep -Seconds 10 - $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" - $jobstatus = $currentjob.Status -} +Stop-AzDataProtectionBackupInstanceProtection -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo +System.Boolean .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. -PARAMETER : Azure backup restore request - ObjectType : - RestoreTargetInfo : Gets or sets the restore target information. - ObjectType : Type of Datasource object, used to initialize the right inherited type - [RestoreLocation ]: Target Restore region - SourceDataStoreType : Gets or sets the type of the source data store. - [IdentityDetailUseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. - [IdentityDetailUserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. - [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. - -RESTORETARGETINFO : Gets or sets the restore target information. - ObjectType : Type of Datasource object, used to initialize the right inherited type - [RestoreLocation ]: Target Restore region +INPUTOBJECT : Identity Parameter + [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). + [Location ]: The location in which uniqueness will be verified. + [OperationId ]: + [RecoveryPointId ]: + [RequestName ]: + [ResourceGroupName ]: The name of the resource group. The name is case insensitive. + [ResourceGuardProxyName ]: name of the resource guard proxy + [ResourceGuardsName ]: The name of ResourceGuard + [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/start-azdataprotectionbackupinstancerestore +https://learn.microsoft.com/powershell/module/az.dataprotection/stop-azdataprotectionbackupinstanceprotection #> -function Start-AzDataProtectionBackupInstanceRestore { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo])] -[CmdletBinding(DefaultParameterSetName='Trigger', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Stop-AzDataProtectionBackupInstanceProtection { +[OutputType([System.Boolean])] +[CmdletBinding(DefaultParameterSetName='Stop', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(Mandatory)] + [Parameter(ParameterSetName='Stop', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] # The name of the backup instance. ${BackupInstanceName}, - [Parameter(Mandatory)] + [Parameter(ParameterSetName='Stop', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the backup vault. - ${VaultName}, - - [Parameter()] + [Parameter(ParameterSetName='Stop')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] @@ -4017,50 +3810,18 @@ param( # The value must be an UUID. ${SubscriptionId}, - [Parameter(ParameterSetName='Trigger', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest] - # Azure backup restore request - # To construct, see NOTES section for PARAMETER properties and create a hash table. - ${Parameter}, - - [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # . - ${ObjectType}, - - [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase] - # Gets or sets the restore target information. - # To construct, see NOTES section for RESTORETARGETINFO properties and create a hash table. - ${RestoreTargetInfo}, - - [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType])] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType] - # Gets or sets the type of the source data store. - ${SourceDataStoreType}, - - [Parameter(ParameterSetName='TriggerExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Management.Automation.SwitchParameter] - # Specifies if the BI is protected by System Identity. - ${IdentityDetailUseSystemAssignedIdentity}, - - [Parameter(ParameterSetName='TriggerExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Parameter(ParameterSetName='Stop', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] - # ARM URL for User Assigned Identity. - ${IdentityDetailUserAssignedIdentityArmUrl}, + # The name of the backup vault. + ${VaultName}, - [Parameter(ParameterSetName='TriggerExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Fully qualified Azure Resource Manager ID of the datasource which is being recovered. - ${SourceResourceId}, + [Parameter(ParameterSetName='StopViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -4103,6 +3864,12 @@ param( # Run the command asynchronously ${NoWait}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Returns true when the command succeeds + ${PassThru}, + [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] [System.Uri] @@ -4149,14 +3916,18 @@ begin { } $mapping = @{ - Trigger = 'Az.DataProtection.private\Start-AzDataProtectionBackupInstanceRestore_Trigger'; - TriggerExpanded = 'Az.DataProtection.private\Start-AzDataProtectionBackupInstanceRestore_TriggerExpanded'; + Stop = 'Az.DataProtection.private\Stop-AzDataProtectionBackupInstanceProtection_Stop'; + StopViaIdentity = 'Az.DataProtection.private\Stop-AzDataProtectionBackupInstanceProtection_StopViaIdentity'; } - if (('Trigger', 'TriggerExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -4203,11 +3974,11 @@ end { <# .Synopsis -This operation will stop protection of a backup instance and data will be held forever +This operation will stop backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained forever) .Description -This operation will stop protection of a backup instance and data will be held forever +This operation will stop backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained forever) .Example -Stop-AzDataProtectionBackupInstanceProtection -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName +Suspend-AzDataProtectionBackupInstanceBackup -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity @@ -4233,26 +4004,26 @@ INPUTOBJECT : Identity Parameter [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/stop-azdataprotectionbackupinstanceprotection +https://learn.microsoft.com/powershell/module/az.dataprotection/suspend-azdataprotectionbackupinstancebackup #> -function Stop-AzDataProtectionBackupInstanceProtection { +function Suspend-AzDataProtectionBackupInstanceBackup { [OutputType([System.Boolean])] -[CmdletBinding(DefaultParameterSetName='Stop', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='Suspend', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(ParameterSetName='Stop', Mandatory)] + [Parameter(ParameterSetName='Suspend', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] # The name of the backup instance. ${BackupInstanceName}, - [Parameter(ParameterSetName='Stop', Mandatory)] + [Parameter(ParameterSetName='Suspend', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, - [Parameter(ParameterSetName='Stop')] + [Parameter(ParameterSetName='Suspend')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] @@ -4260,13 +4031,13 @@ param( # The value must be an UUID. ${SubscriptionId}, - [Parameter(ParameterSetName='Stop', Mandatory)] + [Parameter(ParameterSetName='Suspend', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] # The name of the backup vault. ${VaultName}, - [Parameter(ParameterSetName='StopViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='SuspendViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] # Identity Parameter @@ -4366,14 +4137,18 @@ begin { } $mapping = @{ - Stop = 'Az.DataProtection.private\Stop-AzDataProtectionBackupInstanceProtection_Stop'; - StopViaIdentity = 'Az.DataProtection.private\Stop-AzDataProtectionBackupInstanceProtection_StopViaIdentity'; + Suspend = 'Az.DataProtection.private\Suspend-AzDataProtectionBackupInstanceBackup_Suspend'; + SuspendViaIdentity = 'Az.DataProtection.private\Suspend-AzDataProtectionBackupInstanceBackup_SuspendViaIdentity'; } - if (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('Suspend') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -4420,56 +4195,42 @@ end { <# .Synopsis -This operation will stop backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained forever) +Sync backup instance again in case of failure\r\nThis action will retry last failed operation and will bring backup instance to valid state .Description -This operation will stop backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained forever) +Sync backup instance again in case of failure\r\nThis action will retry last failed operation and will bring backup instance to valid state .Example -Suspend-AzDataProtectionBackupInstanceBackup -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName +Sync-AzDataProtectionBackupInstance -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName -.Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs System.Boolean -.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. - [BackupPolicyName ]: - [Id ]: Resource identity path - [JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). - [Location ]: The location in which uniqueness will be verified. - [OperationId ]: - [RecoveryPointId ]: - [RequestName ]: - [ResourceGroupName ]: The name of the resource group. The name is case insensitive. - [ResourceGuardProxyName ]: name of the resource guard proxy - [ResourceGuardsName ]: The name of ResourceGuard - [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/suspend-azdataprotectionbackupinstancebackup +https://learn.microsoft.com/powershell/module/az.dataprotection/sync-azdataprotectionbackupinstance #> -function Suspend-AzDataProtectionBackupInstanceBackup { +function Sync-AzDataProtectionBackupInstance { [OutputType([System.Boolean])] -[CmdletBinding(DefaultParameterSetName='Suspend', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +[CmdletBinding(DefaultParameterSetName='SyncExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(ParameterSetName='Suspend', Mandatory)] + [Parameter(Mandatory)] + [Alias('BackupInstanceName')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] # The name of the backup instance. - ${BackupInstanceName}, + ${Name}, - [Parameter(ParameterSetName='Suspend', Mandatory)] + [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, - [Parameter(ParameterSetName='Suspend')] + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup vault. + ${VaultName}, + + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] @@ -4477,18 +4238,13 @@ param( # The value must be an UUID. ${SubscriptionId}, - [Parameter(ParameterSetName='Suspend', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the backup vault. - ${VaultName}, - - [Parameter(ParameterSetName='SuspendViaIdentity', Mandatory, ValueFromPipeline)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] - # Identity Parameter - # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. - ${InputObject}, + [Parameter()] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType])] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType] + # Field indicating sync type e.g. + # to sync only in case of failure or in all cases + ${SyncType}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -4583,14 +4339,17 @@ begin { } $mapping = @{ - Suspend = 'Az.DataProtection.private\Suspend-AzDataProtectionBackupInstanceBackup_Suspend'; - SuspendViaIdentity = 'Az.DataProtection.private\Suspend-AzDataProtectionBackupInstanceBackup_SuspendViaIdentity'; + SyncExpanded = 'Az.DataProtection.private\Sync-AzDataProtectionBackupInstance_SyncExpanded'; } - if (('Suspend') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('SyncExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -4637,206 +4396,9 @@ end { <# .Synopsis -Sync backup instance again in case of failure\r\nThis action will retry last failed operation and will bring backup instance to valid state +Validate whether adhoc backup will be successful or not .Description -Sync backup instance again in case of failure\r\nThis action will retry last failed operation and will bring backup instance to valid state -.Example -Sync-AzDataProtectionBackupInstance -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName - -.Outputs -System.Boolean -.Link -https://learn.microsoft.com/powershell/module/az.dataprotection/sync-azdataprotectionbackupinstance -#> -function Sync-AzDataProtectionBackupInstance { -[OutputType([System.Boolean])] -[CmdletBinding(DefaultParameterSetName='SyncExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] -param( - [Parameter(Mandatory)] - [Alias('BackupInstanceName')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the backup instance. - ${Name}, - - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, - - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the backup vault. - ${VaultName}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - # The ID of the target subscription. - # The value must be an UUID. - ${SubscriptionId}, - - [Parameter()] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType])] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType] - # Field indicating sync type e.g. - # to sync only in case of failure or in all cases - ${SyncType}, - - [Parameter()] - [Alias('AzureRMContext', 'AzureCredential')] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] - [System.Management.Automation.PSObject] - # The DefaultProfile parameter is not functional. - # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. - ${DefaultProfile}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command as a job - ${AsJob}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach - ${Break}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline - ${HttpPipelineAppend}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline - ${HttpPipelinePrepend}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command asynchronously - ${NoWait}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Returns true when the command succeeds - ${PassThru}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - - [Parameter(DontShow)] - [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call - ${ProxyCredential}, - - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} -) - -begin { - try { - $outBuffer = $null - if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { - $PSBoundParameters['OutBuffer'] = 1 - } - $parameterSet = $PSCmdlet.ParameterSetName - - if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() - } - $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - if ($preTelemetryId -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) - } else { - $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - if ($internalCalledCmdlets -eq '') { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name - } else { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' - } - - $mapping = @{ - SyncExpanded = 'Az.DataProtection.private\Sync-AzDataProtectionBackupInstance_SyncExpanded'; - } - if (('SyncExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id - } - $cmdInfo = Get-Command -Name $mapping[$parameterSet] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) - $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) - $scriptCmd = {& $wrappedCmd @PSBoundParameters} - $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) - $steppablePipeline.Begin($PSCmdlet) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} - -process { - try { - $steppablePipeline.Process($_) - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } - - finally { - $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId - $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - -} -end { - try { - $steppablePipeline.End() - - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets - if ($preTelemetryId -eq '') { - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - } - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId - - } catch { - [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() - throw - } -} -} - -<# -.Synopsis -Validate whether adhoc backup will be successful or not -.Description -Validate whether adhoc backup will be successful or not +Validate whether adhoc backup will be successful or not .Example $vault = Get-AzDataProtectionBackupVault -ResourceGroupName "resourceGroupName" -VaultName "vaultName" $diskBackupPolicy = Get-AzDataProtectionBackupPolicy -ResourceGroupName "resourceGroupName" -VaultName $vault.Name -Name "diskBackupPolicy" @@ -4846,7 +4408,7 @@ $instance = Initialize-AzDataProtectionBackupInstance -SnapshotResourceGroupId $ Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName "resourceGroupName" -VaultName $vault.Name -BackupInstance $instance[0].Property .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -4889,7 +4451,7 @@ BACKUPINSTANCE : Backup Instance https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancereadiness #> function Test-AzDataProtectionBackupInstanceReadiness { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='ValidateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -4915,7 +4477,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance] # Backup Instance # To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. ${BackupInstance}, @@ -5014,6 +4576,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -5232,6 +4798,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -5294,7 +4864,7 @@ Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxx .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource .Notes COMPLEX PARAMETER PROPERTIES @@ -5318,7 +4888,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionbackupvault #> function Update-AzDataProtectionBackupVault { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] @@ -5410,7 +4980,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, @@ -5510,6 +5080,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -5567,7 +5141,7 @@ Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $pol -Name Weekly - Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $pol -Name Weekly -RemoveRule .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy .Notes COMPLEX PARAMETER PROPERTIES @@ -5607,12 +5181,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.Api20230501.IBackupPolicy])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy])] [CmdletBinding(DefaultParameterSetName='RemoveRetention', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy] # Backup Policy Object # To construct, see NOTES section for POLICY properties and create a hash table. ${Policy}, @@ -5637,7 +5211,7 @@ param( [Parameter(ParameterSetName='AddRetention', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle[]] # Life cycles associated with the retention rule. # To construct, see NOTES section for LIFECYCLES properties and create a hash table. ${LifeCycles}, @@ -5680,6 +5254,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -5736,7 +5314,7 @@ Edit-AzDataProtectionPolicyTagClientObject -Policy $pol -Name Weekly -Criteria $ Edit-AzDataProtectionPolicyTagClientObject -Policy $pol -Name Weekly -RemoveRule .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy .Notes COMPLEX PARAMETER PROPERTIES @@ -5777,12 +5355,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.Api20230501.IBackupPolicy])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy])] [CmdletBinding(DefaultParameterSetName='RemoveTag', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy] # Backup Policy Object. # To construct, see NOTES section for POLICY properties and create a hash table. ${Policy}, @@ -5801,7 +5379,7 @@ param( [Parameter(ParameterSetName='updateTag', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteria[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria[]] # Criterias to be associated with the schedule tag. # To construct, see NOTES section for CRITERIA properties and create a hash table. ${Criteria} @@ -5838,6 +5416,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -5892,7 +5474,7 @@ $schedule = New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays Edit-AzDataProtectionPolicyTriggerClientObject -Policy $pol -Schedule $schedule .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy .Notes COMPLEX PARAMETER PROPERTIES @@ -5922,12 +5504,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.Api20230501.IBackupPolicy])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy])] [CmdletBinding(DefaultParameterSetName='RemoveBackupSchedule', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy] # Backup Policy object. # To construct, see NOTES section for POLICY properties and create a hash table. ${Policy}, @@ -5976,6 +5558,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -6022,38 +5608,243 @@ end { <# .Synopsis -Gets default policy template for a selected datasource type. +Gets or lists jobs in a backup vault .Description -Gets default policy template for a selected datasource type. +Gets or lists jobs in a backup vault .Example -Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDisk +Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault +.Example +Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Id 4abaea8c-f53a-4bb1-9963-59f96b597165 +.Example +Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -UseSecondaryRegion +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. + [BackupPolicyName ]: + [Id ]: Resource identity path + [JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + [Location ]: The location in which uniqueness will be verified. + [OperationId ]: + [RecoveryPointId ]: + [RequestName ]: + [ResourceGroupName ]: The name of the resource group. The name is case insensitive. + [ResourceGuardProxyName ]: name of the resource guard proxy + [ResourceGuardsName ]: The name of ResourceGuard + [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-azdataprotectionpolicytemplate +https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionjob #> -function Get-AzDataProtectionPolicyTemplate { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy])] -[CmdletBinding(PositionalBinding=$false)] +function Get-AzDataProtectionJob { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource])] +[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( - [Parameter(Mandatory)] + [Parameter(ParameterSetName='List', Mandatory)] + [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes] - # Datasource Type - ${DatasourceType} -) + [System.String] + # Resource Group of the backup vault + ${ResourceGroupName}, -begin { - try { - $outBuffer = $null - if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { - $PSBoundParameters['OutBuffer'] = 1 - } - $parameterSet = $PSCmdlet.ParameterSetName + [Parameter(ParameterSetName='List', Mandatory)] + [Parameter(ParameterSetName='Get', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Name of the backup vault + ${VaultName}, - if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { - [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() + [Parameter(ParameterSetName='List')] + [Parameter(ParameterSetName='Get')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # Subscription Id of the vault + ${SubscriptionId}, + + [Parameter(ParameterSetName='List')] + [Parameter(ParameterSetName='Get')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Switch parameter to fetch dataprotection job from secondary region (Cross Region Restore) + ${UseSecondaryRegion}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [Alias('JobId')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Job ID to get a particular Job + ${Id}, + + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + + $mapping = @{ + List = 'Az.DataProtection.custom\Get-AzDataProtectionJob'; + Get = 'Az.DataProtection.custom\Get-AzDataProtectionJob'; + GetViaIdentity = 'Az.DataProtection.custom\Get-AzDataProtectionJob'; + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } + + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} +end { + try { + $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} +} + +<# +.Synopsis +Gets default policy template for a selected datasource type. +.Description +Gets default policy template for a selected datasource type. +.Example +Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDisk + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionpolicytemplate +#> +function Get-AzDataProtectionPolicyTemplate { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy])] +[CmdletBinding(PositionalBinding=$false)] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes] + # Datasource Type + ${DatasourceType} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() } $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId if ($preTelemetryId -eq '') { @@ -6074,6 +5865,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -6138,7 +5933,7 @@ $backupInstance = Initialize-AzDataProtectionBackupInstance -DatasourceType Azur $instance .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource .Notes COMPLEX PARAMETER PROPERTIES @@ -6150,7 +5945,7 @@ BACKUPCONFIGURATION : Backup configuration for back https://learn.microsoft.com/powershell/module/az.dataprotection/initialize-azdataprotectionbackupinstance #> function Initialize-AzDataProtectionBackupInstance { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -6205,7 +6000,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters] # Backup configuration for backup. # Use this parameter to configure protection for AzureKubernetesService. # To construct, see NOTES section for BACKUPCONFIGURATION properties and create a hash table. @@ -6242,6 +6037,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -6313,9 +6112,23 @@ $endTime = (Get-Date).AddDays(0).ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") $instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "rgName" -VaultName "vaultName" $pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName $instance[0].BackupInstanceName -ResourceGroupName "rgName" -SubscriptionId "subscriptionId" -VaultName "vaultName" -SourceDataStoreType OperationalStore -StartTime $startTime -EndTime $endTime 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" +.Example +$vault = Search-AzDataProtectionBackupVaultInAzGraph -ResourceGroup $ResourceGroupName -Subscription $SubscriptionId -Vault $VaultName +$instance = Search-AzDataProtectionBackupInstanceInAzGraph -Subscription $subscriptionId -ResourceGroup $resourceGroupName -Vault $vaultName -DatasourceType AzureDatabaseForPostgreSQL +$recoveryPointsCrr = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance.Name -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subscriptionId -UseSecondaryRegion +$targetResourceId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/{targetResourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{targetServerName}/databases/{targetDatabaseName}" +$secretURI = "https://{crr-key-vault}.vault.azure.net/secrets/{secret-for-crr}" +$OssRestoreReq = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation $vault.ReplicatedRegion[0] -RestoreType AlternateLocation -RecoveryPoint $recoveryPointsCrr[0].Property.RecoveryPointId -TargetResourceId $targetResourceId -SecretStoreURI $secretURI -SecretStoreType AzureKeyVault +.Example +$vault = Search-AzDataProtectionBackupVaultInAzGraph -ResourceGroup $ResourceGroupName -Subscription $SubscriptionId -Vault $VaultName +$instance = Search-AzDataProtectionBackupInstanceInAzGraph -Subscription $subscriptionId -ResourceGroup $resourceGroupName -Vault $vaultName -DatasourceType AzureDatabaseForPostgreSQL +$recoveryPointsCrr = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance.Name -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subscriptionId -UseSecondaryRegion +$targetContainerURI = "https://{targetStorageAccountName}.blob.core.windows.net/{targetContainerName}" +$fileNamePrefix = "oss-pstest-crrasfiles" +$OssRestoreReq = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation $vault.ReplicatedRegion[0] -RestoreType RestoreAsFiles -RecoveryPoint $recoveryPointsCrr[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -FileNamePrefix $fileNamePrefix .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest .Notes COMPLEX PARAMETER PROPERTIES @@ -6377,7 +6190,7 @@ RESTORECONFIGURATION : Restore configuration f https://learn.microsoft.com/powershell/module/az.dataprotection/initialize-azdataprotectionrestorerequest #> function Initialize-AzDataProtectionRestoreRequest { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest])] [CmdletBinding(DefaultParameterSetName='AlternateLocationFullRecovery', PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -6437,7 +6250,7 @@ param( [Parameter(ParameterSetName='AlternateLocationFullRecovery')] [Parameter(ParameterSetName='OriginalLocationFullRecovery')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteria] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteria] # Restore configuration for restore. # Use this parameter to restore with AzureKubernetesService. # To construct, see NOTES section for RESTORECONFIGURATION properties and create a hash table. @@ -6504,7 +6317,7 @@ param( [Parameter(ParameterSetName='OriginalLocationILR', Mandatory)] [Parameter(ParameterSetName='OriginalLocationFullRecovery', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResource] # Backup Instance object to trigger original localtion restore. # To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. ${BackupInstance}, @@ -6564,6 +6377,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -6689,7 +6506,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.NamespacedNameResource[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResource[]] # Hook reference to be executed during backup. # To construct, see NOTES section for BACKUPHOOKREFERENCE properties and create a hash table. ${BackupHookReference}, @@ -6753,6 +6570,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -6901,7 +6722,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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}, @@ -6999,6 +6820,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -7127,7 +6952,7 @@ $defaultPol.PolicyRule[0].Trigger.ScheduleTimeZone = $timeZone[0].Id $operationalVaultedPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "operationalVaultedPolicyName" -Policy $defaultPol .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource .Notes COMPLEX PARAMETER PROPERTIES @@ -7157,7 +6982,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.Api20230501.IBaseBackupPolicyResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource])] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -7180,7 +7005,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy] # Policy Request Object # To construct, see NOTES section for POLICY properties and create a hash table. ${Policy}, @@ -7262,6 +7087,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -7357,7 +7186,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. @@ -7509,6 +7338,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -7613,6 +7446,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -7668,12 +7505,12 @@ New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfDay New-AzDataProtectionPolicyTagCriteriaClientObject -DaysOfWeek @("Sunday", "Monday") .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteria +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria .Link https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionpolicytagcriteriaclientobject #> function New-AzDataProtectionPolicyTagCriteriaClientObject { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteria])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria])] [CmdletBinding(DefaultParameterSetName='ScheduleCriteria', PositionalBinding=$false)] param( [Parameter(ParameterSetName='AbsoluteCriteria', Mandatory)] @@ -7748,6 +7585,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -7862,6 +7703,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -7915,12 +7760,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.Api20230501.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionresourceguard #> function New-AzDataProtectionResourceGuard { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource])] [CmdletBinding(DefaultParameterSetName='CreateResourceGuard', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -8036,6 +7881,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -8161,7 +8010,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteriaNamespaceMappings] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteriaNamespaceMappings] # Namespaces mapping from source namespaces to target namespaces to resolve namespace naming conflicts in the target cluster. # To construct, see NOTES section for NAMESPACEMAPPING properties and create a hash table. ${NamespaceMapping}, @@ -8176,7 +8025,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.NamespacedNameResource[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResource[]] # Hook reference to be executed during restore. # To construct, see NOTES section for RESTOREHOOKREFERENCE properties and create a hash table. ${RestoreHookReference} @@ -8212,6 +8061,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -8267,12 +8120,12 @@ New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalS New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Weeks -SourceRetentionDurationCount 20 .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle .Link https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionretentionlifecycleclientobject #> function New-AzDataProtectionRetentionLifeCycleClientObject { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle])] [CmdletBinding(PositionalBinding=$false)] param( [Parameter(Mandatory)] @@ -8336,6 +8189,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -8429,7 +8286,47 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProtectionStatus[]] # Protection Status of the item - ${ProtectionStatus} + ${ProtectionStatus}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${ProxyUseDefaultCredentials} ) begin { @@ -8462,6 +8359,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -8508,22 +8409,18 @@ end { <# .Synopsis -Searches for Backup Jobs in Azure Resource Graph and retrieves the expected entries +Searches for Backup vaults in Azure Resource Graph and retrieves the expected entries .Description -Searches for Backup Jobs in Azure Resource Graph and retrieves the expected entries -.Example -$endtime = Get-Date -$starttime = $endtime.AddHours(-5) -Search-AzDataProtectionJobInAzGraph -Subscription "xxx-xxx-xxx" -ResourceGroup sarath-rg -Vault sarath-vault -DatasourceType AzureDisk -StartTime $starttime -EndTime $endtime +Searches for Backup vaults in Azure Resource Graph and retrieves the expected entries .Example -Search-AzDataProtectionJobInAzGraph -Subscription "xxxx-xxx-xxx" -ResourceGroup sarath-rg -Vault sarath-vault -DatasourceType AzureDisk -Operation OnDemandBackup +Search-AzDataProtectionBackupVaultInAzGraph -Subscription "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroup $resourceGroupName -Vault $vaultName .Outputs System.Management.Automation.PSObject .Link -https://learn.microsoft.com/powershell/module/az.dataprotection/search-azdataprotectionjobinazgraph +https://learn.microsoft.com/powershell/module/az.dataprotection/search-azdataprotectionbackupvaultinazgraph #> -function Search-AzDataProtectionJobInAzGraph { +function Search-AzDataProtectionBackupVaultInAzGraph { [OutputType([PSObject])] [CmdletBinding(PositionalBinding=$false)] param( @@ -8533,12 +8430,6 @@ param( # Subscription of Vault ${Subscription}, - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes] - # Datasource Type - ${DatasourceType}, - [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String[]] @@ -8552,16 +8443,180 @@ param( ${Vault}, [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.DateTime] - # Start Time filter for the backup Job - ${StartTime}, - - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.DateTime] - # End Time filter for the Backup Job - ${EndTime}, + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + + $mapping = @{ + __AllParameterSets = 'Az.DataProtection.custom\Search-AzDataProtectionBackupVaultInAzGraph'; + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } + + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} +end { + try { + $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} +} + +<# +.Synopsis +Searches for Backup Jobs in Azure Resource Graph and retrieves the expected entries +.Description +Searches for Backup Jobs in Azure Resource Graph and retrieves the expected entries +.Example +$endtime = Get-Date +$starttime = $endtime.AddHours(-5) +Search-AzDataProtectionJobInAzGraph -Subscription "xxx-xxx-xxx" -ResourceGroup sarath-rg -Vault sarath-vault -DatasourceType AzureDisk -StartTime $starttime -EndTime $endtime +.Example +Search-AzDataProtectionJobInAzGraph -Subscription "xxxx-xxx-xxx" -ResourceGroup sarath-rg -Vault sarath-vault -DatasourceType AzureDisk -Operation OnDemandBackup + +.Outputs +System.Management.Automation.PSObject +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/search-azdataprotectionjobinazgraph +#> +function Search-AzDataProtectionJobInAzGraph { +[OutputType([PSObject])] +[CmdletBinding(PositionalBinding=$false)] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # Subscription of Vault + ${Subscription}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes] + # Datasource Type + ${DatasourceType}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # Resource Group of Vault + ${ResourceGroup}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # Name of the vault + ${Vault}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.DateTime] + # Start Time filter for the backup Job + ${StartTime}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.DateTime] + # End Time filter for the Backup Job + ${EndTime}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] @@ -8573,7 +8628,47 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.JobStatus[]] # Status filter for the backup job - ${Status} + ${Status}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${ProxyUseDefaultCredentials} ) begin { @@ -8606,6 +8701,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -8649,68 +8748,310 @@ end { } } } - -<# -.Synopsis -Grants required permissions to the backup vault and other resources for configure backup and restore scenarios -.Description -Grants required permissions to the backup vault and other resources for configure backup and restore scenarios + +<# +.Synopsis +Grants required permissions to the backup vault and other resources for configure backup and restore scenarios +.Description +Grants required permissions to the backup vault and other resources for configure backup and restore scenarios +.Example +Set-AzDataProtectionMSIPermission -BackupInstance $instance -VaultResourceGroup "VaultRG" -VaultName "Vaultname" -PermissionsScope "ResourceGroup" + +.Example +Set-AzDataProtectionMSIPermission -BackupInstance $instance -VaultResourceGroup "VaultRG" -VaultName "Vaultname" -PermissionsScope "Subscription" +.Example +Set-AzDataProtectionMSIPermission -KeyVaultId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/Sqlrg/providers/Microsoft.KeyVault/vaults/testkeyvault" -BackupInstance $instance -VaultResourceGroup "VaultRG" -VaultName "Vaultname" -PermissionsScope "Resource" + +.Example +Set-AzDataProtectionMSIPermission -BackupInstance $backupInstance -VaultResourceGroup "resourceGroupName" -VaultName "vaultName" -PermissionsScope "ResourceGroup" + +.Outputs +System.Object +.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. + +BACKUPINSTANCE : Backup instance request object which will be used to configure backup + [Tag ]: Proxy Resource tags. + [(Any) ]: This indicates any property can be added to this object. + [Property ]: BackupInstanceResource properties + DataSourceInfo : Gets or sets the data source information. + ResourceId : Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + [ObjectType ]: Type of Datasource object, used to initialize the right inherited type + [ResourceLocation ]: Location of datasource. + [ResourceName ]: Unique identifier of the resource in the context of parent. + [ResourceType ]: Resource Type of Datasource. + [ResourceUri ]: Uri of the resource. + [Type ]: DatasourceType of the resource. + ObjectType : + PolicyInfo : Gets or sets the policy information. + PolicyId : + [PolicyParameter ]: Policy parameters for the backup instance + [BackupDatasourceParametersList ]: Gets or sets the Backup Data Source Parameters + ObjectType : Type of the specific object - used for deserializing + [DataStoreParametersList ]: Gets or sets the DataStore Parameters + DataStoreType : type of datastore; Operational/Vault/Archive + ObjectType : Type of the specific object - used for deserializing + [DataSourceSetInfo ]: Gets or sets the data source set information. + ResourceId : Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + [DatasourceType ]: DatasourceType of the resource. + [ObjectType ]: Type of Datasource object, used to initialize the right inherited type + [ResourceLocation ]: Location of datasource. + [ResourceName ]: Unique identifier of the resource in the context of parent. + [ResourceType ]: Resource Type of Datasource. + [ResourceUri ]: Uri of the resource. + [DatasourceAuthCredentials ]: Credentials to use to authenticate with data source provider. + ObjectType : Type of the specific object - used for deserializing + [FriendlyName ]: Gets or sets the Backup Instance friendly name. + [IdentityDetail ]: Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned. + [UseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. + [UserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. + [ValidationType ]: Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. + +RESTOREREQUEST : Restore request object which will be used for restore + ObjectType : + RestoreTargetInfo : Gets or sets the restore target information. + ObjectType : Type of Datasource object, used to initialize the right inherited type + [RestoreLocation ]: Target Restore region + SourceDataStoreType : Gets or sets the type of the source data store. + [IdentityDetailUseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. + [IdentityDetailUserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. + [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/set-azdataprotectionmsipermission +#> +function Set-AzDataProtectionMSIPermission { +[OutputType([System.Object])] +[CmdletBinding(DefaultParameterSetName='SetPermissionsForBackup', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Resource group of the backup vault + ${VaultResourceGroup}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Name of the backup vault + ${VaultName}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Scope at which the permissions need to be granted + ${PermissionsScope}, + + [Parameter(ParameterSetName='SetPermissionsForBackup', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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}, + + [Parameter(ParameterSetName='SetPermissionsForBackup')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # ID of the keyvault + ${KeyVaultId}, + + [Parameter(ParameterSetName='SetPermissionsForRestore', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest] + # Restore request object which will be used for restore + # To construct, see NOTES section for RESTOREREQUEST properties and create a hash table. + ${RestoreRequest}, + + [Parameter(ParameterSetName='SetPermissionsForRestore', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Sanpshot Resource Group + ${SnapshotResourceGroupId} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + + $mapping = @{ + SetPermissionsForBackup = 'Az.DataProtection.custom\Set-AzDataProtectionMSIPermission'; + SetPermissionsForRestore = 'Az.DataProtection.custom\Set-AzDataProtectionMSIPermission'; + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } + + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} +end { + try { + $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} +} + +<# +.Synopsis +Triggers restore for a BackupInstance +.Description +Triggers restore for a BackupInstance +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "sarath-rg" -VaultName "sarath-vault" +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxx-xxx-xxx" -ResourceGroupName "sarath-rg" -VaultName "sarath-vault" -BackupInstanceName $instance.Name +$restoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDisk -SourceDataStore OperationalStore -RestoreLocation "westus" -RestoreType AlternateLocation -TargetResourceId "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{DiskName}" -RecoveryPoint $rp[0].name +Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.BackupInstanceName -ResourceGroupName sarath-rg -VaultName sarath-vault -SubscriptionId "xxx-xxx-xxx" -Parameter $restorerequest +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$targetResourceId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.DBforPostgreSQL/servers/serverName/databases/targetDbName" +$secretURI = "https://oss-keyvault.vault.azure.net/secrets/oss-secret" +$restoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation "westus" -RestoreType AlternateLocation -TargetResourceId $targetResourceId -RecoveryPoint $rp[0].Property.RecoveryPointId -SecretStoreURI $secretURI -SecretStoreType AzureKeyVault +$restoreJob = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.BackupInstanceName -ResourceGroupName resourceGroupName -VaultName vaultName -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -Parameter $restorerequest +$jobid = $restoreJob.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" + $jobstatus = $currentjob.Status +} .Example -Set-AzDataProtectionMSIPermission -BackupInstance $instance -VaultResourceGroup "VaultRG" -VaultName "Vaultname" -PermissionsScope "ResourceGroup" +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$targetContainerURI = "https://targetStorageAccount.blob.core.windows.net/targetContainerName" +$fileNamePrefix = "restore_as_files_12345" +$restoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation "westus" -RestoreType RestoreAsFiles -RecoveryPoint $rp[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -FileNamePrefix $fileNamePrefix +$restoreJob = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.BackupInstanceName -ResourceGroupName resourceGroupName -VaultName vaultName -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -Parameter $restorerequest +$jobid = $restoreJob.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" + $jobstatus = $currentjob.Status +} +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Name -match "aks-cluster-name" } +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$aksRestoreCriteria = New-AzDataProtectionRestoreConfigurationClientObject -DatasourceType AzureKubernetesService -PersistentVolumeRestoreMode RestoreWithVolumeData -IncludeClusterScopeResource $true -NamespaceMapping @{"sourceNamespace1"="targetNamespace1";"sourceNamespace2"="targetNamespace2"} +$snapshotResourceGroupId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/snapshotResourceGroup" +$aksOLRRestoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureKubernetesService -SourceDataStore OperationalStore -RestoreLocation eastus -RestoreType OriginalLocation -RecoveryPoint $rps[0].Property.RecoveryPointId -RestoreConfiguration $aksRestoreCriteria -BackupInstance $instance +Set-AzDataProtectionMSIPermission -VaultResourceGroup "resourceGroupName" -VaultName "vaultName" -PermissionsScope "ResourceGroup" -RestoreRequest $aksOLRRestoreRequest -SnapshotResourceGroupId $snapshotResourceGroupId +$validateRestore = Test-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -RestoreRequest $aksOLRRestoreRequest -Name $instance.BackupInstanceName +$restoreJob = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $aksOLRRestoreRequest .Example -Set-AzDataProtectionMSIPermission -BackupInstance $instance -VaultResourceGroup "VaultRG" -VaultName "Vaultname" -PermissionsScope "Subscription" +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Name -match "storageAcountName" } +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$backedUpContainers = $instance.Property.PolicyInfo.PolicyParameter.BackupDatasourceParametersList[0].ContainersList +$restoreReq = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore VaultStore -RestoreLocation "vaultLocation" -RecoveryPoint $rp[0].Name -ItemLevelRecovery -RestoreType AlternateLocation -TargetResourceId "targetStorageAccountId" -ContainersList $backedUpContainers[0,1] +Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -RestoreRequest $restoreReq +$restoreJob = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $restoreReq .Example -Set-AzDataProtectionMSIPermission -KeyVaultId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/Sqlrg/providers/Microsoft.KeyVault/vaults/testkeyvault" -BackupInstance $instance -VaultResourceGroup "VaultRG" -VaultName "Vaultname" -PermissionsScope "Resource" - +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Name -match "storageAcountName" } +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$backedUpContainers = $instance.Property.PolicyInfo.PolicyParameter.BackupDatasourceParametersList[0].ContainersList +$targetCrossSubscriptionStorageAccountId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/targetStorageAccount" +$restoreReqCSR = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore VaultStore -RestoreLocation "vaultLocation" -RecoveryPoint $rp[0].Name -ItemLevelRecovery -RestoreType AlternateLocation -TargetResourceId $targetCrossSubscriptionStorageAccountId -ContainersList $backedUpContainers[0,1] +Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -RestoreRequest $restoreReqCSR +$restoreJobCSR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $restoreReqCSR .Example -Set-AzDataProtectionMSIPermission -BackupInstance $backupInstance -VaultResourceGroup "resourceGroupName" -VaultName "vaultName" -PermissionsScope "ResourceGroup" +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Property.DataSourceInfo.ResourceType -match "Postgre" } +$rp = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance[0].BackupInstanceName -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" +$targetResourceArmId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/crossSubResourceGroupName/providers/Microsoft.Storage/storageAccounts/akneemasaecy/blobServices/default/containers/oss-csr-container" +$targetContainerURI = "https://akneemasaecy.blob.core.windows.net/oss-csr-container" +$fileNamePrefix = "oss-csr-pstest-restoreasfiles" +$ossRestoreReqFiles = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation "vaultLocation" -RestoreType RestoreAsFiles -RecoveryPoint $rp[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -FileNamePrefix $fileNamePrefix -TargetResourceIdForRestoreAsFile $targetContainerArmId +$validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -RestoreRequest $ossRestoreReqFiles +$restoreJobCSR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $ossRestoreReqFiles +$jobid = $restoreJobCSR.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" + $jobstatus = $currentjob.Status +} +.Example +$restoreJobCRR = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.Name -ResourceGroupName $ResourceGroupName -VaultName $vaultName -SubscriptionId $SubscriptionId -Parameter $OssRestoreReq -RestoreToSecondaryRegion +$jobid = $restoreJobCRR.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -UseSecondaryRegion + $jobstatus = $currentjob.Status +} +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest .Outputs -System.Object +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. -BACKUPINSTANCE : Backup instance request object which will be used to configure backup - [Tag ]: Proxy Resource tags. - [(Any) ]: This indicates any property can be added to this object. - [Property ]: BackupInstanceResource properties - DataSourceInfo : Gets or sets the data source information. - ResourceId : Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. - [ObjectType ]: Type of Datasource object, used to initialize the right inherited type - [ResourceLocation ]: Location of datasource. - [ResourceName ]: Unique identifier of the resource in the context of parent. - [ResourceType ]: Resource Type of Datasource. - [ResourceUri ]: Uri of the resource. - [Type ]: DatasourceType of the resource. - ObjectType : - PolicyInfo : Gets or sets the policy information. - PolicyId : - [PolicyParameter ]: Policy parameters for the backup instance - [BackupDatasourceParametersList ]: Gets or sets the Backup Data Source Parameters - ObjectType : Type of the specific object - used for deserializing - [DataStoreParametersList ]: Gets or sets the DataStore Parameters - DataStoreType : type of datastore; Operational/Vault/Archive - ObjectType : Type of the specific object - used for deserializing - [DataSourceSetInfo ]: Gets or sets the data source set information. - ResourceId : Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. - [DatasourceType ]: DatasourceType of the resource. - [ObjectType ]: Type of Datasource object, used to initialize the right inherited type - [ResourceLocation ]: Location of datasource. - [ResourceName ]: Unique identifier of the resource in the context of parent. - [ResourceType ]: Resource Type of Datasource. - [ResourceUri ]: Uri of the resource. - [DatasourceAuthCredentials ]: Credentials to use to authenticate with data source provider. - ObjectType : Type of the specific object - used for deserializing - [FriendlyName ]: Gets or sets the Backup Instance friendly name. - [IdentityDetail ]: Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned. - [UseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. - [UserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. - [ValidationType ]: Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. - -RESTOREREQUEST : Restore request object which will be used for restore +PARAMETER : Restore request object to be initialized using Initialize-AzDataProtectionRestoreRequest cmdlet ObjectType : RestoreTargetInfo : Gets or sets the restore target information. ObjectType : Type of Datasource object, used to initialize the right inherited type @@ -8719,56 +9060,142 @@ RESTOREREQUEST : Restore request object which will b [IdentityDetailUseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. [IdentityDetailUserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. + +RESTORETARGETINFO : Gets or sets the restore target information + ObjectType : Type of Datasource object, used to initialize the right inherited type + [RestoreLocation ]: Target Restore region .Link -https://learn.microsoft.com/powershell/module/az.dataprotection/set-azdataprotectionmsipermission +https://learn.microsoft.com/powershell/module/az.dataprotection/start-azdataprotectionbackupinstancerestore #> -function Set-AzDataProtectionMSIPermission { -[OutputType([System.Object])] -[CmdletBinding(DefaultParameterSetName='SetPermissionsForBackup', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Start-AzDataProtectionBackupInstanceRestore { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] +[CmdletBinding(DefaultParameterSetName='Trigger', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # Resource group of the backup vault - ${VaultResourceGroup}, + # The name of the resource group where the backup vault is present + ${ResourceGroupName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # Name of the backup vault - ${VaultName}, + # The name of the backup instance + ${BackupInstanceName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # Scope at which the permissions need to be granted - ${PermissionsScope}, + # The name of the backup vault + ${VaultName}, - [Parameter(ParameterSetName='SetPermissionsForBackup', Mandatory)] + [Parameter(ParameterSetName='Trigger', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.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}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest] + # Restore request object to be initialized using Initialize-AzDataProtectionRestoreRequest cmdlet + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, - [Parameter(ParameterSetName='SetPermissionsForBackup')] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # ID of the keyvault - ${KeyVaultId}, + # Subscription Id of the backup vault + ${SubscriptionId}, - [Parameter(ParameterSetName='SetPermissionsForRestore', Mandatory)] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest] - # Restore request object which will be used for restore - # To construct, see NOTES section for RESTOREREQUEST properties and create a hash table. - ${RestoreRequest}, + [System.Management.Automation.SwitchParameter] + # Switch parameter to trigger restore to secondary region (Cross region restore) + ${RestoreToSecondaryRegion}, - [Parameter(ParameterSetName='SetPermissionsForRestore', Mandatory)] + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Uri] + ${Proxy}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.PSCredential] + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + ${ProxyUseDefaultCredentials}, + + [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # Sanpshot Resource Group - ${SnapshotResourceGroupId} + # Object type of the restore request + ${ObjectType}, + + [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase] + # Gets or sets the restore target information + # To construct, see NOTES section for RESTORETARGETINFO properties and create a hash table. + ${RestoreTargetInfo}, + + [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType] + # Type of the source data store + ${SourceDataStoreType}, + + [Parameter(ParameterSetName='TriggerExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # ARM URL for User Assigned Identity + ${IdentityDetailUserAssignedIdentityArmUrl}, + + [Parameter(ParameterSetName='TriggerExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Specifies if the BI is protected by System Identity + ${IdentityDetailUseSystemAssignedIdentity}, + + [Parameter(ParameterSetName='TriggerExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Fully qualified Azure Resource Manager ID of the datasource which is being recovered + ${SourceResourceId} ) begin { @@ -8797,11 +9224,15 @@ begin { } $mapping = @{ - SetPermissionsForBackup = 'Az.DataProtection.custom\Set-AzDataProtectionMSIPermission'; - SetPermissionsForRestore = 'Az.DataProtection.custom\Set-AzDataProtectionMSIPermission'; + Trigger = 'Az.DataProtection.custom\Start-AzDataProtectionBackupInstanceRestore'; + TriggerExpanded = 'Az.DataProtection.custom\Start-AzDataProtectionBackupInstanceRestore'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -8857,9 +9288,11 @@ $pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName $vault = Get-AzDataProtectionBackupVault -ResourceGroupName "testResourceGroup" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "testVault" $RestoreRequestObject = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore OperationalStore -RestoreLocation $vault.Location -RestoreType OriginalLocation -BackupInstance $instances[0] -PointInTime (Get-Date -Date $pointInTimeRange.RestorableTimeRange.EndTime) $validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instances[0].Name -ResourceGroupName "testResourceGroup" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "testVault" -RestoreRequest $RestoreRequestObject +.Example +$validateRestore = Test-AzDataProtectionBackupInstanceRestore -ResourceGroupName $ResourceGroupName -Name $instance[0].Name -VaultName $VaultName -RestoreRequest $RestoreRequestObject -SubscriptionId $SubscriptionId -RestoreToSecondaryRegion .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -8878,7 +9311,7 @@ RESTOREREQUEST : Restore request object for which to https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancerestore #> function Test-AzDataProtectionBackupInstanceRestore { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='ValidateRestore', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -8901,7 +9334,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest] # Restore request object for which to validate # To construct, see NOTES section for RESTOREREQUEST properties and create a hash table. ${RestoreRequest}, @@ -8912,6 +9345,12 @@ param( # Subscription Id of the backup vault ${SubscriptionId}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Switch parameter to trigger restore to secondary region + ${RestoreToSecondaryRegion}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -8993,6 +9432,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -9190,6 +9633,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -9246,12 +9693,12 @@ $policy = Get-AzDataProtectionBackupPolicy -SubscriptionId $sub -ResourceGroupNa Update-AzDataProtectionBackupInstanceAssociatedPolicy -SubscriptionId $sub -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[0].Name -PolicyId $policy[1].Id .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionbackupinstanceassociatedpolicy #> function Update-AzDataProtectionBackupInstanceAssociatedPolicy { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource])] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -9365,6 +9812,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) @@ -9421,12 +9872,12 @@ $operationsToBeExcluded = $criticalOperations | Where-Object { $_ -match "backup Update-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "rgName" -Name $resourceGuard.Name -CriticalOperationExclusionList $operationsToBeExcluded .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionresourceguard #> function Update-AzDataProtectionResourceGuard { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource])] [CmdletBinding(DefaultParameterSetName='UpdateResourceGuardOperations', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -9543,6 +9994,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupInstance.ps1 index 07ea51368c5c..e54184dc8d2e 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupInstance.ps1 @@ -189,6 +189,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupPolicy.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupPolicy.ps1 index 7f322012f93e..f5b95a19eafa 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupPolicy.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupPolicy.ps1 @@ -177,6 +177,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupVault.ps1 index 008baacc042e..418c3ba2dd59 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionBackupVault.ps1 @@ -181,6 +181,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuard.ps1 index 0cb0df123561..1183c657a479 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuard.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuard.ps1 @@ -169,6 +169,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuardMapping.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuardMapping.ps1 index 02970eb46993..8877cce18fb1 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuardMapping.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Remove-AzDataProtectionResourceGuardMapping.ps1 @@ -175,6 +175,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Resume-AzDataProtectionBackupInstanceProtection.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Resume-AzDataProtectionBackupInstanceProtection.ps1 index d7ea3f33ed8a..ed26e504a7e7 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Resume-AzDataProtectionBackupInstanceProtection.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Resume-AzDataProtectionBackupInstanceProtection.ps1 @@ -187,6 +187,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Search-AzDataProtectionBackupInstanceInAzGraph.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Search-AzDataProtectionBackupInstanceInAzGraph.ps1 index aea0c532b7f6..fbf471b97f2e 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Search-AzDataProtectionBackupInstanceInAzGraph.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Search-AzDataProtectionBackupInstanceInAzGraph.ps1 @@ -63,7 +63,47 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProtectionStatus[]] # Protection Status of the item - ${ProtectionStatus} + ${ProtectionStatus}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${ProxyUseDefaultCredentials} ) begin { @@ -96,6 +136,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Search-AzDataProtectionBackupVaultInAzGraph.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Search-AzDataProtectionBackupVaultInAzGraph.ps1 new file mode 100644 index 000000000000..556e63d69626 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/exports/Search-AzDataProtectionBackupVaultInAzGraph.ps1 @@ -0,0 +1,169 @@ + +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +# is regenerated. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Searches for Backup vaults in Azure Resource Graph and retrieves the expected entries +.Description +Searches for Backup vaults in Azure Resource Graph and retrieves the expected entries +.Example +Search-AzDataProtectionBackupVaultInAzGraph -Subscription "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroup $resourceGroupName -Vault $vaultName + +.Outputs +System.Management.Automation.PSObject +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/search-azdataprotectionbackupvaultinazgraph +#> +function Search-AzDataProtectionBackupVaultInAzGraph { +[OutputType([PSObject])] +[CmdletBinding(PositionalBinding=$false)] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # Subscription of Vault + ${Subscription}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # Resource Group of Vault + ${ResourceGroup}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # Name of the vault + ${Vault}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + + $mapping = @{ + __AllParameterSets = 'Az.DataProtection.custom\Search-AzDataProtectionBackupVaultInAzGraph'; + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } + + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} +end { + try { + $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} +} diff --git a/src/DataProtection/DataProtection.Autorest/exports/Search-AzDataProtectionJobInAzGraph.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Search-AzDataProtectionJobInAzGraph.ps1 index fadb8b3c4535..1b02ca9fad41 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Search-AzDataProtectionJobInAzGraph.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Search-AzDataProtectionJobInAzGraph.ps1 @@ -81,7 +81,47 @@ param( [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.JobStatus[]] # Status filter for the backup job - ${Status} + ${Status}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.PSObject] + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + ${ProxyUseDefaultCredentials} ) begin { @@ -114,6 +154,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionMSIPermission.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionMSIPermission.ps1 index dbc7a710f0fe..38c1854e62d9 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionMSIPermission.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionMSIPermission.ps1 @@ -110,7 +110,7 @@ param( [Parameter(ParameterSetName='SetPermissionsForBackup', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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}, @@ -123,7 +123,7 @@ param( [Parameter(ParameterSetName='SetPermissionsForRestore', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest] # Restore request object which will be used for restore # To construct, see NOTES section for RESTOREREQUEST properties and create a hash table. ${RestoreRequest}, @@ -166,6 +166,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionResourceGuardMapping.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionResourceGuardMapping.ps1 index 8d93079507d3..e9b8919dc60a 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionResourceGuardMapping.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Set-AzDataProtectionResourceGuardMapping.ps1 @@ -24,7 +24,7 @@ $proxy = Set-AzDataProtectionResourceGuardMapping -ResourceGroupName $resourceGr $proxy | fl .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource .Notes COMPLEX PARAMETER PROPERTIES @@ -37,7 +37,7 @@ RESOURCEGUARDOPERATIONDETAIL : . https://learn.microsoft.com/powershell/module/az.dataprotection/set-azdataprotectionresourceguardmapping #> function Set-AzDataProtectionResourceGuardMapping { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -152,6 +152,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Start-AzDataProtectionBackupInstanceRestore.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Start-AzDataProtectionBackupInstanceRestore.ps1 index 05d6b2c3f818..f199844aaea8 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Start-AzDataProtectionBackupInstanceRestore.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Start-AzDataProtectionBackupInstanceRestore.ps1 @@ -96,17 +96,27 @@ while($jobstatus -ne "Completed") $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" $jobstatus = $currentjob.Status } +.Example +$restoreJobCRR = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.Name -ResourceGroupName $ResourceGroupName -VaultName $vaultName -SubscriptionId $SubscriptionId -Parameter $OssRestoreReq -RestoreToSecondaryRegion +$jobid = $restoreJobCRR.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -UseSecondaryRegion + $jobstatus = $currentjob.Status +} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. -PARAMETER : Azure backup restore request +PARAMETER : Restore request object to be initialized using Initialize-AzDataProtectionRestoreRequest cmdlet ObjectType : RestoreTargetInfo : Gets or sets the restore target information. ObjectType : Type of Datasource object, used to initialize the right inherited type @@ -116,147 +126,141 @@ PARAMETER : Azure backup restore request [IdentityDetailUserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. -RESTORETARGETINFO : Gets or sets the restore target information. +RESTORETARGETINFO : Gets or sets the restore target information ObjectType : Type of Datasource object, used to initialize the right inherited type [RestoreLocation ]: Target Restore region .Link https://learn.microsoft.com/powershell/module/az.dataprotection/start-azdataprotectionbackupinstancerestore #> function Start-AzDataProtectionBackupInstanceRestore { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='Trigger', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # The name of the backup instance. - ${BackupInstanceName}, + # The name of the resource group where the backup vault is present + ${ResourceGroupName}, [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # The name of the resource group. - # The name is case insensitive. - ${ResourceGroupName}, + # The name of the backup instance + ${BackupInstanceName}, [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # The name of the backup vault. + # The name of the backup vault ${VaultName}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] - # The ID of the target subscription. - # The value must be an UUID. - ${SubscriptionId}, - [Parameter(ParameterSetName='Trigger', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest] - # Azure backup restore request + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest] + # Restore request object to be initialized using Initialize-AzDataProtectionRestoreRequest cmdlet # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, - [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # . - ${ObjectType}, - - [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase] - # Gets or sets the restore target information. - # To construct, see NOTES section for RESTORETARGETINFO properties and create a hash table. - ${RestoreTargetInfo}, - - [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType])] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType] - # Gets or sets the type of the source data store. - ${SourceDataStoreType}, + # Subscription Id of the backup vault + ${SubscriptionId}, - [Parameter(ParameterSetName='TriggerExpanded')] + [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.Management.Automation.SwitchParameter] - # Specifies if the BI is protected by System Identity. - ${IdentityDetailUseSystemAssignedIdentity}, - - [Parameter(ParameterSetName='TriggerExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # ARM URL for User Assigned Identity. - ${IdentityDetailUserAssignedIdentityArmUrl}, - - [Parameter(ParameterSetName='TriggerExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Fully qualified Azure Resource Manager ID of the datasource which is being recovered. - ${SourceResourceId}, + # Switch parameter to trigger restore to secondary region (Cross region restore) + ${RestoreToSecondaryRegion}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.Management.Automation.PSObject] - # The DefaultProfile parameter is not functional. - # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command as a job - ${AsJob}, - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.Management.Automation.SwitchParameter] - # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] - # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Uri] + ${Proxy}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, - [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Uri] - # The URI for the proxy server to use - ${Proxy}, - [Parameter(DontShow)] [ValidateNotNull()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.Management.Automation.PSCredential] - # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.Management.Automation.SwitchParameter] - # Use the default credentials for the proxy - ${ProxyUseDefaultCredentials} + ${ProxyUseDefaultCredentials}, + + [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Object type of the restore request + ${ObjectType}, + + [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase] + # Gets or sets the restore target information + # To construct, see NOTES section for RESTORETARGETINFO properties and create a hash table. + ${RestoreTargetInfo}, + + [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType] + # Type of the source data store + ${SourceDataStoreType}, + + [Parameter(ParameterSetName='TriggerExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # ARM URL for User Assigned Identity + ${IdentityDetailUserAssignedIdentityArmUrl}, + + [Parameter(ParameterSetName='TriggerExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Specifies if the BI is protected by System Identity + ${IdentityDetailUseSystemAssignedIdentity}, + + [Parameter(ParameterSetName='TriggerExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Fully qualified Azure Resource Manager ID of the datasource which is being recovered + ${SourceResourceId} ) begin { @@ -285,14 +289,15 @@ begin { } $mapping = @{ - Trigger = 'Az.DataProtection.private\Start-AzDataProtectionBackupInstanceRestore_Trigger'; - TriggerExpanded = 'Az.DataProtection.private\Start-AzDataProtectionBackupInstanceRestore_TriggerExpanded'; - } - if (('Trigger', 'TriggerExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { - $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + Trigger = 'Az.DataProtection.custom\Start-AzDataProtectionBackupInstanceRestore'; + TriggerExpanded = 'Az.DataProtection.custom\Start-AzDataProtectionBackupInstanceRestore'; } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Stop-AzDataProtectionBackupInstanceProtection.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Stop-AzDataProtectionBackupInstanceProtection.ps1 index 88b672dd74da..0b27c2b6f31d 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Stop-AzDataProtectionBackupInstanceProtection.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Stop-AzDataProtectionBackupInstanceProtection.ps1 @@ -187,6 +187,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Suspend-AzDataProtectionBackupInstanceBackup.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Suspend-AzDataProtectionBackupInstanceBackup.ps1 index 88768bcc278a..e65678760cb2 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Suspend-AzDataProtectionBackupInstanceBackup.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Suspend-AzDataProtectionBackupInstanceBackup.ps1 @@ -187,6 +187,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Sync-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Sync-AzDataProtectionBackupInstance.ps1 index 3d21211e580c..b3a6ef10097e 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Sync-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Sync-AzDataProtectionBackupInstance.ps1 @@ -167,6 +167,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceReadiness.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceReadiness.ps1 index 2518cee15a12..a17dbf49db2b 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceReadiness.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceReadiness.ps1 @@ -28,7 +28,7 @@ $instance = Initialize-AzDataProtectionBackupInstance -SnapshotResourceGroupId $ Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName "resourceGroupName" -VaultName $vault.Name -BackupInstance $instance[0].Property .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -71,7 +71,7 @@ BACKUPINSTANCE : Backup Instance https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancereadiness #> function Test-AzDataProtectionBackupInstanceReadiness { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='ValidateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -97,7 +97,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance] # Backup Instance # To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. ${BackupInstance}, @@ -196,6 +196,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceRestore.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceRestore.ps1 index 0cf5925b6ff2..0818cb1f687d 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceRestore.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Test-AzDataProtectionBackupInstanceRestore.ps1 @@ -25,9 +25,11 @@ $pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName $vault = Get-AzDataProtectionBackupVault -ResourceGroupName "testResourceGroup" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "testVault" $RestoreRequestObject = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore OperationalStore -RestoreLocation $vault.Location -RestoreType OriginalLocation -BackupInstance $instances[0] -PointInTime (Get-Date -Date $pointInTimeRange.RestorableTimeRange.EndTime) $validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instances[0].Name -ResourceGroupName "testResourceGroup" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "testVault" -RestoreRequest $RestoreRequestObject +.Example +$validateRestore = Test-AzDataProtectionBackupInstanceRestore -ResourceGroupName $ResourceGroupName -Name $instance[0].Name -VaultName $VaultName -RestoreRequest $RestoreRequestObject -SubscriptionId $SubscriptionId -RestoreToSecondaryRegion .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -46,7 +48,7 @@ RESTOREREQUEST : Restore request object for which to https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancerestore #> function Test-AzDataProtectionBackupInstanceRestore { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='ValidateRestore', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -69,7 +71,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest] # Restore request object for which to validate # To construct, see NOTES section for RESTOREREQUEST properties and create a hash table. ${RestoreRequest}, @@ -80,6 +82,12 @@ param( # Subscription Id of the backup vault ${SubscriptionId}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Switch parameter to trigger restore to secondary region + ${RestoreToSecondaryRegion}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -161,6 +169,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Undo-AzDataProtectionBackupInstanceDeletion.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Undo-AzDataProtectionBackupInstanceDeletion.ps1 index d8b3a43c1d7b..7fd599011611 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Undo-AzDataProtectionBackupInstanceDeletion.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Undo-AzDataProtectionBackupInstanceDeletion.ps1 @@ -188,6 +188,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Unlock-AzDataProtectionResourceGuardOperation.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Unlock-AzDataProtectionResourceGuardOperation.ps1 index c00429ef66f0..748e5b698e31 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Unlock-AzDataProtectionResourceGuardOperation.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Unlock-AzDataProtectionResourceGuardOperation.ps1 @@ -167,6 +167,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1 index b47aec7146ef..a75a3dd3dfbe 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupInstanceAssociatedPolicy.ps1 @@ -26,12 +26,12 @@ $policy = Get-AzDataProtectionBackupPolicy -SubscriptionId $sub -ResourceGroupNa Update-AzDataProtectionBackupInstanceAssociatedPolicy -SubscriptionId $sub -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[0].Name -PolicyId $policy[1].Id .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionbackupinstanceassociatedpolicy #> function Update-AzDataProtectionBackupInstanceAssociatedPolicy { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource])] [CmdletBinding(PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -145,6 +145,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupVault.ps1 index 838b4451822f..d1cfa5697d73 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionBackupVault.ps1 @@ -32,7 +32,7 @@ Update-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxx .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource .Notes COMPLEX PARAMETER PROPERTIES @@ -56,7 +56,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionbackupvault #> function Update-AzDataProtectionBackupVault { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] @@ -148,7 +148,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, @@ -248,6 +248,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionResourceGuard.ps1 index 40f564120aeb..e7373e487f3b 100644 --- a/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionResourceGuard.ps1 +++ b/src/DataProtection/DataProtection.Autorest/exports/Update-AzDataProtectionResourceGuard.ps1 @@ -26,12 +26,12 @@ $operationsToBeExcluded = $criticalOperations | Where-Object { $_ -match "backup Update-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "rgName" -Name $resourceGuard.Name -CriticalOperationExclusionList $operationsToBeExcluded .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionresourceguard #> function Update-AzDataProtectionResourceGuard { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource])] [CmdletBinding(DefaultParameterSetName='UpdateResourceGuardOperations', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -148,6 +148,10 @@ begin { } $cmdInfo = Get-Command -Name $mapping[$parameterSet] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) diff --git a/src/DataProtection/DataProtection.Autorest/generate-help.ps1 b/src/DataProtection/DataProtection.Autorest/generate-help.ps1 index 4c1ab0572768..96afeaa78b26 100644 --- a/src/DataProtection/DataProtection.Autorest/generate-help.ps1 +++ b/src/DataProtection/DataProtection.Autorest/generate-help.ps1 @@ -66,8 +66,8 @@ foreach($directory in $directories) $docsPath = Join-Path $docsFolder $directory.Name $null = New-Item -ItemType Directory -Force -Path $docsPath -ErrorAction SilentlyContinue $examplesPath = Join-Path $examplesFolder $directory.Name - - Export-HelpMarkdown -ModuleInfo $moduleInfo -FunctionInfo $cmdletFunctionInfo -HelpInfo $cmdletHelpInfo -DocsFolder $docsPath -ExamplesFolder $examplesPath + $addComplexInterfaceInfo = ![System.Convert]::ToBoolean('true') + Export-HelpMarkdown -ModuleInfo $moduleInfo -FunctionInfo $cmdletFunctionInfo -HelpInfo $cmdletHelpInfo -DocsFolder $docsPath -ExamplesFolder $examplesPath -AddComplexInterfaceInfo:$addComplexInterfaceInfo Write-Host -ForegroundColor Green "Created documentation in '$docsPath'" } diff --git a/src/DataProtection/DataProtection.Autorest/generate-portal-ux.ps1 b/src/DataProtection/DataProtection.Autorest/generate-portal-ux.ps1 new file mode 100644 index 000000000000..5c6eed72ff98 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generate-portal-ux.ps1 @@ -0,0 +1,375 @@ +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +# is regenerated. +# +# This Script will create a folder dedicated to Azure-specific content and includes metadata files essential for enhancing the user experience (UX) within the Azure portal. +# These files are utilized by the Azure portal to effectively present the usage of cmdlets related to specific resources on portal pages. +# ---------------------------------------------------------------------------------- +param([switch]$Isolated) +$ErrorActionPreference = 'Stop' + +$pwsh = [System.Diagnostics.Process]::GetCurrentProcess().Path +if(-not $Isolated) { + Write-Host -ForegroundColor Green 'Creating isolated process...' + & "$pwsh" -NonInteractive -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -Isolated + return +} + +$moduleName = 'Az.DataProtection' +$rootModuleName = '' +if ($rootModuleName -eq "") +{ + $rootModuleName = $moduleName +} +$modulePsd1 = Get-Item -Path (Join-Path $PSScriptRoot "./$moduleName.psd1") +$modulePath = $modulePsd1.FullName + +# Load DLL to use build-time cmdlets +Import-Module -Name $modulePath +Import-Module -Name (Join-Path $PSScriptRoot "./bin/$moduleName.private.dll") +$instance = [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module]::Instance +# Module info is shared per profile +$moduleInfo = Get-Module -Name $moduleName +$parameterSetsInfo = Get-Module -Name "$moduleName.private" + +$buildinFunctions = @("Export-CmdletSurface", "Export-ExampleStub", "Export-FormatPs1xml", "Export-HelpMarkdown", "Export-ModelSurface", "Export-ProxyCmdlet", "Export-Psd1", "Export-TestStub", "Get-CommonParameter", "Get-ModuleGuid", "Get-ScriptCmdlet") + +function Test-FunctionSupported() +{ + [CmdletBinding()] + Param ( + [Parameter()] + [string] + $FunctionName + ) + + If ($buildinfunctions.Contains($FunctionName)) { + return $false + } + + $cmdletName, $parameterSetName = $FunctionName.Split("_") + If ($parameterSetName.Contains("List") -or $parameterSetName.Contains("ViaIdentity")) { + return $false + } + If ($cmdletName.StartsWith("New") -or $cmdletName.StartsWith("Set") -or $cmdletName.StartsWith("Update")) { + return $false + } + + $parameterSetInfo = $parameterSetsInfo.ExportedCmdlets[$FunctionName] + foreach ($parameterInfo in $parameterSetInfo.Parameters.Values) + { + $category = (Get-ParameterAttribute -ParameterInfo $parameterInfo -AttributeName "CategoryAttribute").Categories + $invalideCategory = @('Query', 'Body') + if ($invalideCategory -contains $category) + { + return $false + } + } + + $customFiles = Get-ChildItem -Path custom -Filter "$cmdletName.*" + if ($customFiles.Length -ne 0) + { + return $false + } + + return $true +} + +function Get-MappedCmdletFromFunctionName() +{ + [CmdletBinding()] + Param ( + [Parameter()] + [string] + $FunctionName + ) + + $cmdletName, $parameterSetName = $FunctionName.Split("_") + + return $cmdletName +} + +function Get-ParameterAttribute() +{ + [CmdletBinding()] + Param ( + [Parameter()] + [System.Management.Automation.ParameterMetadata] + $ParameterInfo, + [Parameter()] + [String] + $AttributeName + ) + return $ParameterInfo.Attributes | Where-Object { $_.TypeId.Name -eq $AttributeName } +} + +function Get-CmdletAttribute() +{ + [CmdletBinding()] + Param ( + [Parameter()] + [System.Management.Automation.CommandInfo] + $CmdletInfo, + [Parameter()] + [String] + $AttributeName + ) + + return $CmdletInfo.ImplementingType.GetTypeInfo().GetCustomAttributes([System.object], $true) | Where-Object { $_.TypeId.Name -eq $AttributeName } +} + +function Get-CmdletDescription() +{ + [CmdletBinding()] + Param ( + [Parameter()] + [String] + $CmdletName + ) + $helpInfo = Get-Help $CmdletName -Full + + $description = $helpInfo.Description.Text + if ($null -eq $description) + { + return "" + } + return $description +} + +# Test whether the parameter is from swagger http path +function Test-ParameterFromSwagger() +{ + [CmdletBinding()] + Param ( + [Parameter()] + [System.Management.Automation.ParameterMetadata] + $ParameterInfo + ) + $category = (Get-ParameterAttribute -ParameterInfo $ParameterInfo -AttributeName "CategoryAttribute").Categories + $doNotExport = Get-ParameterAttribute -ParameterInfo $ParameterInfo -AttributeName "DoNotExportAttribute" + if ($null -ne $doNotExport) + { + return $false + } + + $valideCategory = @('Path') + if ($valideCategory -contains $category) + { + return $true + } + return $false +} + +function New-ExampleForParameterSet() +{ + [CmdletBinding()] + Param ( + [Parameter()] + [System.Management.Automation.CommandInfo] + $ParameterSetInfo + ) + $parameters = $ParameterSetInfo.Parameters.Values | Where-Object { Test-ParameterFromSwagger $_ } + $result = @() + foreach ($parameter in $parameters) + { + $category = (Get-ParameterAttribute -parameterInfo $parameter -AttributeName "CategoryAttribute").Categories + $sourceName = (Get-ParameterAttribute -parameterInfo $parameter -AttributeName "InfoAttribute").SerializedName + $name = $parameter.Name + $result += [ordered]@{ + name = "-$Name" + value = "[$category.$sourceName]" + } + } + + return $result +} + +function New-ParameterArrayInParameterSet() +{ + [CmdletBinding()] + Param ( + [Parameter()] + [System.Management.Automation.CommandInfo] + $ParameterSetInfo + ) + $parameters = $ParameterSetInfo.Parameters.Values | Where-Object { Test-ParameterFromSwagger $_ } + $result = @() + foreach ($parameter in $parameters) + { + $isMandatory = (Get-ParameterAttribute -parameterInfo $parameter -AttributeName "ParameterAttribute").Mandatory + $parameterName = $parameter.Name + $parameterType = $parameter.ParameterType.ToString().Split('.')[1] + if ($parameter.SwitchParameter) + { + $parameterSignature = "-$parameterName" + } + else + { + $parameterSignature = "-$parameterName <$parameterType>" + } + if ($parameterName -eq "SubscriptionId") + { + $isMandatory = $false + } + if (-not $isMandatory) + { + $parameterSignature = "[$parameterSignature]" + } + $result += $parameterSignature + } + + return $result +} + +function New-MetadataForParameterSet() +{ + [CmdletBinding()] + Param ( + [Parameter()] + [System.Management.Automation.CommandInfo] + $ParameterSetInfo + ) + $httpAttribute = Get-CmdletAttribute -CmdletInfo $ParameterSetInfo -AttributeName "HttpPathAttribute" + $httpPath = $httpAttribute.Path + $apiVersion = $httpAttribute.ApiVersion + $provider = [System.Text.RegularExpressions.Regex]::New("/providers/([\w+\.]+)/").Match($httpPath).Groups[1].Value + $resourcePath = "/" + $httpPath.Split("$provider/")[1] + $resourceType = [System.Text.RegularExpressions.Regex]::New("/([\w]+)/\{\w+\}").Matches($resourcePath) | ForEach-Object {$_.groups[1].Value} | Join-String -Separator "/" + $cmdletName = Get-MappedCmdletFromFunctionName $ParameterSetInfo.Name + $description = (Get-CmdletAttribute -CmdletInfo $ParameterSetInfo -AttributeName "DescriptionAttribute").Description + [object[]]$example = New-ExampleForParameterSet $ParameterSetInfo + [string[]]$signature = New-ParameterArrayInParameterSet $ParameterSetInfo + + return @{ + Path = $httpPath + Provider = $provider + ResourceType = $resourceType + ApiVersion = $apiVersion + CmdletName = $cmdletName + Description = $description + Example = $example + Signature = @{ + parameters = $signature + } + } +} + +function Merge-WithExistCmdletMetadata() +{ + [CmdletBinding()] + Param ( + [Parameter()] + [System.Collections.Specialized.OrderedDictionary] + $ExistedCmdletInfo, + [Parameter()] + [Hashtable] + $ParameterSetMetadata + ) + $ExistedCmdletInfo.help.parameterSets += $ParameterSetMetadata.Signature + $ExistedCmdletInfo.examples += [ordered]@{ + description = $ParameterSetMetadata.Description + parameters = $ParameterSetMetadata.Example + } + + return $ExistedCmdletInfo +} + +function New-MetadataForCmdlet() +{ + [CmdletBinding()] + Param ( + [Parameter()] + [Hashtable] + $ParameterSetMetadata + ) + $cmdletName = $ParameterSetMetadata.CmdletName + $description = Get-CmdletDescription $cmdletName + $result = [ordered]@{ + name = $cmdletName + description = $description + path = $ParameterSetMetadata.Path + help = [ordered]@{ + learnMore = [ordered]@{ + url = "https://learn.microsoft.com/powershell/module/$rootModuleName/$cmdletName".ToLower() + } + parameterSets = @() + } + examples = @() + } + $result = Merge-WithExistCmdletMetadata -ExistedCmdletInfo $result -ParameterSetMetadata $ParameterSetMetadata + return $result +} + +$parameterSets = $parameterSetsInfo.ExportedCmdlets.Keys | Where-Object { Test-functionSupported($_) } +$resourceTypes = @{} +foreach ($parameterSetName in $parameterSets) +{ + $cmdletInfo = $parameterSetsInfo.ExportedCommands[$parameterSetName] + $parameterSetMetadata = New-MetadataForParameterSet -ParameterSetInfo $cmdletInfo + $cmdletName = $parameterSetMetadata.CmdletName + if (-not ($moduleInfo.ExportedCommands.ContainsKey($cmdletName))) + { + continue + } + if ($resourceTypes.ContainsKey($parameterSetMetadata.ResourceType)) + { + $ExistedCmdletInfo = $resourceTypes[$parameterSetMetadata.ResourceType].commands | Where-Object { $_.name -eq $cmdletName } + if ($ExistedCmdletInfo) + { + $ExistedCmdletInfo = Merge-WithExistCmdletMetadata -ExistedCmdletInfo $ExistedCmdletInfo -ParameterSetMetadata $parameterSetMetadata + } + else + { + $cmdletInfo = New-MetadataForCmdlet -ParameterSetMetadata $parameterSetMetadata + $resourceTypes[$parameterSetMetadata.ResourceType].commands += $cmdletInfo + } + } + else + { + $cmdletInfo = New-MetadataForCmdlet -ParameterSetMetadata $parameterSetMetadata + $resourceTypes[$parameterSetMetadata.ResourceType] = [ordered]@{ + resourceType = $parameterSetMetadata.ResourceType + apiVersion = $parameterSetMetadata.ApiVersion + learnMore = @{ + url = "https://learn.microsoft.com/powershell/module/$rootModuleName".ToLower() + } + commands = @($cmdletInfo) + provider = $parameterSetMetadata.Provider + } + } +} + +$UXFolder = 'UX' +if (Test-Path $UXFolder) +{ + Remove-Item -Path $UXFolder -Recurse +} +$null = New-Item -ItemType Directory -Path $UXFolder + +foreach ($resourceType in $resourceTypes.Keys) +{ + $resourceTypeFileName = $resourceType -replace "/", "-" + if ($resourceTypeFileName -eq "") + { + continue + } + $resourceTypeInfo = $resourceTypes[$resourceType] + $provider = $resourceTypeInfo.provider + $providerFolder = "$UXFolder/$provider" + if (-not (Test-Path $providerFolder)) + { + $null = New-Item -ItemType Directory -Path $providerFolder + } + $resourceTypeInfo.Remove("provider") + $resourceTypeInfo | ConvertTo-Json -Depth 10 | Out-File "$providerFolder/$resourceTypeFileName.json" +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/DataProtection.cs b/src/DataProtection/DataProtection.Autorest/generated/api/DataProtection.cs index ea74aef4f5d7..c9e5a8dae21c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/DataProtection.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/DataProtection.cs @@ -27,9 +27,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesAdhocBackup(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesAdhocBackup(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -76,9 +76,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesAdhocBackupViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesAdhocBackupViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -137,7 +137,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesAdhocBackup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupInstancesAdhocBackup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -252,13 +252,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationJobExtendedInfo.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationJobExtendedInfo.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -286,7 +286,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesAdhocBackup_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupInstancesAdhocBackup_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -316,9 +316,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesCreateOrUpdate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesCreateOrUpdate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -364,9 +364,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -424,7 +424,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupInstancesCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -541,13 +541,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -575,7 +575,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupInstancesCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -605,9 +605,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesDelete(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesDelete(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -649,9 +649,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -706,7 +706,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupInstancesDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -836,7 +836,7 @@ public partial class DataProtection default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -890,9 +890,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesGet(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesGet(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -938,9 +938,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesGetBackupInstanceOperationResult(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, string operationId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesGetBackupInstanceOperationResult(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, string operationId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -984,9 +984,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesGetBackupInstanceOperationResultViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesGetBackupInstanceOperationResultViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1046,7 +1046,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesGetBackupInstanceOperationResult_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupInstancesGetBackupInstanceOperationResult_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1064,7 +1064,7 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } case global::System.Net.HttpStatusCode.Accepted: @@ -1076,7 +1076,7 @@ public partial class DataProtection default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -1129,9 +1129,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1185,7 +1185,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupInstancesGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1203,13 +1203,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -1262,9 +1262,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesList(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesList(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1304,9 +1304,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1358,7 +1358,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupInstancesList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1376,13 +1376,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -1434,9 +1434,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesResumeBackups(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesResumeBackups(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1478,9 +1478,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesResumeBackupsViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesResumeBackupsViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1535,7 +1535,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesResumeBackups_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupInstancesResumeBackups_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1659,7 +1659,7 @@ public partial class DataProtection default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -1713,9 +1713,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesResumeProtection(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesResumeProtection(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1757,9 +1757,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesResumeProtectionViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesResumeProtectionViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1814,7 +1814,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesResumeProtection_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupInstancesResumeProtection_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1938,7 +1938,7 @@ public partial class DataProtection default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -1994,9 +1994,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesStopProtection(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesStopProtection(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2040,9 +2040,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesStopProtectionViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesStopProtectionViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2097,7 +2097,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesStopProtection_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupInstancesStopProtection_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -2221,7 +2221,7 @@ public partial class DataProtection default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -2278,9 +2278,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesSuspendBackups(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesSuspendBackups(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2325,9 +2325,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesSuspendBackupsViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesSuspendBackupsViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2382,7 +2382,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesSuspendBackups_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupInstancesSuspendBackups_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -2506,7 +2506,7 @@ public partial class DataProtection default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -2564,9 +2564,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesSyncBackupInstance(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequest body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesSyncBackupInstance(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequest body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2616,9 +2616,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesSyncBackupInstanceViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequest body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesSyncBackupInstanceViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequest body, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2677,7 +2677,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesSyncBackupInstance_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupInstancesSyncBackupInstance_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -2801,7 +2801,7 @@ public partial class DataProtection default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -2829,7 +2829,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesSyncBackupInstance_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupInstancesSyncBackupInstance_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -2845,13 +2845,12 @@ public partial class DataProtection } } - /// rehydrate recovery point for restore for a BackupInstance - /// The name of the resource group. The name is case insensitive. + /// Triggers Cross Region Restore for BackupInstance. /// The ID of the target subscription. The value must be an UUID. - /// The name of the backup vault. - /// The name of the backup instance. - /// Request body for operation - /// a delegate that is called when the remote service returns 204 (NoContent). + /// The name of the resource group. The name is case insensitive. + /// The name of the Azure region. + /// Request body for trigger CRR operation + /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -2859,9 +2858,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesTriggerRehydrate(string resourceGroupName, string subscriptionId, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequest body, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesTriggerCrossRegionRestore(string subscriptionId, string resourceGroupName, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2871,11 +2870,9 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.DataProtection/backupVaults/" - + global::System.Uri.EscapeDataString(vaultName) - + "/backupInstances/" - + global::System.Uri.EscapeDataString(backupInstanceName) - + "/rehydrate" + + "/providers/Microsoft.DataProtection/locations/" + + global::System.Uri.EscapeDataString(location) + + "/crossRegionRestore" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -2893,14 +2890,14 @@ public partial class DataProtection request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupInstancesTriggerRehydrate_Call(request,onNoContent,onDefault,eventListener,sender); + await this.BackupInstancesTriggerCrossRegionRestore_Call(request,onOk,onDefault,eventListener,sender); } } - /// rehydrate recovery point for restore for a BackupInstance + /// Triggers Cross Region Restore for BackupInstance. /// - /// Request body for operation - /// a delegate that is called when the remote service returns 204 (NoContent). + /// Request body for trigger CRR operation + /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -2908,36 +2905,33 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesTriggerRehydrateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequest body, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesTriggerCrossRegionRestoreViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupInstances/(?[^/]+)/rehydrate$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/locations/(?[^/]+)/crossRegionRestore$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/rehydrate'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/crossRegionRestore'"); } // replace URI parameters with values from identity - var resourceGroupName = _match.Groups["resourceGroupName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; - var vaultName = _match.Groups["vaultName"].Value; - var backupInstanceName = _match.Groups["backupInstanceName"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var location = _match.Groups["location"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.DataProtection/backupVaults/" - + vaultName - + "/backupInstances/" - + backupInstanceName - + "/rehydrate" + + "/providers/Microsoft.DataProtection/locations/" + + location + + "/crossRegionRestore" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -2955,13 +2949,15 @@ public partial class DataProtection request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupInstancesTriggerRehydrate_Call(request,onNoContent,onDefault,eventListener,sender); + await this.BackupInstancesTriggerCrossRegionRestore_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// + /// Actual wire call for method. + /// /// the prepared HttpRequestMessage to send. - /// a delegate that is called when the remote service returns 204 (NoContent). + /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -2969,7 +2965,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesTriggerRehydrate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupInstancesTriggerCrossRegionRestore_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -2982,7 +2978,7 @@ public partial class DataProtection await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default + // declared final-state-via: location var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -3066,34 +3062,31 @@ public partial class DataProtection continue; } // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_finalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); - // drop the old response - _response?.Dispose(); + // drop the old response + _response?.Dispose(); - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; } var _contentType = _response.Content.Headers.ContentType?.MediaType; switch ( _response.StatusCode ) { - case global::System.Net.HttpStatusCode.NoContent: + case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onNoContent(_response); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationJobExtendedInfo.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -3109,41 +3102,40 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will - /// get validation events back. + /// Validation method for method. Call this like the actual call, + /// but you will get validation events back. /// - /// The name of the resource group. The name is case insensitive. /// The ID of the target subscription. The value must be an UUID. - /// The name of the backup vault. - /// The name of the backup instance. - /// Request body for operation + /// The name of the resource group. The name is case insensitive. + /// The name of the Azure region. + /// Request body for trigger CRR operation /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesTriggerRehydrate_Validate(string resourceGroupName, string subscriptionId, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupInstancesTriggerCrossRegionRestore_Validate(string subscriptionId, string resourceGroupName, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); - await eventListener.AssertNotNull(nameof(vaultName),vaultName); - await eventListener.AssertNotNull(nameof(backupInstanceName),backupInstanceName); + await eventListener.AssertNotNull(nameof(location),location); + await eventListener.AssertMinimumLength(nameof(location),location,1); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Triggers restore for a BackupInstance - /// The ID of the target subscription. The value must be an UUID. + /// rehydrate recovery point for restore for a BackupInstance /// The name of the resource group. The name is case insensitive. + /// The ID of the target subscription. The value must be an UUID. /// The name of the backup vault. /// The name of the backup instance. /// Request body for operation - /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -3151,9 +3143,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesTriggerRestore(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesTriggerRehydrate(string resourceGroupName, string subscriptionId, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequest body, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3167,7 +3159,7 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(vaultName) + "/backupInstances/" + global::System.Uri.EscapeDataString(backupInstanceName) - + "/restore" + + "/rehydrate" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -3185,14 +3177,14 @@ public partial class DataProtection request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupInstancesTriggerRestore_Call(request,onOk,onDefault,eventListener,sender); + await this.BackupInstancesTriggerRehydrate_Call(request,onNoContent,onDefault,eventListener,sender); } } - /// Triggers restore for a BackupInstance + /// rehydrate recovery point for restore for a BackupInstance /// /// Request body for operation - /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -3200,23 +3192,23 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesTriggerRestoreViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesTriggerRehydrateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequest body, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupInstances/(?[^/]+)/restore$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupInstances/(?[^/]+)/rehydrate$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/restore'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/rehydrate'"); } // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; var vaultName = _match.Groups["vaultName"].Value; var backupInstanceName = _match.Groups["backupInstanceName"].Value; // construct URL @@ -3229,7 +3221,7 @@ public partial class DataProtection + vaultName + "/backupInstances/" + backupInstanceName - + "/restore" + + "/rehydrate" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -3247,13 +3239,13 @@ public partial class DataProtection request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupInstancesTriggerRestore_Call(request,onOk,onDefault,eventListener,sender); + await this.BackupInstancesTriggerRehydrate_Call(request,onNoContent,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. - /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -3261,7 +3253,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesTriggerRestore_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupInstancesTriggerRehydrate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3274,7 +3266,7 @@ public partial class DataProtection await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: location + // declared final-state-via: default var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); @@ -3358,31 +3350,34 @@ public partial class DataProtection continue; } // we are done polling, do a request on final target? - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); + if (!string.IsNullOrWhiteSpace(_finalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); - // drop the old response - _response?.Dispose(); + // drop the old response + _response?.Dispose(); - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } } var _contentType = _response.Content.Headers.ContentType?.MediaType; switch ( _response.StatusCode ) { - case global::System.Net.HttpStatusCode.OK: + case global::System.Net.HttpStatusCode.NoContent: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationJobExtendedInfo.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onNoContent(_response); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -3398,11 +3393,11 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will + /// Validation method for method. Call this like the actual call, but you will /// get validation events back. /// - /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. + /// The ID of the target subscription. The value must be an UUID. /// The name of the backup vault. /// The name of the backup instance. /// Request body for operation @@ -3410,15 +3405,15 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesTriggerRestore_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupInstancesTriggerRehydrate_Validate(string resourceGroupName, string subscriptionId, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); await eventListener.AssertNotNull(nameof(vaultName),vaultName); await eventListener.AssertNotNull(nameof(backupInstanceName),backupInstanceName); await eventListener.AssertNotNull(nameof(body), body); @@ -3426,10 +3421,11 @@ public partial class DataProtection } } - /// Validate whether adhoc backup will be successful or not + /// Triggers restore for a BackupInstance /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. + /// The name of the backup instance. /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -3439,9 +3435,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesValidateForBackup(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesTriggerRestore(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3453,7 +3449,9 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.DataProtection/backupVaults/" + global::System.Uri.EscapeDataString(vaultName) - + "/validateForBackup" + + "/backupInstances/" + + global::System.Uri.EscapeDataString(backupInstanceName) + + "/restore" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -3471,11 +3469,11 @@ public partial class DataProtection request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupInstancesValidateForBackup_Call(request,onOk,onDefault,eventListener,sender); + await this.BackupInstancesTriggerRestore_Call(request,onOk,onDefault,eventListener,sender); } } - /// Validate whether adhoc backup will be successful or not + /// Triggers restore for a BackupInstance /// /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). @@ -3486,24 +3484,25 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesValidateForBackupViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesTriggerRestoreViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/validateForBackup$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupInstances/(?[^/]+)/restore$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/validateForBackup'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/restore'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var vaultName = _match.Groups["vaultName"].Value; + var backupInstanceName = _match.Groups["backupInstanceName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -3512,7 +3511,9 @@ public partial class DataProtection + resourceGroupName + "/providers/Microsoft.DataProtection/backupVaults/" + vaultName - + "/validateForBackup" + + "/backupInstances/" + + backupInstanceName + + "/restore" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -3530,11 +3531,11 @@ public partial class DataProtection request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupInstancesValidateForBackup_Call(request,onOk,onDefault,eventListener,sender); + await this.BackupInstancesTriggerRestore_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -3544,7 +3545,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesValidateForBackup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupInstancesTriggerRestore_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3659,13 +3660,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationJobExtendedInfo.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationJobExtendedInfo.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -3681,18 +3682,19 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you - /// will get validation events back. + /// Validation method for method. Call this like the actual call, but you will + /// get validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. + /// The name of the backup instance. /// Request body for operation /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesValidateForBackup_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupInstancesTriggerRestore_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -3702,16 +3704,16 @@ public partial class DataProtection await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(vaultName),vaultName); + await eventListener.AssertNotNull(nameof(backupInstanceName),backupInstanceName); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Validates if Restore can be triggered for a DataSource + /// Validates whether Cross Region Restore can be triggered for DataSource. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. - /// The name of the backup vault. - /// The name of the backup instance. + /// The name of the Azure region. /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -3721,9 +3723,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesValidateForRestore(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesValidateCrossRegionRestore(string subscriptionId, string resourceGroupName, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3733,11 +3735,9 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.DataProtection/backupVaults/" - + global::System.Uri.EscapeDataString(vaultName) - + "/backupInstances/" - + global::System.Uri.EscapeDataString(backupInstanceName) - + "/validateRestore" + + "/providers/Microsoft.DataProtection/locations/" + + global::System.Uri.EscapeDataString(location) + + "/validateCrossRegionRestore" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -3755,11 +3755,11 @@ public partial class DataProtection request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupInstancesValidateForRestore_Call(request,onOk,onDefault,eventListener,sender); + await this.BackupInstancesValidateCrossRegionRestore_Call(request,onOk,onDefault,eventListener,sender); } } - /// Validates if Restore can be triggered for a DataSource + /// Validates whether Cross Region Restore can be triggered for DataSource. /// /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). @@ -3770,36 +3770,33 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupInstancesValidateForRestoreViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesValidateCrossRegionRestoreViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupInstances/(?[^/]+)/validateRestore$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/locations/(?[^/]+)/validateCrossRegionRestore$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/validateRestore'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/validateCrossRegionRestore'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var vaultName = _match.Groups["vaultName"].Value; - var backupInstanceName = _match.Groups["backupInstanceName"].Value; + var location = _match.Groups["location"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.DataProtection/backupVaults/" - + vaultName - + "/backupInstances/" - + backupInstanceName - + "/validateRestore" + + "/providers/Microsoft.DataProtection/locations/" + + location + + "/validateCrossRegionRestore" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -3817,11 +3814,13 @@ public partial class DataProtection request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupInstancesValidateForRestore_Call(request,onOk,onDefault,eventListener,sender); + await this.BackupInstancesValidateCrossRegionRestore_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// + /// Actual wire call for method. + /// /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -3831,7 +3830,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesValidateForRestore_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupInstancesValidateCrossRegionRestore_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3946,13 +3945,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationJobExtendedInfo.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationJobExtendedInfo.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -3968,19 +3967,18 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you - /// will get validation events back. + /// Validation method for method. Call this like the actual call, + /// but you will get validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. - /// The name of the backup vault. - /// The name of the backup instance. + /// The name of the Azure region. /// Request body for operation /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupInstancesValidateForRestore_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupInstancesValidateCrossRegionRestore_Validate(string subscriptionId, string resourceGroupName, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -3989,18 +3987,17 @@ public partial class DataProtection await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(vaultName),vaultName); - await eventListener.AssertNotNull(nameof(backupInstanceName),backupInstanceName); + await eventListener.AssertNotNull(nameof(location),location); + await eventListener.AssertMinimumLength(nameof(location),location,1); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Creates or Updates a backup policy belonging to a backup vault + /// Validate whether adhoc backup will be successful or not /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. - /// Name of the policy /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -4010,9 +4007,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupPoliciesCreateOrUpdate(string subscriptionId, string resourceGroupName, string vaultName, string backupPolicyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesValidateForBackup(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4024,8 +4021,7 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.DataProtection/backupVaults/" + global::System.Uri.EscapeDataString(vaultName) - + "/backupPolicies/" - + global::System.Uri.EscapeDataString(backupPolicyName) + + "/validateForBackup" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -4034,7 +4030,7 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -4043,11 +4039,11 @@ public partial class DataProtection request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupPoliciesCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); + await this.BackupInstancesValidateForBackup_Call(request,onOk,onDefault,eventListener,sender); } } - /// Creates or Updates a backup policy belonging to a backup vault + /// Validate whether adhoc backup will be successful or not /// /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). @@ -4058,25 +4054,24 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupPoliciesCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupInstancesValidateForBackupViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupPolicies/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/validateForBackup$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/validateForBackup'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var vaultName = _match.Groups["vaultName"].Value; - var backupPolicyName = _match.Groups["backupPolicyName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -4085,8 +4080,7 @@ public partial class DataProtection + resourceGroupName + "/providers/Microsoft.DataProtection/backupVaults/" + vaultName - + "/backupPolicies/" - + backupPolicyName + + "/validateForBackup" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -4095,7 +4089,7 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -4104,11 +4098,11 @@ public partial class DataProtection request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupPoliciesCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); + await this.BackupInstancesValidateForBackup_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -4118,7 +4112,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupPoliciesCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupInstancesValidateForBackup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4129,20 +4123,1315 @@ public partial class DataProtection await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: location + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicyResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; + + // get the delay before polling. (default to 30 seconds if not present) + int delay = (int)(_response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.DelayBeforePolling, $"Delaying {delay} seconds before polling.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // start the delay timer (we'll await later...) + var waiting = global::System.Threading.Tasks.Task.Delay(delay * 1000, eventListener.Token ); + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + await waiting; + + // check for cancellation + if( eventListener.Token.IsCancellationRequested ) { return; } + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationJobExtendedInfo.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you + /// will get validation events back. + /// + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the backup vault. + /// Request body for operation + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task BackupInstancesValidateForBackup_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(vaultName),vaultName); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); + } + } + + /// Validates if Restore can be triggered for a DataSource + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the backup vault. + /// The name of the backup instance. + /// Request body for operation + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task BackupInstancesValidateForRestore(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.DataProtection/backupVaults/" + + global::System.Uri.EscapeDataString(vaultName) + + "/backupInstances/" + + global::System.Uri.EscapeDataString(backupInstanceName) + + "/validateRestore" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.BackupInstancesValidateForRestore_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Validates if Restore can be triggered for a DataSource + /// + /// Request body for operation + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task BackupInstancesValidateForRestoreViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupInstances/(?[^/]+)/validateRestore$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/validateRestore'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var vaultName = _match.Groups["vaultName"].Value; + var backupInstanceName = _match.Groups["backupInstanceName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.DataProtection/backupVaults/" + + vaultName + + "/backupInstances/" + + backupInstanceName + + "/validateRestore" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.BackupInstancesValidateForRestore_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task BackupInstancesValidateForRestore_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: location + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + + // get the delay before polling. (default to 30 seconds if not present) + int delay = (int)(_response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.DelayBeforePolling, $"Delaying {delay} seconds before polling.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // start the delay timer (we'll await later...) + var waiting = global::System.Threading.Tasks.Task.Delay(delay * 1000, eventListener.Token ); + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + await waiting; + + // check for cancellation + if( eventListener.Token.IsCancellationRequested ) { return; } + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationJobExtendedInfo.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you + /// will get validation events back. + /// + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the backup vault. + /// The name of the backup instance. + /// Request body for operation + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task BackupInstancesValidateForRestore_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(vaultName),vaultName); + await eventListener.AssertNotNull(nameof(backupInstanceName),backupInstanceName); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); + } + } + + /// Creates or Updates a backup policy belonging to a backup vault + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the backup vault. + /// Name of the policy + /// Request body for operation + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task BackupPoliciesCreateOrUpdate(string subscriptionId, string resourceGroupName, string vaultName, string backupPolicyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.DataProtection/backupVaults/" + + global::System.Uri.EscapeDataString(vaultName) + + "/backupPolicies/" + + global::System.Uri.EscapeDataString(backupPolicyName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.BackupPoliciesCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Creates or Updates a backup policy belonging to a backup vault + /// + /// Request body for operation + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task BackupPoliciesCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupPolicies/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var vaultName = _match.Groups["vaultName"].Value; + var backupPolicyName = _match.Groups["backupPolicyName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.DataProtection/backupVaults/" + + vaultName + + "/backupPolicies/" + + backupPolicyName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Put, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.BackupPoliciesCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task BackupPoliciesCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicyResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will + /// get validation events back. + /// + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the backup vault. + /// Name of the policy + /// Request body for operation + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task BackupPoliciesCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupPolicyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(vaultName),vaultName); + await eventListener.AssertNotNull(nameof(backupPolicyName),backupPolicyName); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); + } + } + + /// Deletes a backup policy belonging to a backup vault + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the backup vault. + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task BackupPoliciesDelete(string subscriptionId, string resourceGroupName, string vaultName, string backupPolicyName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.DataProtection/backupVaults/" + + global::System.Uri.EscapeDataString(vaultName) + + "/backupPolicies/" + + global::System.Uri.EscapeDataString(backupPolicyName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Delete, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.BackupPoliciesDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); + } + } + + /// Deletes a backup policy belonging to a backup vault + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task BackupPoliciesDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupPolicies/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var vaultName = _match.Groups["vaultName"].Value; + var backupPolicyName = _match.Groups["backupPolicyName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.DataProtection/backupVaults/" + + vaultName + + "/backupPolicies/" + + backupPolicyName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Delete, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.BackupPoliciesDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task BackupPoliciesDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response); + break; + } + case global::System.Net.HttpStatusCode.NoContent: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onNoContent(_response); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. + /// + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the backup vault. + /// + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task BackupPoliciesDelete_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupPolicyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(vaultName),vaultName); + await eventListener.AssertNotNull(nameof(backupPolicyName),backupPolicyName); + } + } + + /// Gets a backup policy belonging to a backup vault + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the backup vault. + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task BackupPoliciesGet(string subscriptionId, string resourceGroupName, string vaultName, string backupPolicyName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.DataProtection/backupVaults/" + + global::System.Uri.EscapeDataString(vaultName) + + "/backupPolicies/" + + global::System.Uri.EscapeDataString(backupPolicyName) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.BackupPoliciesGet_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Gets a backup policy belonging to a backup vault + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task BackupPoliciesGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupPolicies/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var vaultName = _match.Groups["vaultName"].Value; + var backupPolicyName = _match.Groups["backupPolicyName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.DataProtection/backupVaults/" + + vaultName + + "/backupPolicies/" + + backupPolicyName + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.BackupPoliciesGet_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task BackupPoliciesGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicyResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. + /// + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the backup vault. + /// + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task BackupPoliciesGet_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupPolicyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(vaultName),vaultName); + await eventListener.AssertNotNull(nameof(backupPolicyName),backupPolicyName); + } + } + + /// Returns list of backup policies belonging to a backup vault + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the backup vault. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task BackupPoliciesList(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.DataProtection/backupVaults/" + + global::System.Uri.EscapeDataString(vaultName) + + "/backupPolicies" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.BackupPoliciesList_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Returns list of backup policies belonging to a backup vault + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task BackupPoliciesListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupPolicies$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var vaultName = _match.Groups["vaultName"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.DataProtection/backupVaults/" + + vaultName + + "/backupPolicies" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.BackupPoliciesList_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task BackupPoliciesList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicyResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + default: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + } + } + finally + { + // finally statements + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Finally, request, _response); + _response?.Dispose(); + request?.Dispose(); + } + } + } + + /// + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. + /// + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the backup vault. + /// an instance that will receive events. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task BackupPoliciesList_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + { + using( NoSynchronizationContext ) + { + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(vaultName),vaultName); + } + } + + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the backup vault. + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 202 (Accepted). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task BackupVaultOperationResultsGet(string subscriptionId, string resourceGroupName, string vaultName, string operationId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.DataProtection/backupVaults/" + + global::System.Uri.EscapeDataString(vaultName) + + "/operationResults/" + + global::System.Uri.EscapeDataString(operationId) + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.BackupVaultOperationResultsGet_Call(request,onOk,onAccepted,onDefault,eventListener,sender); + } + } + + /// + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 202 (Accepted). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task BackupVaultOperationResultsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // verify that Identity format is an exact match for uri + + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/operationResults/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + if (!_match.Success) + { + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/operationResults/{operationId}'"); + } + + // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var vaultName = _match.Groups["vaultName"].Value; + var operationId = _match.Groups["operationId"].Value; + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.DataProtection/backupVaults/" + + vaultName + + "/operationResults/" + + operationId + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.BackupVaultOperationResultsGet_Call(request,onOk,onAccepted,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 202 (Accepted). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task BackupVaultOperationResultsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + var _contentType = _response.Content.Headers.ContentType?.MediaType; + + switch ( _response.StatusCode ) + { + case global::System.Net.HttpStatusCode.OK: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVaultResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + case global::System.Net.HttpStatusCode.Accepted: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onAccepted(_response); + break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -4158,19 +5447,18 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will + /// Validation method for method. Call this like the actual call, but you will /// get validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. - /// Name of the policy - /// Request body for operation + /// /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupPoliciesCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupPolicyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupVaultOperationResultsGet_Validate(string subscriptionId, string resourceGroupName, string vaultName, string operationId, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -4180,19 +5468,16 @@ public partial class DataProtection await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(vaultName),vaultName); - await eventListener.AssertNotNull(nameof(backupPolicyName),backupPolicyName); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); + await eventListener.AssertNotNull(nameof(operationId),operationId); } } - /// Deletes a backup policy belonging to a backup vault - /// The ID of the target subscription. The value must be an UUID. + /// API to check for resource name availability /// The name of the resource group. The name is case insensitive. - /// The name of the backup vault. - /// + /// The ID of the target subscription. The value must be an UUID. + /// The location in which uniqueness will be verified. + /// Check name availability request /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -4200,9 +5485,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupPoliciesDelete(string subscriptionId, string resourceGroupName, string vaultName, string backupPolicyName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupVaultsCheckNameAvailability(string resourceGroupName, string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4212,10 +5497,9 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.DataProtection/backupVaults/" - + global::System.Uri.EscapeDataString(vaultName) - + "/backupPolicies/" - + global::System.Uri.EscapeDataString(backupPolicyName) + + "/providers/Microsoft.DataProtection/locations/" + + global::System.Uri.EscapeDataString(location) + + "/checkNameAvailability" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -4224,19 +5508,23 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Delete, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupPoliciesDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); + await this.BackupVaultsCheckNameAvailability_Call(request,onOk,onDefault,eventListener,sender); } } - /// Deletes a backup policy belonging to a backup vault + /// API to check for resource name availability /// + /// Check name availability request /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -4244,35 +5532,33 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupPoliciesDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupVaultsCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupPolicies/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/locations/(?[^/]+)/checkNameAvailability$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/checkNameAvailability'"); } // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var vaultName = _match.Groups["vaultName"].Value; - var backupPolicyName = _match.Groups["backupPolicyName"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + var location = _match.Groups["location"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.DataProtection/backupVaults/" - + vaultName - + "/backupPolicies/" - + backupPolicyName + + "/providers/Microsoft.DataProtection/locations/" + + location + + "/checkNameAvailability" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -4281,19 +5567,22 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Delete, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupPoliciesDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); + await this.BackupVaultsCheckNameAvailability_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -4301,7 +5590,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupPoliciesDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupVaultsCheckNameAvailability_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4319,19 +5608,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response); - break; - } - case global::System.Net.HttpStatusCode.NoContent: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onNoContent(_response); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CheckNameAvailabilityResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -4347,36 +5630,37 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. + /// Validation method for method. Call this like the actual call, but you + /// will get validation events back. /// - /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. - /// The name of the backup vault. - /// + /// The ID of the target subscription. The value must be an UUID. + /// The location in which uniqueness will be verified. + /// Check name availability request /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupPoliciesDelete_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupPolicyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupVaultsCheckNameAvailability_Validate(string resourceGroupName, string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(vaultName),vaultName); - await eventListener.AssertNotNull(nameof(backupPolicyName),backupPolicyName); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + await eventListener.AssertNotNull(nameof(location),location); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Gets a backup policy belonging to a backup vault + /// Creates or updates a BackupVault resource belonging to a resource group. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. - /// + /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -4385,9 +5669,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupPoliciesGet(string subscriptionId, string resourceGroupName, string vaultName, string backupPolicyName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupVaultsCreateOrUpdate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4399,8 +5683,6 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.DataProtection/backupVaults/" + global::System.Uri.EscapeDataString(vaultName) - + "/backupPolicies/" - + global::System.Uri.EscapeDataString(backupPolicyName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -4409,17 +5691,22 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupPoliciesGet_Call(request,onOk,onDefault,eventListener,sender); + await this.BackupVaultsCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } } - /// Gets a backup policy belonging to a backup vault + /// Creates or updates a BackupVault resource belonging to a resource group. /// + /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -4428,25 +5715,24 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupPoliciesGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupVaultsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupPolicies/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var vaultName = _match.Groups["vaultName"].Value; - var backupPolicyName = _match.Groups["backupPolicyName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -4455,8 +5741,6 @@ public partial class DataProtection + resourceGroupName + "/providers/Microsoft.DataProtection/backupVaults/" + vaultName - + "/backupPolicies/" - + backupPolicyName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -4465,36 +5749,139 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.BackupPoliciesGet_Call(request,onOk,onDefault,eventListener,sender); - } - } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.BackupVaultsCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Actual wire call for method. + /// the prepared HttpRequestMessage to send. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + internal async global::System.Threading.Tasks.Task BackupVaultsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + using( NoSynchronizationContext ) + { + global::System.Net.Http.HttpResponseMessage _response = null; + try + { + var sendTask = sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } + _response = await sendTask; + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + + // get the delay before polling. (default to 30 seconds if not present) + int delay = (int)(_response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.DelayBeforePolling, $"Delaying {delay} seconds before polling.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // start the delay timer (we'll await later...) + var waiting = global::System.Threading.Tasks.Task.Delay(delay * 1000, eventListener.Token ); + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + await waiting; + + // check for cancellation + if( eventListener.Token.IsCancellationRequested ) { return; } + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_originalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task BackupPoliciesGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } + } var _contentType = _response.Content.Headers.ContentType?.MediaType; switch ( _response.StatusCode ) @@ -4502,13 +5889,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicyResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVaultResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -4524,18 +5911,18 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. + /// Validation method for method. Call this like the actual call, but you will get + /// validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. - /// + /// Request body for operation /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupPoliciesGet_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupPolicyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupVaultsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -4545,15 +5932,17 @@ public partial class DataProtection await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(vaultName),vaultName); - await eventListener.AssertNotNull(nameof(backupPolicyName),backupPolicyName); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Returns list of backup policies belonging to a backup vault + /// Deletes a BackupVault resource from the resource group. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -4561,9 +5950,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupPoliciesList(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupVaultsDelete(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4575,7 +5964,6 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.DataProtection/backupVaults/" + global::System.Uri.EscapeDataString(vaultName) - + "/backupPolicies" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -4584,18 +5972,19 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Delete, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupPoliciesList_Call(request,onOk,onDefault,eventListener,sender); + await this.BackupVaultsDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } } - /// Returns list of backup policies belonging to a backup vault + /// Deletes a BackupVault resource from the resource group. /// /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -4603,18 +5992,18 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupPoliciesListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupVaultsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupPolicies$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}'"); } // replace URI parameters with values from identity @@ -4629,7 +6018,6 @@ public partial class DataProtection + resourceGroupName + "/providers/Microsoft.DataProtection/backupVaults/" + vaultName - + "/backupPolicies" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -4638,18 +6026,19 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Delete, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupPoliciesList_Call(request,onOk,onDefault,eventListener,sender); + await this.BackupVaultsDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -4657,7 +6046,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupPoliciesList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupVaultsDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4668,6 +6057,106 @@ public partial class DataProtection await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + + // get the delay before polling. (default to 30 seconds if not present) + int delay = (int)(_response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.DelayBeforePolling, $"Delaying {delay} seconds before polling.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // start the delay timer (we'll await later...) + var waiting = global::System.Threading.Tasks.Task.Delay(delay * 1000, eventListener.Token ); + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + await waiting; + + // check for cancellation + if( eventListener.Token.IsCancellationRequested ) { return; } + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_finalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } + } var _contentType = _response.Content.Headers.ContentType?.MediaType; switch ( _response.StatusCode ) @@ -4675,13 +6164,19 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicyResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response); + break; + } + case global::System.Net.HttpStatusCode.NoContent: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onNoContent(_response); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -4697,7 +6192,7 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will get validation + /// Validation method for method. Call this like the actual call, but you will get validation /// events back. /// /// The ID of the target subscription. The value must be an UUID. @@ -4707,7 +6202,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupPoliciesList_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupVaultsDelete_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -4720,12 +6215,11 @@ public partial class DataProtection } } + /// Returns a resource belonging to a resource group. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. - /// /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 202 (Accepted). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -4733,9 +6227,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupVaultOperationResultsGet(string subscriptionId, string resourceGroupName, string vaultName, string operationId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupVaultsGet(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4747,8 +6241,6 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.DataProtection/backupVaults/" + global::System.Uri.EscapeDataString(vaultName) - + "/operationResults/" - + global::System.Uri.EscapeDataString(operationId) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -4762,13 +6254,54 @@ public partial class DataProtection await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupVaultOperationResultsGet_Call(request,onOk,onAccepted,onDefault,eventListener,sender); + await this.BackupVaultsGet_Call(request,onOk,onDefault,eventListener,sender); + } + } + + /// Returns resource collection belonging to a resource group. + /// The name of the resource group. The name is case insensitive. + /// The ID of the target subscription. The value must be an UUID. + /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns default (any response code not handled + /// elsewhere). + /// an instance that will receive events. + /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. + /// + /// A that will be complete when handling of the response is completed. + /// + public async global::System.Threading.Tasks.Task BackupVaultsGetInResourceGroup(string resourceGroupName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + { + var apiVersion = @"2023-11-01"; + // Constant Parameters + using( NoSynchronizationContext ) + { + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.DataProtection/backupVaults" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.BackupVaultsGetInResourceGroup_Call(request,onOk,onDefault,eventListener,sender); } } + /// Returns resource collection belonging to a resource group. /// /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 202 (Accepted). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -4776,35 +6309,30 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupVaultOperationResultsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupVaultsGetInResourceGroupViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/operationResults/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/operationResults/{operationId}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults'"); } // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var vaultName = _match.Groups["vaultName"].Value; - var operationId = _match.Groups["operationId"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.DataProtection/backupVaults/" - + vaultName - + "/operationResults/" - + operationId + + "/providers/Microsoft.DataProtection/backupVaults" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -4818,14 +6346,13 @@ public partial class DataProtection await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupVaultOperationResultsGet_Call(request,onOk,onAccepted,onDefault,eventListener,sender); + await this.BackupVaultsGetInResourceGroup_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 202 (Accepted). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -4833,7 +6360,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupVaultOperationResultsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupVaultsGetInResourceGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4851,19 +6378,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVaultResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - case global::System.Net.HttpStatusCode.Accepted: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onAccepted(_response); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVaultResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -4879,36 +6400,29 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will + /// Validation method for method. Call this like the actual call, but you will /// get validation events back. /// - /// The ID of the target subscription. The value must be an UUID. - /// The name of the resource group. The name is case insensitive. - /// The name of the backup vault. - /// + /// The name of the resource group. The name is case insensitive. + /// The ID of the target subscription. The value must be an UUID. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupVaultOperationResultsGet_Validate(string subscriptionId, string resourceGroupName, string vaultName, string operationId, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupVaultsGetInResourceGroup_Validate(string resourceGroupName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(vaultName),vaultName); - await eventListener.AssertNotNull(nameof(operationId),operationId); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); } } - /// API to check for resource name availability - /// The name of the resource group. The name is case insensitive. + /// Returns resource collection belonging to a subscription. /// The ID of the target subscription. The value must be an UUID. - /// The location in which uniqueness will be verified. - /// Check name availability request /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -4917,9 +6431,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupVaultsCheckNameAvailability(string resourceGroupName, string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupVaultsGetInSubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4927,11 +6441,7 @@ public partial class DataProtection var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.DataProtection/locations/" - + global::System.Uri.EscapeDataString(location) - + "/checkNameAvailability" + + "/providers/Microsoft.DataProtection/backupVaults" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -4940,22 +6450,17 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupVaultsCheckNameAvailability_Call(request,onOk,onDefault,eventListener,sender); + await this.BackupVaultsGetInSubscription_Call(request,onOk,onDefault,eventListener,sender); } } - /// API to check for resource name availability + /// Returns resource collection belonging to a subscription. /// - /// Check name availability request /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -4964,33 +6469,27 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupVaultsCheckNameAvailabilityViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupVaultsGetInSubscriptionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/locations/(?[^/]+)/checkNameAvailability$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/checkNameAvailability'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/backupVaults'"); } // replace URI parameters with values from identity - var resourceGroupName = _match.Groups["resourceGroupName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; - var location = _match.Groups["location"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.DataProtection/locations/" - + location - + "/checkNameAvailability" + + "/providers/Microsoft.DataProtection/backupVaults" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -4999,20 +6498,16 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupVaultsCheckNameAvailability_Call(request,onOk,onDefault,eventListener,sender); + await this.BackupVaultsGetInSubscription_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -5022,7 +6517,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupVaultsCheckNameAvailability_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupVaultsGetInSubscription_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5040,13 +6535,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CheckNameAvailabilityResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVaultResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -5062,83 +6557,25 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you - /// will get validation events back. + /// Validation method for method. Call this like the actual call, but you will + /// get validation events back. /// - /// The name of the resource group. The name is case insensitive. /// The ID of the target subscription. The value must be an UUID. - /// The location in which uniqueness will be verified. - /// Check name availability request /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupVaultsCheckNameAvailability_Validate(string resourceGroupName, string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupVaultsGetInSubscription_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); - await eventListener.AssertNotNull(nameof(location),location); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); - } - } - - /// Creates or updates a BackupVault resource belonging to a resource group. - /// The ID of the target subscription. The value must be an UUID. - /// The name of the resource group. The name is case insensitive. - /// The name of the backup vault. - /// Request body for operation - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task BackupVaultsCreateOrUpdate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) - { - var apiVersion = @"2023-05-01"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.DataProtection/backupVaults/" - + global::System.Uri.EscapeDataString(vaultName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Put, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.BackupVaultsCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } } - /// Creates or updates a BackupVault resource belonging to a resource group. + /// Returns a resource belonging to a resource group. /// - /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -5147,9 +6584,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupVaultsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupVaultsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5181,20 +6618,16 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupVaultsCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); + await this.BackupVaultsGet_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -5204,7 +6637,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupVaultsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupVaultsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5215,105 +6648,6 @@ public partial class DataProtection await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - - // get the delay before polling. (default to 30 seconds if not present) - int delay = (int)(_response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.DelayBeforePolling, $"Delaying {delay} seconds before polling.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // start the delay timer (we'll await later...) - var waiting = global::System.Threading.Tasks.Task.Delay(delay * 1000, eventListener.Token ); - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - await waiting; - - // check for cancellation - if( eventListener.Token.IsCancellationRequested ) { return; } - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } - } var _contentType = _response.Content.Headers.ContentType?.MediaType; switch ( _response.StatusCode ) @@ -5321,13 +6655,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVaultResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVaultResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -5343,18 +6677,17 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will get - /// validation events back. + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. - /// Request body for operation /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupVaultsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupVaultsGet_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -5364,17 +6697,17 @@ public partial class DataProtection await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(vaultName),vaultName); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Deletes a BackupVault resource from the resource group. + /// + /// Updates a BackupVault resource belonging to a resource group. For example, updating tags for a resource. + /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. + /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -5382,9 +6715,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupVaultsDelete(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupVaultsUpdate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInput body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5404,19 +6737,25 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Delete, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupVaultsDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); + await this.BackupVaultsUpdate_Call(request,onOk,onDefault,eventListener,sender); } } - /// Deletes a BackupVault resource from the resource group. + /// + /// Updates a BackupVault resource belonging to a resource group. For example, updating tags for a resource. + /// /// + /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -5424,9 +6763,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupVaultsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task BackupVaultsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInput body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5458,19 +6797,22 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Delete, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Patch, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupVaultsDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); + await this.BackupVaultsUpdate_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -5478,7 +6820,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupVaultsDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task BackupVaultsUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5492,7 +6834,6 @@ public partial class DataProtection // this operation supports x-ms-long-running-operation var _originalUri = request.RequestUri.AbsoluteUri; // declared final-state-via: default - var _finalUri = _response.GetFirstHeader(@"Location"); var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); var location = _response.GetFirstHeader(@"Location"); while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) @@ -5575,10 +6916,10 @@ public partial class DataProtection continue; } // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_finalUri)) + if (!string.IsNullOrWhiteSpace(_originalUri)) { // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); + request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); // drop the old response _response?.Dispose(); @@ -5596,19 +6937,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response); - break; - } - case global::System.Net.HttpStatusCode.NoContent: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onNoContent(_response); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVaultResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -5624,17 +6959,18 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will get validation + /// Validation method for method. Call this like the actual call, but you will get validation /// events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. + /// Request body for operation /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupVaultsDelete_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task BackupVaultsUpdate_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInput body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -5644,55 +6980,15 @@ public partial class DataProtection await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(vaultName),vaultName); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Returns a resource belonging to a resource group. - /// The ID of the target subscription. The value must be an UUID. - /// The name of the resource group. The name is case insensitive. - /// The name of the backup vault. - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task BackupVaultsGet(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) - { - var apiVersion = @"2023-05-01"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.DataProtection/backupVaults/" - + global::System.Uri.EscapeDataString(vaultName) - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.BackupVaultsGet_Call(request,onOk,onDefault,eventListener,sender); - } - } - - /// Returns resource collection belonging to a resource group. - /// The name of the resource group. The name is case insensitive. + /// Validates if a feature is supported /// The ID of the target subscription. The value must be an UUID. + /// + /// Feature support request object /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -5701,9 +6997,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupVaultsGetInResourceGroup(string resourceGroupName, string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DataProtectionCheckFeatureSupport(string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBase body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5711,9 +7007,9 @@ public partial class DataProtection var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) - + "/resourceGroups/" - + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.DataProtection/backupVaults" + + "/providers/Microsoft.DataProtection/locations/" + + global::System.Uri.EscapeDataString(location) + + "/checkFeatureSupport" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -5722,17 +7018,22 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupVaultsGetInResourceGroup_Call(request,onOk,onDefault,eventListener,sender); + await this.DataProtectionCheckFeatureSupport_Call(request,onOk,onDefault,eventListener,sender); } } - /// Returns resource collection belonging to a resource group. + /// Validates if a feature is supported /// + /// Feature support request object /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -5741,30 +7042,30 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupVaultsGetInResourceGroupViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DataProtectionCheckFeatureSupportViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBase body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.DataProtection/locations/(?[^/]+)/checkFeatureSupport$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/checkFeatureSupport'"); } // replace URI parameters with values from identity - var resourceGroupName = _match.Groups["resourceGroupName"].Value; var subscriptionId = _match.Groups["subscriptionId"].Value; + var location = _match.Groups["location"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.DataProtection/backupVaults" + + "/providers/Microsoft.DataProtection/locations/" + + location + + "/checkFeatureSupport" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -5773,16 +7074,20 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupVaultsGetInResourceGroup_Call(request,onOk,onDefault,eventListener,sender); + await this.DataProtectionCheckFeatureSupport_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -5792,7 +7097,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupVaultsGetInResourceGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DataProtectionCheckFeatureSupport_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5810,13 +7115,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVaultResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureValidationResponseBase.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -5832,115 +7137,29 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will - /// get validation events back. + /// Validation method for method. Call this like the actual call, but you + /// will get validation events back. /// - /// The name of the resource group. The name is case insensitive. /// The ID of the target subscription. The value must be an UUID. + /// + /// Feature support request object /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupVaultsGetInResourceGroup_Validate(string resourceGroupName, string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DataProtectionCheckFeatureSupport_Validate(string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBase body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + await eventListener.AssertNotNull(nameof(location),location); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Returns resource collection belonging to a subscription. - /// The ID of the target subscription. The value must be an UUID. - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task BackupVaultsGetInSubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) - { - var apiVersion = @"2023-05-01"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.DataProtection/backupVaults" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.BackupVaultsGetInSubscription_Call(request,onOk,onDefault,eventListener,sender); - } - } - - /// Returns resource collection belonging to a subscription. - /// - /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns default (any response code not handled - /// elsewhere). - /// an instance that will receive events. - /// an instance of an Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync pipeline to use to make the request. - /// - /// A that will be complete when handling of the response is completed. - /// - public async global::System.Threading.Tasks.Task BackupVaultsGetInSubscriptionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) - { - var apiVersion = @"2023-05-01"; - // Constant Parameters - using( NoSynchronizationContext ) - { - // verify that Identity format is an exact match for uri - - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); - if (!_match.Success) - { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/backupVaults'"); - } - - // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - // construct URL - var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/providers/Microsoft.DataProtection/backupVaults" - + "?" - + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) - ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - // generate request object - var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // make the call - await this.BackupVaultsGetInSubscription_Call(request,onOk,onDefault,eventListener,sender); - } - } - - /// Actual wire call for method. - /// the prepared HttpRequestMessage to send. + /// Returns the list of available operations. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -5949,64 +7168,33 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupVaultsGetInSubscription_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) - { - using( NoSynchronizationContext ) - { - global::System.Net.Http.HttpResponseMessage _response = null; - try - { - var sendTask = sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } - _response = await sendTask; - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - var _contentType = _response.Content.Headers.ContentType?.MediaType; - - switch ( _response.StatusCode ) - { - case global::System.Net.HttpStatusCode.OK: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVaultResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - default: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - } - } - finally - { - // finally statements - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Finally, request, _response); - _response?.Dispose(); - request?.Dispose(); - } - } - } - - /// - /// Validation method for method. Call this like the actual call, but you will - /// get validation events back. - /// - /// The ID of the target subscription. The value must be an UUID. - /// an instance that will receive events. - /// - /// A that will be complete when handling of the response is completed. - /// - internal async global::System.Threading.Tasks.Task BackupVaultsGetInSubscription_Validate(string subscriptionId, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + public async global::System.Threading.Tasks.Task DataProtectionOperationsList(global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { + var apiVersion = @"2023-11-01"; + // Constant Parameters using( NoSynchronizationContext ) { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + // construct URL + var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( + "/providers/Microsoft.DataProtection/operations" + + "?" + + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + // generate request object + var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // make the call + await this.DataProtectionOperationsList_Call(request,onOk,onDefault,eventListener,sender); } } - /// Returns a resource belonging to a resource group. + /// Returns the list of available operations. /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -6016,32 +7204,24 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupVaultsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DataProtectionOperationsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/providers/Microsoft.DataProtection/operations$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}'"); + throw new global::System.Exception("Invalid identity for URI '/providers/Microsoft.DataProtection/operations'"); } // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; - var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var vaultName = _match.Groups["vaultName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/subscriptions/" - + subscriptionId - + "/resourceGroups/" - + resourceGroupName - + "/providers/Microsoft.DataProtection/backupVaults/" - + vaultName + "/providers/Microsoft.DataProtection/operations" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6055,11 +7235,11 @@ public partial class DataProtection await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupVaultsGet_Call(request,onOk,onDefault,eventListener,sender); + await this.DataProtectionOperationsList_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -6069,7 +7249,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupVaultsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DataProtectionOperationsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -6087,13 +7267,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVaultResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -6109,36 +7289,26 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. + /// Validation method for method. Call this like the actual call, but you will + /// get validation events back. /// - /// The ID of the target subscription. The value must be an UUID. - /// The name of the resource group. The name is case insensitive. - /// The name of the backup vault. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupVaultsGet_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DataProtectionOperationsList_Validate(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); - await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); - await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); - await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(vaultName),vaultName); + } } - /// - /// Updates a BackupVault resource belonging to a resource group. For example, updating tags for a resource. - /// + /// Gets a deleted backup instance with name in a backup vault /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. - /// Request body for operation + /// The name of the deleted backup instance /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -6147,9 +7317,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupVaultsUpdate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInput body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DeletedBackupInstancesGet(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6161,6 +7331,8 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.DataProtection/backupVaults/" + global::System.Uri.EscapeDataString(vaultName) + + "/deletedBackupInstances/" + + global::System.Uri.EscapeDataString(backupInstanceName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6169,24 +7341,17 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupVaultsUpdate_Call(request,onOk,onDefault,eventListener,sender); + await this.DeletedBackupInstancesGet_Call(request,onOk,onDefault,eventListener,sender); } } - /// - /// Updates a BackupVault resource belonging to a resource group. For example, updating tags for a resource. - /// + /// Gets a deleted backup instance with name in a backup vault /// - /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -6195,24 +7360,25 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task BackupVaultsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInput body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DeletedBackupInstancesGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/deletedBackupInstances/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances/{backupInstanceName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var vaultName = _match.Groups["vaultName"].Value; + var backupInstanceName = _match.Groups["backupInstanceName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -6221,6 +7387,8 @@ public partial class DataProtection + resourceGroupName + "/providers/Microsoft.DataProtection/backupVaults/" + vaultName + + "/deletedBackupInstances/" + + backupInstanceName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6229,20 +7397,16 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Patch, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.BackupVaultsUpdate_Call(request,onOk,onDefault,eventListener,sender); + await this.DeletedBackupInstancesGet_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -6252,7 +7416,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupVaultsUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DeletedBackupInstancesGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -6263,105 +7427,6 @@ public partial class DataProtection await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - - // get the delay before polling. (default to 30 seconds if not present) - int delay = (int)(_response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.DelayBeforePolling, $"Delaying {delay} seconds before polling.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // start the delay timer (we'll await later...) - var waiting = global::System.Threading.Tasks.Task.Delay(delay * 1000, eventListener.Token ); - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - await waiting; - - // check for cancellation - if( eventListener.Token.IsCancellationRequested ) { return; } - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_originalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_originalUri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } - } var _contentType = _response.Content.Headers.ContentType?.MediaType; switch ( _response.StatusCode ) @@ -6369,13 +7434,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVaultResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletedBackupInstanceResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -6391,18 +7456,18 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. + /// Validation method for method. Call this like the actual call, but you will get + /// validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. - /// Request body for operation + /// The name of the deleted backup instance /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task BackupVaultsUpdate_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInput body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DeletedBackupInstancesGet_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -6412,15 +7477,14 @@ public partial class DataProtection await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(vaultName),vaultName); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); + await eventListener.AssertNotNull(nameof(backupInstanceName),backupInstanceName); } } - /// Validates if a feature is supported + /// Gets deleted backup instances belonging to a backup vault /// The ID of the target subscription. The value must be an UUID. - /// - /// Feature support request object + /// The name of the resource group. The name is case insensitive. + /// The name of the backup vault. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -6429,9 +7493,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataProtectionCheckFeatureSupport(string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBase body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DeletedBackupInstancesList(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6439,9 +7503,11 @@ public partial class DataProtection var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + global::System.Uri.EscapeDataString(subscriptionId) - + "/providers/Microsoft.DataProtection/locations/" - + global::System.Uri.EscapeDataString(location) - + "/checkFeatureSupport" + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.DataProtection/backupVaults/" + + global::System.Uri.EscapeDataString(vaultName) + + "/deletedBackupInstances" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6450,22 +7516,17 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DataProtectionCheckFeatureSupport_Call(request,onOk,onDefault,eventListener,sender); + await this.DeletedBackupInstancesList_Call(request,onOk,onDefault,eventListener,sender); } } - /// Validates if a feature is supported + /// Gets deleted backup instances belonging to a backup vault /// - /// Feature support request object /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -6474,30 +7535,33 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataProtectionCheckFeatureSupportViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBase body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DeletedBackupInstancesListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/providers/Microsoft.DataProtection/locations/(?[^/]+)/checkFeatureSupport$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/deletedBackupInstances$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/checkFeatureSupport'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; - var location = _match.Groups["location"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var vaultName = _match.Groups["vaultName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId - + "/providers/Microsoft.DataProtection/locations/" - + location - + "/checkFeatureSupport" + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.DataProtection/backupVaults/" + + vaultName + + "/deletedBackupInstances" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6506,20 +7570,16 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DataProtectionCheckFeatureSupport_Call(request,onOk,onDefault,eventListener,sender); + await this.DeletedBackupInstancesList_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -6529,7 +7589,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DataProtectionCheckFeatureSupport_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DeletedBackupInstancesList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -6547,13 +7607,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureValidationResponseBase.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletedBackupInstanceResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -6569,29 +7629,34 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you - /// will get validation events back. + /// Validation method for method. Call this like the actual call, but you will get + /// validation events back. /// /// The ID of the target subscription. The value must be an UUID. - /// - /// Feature support request object + /// The name of the resource group. The name is case insensitive. + /// The name of the backup vault. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DataProtectionCheckFeatureSupport_Validate(string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBase body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DeletedBackupInstancesList_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); - await eventListener.AssertNotNull(nameof(location),location); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(vaultName),vaultName); } } - /// Returns the list of available operations. + /// Undeletes a soft deleted backup instance + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the backup vault. + /// The name of the deleted backup instance /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -6600,15 +7665,23 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataProtectionOperationsList(global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DeletedBackupInstancesUndelete(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/providers/Microsoft.DataProtection/operations" + "/subscriptions/" + + global::System.Uri.EscapeDataString(subscriptionId) + + "/resourceGroups/" + + global::System.Uri.EscapeDataString(resourceGroupName) + + "/providers/Microsoft.DataProtection/backupVaults/" + + global::System.Uri.EscapeDataString(vaultName) + + "/deletedBackupInstances/" + + global::System.Uri.EscapeDataString(backupInstanceName) + + "/undelete" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6617,16 +7690,16 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DataProtectionOperationsList_Call(request,onOk,onDefault,eventListener,sender); + await this.DeletedBackupInstancesUndelete_Call(request,onOk,onDefault,eventListener,sender); } } - /// Returns the list of available operations. + /// Undeletes a soft deleted backup instance /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -6636,24 +7709,36 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DataProtectionOperationsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DeletedBackupInstancesUndeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/providers/Microsoft.DataProtection/operations$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/deletedBackupInstances/(?[^/]+)/undelete$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/providers/Microsoft.DataProtection/operations'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances/{backupInstanceName}/undelete'"); } // replace URI parameters with values from identity + var subscriptionId = _match.Groups["subscriptionId"].Value; + var resourceGroupName = _match.Groups["resourceGroupName"].Value; + var vaultName = _match.Groups["vaultName"].Value; + var backupInstanceName = _match.Groups["backupInstanceName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( - "/providers/Microsoft.DataProtection/operations" + "/subscriptions/" + + subscriptionId + + "/resourceGroups/" + + resourceGroupName + + "/providers/Microsoft.DataProtection/backupVaults/" + + vaultName + + "/deletedBackupInstances/" + + backupInstanceName + + "/undelete" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6662,16 +7747,16 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DataProtectionOperationsList_Call(request,onOk,onDefault,eventListener,sender); + await this.DeletedBackupInstancesUndelete_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -6681,7 +7766,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DataProtectionOperationsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DeletedBackupInstancesUndelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -6692,6 +7777,106 @@ public partial class DataProtection await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: default + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + + // get the delay before polling. (default to 30 seconds if not present) + int delay = (int)(_response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.DelayBeforePolling, $"Delaying {delay} seconds before polling.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // start the delay timer (we'll await later...) + var waiting = global::System.Threading.Tasks.Task.Delay(delay * 1000, eventListener.Token ); + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + await waiting; + + // check for cancellation + if( eventListener.Token.IsCancellationRequested ) { return; } + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + if (!string.IsNullOrWhiteSpace(_finalUri)) + { + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } + } var _contentType = _response.Content.Headers.ContentType?.MediaType; switch ( _response.StatusCode ) @@ -6699,13 +7884,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -6721,26 +7906,37 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will + /// Validation method for method. Call this like the actual call, but you will /// get validation events back. /// + /// The ID of the target subscription. The value must be an UUID. + /// The name of the resource group. The name is case insensitive. + /// The name of the backup vault. + /// The name of the deleted backup instance /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DataProtectionOperationsList_Validate(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DeletedBackupInstancesUndelete_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { - + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); + await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); + await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); + await eventListener.AssertNotNull(nameof(vaultName),vaultName); + await eventListener.AssertNotNull(nameof(backupInstanceName),backupInstanceName); } } - /// Gets a deleted backup instance with name in a backup vault + /// Creates or Updates a ResourceGuardProxy /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. - /// The name of the deleted backup instance + /// name of the resource guard proxy + /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -6749,9 +7945,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DeletedBackupInstancesGet(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DppResourceGuardProxyCreateOrUpdate(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6763,8 +7959,8 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.DataProtection/backupVaults/" + global::System.Uri.EscapeDataString(vaultName) - + "/deletedBackupInstances/" - + global::System.Uri.EscapeDataString(backupInstanceName) + + "/backupResourceGuardProxies/" + + global::System.Uri.EscapeDataString(resourceGuardProxyName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6773,17 +7969,22 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DeletedBackupInstancesGet_Call(request,onOk,onDefault,eventListener,sender); + await this.DppResourceGuardProxyCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } } - /// Gets a deleted backup instance with name in a backup vault + /// Creates or Updates a ResourceGuardProxy /// + /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -6792,25 +7993,25 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DeletedBackupInstancesGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DppResourceGuardProxyCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/deletedBackupInstances/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupResourceGuardProxies/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances/{backupInstanceName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var vaultName = _match.Groups["vaultName"].Value; - var backupInstanceName = _match.Groups["backupInstanceName"].Value; + var resourceGuardProxyName = _match.Groups["resourceGuardProxyName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -6819,8 +8020,8 @@ public partial class DataProtection + resourceGroupName + "/providers/Microsoft.DataProtection/backupVaults/" + vaultName - + "/deletedBackupInstances/" - + backupInstanceName + + "/backupResourceGuardProxies/" + + resourceGuardProxyName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6829,16 +8030,20 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Put, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DeletedBackupInstancesGet_Call(request,onOk,onDefault,eventListener,sender); + await this.DppResourceGuardProxyCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -6848,7 +8053,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DeletedBackupInstancesGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DppResourceGuardProxyCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -6866,13 +8071,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletedBackupInstanceResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBaseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -6888,18 +8093,19 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will get - /// validation events back. + /// Validation method for method. Call this like the actual call, but you + /// will get validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. - /// The name of the deleted backup instance + /// name of the resource guard proxy + /// Request body for operation /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DeletedBackupInstancesGet_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DppResourceGuardProxyCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -6909,15 +8115,20 @@ public partial class DataProtection await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(vaultName),vaultName); - await eventListener.AssertNotNull(nameof(backupInstanceName),backupInstanceName); + await eventListener.AssertNotNull(nameof(resourceGuardProxyName),resourceGuardProxyName); + await eventListener.AssertRegEx(nameof(resourceGuardProxyName),resourceGuardProxyName,@"^[A-Za-z0-9]*$"); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Gets deleted backup instances belonging to a backup vault + /// Deletes the ResourceGuardProxy /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. + /// name of the resource guard proxy /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -6925,9 +8136,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DeletedBackupInstancesList(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DppResourceGuardProxyDelete(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6939,7 +8150,8 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.DataProtection/backupVaults/" + global::System.Uri.EscapeDataString(vaultName) - + "/deletedBackupInstances" + + "/backupResourceGuardProxies/" + + global::System.Uri.EscapeDataString(resourceGuardProxyName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -6948,18 +8160,19 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Delete, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DeletedBackupInstancesList_Call(request,onOk,onDefault,eventListener,sender); + await this.DppResourceGuardProxyDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } } - /// Gets deleted backup instances belonging to a backup vault + /// Deletes the ResourceGuardProxy /// /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -6967,24 +8180,25 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DeletedBackupInstancesListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DppResourceGuardProxyDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/deletedBackupInstances$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupResourceGuardProxies/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var vaultName = _match.Groups["vaultName"].Value; + var resourceGuardProxyName = _match.Groups["resourceGuardProxyName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -6993,7 +8207,8 @@ public partial class DataProtection + resourceGroupName + "/providers/Microsoft.DataProtection/backupVaults/" + vaultName - + "/deletedBackupInstances" + + "/backupResourceGuardProxies/" + + resourceGuardProxyName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -7002,18 +8217,19 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Delete, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DeletedBackupInstancesList_Call(request,onOk,onDefault,eventListener,sender); + await this.DppResourceGuardProxyDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -7021,7 +8237,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DeletedBackupInstancesList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DppResourceGuardProxyDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -7039,13 +8255,19 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletedBackupInstanceResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response); + break; + } + case global::System.Net.HttpStatusCode.NoContent: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onNoContent(_response); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -7061,17 +8283,18 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will get - /// validation events back. + /// Validation method for method. Call this like the actual call, but you will + /// get validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. + /// name of the resource guard proxy /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DeletedBackupInstancesList_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DppResourceGuardProxyDelete_Validate(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -7081,14 +8304,18 @@ public partial class DataProtection await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(vaultName),vaultName); + await eventListener.AssertNotNull(nameof(resourceGuardProxyName),resourceGuardProxyName); + await eventListener.AssertRegEx(nameof(resourceGuardProxyName),resourceGuardProxyName,@"^[A-Za-z0-9]*$"); } } - /// Undeletes a soft deleted backup instance + /// + /// Returns the ResourceGuardProxy object associated with the vault, and that matches the name in the request + /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. - /// The name of the deleted backup instance + /// name of the resource guard proxy /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -7097,9 +8324,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DeletedBackupInstancesUndelete(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DppResourceGuardProxyGet(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7111,9 +8338,8 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.DataProtection/backupVaults/" + global::System.Uri.EscapeDataString(vaultName) - + "/deletedBackupInstances/" - + global::System.Uri.EscapeDataString(backupInstanceName) - + "/undelete" + + "/backupResourceGuardProxies/" + + global::System.Uri.EscapeDataString(resourceGuardProxyName) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -7122,16 +8348,18 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DeletedBackupInstancesUndelete_Call(request,onOk,onDefault,eventListener,sender); + await this.DppResourceGuardProxyGet_Call(request,onOk,onDefault,eventListener,sender); } } - /// Undeletes a soft deleted backup instance + /// + /// Returns the ResourceGuardProxy object associated with the vault, and that matches the name in the request + /// /// /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -7141,25 +8369,25 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DeletedBackupInstancesUndeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DppResourceGuardProxyGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/deletedBackupInstances/(?[^/]+)/undelete$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupResourceGuardProxies/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances/{backupInstanceName}/undelete'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var vaultName = _match.Groups["vaultName"].Value; - var backupInstanceName = _match.Groups["backupInstanceName"].Value; + var resourceGuardProxyName = _match.Groups["resourceGuardProxyName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -7168,9 +8396,8 @@ public partial class DataProtection + resourceGroupName + "/providers/Microsoft.DataProtection/backupVaults/" + vaultName - + "/deletedBackupInstances/" - + backupInstanceName - + "/undelete" + + "/backupResourceGuardProxies/" + + resourceGuardProxyName + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -7179,16 +8406,16 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DeletedBackupInstancesUndelete_Call(request,onOk,onDefault,eventListener,sender); + await this.DppResourceGuardProxyGet_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -7198,7 +8425,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DeletedBackupInstancesUndelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DppResourceGuardProxyGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -7209,106 +8436,6 @@ public partial class DataProtection await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: default - var _finalUri = _response.GetFirstHeader(@"Location"); - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - - // get the delay before polling. (default to 30 seconds if not present) - int delay = (int)(_response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.DelayBeforePolling, $"Delaying {delay} seconds before polling.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // start the delay timer (we'll await later...) - var waiting = global::System.Threading.Tasks.Task.Delay(delay * 1000, eventListener.Token ); - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - await waiting; - - // check for cancellation - if( eventListener.Token.IsCancellationRequested ) { return; } - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - if (!string.IsNullOrWhiteSpace(_finalUri)) - { - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } - } var _contentType = _response.Content.Headers.ContentType?.MediaType; switch ( _response.StatusCode ) @@ -7316,13 +8443,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBaseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -7338,18 +8465,18 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will - /// get validation events back. + /// Validation method for method. Call this like the actual call, but you will get + /// validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. - /// The name of the deleted backup instance + /// name of the resource guard proxy /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DeletedBackupInstancesUndelete_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DppResourceGuardProxyGet_Validate(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -7359,16 +8486,15 @@ public partial class DataProtection await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(vaultName),vaultName); - await eventListener.AssertNotNull(nameof(backupInstanceName),backupInstanceName); + await eventListener.AssertNotNull(nameof(resourceGuardProxyName),resourceGuardProxyName); + await eventListener.AssertRegEx(nameof(resourceGuardProxyName),resourceGuardProxyName,@"^[A-Za-z0-9]*$"); } } - /// Creates or Updates a ResourceGuardProxy + /// Returns the list of ResourceGuardProxies associated with the vault /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. - /// name of the resource guard proxy - /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -7377,9 +8503,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DppResourceGuardProxyCreateOrUpdate(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DppResourceGuardProxyList(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7391,8 +8517,7 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.DataProtection/backupVaults/" + global::System.Uri.EscapeDataString(vaultName) - + "/backupResourceGuardProxies/" - + global::System.Uri.EscapeDataString(resourceGuardProxyName) + + "/backupResourceGuardProxies" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -7401,22 +8526,17 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DppResourceGuardProxyCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); + await this.DppResourceGuardProxyList_Call(request,onOk,onDefault,eventListener,sender); } } - /// Creates or Updates a ResourceGuardProxy + /// Returns the list of ResourceGuardProxies associated with the vault /// - /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). @@ -7425,25 +8545,24 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DppResourceGuardProxyCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DppResourceGuardProxyListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupResourceGuardProxies/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupResourceGuardProxies$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var vaultName = _match.Groups["vaultName"].Value; - var resourceGuardProxyName = _match.Groups["resourceGuardProxyName"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -7452,8 +8571,7 @@ public partial class DataProtection + resourceGroupName + "/providers/Microsoft.DataProtection/backupVaults/" + vaultName - + "/backupResourceGuardProxies/" - + resourceGuardProxyName + + "/backupResourceGuardProxies" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -7462,20 +8580,16 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Put, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } - // set body content - request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); - request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DppResourceGuardProxyCreateOrUpdate_Call(request,onOk,onDefault,eventListener,sender); + await this.DppResourceGuardProxyList_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -7485,7 +8599,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DppResourceGuardProxyCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DppResourceGuardProxyList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -7503,13 +8617,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBaseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBaseResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -7525,19 +8639,17 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you - /// will get validation events back. + /// Validation method for method. Call this like the actual call, but you will get + /// validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. - /// name of the resource guard proxy - /// Request body for operation /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DppResourceGuardProxyCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DppResourceGuardProxyList_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -7547,20 +8659,17 @@ public partial class DataProtection await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(vaultName),vaultName); - await eventListener.AssertNotNull(nameof(resourceGuardProxyName),resourceGuardProxyName); - await eventListener.AssertRegEx(nameof(resourceGuardProxyName),resourceGuardProxyName,@"^[A-Za-z0-9]*$"); - await eventListener.AssertNotNull(nameof(body), body); - await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Deletes the ResourceGuardProxy + /// UnlockDelete call for ResourceGuardProxy, executed before one can delete it /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. /// name of the resource guard proxy + /// + /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -7568,9 +8677,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DppResourceGuardProxyDelete(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DppResourceGuardProxyUnlockDelete(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7584,6 +8693,7 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(vaultName) + "/backupResourceGuardProxies/" + global::System.Uri.EscapeDataString(resourceGuardProxyName) + + "/unlockDelete" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -7592,19 +8702,30 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Delete, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + // add headers parameters + if (null != xMSAuthorizationAuxiliary) + { + request.Headers.Add("x-ms-authorization-auxiliary",xMSAuthorizationAuxiliary); + } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DppResourceGuardProxyDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); + await this.DppResourceGuardProxyUnlockDelete_Call(request,onOk,onDefault,eventListener,sender); } } - /// Deletes the ResourceGuardProxy + /// UnlockDelete call for ResourceGuardProxy, executed before one can delete it /// + /// + /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -7612,18 +8733,18 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DppResourceGuardProxyDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task DppResourceGuardProxyUnlockDeleteViaIdentity(global::System.String viaIdentity, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupResourceGuardProxies/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupResourceGuardProxies/(?[^/]+)/unlockDelete$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}/unlockDelete'"); } // replace URI parameters with values from identity @@ -7641,6 +8762,7 @@ public partial class DataProtection + vaultName + "/backupResourceGuardProxies/" + resourceGuardProxyName + + "/unlockDelete" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -7649,19 +8771,28 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Delete, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } + // add headers parameters + if (null != xMSAuthorizationAuxiliary) + { + request.Headers.Add("x-ms-authorization-auxiliary",xMSAuthorizationAuxiliary); + } + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DppResourceGuardProxyDelete_Call(request,onOk,onNoContent,onDefault,eventListener,sender); + await this.DppResourceGuardProxyUnlockDelete_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -7669,7 +8800,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DppResourceGuardProxyDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task DppResourceGuardProxyUnlockDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -7687,19 +8818,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response); - break; - } - case global::System.Net.HttpStatusCode.NoContent: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onNoContent(_response); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UnlockDeleteResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -7715,18 +8840,20 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will - /// get validation events back. + /// Validation method for method. Call this like the actual call, but you + /// will get validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. /// name of the resource guard proxy + /// + /// Request body for operation /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DppResourceGuardProxyDelete_Validate(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task DppResourceGuardProxyUnlockDelete_Validate(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -7738,17 +8865,22 @@ public partial class DataProtection await eventListener.AssertNotNull(nameof(vaultName),vaultName); await eventListener.AssertNotNull(nameof(resourceGuardProxyName),resourceGuardProxyName); await eventListener.AssertRegEx(nameof(resourceGuardProxyName),resourceGuardProxyName,@"^[A-Za-z0-9]*$"); + await eventListener.AssertNotNull(nameof(xMSAuthorizationAuxiliary),xMSAuthorizationAuxiliary); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } /// - /// Returns the ResourceGuardProxy object associated with the vault, and that matches the name in the request + /// Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also contains + /// URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. - /// name of the resource guard proxy + /// OperationID which represents the export job. /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 202 (Accepted). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -7756,9 +8888,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DppResourceGuardProxyGet(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ExportJobsOperationResultGet(string subscriptionId, string resourceGroupName, string vaultName, string operationId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7770,8 +8902,8 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.DataProtection/backupVaults/" + global::System.Uri.EscapeDataString(vaultName) - + "/backupResourceGuardProxies/" - + global::System.Uri.EscapeDataString(resourceGuardProxyName) + + "/backupJobs/operations/" + + global::System.Uri.EscapeDataString(operationId) + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -7785,15 +8917,17 @@ public partial class DataProtection await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DppResourceGuardProxyGet_Call(request,onOk,onDefault,eventListener,sender); + await this.ExportJobsOperationResultGet_Call(request,onOk,onAccepted,onDefault,eventListener,sender); } } /// - /// Returns the ResourceGuardProxy object associated with the vault, and that matches the name in the request + /// Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also contains + /// URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format. /// /// /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 202 (Accepted). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -7801,25 +8935,25 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DppResourceGuardProxyGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ExportJobsOperationResultGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupResourceGuardProxies/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupJobs/operations/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/operations/{operationId}'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; var vaultName = _match.Groups["vaultName"].Value; - var resourceGuardProxyName = _match.Groups["resourceGuardProxyName"].Value; + var operationId = _match.Groups["operationId"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" @@ -7828,8 +8962,8 @@ public partial class DataProtection + resourceGroupName + "/providers/Microsoft.DataProtection/backupVaults/" + vaultName - + "/backupResourceGuardProxies/" - + resourceGuardProxyName + + "/backupJobs/operations/" + + operationId + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -7843,13 +8977,14 @@ public partial class DataProtection await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DppResourceGuardProxyGet_Call(request,onOk,onDefault,eventListener,sender); + await this.ExportJobsOperationResultGet_Call(request,onOk,onAccepted,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 202 (Accepted). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -7857,7 +8992,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DppResourceGuardProxyGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ExportJobsOperationResultGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -7875,13 +9010,19 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBaseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ExportJobsResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + break; + } + case global::System.Net.HttpStatusCode.Accepted: + { + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + await onAccepted(_response); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -7897,18 +9038,18 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will get - /// validation events back. + /// Validation method for method. Call this like the actual call, but you will + /// get validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. - /// name of the resource guard proxy + /// OperationID which represents the export job. /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DppResourceGuardProxyGet_Validate(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ExportJobsOperationResultGet_Validate(string subscriptionId, string resourceGroupName, string vaultName, string operationId, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -7918,16 +9059,15 @@ public partial class DataProtection await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); await eventListener.AssertNotNull(nameof(vaultName),vaultName); - await eventListener.AssertNotNull(nameof(resourceGuardProxyName),resourceGuardProxyName); - await eventListener.AssertRegEx(nameof(resourceGuardProxyName),resourceGuardProxyName,@"^[A-Za-z0-9]*$"); + await eventListener.AssertNotNull(nameof(operationId),operationId); } } - /// Returns the list of ResourceGuardProxies associated with the vault + /// Triggers export of jobs and returns an OperationID to track. /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. /// The name of the backup vault. - /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -7935,9 +9075,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DppResourceGuardProxyList(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ExportJobsTrigger(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -7949,7 +9089,7 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(resourceGroupName) + "/providers/Microsoft.DataProtection/backupVaults/" + global::System.Uri.EscapeDataString(vaultName) - + "/backupResourceGuardProxies" + + "/exportBackupJobs" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -7958,18 +9098,18 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DppResourceGuardProxyList_Call(request,onOk,onDefault,eventListener,sender); + await this.ExportJobsTrigger_Call(request,onNoContent,onDefault,eventListener,sender); } } - /// Returns the list of ResourceGuardProxies associated with the vault + /// Triggers export of jobs and returns an OperationID to track. /// - /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -7977,18 +9117,18 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DppResourceGuardProxyListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ExportJobsTriggerViaIdentity(global::System.String viaIdentity, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupResourceGuardProxies$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/exportBackupJobs$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/exportBackupJobs'"); } // replace URI parameters with values from identity @@ -8003,7 +9143,7 @@ public partial class DataProtection + resourceGroupName + "/providers/Microsoft.DataProtection/backupVaults/" + vaultName - + "/backupResourceGuardProxies" + + "/exportBackupJobs" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -8012,18 +9152,18 @@ public partial class DataProtection // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DppResourceGuardProxyList_Call(request,onOk,onDefault,eventListener,sender); + await this.ExportJobsTrigger_Call(request,onNoContent,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. - /// a delegate that is called when the remote service returns 200 (OK). + /// a delegate that is called when the remote service returns 204 (NoContent). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -8031,7 +9171,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DppResourceGuardProxyList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ExportJobsTrigger_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -8042,20 +9182,117 @@ public partial class DataProtection await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + // this operation supports x-ms-long-running-operation + var _originalUri = request.RequestUri.AbsoluteUri; + // declared final-state-via: location + var _finalUri = _response.GetFirstHeader(@"Location"); + var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = _response.GetFirstHeader(@"Location"); + while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + + // get the delay before polling. (default to 30 seconds if not present) + int delay = (int)(_response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.DelayBeforePolling, $"Delaying {delay} seconds before polling.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // start the delay timer (we'll await later...) + var waiting = global::System.Threading.Tasks.Task.Delay(delay * 1000, eventListener.Token ); + + // while we wait, let's grab the headers and get ready to poll. + if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { + asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); + } + if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { + location = _response.GetFirstHeader(@"Location"); + } + var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; + request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); + + // and let's look at the current response body and see if we have some information we can give back to the listener + var content = await _response.Content.ReadAsStringAsync(); + await waiting; + + // check for cancellation + if( eventListener.Token.IsCancellationRequested ) { return; } + + // drop the old response + _response?.Dispose(); + + // make the polling call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + + // if we got back an OK, take a peek inside and see if it's done + if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) + { + var error = false; + try { + if( Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); + if( state is null ) + { + // the body doesn't contain any information that has the state of the LRO + // we're going to just get out, and let the consumer have the result + break; + } + + switch( state?.ToString()?.ToLower() ) + { + case "failed": + error = true; + break; + case "succeeded": + case "canceled": + // we're done polling. + break; + + default: + // need to keep polling! + _response.StatusCode = global::System.Net.HttpStatusCode.Created; + continue; + } + } + } catch { + // if we run into a problem peeking into the result, + // we really don't want to do anything special. + } + if (error) { + throw new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException(_response); + } + } + + // check for terminal status code + if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) + { + continue; + } + // we are done polling, do a request on final target? + // create a new request with the final uri + request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); + + // drop the old response + _response?.Dispose(); + + // make the final call + _response = await sender.SendAsync(request, eventListener); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } + break; + } var _contentType = _response.Content.Headers.ContentType?.MediaType; switch ( _response.StatusCode ) { - case global::System.Net.HttpStatusCode.OK: + case global::System.Net.HttpStatusCode.NoContent: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBaseResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onNoContent(_response); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -8071,8 +9308,8 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will get - /// validation events back. + /// Validation method for method. Call this like the actual call, but you will get validation + /// events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. @@ -8081,7 +9318,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DppResourceGuardProxyList_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ExportJobsTrigger_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -8094,12 +9331,10 @@ public partial class DataProtection } } - /// UnlockDelete call for ResourceGuardProxy, executed before one can delete it - /// The ID of the target subscription. The value must be an UUID. + /// Fetches the Cross Region Restore Job /// The name of the resource group. The name is case insensitive. - /// The name of the backup vault. - /// name of the resource guard proxy - /// + /// The ID of the target subscription. The value must be an UUID. + /// The name of the Azure region. /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -8109,9 +9344,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DppResourceGuardProxyUnlockDelete(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobGet(string resourceGroupName, string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8121,11 +9356,9 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.DataProtection/backupVaults/" - + global::System.Uri.EscapeDataString(vaultName) - + "/backupResourceGuardProxies/" - + global::System.Uri.EscapeDataString(resourceGuardProxyName) - + "/unlockDelete" + + "/providers/Microsoft.DataProtection/locations/" + + global::System.Uri.EscapeDataString(location) + + "/fetchCrossRegionRestoreJob" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -8137,25 +9370,18 @@ public partial class DataProtection var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - // add headers parameters - if (null != xMSAuthorizationAuxiliary) - { - request.Headers.Add("x-ms-authorization-auxiliary",xMSAuthorizationAuxiliary); - } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DppResourceGuardProxyUnlockDelete_Call(request,onOk,onDefault,eventListener,sender); + await this.FetchCrossRegionRestoreJobGet_Call(request,onOk,onDefault,eventListener,sender); } } - /// UnlockDelete call for ResourceGuardProxy, executed before one can delete it + /// Fetches the Cross Region Restore Job /// - /// /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -8165,36 +9391,33 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task DppResourceGuardProxyUnlockDeleteViaIdentity(global::System.String viaIdentity, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobGetViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupResourceGuardProxies/(?[^/]+)/unlockDelete$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/locations/(?[^/]+)/fetchCrossRegionRestoreJob$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}/unlockDelete'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJob'"); } // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var vaultName = _match.Groups["vaultName"].Value; - var resourceGuardProxyName = _match.Groups["resourceGuardProxyName"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + var location = _match.Groups["location"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.DataProtection/backupVaults/" - + vaultName - + "/backupResourceGuardProxies/" - + resourceGuardProxyName - + "/unlockDelete" + + "/providers/Microsoft.DataProtection/locations/" + + location + + "/fetchCrossRegionRestoreJob" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); @@ -8206,23 +9429,17 @@ public partial class DataProtection var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } - // add headers parameters - if (null != xMSAuthorizationAuxiliary) - { - request.Headers.Add("x-ms-authorization-auxiliary",xMSAuthorizationAuxiliary); - } - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } // set body content request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.DppResourceGuardProxyUnlockDelete_Call(request,onOk,onDefault,eventListener,sender); + await this.FetchCrossRegionRestoreJobGet_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled @@ -8232,7 +9449,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DppResourceGuardProxyUnlockDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -8250,13 +9467,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UnlockDeleteResponse.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJobResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -8272,47 +9489,40 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you - /// will get validation events back. + /// Validation method for method. Call this like the actual call, but you will + /// get validation events back. /// - /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. - /// The name of the backup vault. - /// name of the resource guard proxy - /// + /// The ID of the target subscription. The value must be an UUID. + /// The name of the Azure region. /// Request body for operation /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task DppResourceGuardProxyUnlockDelete_Validate(string subscriptionId, string resourceGroupName, string vaultName, string resourceGuardProxyName, string xMSAuthorizationAuxiliary, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobGet_Validate(string resourceGroupName, string subscriptionId, string location, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(vaultName),vaultName); - await eventListener.AssertNotNull(nameof(resourceGuardProxyName),resourceGuardProxyName); - await eventListener.AssertRegEx(nameof(resourceGuardProxyName),resourceGuardProxyName,@"^[A-Za-z0-9]*$"); - await eventListener.AssertNotNull(nameof(xMSAuthorizationAuxiliary),xMSAuthorizationAuxiliary); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + await eventListener.AssertNotNull(nameof(location),location); + await eventListener.AssertMinimumLength(nameof(location),location,1); await eventListener.AssertNotNull(nameof(body), body); await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// - /// Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also contains - /// URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format. - /// - /// The ID of the target subscription. The value must be an UUID. + /// Fetches list of Cross Region Restore job belonging to the vault /// The name of the resource group. The name is case insensitive. - /// The name of the backup vault. - /// OperationID which represents the export job. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the Azure region. + /// OData filter options. + /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 202 (Accepted). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -8320,9 +9530,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ExportJobsOperationResultGet(string subscriptionId, string resourceGroupName, string vaultName, string operationId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobsList(string resourceGroupName, string subscriptionId, string location, string Filter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8332,34 +9542,37 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.DataProtection/backupVaults/" - + global::System.Uri.EscapeDataString(vaultName) - + "/backupJobs/operations/" - + global::System.Uri.EscapeDataString(operationId) + + "/providers/Microsoft.DataProtection/locations/" + + global::System.Uri.EscapeDataString(location) + + "/fetchCrossRegionRestoreJobs" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + + "&" + + (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ExportJobsOperationResultGet_Call(request,onOk,onAccepted,onDefault,eventListener,sender); + await this.FetchCrossRegionRestoreJobsList_Call(request,onOk,onDefault,eventListener,sender); } } - /// - /// Gets the operation result of operation triggered by Export Jobs API. If the operation is successful, then it also contains - /// URL of a Blob and a SAS key to access the same. The blob contains exported jobs in JSON serialized format. - /// + /// Fetches list of Cross Region Restore job belonging to the vault /// + /// OData filter options. + /// Request body for operation /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 202 (Accepted). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -8367,56 +9580,59 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ExportJobsOperationResultGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobsListViaIdentity(global::System.String viaIdentity, string Filter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/backupJobs/operations/(?[^/]+)$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/locations/(?[^/]+)/fetchCrossRegionRestoreJobs$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/operations/{operationId}'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJobs'"); } // replace URI parameters with values from identity - var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var vaultName = _match.Groups["vaultName"].Value; - var operationId = _match.Groups["operationId"].Value; + var subscriptionId = _match.Groups["subscriptionId"].Value; + var location = _match.Groups["location"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.DataProtection/backupVaults/" - + vaultName - + "/backupJobs/operations/" - + operationId + + "/providers/Microsoft.DataProtection/locations/" + + location + + "/fetchCrossRegionRestoreJobs" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + + "&" + + (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } // generate request object var _url = new global::System.Uri($"https://management.azure.com{pathAndQuery}"); - var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get, _url); + var request = new global::System.Net.Http.HttpRequestMessage(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Post, _url); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ExportJobsOperationResultGet_Call(request,onOk,onAccepted,onDefault,eventListener,sender); + await this.FetchCrossRegionRestoreJobsList_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. /// a delegate that is called when the remote service returns 200 (OK). - /// a delegate that is called when the remote service returns 202 (Accepted). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -8424,7 +9640,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ExportJobsOperationResultGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -8442,19 +9658,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ExportJobsResult.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); - break; - } - case global::System.Net.HttpStatusCode.Accepted: - { - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onAccepted(_response); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJobResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -8470,36 +9680,45 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will + /// Validation method for method. Call this like the actual call, but you will /// get validation events back. /// - /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. - /// The name of the backup vault. - /// OperationID which represents the export job. + /// The ID of the target subscription. The value must be an UUID. + /// The name of the Azure region. + /// OData filter options. + /// Request body for operation /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ExportJobsOperationResultGet_Validate(string subscriptionId, string resourceGroupName, string vaultName, string operationId, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task FetchCrossRegionRestoreJobsList_Validate(string resourceGroupName, string subscriptionId, string location, string Filter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { - await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); - await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(vaultName),vaultName); - await eventListener.AssertNotNull(nameof(operationId),operationId); + await eventListener.AssertNotNull(nameof(subscriptionId),subscriptionId); + await eventListener.AssertRegEx(nameof(subscriptionId),subscriptionId,@"^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$"); + await eventListener.AssertNotNull(nameof(location),location); + await eventListener.AssertMinimumLength(nameof(location),location,1); + await eventListener.AssertNotNull(nameof(Filter),Filter); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } - /// Triggers export of jobs and returns an OperationID to track. + /// + /// Returns a list of Secondary Recovery Points for a DataSource in a vault, that can be used for Cross Region Restore. + /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. - /// The name of the backup vault. - /// a delegate that is called when the remote service returns 204 (NoContent). + /// The name of the Azure region. + /// OData filter options. + /// skipToken Filter. + /// Request body for operation + /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -8507,9 +9726,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ExportJobsTrigger(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task FetchSecondaryRecoveryPointsList(string subscriptionId, string resourceGroupName, string location, string Filter, string SkipToken, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8519,11 +9738,15 @@ public partial class DataProtection + global::System.Uri.EscapeDataString(subscriptionId) + "/resourceGroups/" + global::System.Uri.EscapeDataString(resourceGroupName) - + "/providers/Microsoft.DataProtection/backupVaults/" - + global::System.Uri.EscapeDataString(vaultName) - + "/exportBackupJobs" + + "/providers/Microsoft.DataProtection/locations/" + + global::System.Uri.EscapeDataString(location) + + "/fetchSecondaryRecoveryPoints" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + + "&" + + (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter)) + + "&" + + (string.IsNullOrEmpty(SkipToken) ? global::System.String.Empty : "$skipToken=" + global::System.Uri.EscapeDataString(SkipToken)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -8534,14 +9757,23 @@ public partial class DataProtection await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ExportJobsTrigger_Call(request,onNoContent,onDefault,eventListener,sender); + await this.FetchSecondaryRecoveryPointsList_Call(request,onOk,onDefault,eventListener,sender); } } - /// Triggers export of jobs and returns an OperationID to track. + /// + /// Returns a list of Secondary Recovery Points for a DataSource in a vault, that can be used for Cross Region Restore. + /// /// - /// a delegate that is called when the remote service returns 204 (NoContent). + /// OData filter options. + /// skipToken Filter. + /// Request body for operation + /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -8549,35 +9781,39 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ExportJobsTriggerViaIdentity(global::System.String viaIdentity, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task FetchSecondaryRecoveryPointsListViaIdentity(global::System.String viaIdentity, string Filter, string SkipToken, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { // verify that Identity format is an exact match for uri - var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/backupVaults/(?[^/]+)/exportBackupJobs$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); + var _match = new global::System.Text.RegularExpressions.Regex("^/subscriptions/(?[^/]+)/resourceGroups/(?[^/]+)/providers/Microsoft.DataProtection/locations/(?[^/]+)/fetchSecondaryRecoveryPoints$", global::System.Text.RegularExpressions.RegexOptions.IgnoreCase).Match(viaIdentity); if (!_match.Success) { - throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/exportBackupJobs'"); + throw new global::System.Exception("Invalid identity for URI '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchSecondaryRecoveryPoints'"); } // replace URI parameters with values from identity var subscriptionId = _match.Groups["subscriptionId"].Value; var resourceGroupName = _match.Groups["resourceGroupName"].Value; - var vaultName = _match.Groups["vaultName"].Value; + var location = _match.Groups["location"].Value; // construct URL var pathAndQuery = global::System.Text.RegularExpressions.Regex.Replace( "/subscriptions/" + subscriptionId + "/resourceGroups/" + resourceGroupName - + "/providers/Microsoft.DataProtection/backupVaults/" - + vaultName - + "/exportBackupJobs" + + "/providers/Microsoft.DataProtection/locations/" + + location + + "/fetchSecondaryRecoveryPoints" + "?" + "api-version=" + global::System.Uri.EscapeDataString(apiVersion) + + "&" + + (string.IsNullOrEmpty(Filter) ? global::System.String.Empty : "$filter=" + global::System.Uri.EscapeDataString(Filter)) + + "&" + + (string.IsNullOrEmpty(SkipToken) ? global::System.String.Empty : "$skipToken=" + global::System.Uri.EscapeDataString(SkipToken)) ,"\\?&*$|&*$|(\\?)&+|(&)&+","$1$2"); await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.URLCreated, pathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } @@ -8588,14 +9824,18 @@ public partial class DataProtection await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.RequestCreated, request.RequestUri.PathAndQuery); if( eventListener.Token.IsCancellationRequested ) { return; } await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.HeaderParametersAdded); if( eventListener.Token.IsCancellationRequested ) { return; } + // set body content + request.Content = new global::System.Net.Http.StringContent(null != body ? body.ToJson(null).ToString() : @"{}", global::System.Text.Encoding.UTF8); + request.Content.Headers.ContentType = global::System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json"); + await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BodyContentSet); if( eventListener.Token.IsCancellationRequested ) { return; } // make the call - await this.ExportJobsTrigger_Call(request,onNoContent,onDefault,eventListener,sender); + await this.FetchSecondaryRecoveryPointsList_Call(request,onOk,onDefault,eventListener,sender); } } - /// Actual wire call for method. + /// Actual wire call for method. /// the prepared HttpRequestMessage to send. - /// a delegate that is called when the remote service returns 204 (NoContent). + /// a delegate that is called when the remote service returns 200 (OK). /// a delegate that is called when the remote service returns default (any response code not handled /// elsewhere). /// an instance that will receive events. @@ -8603,7 +9843,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ExportJobsTrigger_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task FetchSecondaryRecoveryPointsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -8614,117 +9854,20 @@ public partial class DataProtection await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeCall, request); if( eventListener.Token.IsCancellationRequested ) { return; } _response = await sendTask; await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.ResponseCreated, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - // this operation supports x-ms-long-running-operation - var _originalUri = request.RequestUri.AbsoluteUri; - // declared final-state-via: location - var _finalUri = _response.GetFirstHeader(@"Location"); - var asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - var location = _response.GetFirstHeader(@"Location"); - while (request.Method == System.Net.Http.HttpMethod.Put && _response.StatusCode == global::System.Net.HttpStatusCode.OK || _response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - - // get the delay before polling. (default to 30 seconds if not present) - int delay = (int)(_response.Headers.RetryAfter?.Delta?.TotalSeconds ?? 30); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.DelayBeforePolling, $"Delaying {delay} seconds before polling.", _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // start the delay timer (we'll await later...) - var waiting = global::System.Threading.Tasks.Task.Delay(delay * 1000, eventListener.Token ); - - // while we wait, let's grab the headers and get ready to poll. - if (!System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Azure-AsyncOperation"))) { - asyncOperation = _response.GetFirstHeader(@"Azure-AsyncOperation"); - } - if (!global::System.String.IsNullOrEmpty(_response.GetFirstHeader(@"Location"))) { - location = _response.GetFirstHeader(@"Location"); - } - var _uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? _originalUri : location : asyncOperation; - request = request.CloneAndDispose(new global::System.Uri(_uri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); - - // and let's look at the current response body and see if we have some information we can give back to the listener - var content = await _response.Content.ReadAsStringAsync(); - await waiting; - - // check for cancellation - if( eventListener.Token.IsCancellationRequested ) { return; } - - // drop the old response - _response?.Dispose(); - - // make the polling call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - - // if we got back an OK, take a peek inside and see if it's done - if( _response.StatusCode == global::System.Net.HttpStatusCode.OK) - { - var error = false; - try { - if( Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(await _response.Content.ReadAsStringAsync()) is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) - { - var state = json.Property("properties")?.PropertyT("provisioningState") ?? json.PropertyT("status"); - if( state is null ) - { - // the body doesn't contain any information that has the state of the LRO - // we're going to just get out, and let the consumer have the result - break; - } - - switch( state?.ToString()?.ToLower() ) - { - case "failed": - error = true; - break; - case "succeeded": - case "canceled": - // we're done polling. - break; - - default: - // need to keep polling! - _response.StatusCode = global::System.Net.HttpStatusCode.Created; - continue; - } - } - } catch { - // if we run into a problem peeking into the result, - // we really don't want to do anything special. - } - if (error) { - throw new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException(_response); - } - } - - // check for terminal status code - if (_response.StatusCode == global::System.Net.HttpStatusCode.Created || _response.StatusCode == global::System.Net.HttpStatusCode.Accepted ) - { - continue; - } - // we are done polling, do a request on final target? - // create a new request with the final uri - request = request.CloneAndDispose(new global::System.Uri(_finalUri), Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Method.Get); - - // drop the old response - _response?.Dispose(); - - // make the final call - _response = await sender.SendAsync(request, eventListener); - await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Polling, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - break; - } var _contentType = _response.Content.Headers.ContentType?.MediaType; switch ( _response.StatusCode ) { - case global::System.Net.HttpStatusCode.NoContent: + case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onNoContent(_response); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPointResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -8740,17 +9883,20 @@ public partial class DataProtection } /// - /// Validation method for method. Call this like the actual call, but you will get validation - /// events back. + /// Validation method for method. Call this like the actual call, but you + /// will get validation events back. /// /// The ID of the target subscription. The value must be an UUID. /// The name of the resource group. The name is case insensitive. - /// The name of the backup vault. + /// The name of the Azure region. + /// OData filter options. + /// skipToken Filter. + /// Request body for operation /// an instance that will receive events. /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ExportJobsTrigger_Validate(string subscriptionId, string resourceGroupName, string vaultName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task FetchSecondaryRecoveryPointsList_Validate(string subscriptionId, string resourceGroupName, string location, string Filter, string SkipToken, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -8759,7 +9905,12 @@ public partial class DataProtection await eventListener.AssertNotNull(nameof(resourceGroupName),resourceGroupName); await eventListener.AssertMinimumLength(nameof(resourceGroupName),resourceGroupName,1); await eventListener.AssertMaximumLength(nameof(resourceGroupName),resourceGroupName,90); - await eventListener.AssertNotNull(nameof(vaultName),vaultName); + await eventListener.AssertNotNull(nameof(location),location); + await eventListener.AssertMinimumLength(nameof(location),location,1); + await eventListener.AssertNotNull(nameof(Filter),Filter); + await eventListener.AssertNotNull(nameof(SkipToken),SkipToken); + await eventListener.AssertNotNull(nameof(body), body); + await eventListener.AssertObjectIsValid(nameof(body), body); } } @@ -8776,9 +9927,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobsGet(string subscriptionId, string resourceGroupName, string vaultName, string jobId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobsGet(string subscriptionId, string resourceGroupName, string vaultName, string jobId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8819,9 +9970,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8875,7 +10026,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task JobsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task JobsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -8893,13 +10044,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupJobResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJobResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -8952,9 +10103,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobsList(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobsList(string subscriptionId, string resourceGroupName, string vaultName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -8994,9 +10145,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9048,7 +10199,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task JobsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task JobsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -9066,13 +10217,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupJobResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJobResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -9124,9 +10275,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task OperationResultGet(string subscriptionId, string operationId, string location, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task OperationResultGet(string subscriptionId, string operationId, string location, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9166,9 +10317,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task OperationResultGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task OperationResultGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9220,7 +10371,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task OperationResultGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task OperationResultGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func onAccepted, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -9238,7 +10389,7 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationJobExtendedInfo.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationJobExtendedInfo.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } case global::System.Net.HttpStatusCode.Accepted: @@ -9250,7 +10401,7 @@ public partial class DataProtection default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -9300,9 +10451,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task OperationStatusBackupVaultContextGet(string subscriptionId, string resourceGroupName, string vaultName, string operationId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task OperationStatusBackupVaultContextGet(string subscriptionId, string resourceGroupName, string vaultName, string operationId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9343,9 +10494,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task OperationStatusBackupVaultContextGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task OperationStatusBackupVaultContextGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9401,7 +10552,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task OperationStatusBackupVaultContextGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task OperationStatusBackupVaultContextGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -9419,13 +10570,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -9478,9 +10629,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task OperationStatusGet(string subscriptionId, string location, string operationId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task OperationStatusGet(string subscriptionId, string location, string operationId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9519,9 +10670,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task OperationStatusGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task OperationStatusGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9572,7 +10723,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task OperationStatusGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task OperationStatusGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -9590,13 +10741,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -9645,9 +10796,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task OperationStatusResourceGroupContextGet(string resourceGroupName, string subscriptionId, string operationId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task OperationStatusResourceGroupContextGet(string resourceGroupName, string subscriptionId, string operationId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9686,9 +10837,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task OperationStatusResourceGroupContextGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task OperationStatusResourceGroupContextGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9741,7 +10892,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task OperationStatusResourceGroupContextGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task OperationStatusResourceGroupContextGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -9759,13 +10910,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -9818,9 +10969,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task RecoveryPointsGet(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, string recoveryPointId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task RecoveryPointsGet(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, string recoveryPointId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9863,9 +11014,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task RecoveryPointsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task RecoveryPointsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -9922,7 +11073,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task RecoveryPointsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task RecoveryPointsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -9940,13 +11091,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPointResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPointResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -10004,9 +11155,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task RecoveryPointsList(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, string Filter, string SkipToken, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task RecoveryPointsList(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, string Filter, string SkipToken, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10054,9 +11205,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task RecoveryPointsListViaIdentity(global::System.String viaIdentity, string Filter, string SkipToken, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task RecoveryPointsListViaIdentity(global::System.String viaIdentity, string Filter, string SkipToken, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10115,7 +11266,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task RecoveryPointsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task RecoveryPointsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -10133,13 +11284,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPointResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPointResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -10197,9 +11348,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsDelete(string resourceGroupName, string subscriptionId, string resourceGuardsName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsDelete(string resourceGroupName, string subscriptionId, string resourceGuardsName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10239,9 +11390,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10293,7 +11444,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsDelete_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -10323,7 +11474,7 @@ public partial class DataProtection default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -10374,9 +11525,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGet(string resourceGroupName, string subscriptionId, string resourceGuardsName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGet(string resourceGroupName, string subscriptionId, string resourceGuardsName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10419,9 +11570,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetBackupSecurityPinRequestsObjects(string resourceGroupName, string subscriptionId, string resourceGuardsName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetBackupSecurityPinRequestsObjects(string resourceGroupName, string subscriptionId, string resourceGuardsName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10463,9 +11614,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetBackupSecurityPinRequestsObjectsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetBackupSecurityPinRequestsObjectsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10519,7 +11670,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsGetBackupSecurityPinRequestsObjects_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsGetBackupSecurityPinRequestsObjects_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -10537,13 +11688,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -10597,9 +11748,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultBackupSecurityPinRequestsObject(string resourceGroupName, string subscriptionId, string resourceGuardsName, string requestName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultBackupSecurityPinRequestsObject(string resourceGroupName, string subscriptionId, string resourceGuardsName, string requestName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10642,9 +11793,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultBackupSecurityPinRequestsObjectViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultBackupSecurityPinRequestsObjectViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10700,7 +11851,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultBackupSecurityPinRequestsObject_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultBackupSecurityPinRequestsObject_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -10718,13 +11869,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -10780,9 +11931,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDeleteProtectedItemRequestsObject(string resourceGroupName, string subscriptionId, string resourceGuardsName, string requestName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDeleteProtectedItemRequestsObject(string resourceGroupName, string subscriptionId, string resourceGuardsName, string requestName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10825,9 +11976,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDeleteProtectedItemRequestsObjectViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDeleteProtectedItemRequestsObjectViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -10883,7 +12034,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDeleteProtectedItemRequestsObject_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDeleteProtectedItemRequestsObject_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -10901,13 +12052,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -10963,9 +12114,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObject(string resourceGroupName, string subscriptionId, string resourceGuardsName, string requestName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObject(string resourceGroupName, string subscriptionId, string resourceGuardsName, string requestName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11008,9 +12159,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObjectViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11066,7 +12217,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObject_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDeleteResourceGuardProxyRequestsObject_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -11084,13 +12235,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -11146,9 +12297,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDisableSoftDeleteRequestsObject(string resourceGroupName, string subscriptionId, string resourceGuardsName, string requestName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDisableSoftDeleteRequestsObject(string resourceGroupName, string subscriptionId, string resourceGuardsName, string requestName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11191,9 +12342,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDisableSoftDeleteRequestsObjectViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDisableSoftDeleteRequestsObjectViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11249,7 +12400,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDisableSoftDeleteRequestsObject_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultDisableSoftDeleteRequestsObject_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -11267,13 +12418,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -11329,9 +12480,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultUpdateProtectedItemRequestsObject(string resourceGroupName, string subscriptionId, string resourceGuardsName, string requestName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultUpdateProtectedItemRequestsObject(string resourceGroupName, string subscriptionId, string resourceGuardsName, string requestName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11374,9 +12525,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultUpdateProtectedItemRequestsObjectViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultUpdateProtectedItemRequestsObjectViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11432,7 +12583,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultUpdateProtectedItemRequestsObject_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultUpdateProtectedItemRequestsObject_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -11450,13 +12601,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -11512,9 +12663,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultUpdateProtectionPolicyRequestsObject(string resourceGroupName, string subscriptionId, string resourceGuardsName, string requestName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultUpdateProtectionPolicyRequestsObject(string resourceGroupName, string subscriptionId, string resourceGuardsName, string requestName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11557,9 +12708,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultUpdateProtectionPolicyRequestsObjectViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11615,7 +12766,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultUpdateProtectionPolicyRequestsObject_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsGetDefaultUpdateProtectionPolicyRequestsObject_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -11633,13 +12784,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -11694,9 +12845,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDeleteProtectedItemRequestsObjects(string resourceGroupName, string subscriptionId, string resourceGuardsName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDeleteProtectedItemRequestsObjects(string resourceGroupName, string subscriptionId, string resourceGuardsName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11738,9 +12889,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDeleteProtectedItemRequestsObjectsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDeleteProtectedItemRequestsObjectsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11794,7 +12945,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsGetDeleteProtectedItemRequestsObjects_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsGetDeleteProtectedItemRequestsObjects_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -11812,13 +12963,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -11871,9 +13022,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDeleteResourceGuardProxyRequestsObjects(string resourceGroupName, string subscriptionId, string resourceGuardsName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDeleteResourceGuardProxyRequestsObjects(string resourceGroupName, string subscriptionId, string resourceGuardsName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11915,9 +13066,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDeleteResourceGuardProxyRequestsObjectsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -11971,7 +13122,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsGetDeleteResourceGuardProxyRequestsObjects_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsGetDeleteResourceGuardProxyRequestsObjects_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -11989,13 +13140,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -12048,9 +13199,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDisableSoftDeleteRequestsObjects(string resourceGroupName, string subscriptionId, string resourceGuardsName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDisableSoftDeleteRequestsObjects(string resourceGroupName, string subscriptionId, string resourceGuardsName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12092,9 +13243,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetDisableSoftDeleteRequestsObjectsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetDisableSoftDeleteRequestsObjectsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12148,7 +13299,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsGetDisableSoftDeleteRequestsObjects_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsGetDisableSoftDeleteRequestsObjects_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -12166,13 +13317,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -12222,9 +13373,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetResourcesInResourceGroup(string subscriptionId, string resourceGroupName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetResourcesInResourceGroup(string subscriptionId, string resourceGroupName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12262,9 +13413,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetResourcesInResourceGroupViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetResourcesInResourceGroupViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12315,7 +13466,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsGetResourcesInResourceGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsGetResourcesInResourceGroup_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -12333,13 +13484,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -12386,9 +13537,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetResourcesInSubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetResourcesInSubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12424,9 +13575,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetResourcesInSubscriptionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetResourcesInSubscriptionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12474,7 +13625,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsGetResourcesInSubscription_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsGetResourcesInSubscription_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -12492,13 +13643,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -12545,9 +13696,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetUpdateProtectedItemRequestsObjects(string resourceGroupName, string subscriptionId, string resourceGuardsName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetUpdateProtectedItemRequestsObjects(string resourceGroupName, string subscriptionId, string resourceGuardsName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12589,9 +13740,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetUpdateProtectedItemRequestsObjectsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetUpdateProtectedItemRequestsObjectsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12645,7 +13796,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsGetUpdateProtectedItemRequestsObjects_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsGetUpdateProtectedItemRequestsObjects_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -12663,13 +13814,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -12722,9 +13873,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetUpdateProtectionPolicyRequestsObjects(string resourceGroupName, string subscriptionId, string resourceGuardsName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetUpdateProtectionPolicyRequestsObjects(string resourceGroupName, string subscriptionId, string resourceGuardsName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12766,9 +13917,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetUpdateProtectionPolicyRequestsObjectsViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12822,7 +13973,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsGetUpdateProtectionPolicyRequestsObjects_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsGetUpdateProtectionPolicyRequestsObjects_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -12840,13 +13991,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResourceList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -12895,9 +14046,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -12948,7 +14099,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -12966,13 +14117,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -13026,9 +14177,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsPatch(string resourceGroupName, string subscriptionId, string resourceGuardsName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInput body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsPatch(string resourceGroupName, string subscriptionId, string resourceGuardsName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInput body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13074,9 +14225,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsPatchViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInput body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsPatchViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInput body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13131,7 +14282,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsPatch_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsPatch_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -13149,13 +14300,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -13182,7 +14333,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsPatch_Validate(string resourceGroupName, string subscriptionId, string resourceGuardsName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInput body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ResourceGuardsPatch_Validate(string resourceGroupName, string subscriptionId, string resourceGuardsName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInput body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -13211,9 +14362,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsPut(string resourceGroupName, string subscriptionId, string resourceGuardsName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsPut(string resourceGroupName, string subscriptionId, string resourceGuardsName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13258,9 +14409,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ResourceGuardsPutViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ResourceGuardsPutViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13316,7 +14467,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsPut_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ResourceGuardsPut_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onCreated, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -13334,19 +14485,19 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } case global::System.Net.HttpStatusCode.Created: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onCreated(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onCreated(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -13373,7 +14524,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ResourceGuardsPut_Validate(string resourceGroupName, string subscriptionId, string resourceGuardsName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ResourceGuardsPut_Validate(string resourceGroupName, string subscriptionId, string resourceGuardsName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -13402,9 +14553,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task RestorableTimeRangesFind(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task RestorableTimeRangesFind(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13451,9 +14602,9 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task RestorableTimeRangesFindViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task RestorableTimeRangesFindViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { - var apiVersion = @"2023-05-01"; + var apiVersion = @"2023-11-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -13512,7 +14663,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task RestorableTimeRangesFind_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task RestorableTimeRangesFind_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -13530,13 +14681,13 @@ public partial class DataProtection case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesResponseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesResponseResource.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onDefault(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CloudError.FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } } @@ -13564,7 +14715,7 @@ public partial class DataProtection /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task RestorableTimeRangesFind_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task RestorableTimeRangesFind_Validate(string subscriptionId, string resourceGroupName, string vaultName, string backupInstanceName, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest body, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AbsoluteDeleteOption.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AbsoluteDeleteOption.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AbsoluteDeleteOption.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AbsoluteDeleteOption.PowerShell.cs index 945daa6e5e58..160214b75674 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AbsoluteDeleteOption.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AbsoluteDeleteOption.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AbsoluteDeleteOption partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal AbsoluteDeleteOption(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Duration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,39 +95,39 @@ internal AbsoluteDeleteOption(global::System.Management.Automation.PSObject cont // actually deserialize if (content.Contains("Duration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAbsoluteDeleteOption DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAbsoluteDeleteOption DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AbsoluteDeleteOption(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAbsoluteDeleteOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAbsoluteDeleteOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AbsoluteDeleteOption(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAbsoluteDeleteOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAbsoluteDeleteOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AbsoluteDeleteOption.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AbsoluteDeleteOption.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AbsoluteDeleteOption.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AbsoluteDeleteOption.TypeConverter.cs index 89105699e4ac..ba842e28d3cf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AbsoluteDeleteOption.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AbsoluteDeleteOption.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAbsoluteDeleteOption ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAbsoluteDeleteOption ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAbsoluteDeleteOption).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAbsoluteDeleteOption).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AbsoluteDeleteOption.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AbsoluteDeleteOption.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AbsoluteDeleteOption.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AbsoluteDeleteOption.cs index c412d976c558..2be40e54082a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AbsoluteDeleteOption.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AbsoluteDeleteOption.cs @@ -3,29 +3,29 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Delete option with duration public partial class AbsoluteDeleteOption : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAbsoluteDeleteOption, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAbsoluteDeleteOptionInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAbsoluteDeleteOption, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAbsoluteDeleteOptionInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption __deleteOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeleteOption(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption __deleteOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeleteOption(); /// Duration of deletion after given timespan [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Duration { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)__deleteOption).Duration; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)__deleteOption).Duration = value ; } + public string Duration { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)__deleteOption).Duration; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)__deleteOption).Duration = value ; } /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)__deleteOption).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)__deleteOption).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)__deleteOption).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)__deleteOption).ObjectType = value ; } /// Creates an new instance. public AbsoluteDeleteOption() @@ -48,13 +48,13 @@ public AbsoluteDeleteOption() /// Delete option with duration public partial interface IAbsoluteDeleteOption : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption { } /// Delete option with duration internal partial interface IAbsoluteDeleteOptionInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal { } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AbsoluteDeleteOption.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AbsoluteDeleteOption.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AbsoluteDeleteOption.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AbsoluteDeleteOption.json.cs index d50bf442a703..7046e5c249ce 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AbsoluteDeleteOption.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AbsoluteDeleteOption.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,18 +65,18 @@ internal AbsoluteDeleteOption(Microsoft.Azure.PowerShell.Cmdlets.DataProtection. { return; } - __deleteOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeleteOption(json); + __deleteOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeleteOption(json); AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAbsoluteDeleteOption. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAbsoluteDeleteOption. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAbsoluteDeleteOption. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAbsoluteDeleteOption. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAbsoluteDeleteOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAbsoluteDeleteOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AbsoluteDeleteOption(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdHocBackupRuleOptions.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdHocBackupRuleOptions.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdHocBackupRuleOptions.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdHocBackupRuleOptions.PowerShell.cs index 421a6aeac0bb..f7e8f483c11c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdHocBackupRuleOptions.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdHocBackupRuleOptions.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AdHocBackupRuleOptions partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,21 +70,21 @@ internal AdHocBackupRuleOptions(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("TriggerOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)this).TriggerOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption) content.GetValueForProperty("TriggerOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)this).TriggerOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdhocBackupTriggerOptionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)this).TriggerOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption) content.GetValueForProperty("TriggerOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)this).TriggerOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdhocBackupTriggerOptionTypeConverter.ConvertFrom); } if (content.Contains("RuleName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)this).RuleName = (string) content.GetValueForProperty("RuleName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)this).RuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)this).RuleName = (string) content.GetValueForProperty("RuleName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)this).RuleName, global::System.Convert.ToString); } if (content.Contains("TriggerOptionRetentionTagOverride")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)this).TriggerOptionRetentionTagOverride = (string) content.GetValueForProperty("TriggerOptionRetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)this).TriggerOptionRetentionTagOverride, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)this).TriggerOptionRetentionTagOverride = (string) content.GetValueForProperty("TriggerOptionRetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)this).TriggerOptionRetentionTagOverride, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -99,43 +99,43 @@ internal AdHocBackupRuleOptions(global::System.Management.Automation.PSObject co // actually deserialize if (content.Contains("TriggerOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)this).TriggerOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption) content.GetValueForProperty("TriggerOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)this).TriggerOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdhocBackupTriggerOptionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)this).TriggerOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption) content.GetValueForProperty("TriggerOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)this).TriggerOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdhocBackupTriggerOptionTypeConverter.ConvertFrom); } if (content.Contains("RuleName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)this).RuleName = (string) content.GetValueForProperty("RuleName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)this).RuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)this).RuleName = (string) content.GetValueForProperty("RuleName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)this).RuleName, global::System.Convert.ToString); } if (content.Contains("TriggerOptionRetentionTagOverride")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)this).TriggerOptionRetentionTagOverride = (string) content.GetValueForProperty("TriggerOptionRetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)this).TriggerOptionRetentionTagOverride, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)this).TriggerOptionRetentionTagOverride = (string) content.GetValueForProperty("TriggerOptionRetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)this).TriggerOptionRetentionTagOverride, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptions DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptions DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AdHocBackupRuleOptions(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptions DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptions DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AdHocBackupRuleOptions(content); } @@ -145,7 +145,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptions FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptions FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdHocBackupRuleOptions.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdHocBackupRuleOptions.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdHocBackupRuleOptions.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdHocBackupRuleOptions.TypeConverter.cs index c6f0a242e720..aef2c5f5c91d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdHocBackupRuleOptions.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdHocBackupRuleOptions.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptions ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptions ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptions).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptions).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdHocBackupRuleOptions.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdHocBackupRuleOptions.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdHocBackupRuleOptions.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdHocBackupRuleOptions.cs index 62ef52a303f5..909d676ab265 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdHocBackupRuleOptions.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdHocBackupRuleOptions.cs @@ -3,18 +3,18 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Adhoc backup rules public partial class AdHocBackupRuleOptions : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptions, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptions, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal { /// Internal Acessors for TriggerOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal.TriggerOption { get => (this._triggerOption = this._triggerOption ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdhocBackupTriggerOption()); set { {_triggerOption = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal.TriggerOption { get => (this._triggerOption = this._triggerOption ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdhocBackupTriggerOption()); set { {_triggerOption = value;} } } /// Backing field for property. private string _ruleName; @@ -23,14 +23,14 @@ public partial class AdHocBackupRuleOptions : public string RuleName { get => this._ruleName; set => this._ruleName = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption _triggerOption; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption _triggerOption; /// Adhoc backup trigger option [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption TriggerOption { get => (this._triggerOption = this._triggerOption ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdhocBackupTriggerOption()); set => this._triggerOption = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption TriggerOption { get => (this._triggerOption = this._triggerOption ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdhocBackupTriggerOption()); set => this._triggerOption = value; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string TriggerOptionRetentionTagOverride { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOptionInternal)TriggerOption).RetentionTagOverride; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOptionInternal)TriggerOption).RetentionTagOverride = value ?? null; } + public string TriggerOptionRetentionTagOverride { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOptionInternal)TriggerOption).RetentionTagOverride; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOptionInternal)TriggerOption).RetentionTagOverride = value ?? null; } /// Creates an new instance. public AdHocBackupRuleOptions() @@ -65,7 +65,7 @@ internal partial interface IAdHocBackupRuleOptionsInternal { string RuleName { get; set; } /// Adhoc backup trigger option - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption TriggerOption { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption TriggerOption { get; set; } string TriggerOptionRetentionTagOverride { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdHocBackupRuleOptions.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdHocBackupRuleOptions.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdHocBackupRuleOptions.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdHocBackupRuleOptions.json.cs index 26c34dce18aa..a59f2eb7a127 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdHocBackupRuleOptions.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdHocBackupRuleOptions.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal AdHocBackupRuleOptions(Microsoft.Azure.PowerShell.Cmdlets.DataProtectio { return; } - {_triggerOption = If( json?.PropertyT("triggerOption"), out var __jsonTriggerOption) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdhocBackupTriggerOption.FromJson(__jsonTriggerOption) : TriggerOption;} + {_triggerOption = If( json?.PropertyT("triggerOption"), out var __jsonTriggerOption) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdhocBackupTriggerOption.FromJson(__jsonTriggerOption) : TriggerOption;} {_ruleName = If( json?.PropertyT("ruleName"), out var __jsonRuleName) ? (string)__jsonRuleName : (string)RuleName;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptions. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptions. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptions. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptions. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptions FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptions FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AdHocBackupRuleOptions(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBackupTriggerOption.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBackupTriggerOption.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBackupTriggerOption.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBackupTriggerOption.PowerShell.cs index 001c8007dc57..06b9c9d7254f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBackupTriggerOption.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBackupTriggerOption.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AdhocBackupTriggerOption partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,13 +70,13 @@ internal AdhocBackupTriggerOption(global::System.Collections.IDictionary content // actually deserialize if (content.Contains("RetentionTagOverride")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOptionInternal)this).RetentionTagOverride = (string) content.GetValueForProperty("RetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOptionInternal)this).RetentionTagOverride, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOptionInternal)this).RetentionTagOverride = (string) content.GetValueForProperty("RetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOptionInternal)this).RetentionTagOverride, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -91,35 +91,35 @@ internal AdhocBackupTriggerOption(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("RetentionTagOverride")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOptionInternal)this).RetentionTagOverride = (string) content.GetValueForProperty("RetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOptionInternal)this).RetentionTagOverride, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOptionInternal)this).RetentionTagOverride = (string) content.GetValueForProperty("RetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOptionInternal)this).RetentionTagOverride, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AdhocBackupTriggerOption(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AdhocBackupTriggerOption(content); } @@ -129,7 +129,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBackupTriggerOption.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBackupTriggerOption.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBackupTriggerOption.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBackupTriggerOption.TypeConverter.cs index 8773d16a7003..0eeeff4880ca 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBackupTriggerOption.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBackupTriggerOption.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBackupTriggerOption.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBackupTriggerOption.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBackupTriggerOption.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBackupTriggerOption.cs index a538fc2078de..70c694b07f81 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBackupTriggerOption.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBackupTriggerOption.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Adhoc backup trigger option public partial class AdhocBackupTriggerOption : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOptionInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOptionInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBackupTriggerOption.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBackupTriggerOption.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBackupTriggerOption.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBackupTriggerOption.json.cs index 6385a2c0cb96..ce2cd0f28c59 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBackupTriggerOption.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBackupTriggerOption.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,13 +70,13 @@ internal AdhocBackupTriggerOption(Microsoft.Azure.PowerShell.Cmdlets.DataProtect } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AdhocBackupTriggerOption(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTaggingCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTaggingCriteria.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTaggingCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTaggingCriteria.PowerShell.cs index a8ebb4f27a9a..583aa5112bb8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTaggingCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTaggingCriteria.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AdhocBasedTaggingCriteria partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,25 +70,25 @@ internal AdhocBasedTaggingCriteria(global::System.Collections.IDictionary conten // actually deserialize if (content.Contains("TagInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)this).TagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag) content.GetValueForProperty("TagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)this).TagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RetentionTagTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)this).TagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag) content.GetValueForProperty("TagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)this).TagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RetentionTagTypeConverter.ConvertFrom); } if (content.Contains("TagInfoETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)this).TagInfoETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)this).TagInfoETag, global::System.Convert.ToString); } if (content.Contains("TagInfoId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)this).TagInfoId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)this).TagInfoId, global::System.Convert.ToString); } if (content.Contains("TagInfoTagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)this).TagInfoTagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)this).TagInfoTagName, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -103,47 +103,47 @@ internal AdhocBasedTaggingCriteria(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("TagInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)this).TagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag) content.GetValueForProperty("TagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)this).TagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RetentionTagTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)this).TagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag) content.GetValueForProperty("TagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)this).TagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RetentionTagTypeConverter.ConvertFrom); } if (content.Contains("TagInfoETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)this).TagInfoETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)this).TagInfoETag, global::System.Convert.ToString); } if (content.Contains("TagInfoId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)this).TagInfoId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)this).TagInfoId, global::System.Convert.ToString); } if (content.Contains("TagInfoTagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)this).TagInfoTagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)this).TagInfoTagName, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AdhocBasedTaggingCriteria(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AdhocBasedTaggingCriteria(content); } @@ -153,7 +153,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTaggingCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTaggingCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTaggingCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTaggingCriteria.TypeConverter.cs index c4c907a8dfb2..df6e65d47c78 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTaggingCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTaggingCriteria.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTaggingCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTaggingCriteria.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTaggingCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTaggingCriteria.cs index fdfab7d4ef2d..8ef5ec372783 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTaggingCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTaggingCriteria.cs @@ -3,43 +3,43 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Adhoc backup tagging criteria public partial class AdhocBasedTaggingCriteria : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal { /// Internal Acessors for TagInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal.TagInfo { get => (this._tagInfo = this._tagInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RetentionTag()); set { {_tagInfo = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal.TagInfo { get => (this._tagInfo = this._tagInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RetentionTag()); set { {_tagInfo = value;} } } /// Internal Acessors for TagInfoETag - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal.TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)TagInfo).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)TagInfo).ETag = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal.TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)TagInfo).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)TagInfo).ETag = value; } /// Internal Acessors for TagInfoId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal.TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)TagInfo).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)TagInfo).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal.TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)TagInfo).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)TagInfo).Id = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag _tagInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag _tagInfo; /// Retention tag information [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag TagInfo { get => (this._tagInfo = this._tagInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RetentionTag()); set => this._tagInfo = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag TagInfo { get => (this._tagInfo = this._tagInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RetentionTag()); set => this._tagInfo = value; } /// Retention Tag version. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)TagInfo).ETag; } + public string TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)TagInfo).ETag; } /// Retention Tag version. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)TagInfo).Id; } + public string TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)TagInfo).Id; } /// Retention Tag Name to relate it to retention rule. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string TagInfoTagName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)TagInfo).TagName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)TagInfo).TagName = value ?? null; } + public string TagInfoTagName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)TagInfo).TagName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)TagInfo).TagName = value ?? null; } /// Creates an new instance. public AdhocBasedTaggingCriteria() @@ -82,7 +82,7 @@ internal partial interface IAdhocBasedTaggingCriteriaInternal { /// Retention tag information - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag TagInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag TagInfo { get; set; } /// Retention Tag version. string TagInfoETag { get; set; } /// Retention Tag version. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTaggingCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTaggingCriteria.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTaggingCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTaggingCriteria.json.cs index 75eae72f0672..7fd049551d6e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTaggingCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTaggingCriteria.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,18 +65,18 @@ internal AdhocBasedTaggingCriteria(Microsoft.Azure.PowerShell.Cmdlets.DataProtec { return; } - {_tagInfo = If( json?.PropertyT("tagInfo"), out var __jsonTagInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RetentionTag.FromJson(__jsonTagInfo) : TagInfo;} + {_tagInfo = If( json?.PropertyT("tagInfo"), out var __jsonTagInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RetentionTag.FromJson(__jsonTagInfo) : TagInfo;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteria. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteria. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AdhocBasedTaggingCriteria(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTriggerContext.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTriggerContext.PowerShell.cs similarity index 80% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTriggerContext.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTriggerContext.PowerShell.cs index 25207d1d8222..fc9cfab1a9fc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTriggerContext.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTriggerContext.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AdhocBasedTriggerContext partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,33 +70,33 @@ internal AdhocBasedTriggerContext(global::System.Collections.IDictionary content // actually deserialize if (content.Contains("TaggingCriterion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TaggingCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteria) content.GetValueForProperty("TaggingCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TaggingCriterion, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdhocBasedTaggingCriteriaTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TaggingCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteria) content.GetValueForProperty("TaggingCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TaggingCriterion, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdhocBasedTaggingCriteriaTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("TaggingCriterionTagInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TaggingCriterionTagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag) content.GetValueForProperty("TaggingCriterionTagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TaggingCriterionTagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RetentionTagTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TaggingCriterionTagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag) content.GetValueForProperty("TaggingCriterionTagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TaggingCriterionTagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RetentionTagTypeConverter.ConvertFrom); } if (content.Contains("TagInfoETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TagInfoETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TagInfoETag, global::System.Convert.ToString); } if (content.Contains("TagInfoId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TagInfoId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TagInfoId, global::System.Convert.ToString); } if (content.Contains("TagInfoTagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TagInfoTagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TagInfoTagName, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -111,55 +111,55 @@ internal AdhocBasedTriggerContext(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("TaggingCriterion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TaggingCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteria) content.GetValueForProperty("TaggingCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TaggingCriterion, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdhocBasedTaggingCriteriaTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TaggingCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteria) content.GetValueForProperty("TaggingCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TaggingCriterion, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdhocBasedTaggingCriteriaTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("TaggingCriterionTagInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TaggingCriterionTagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag) content.GetValueForProperty("TaggingCriterionTagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TaggingCriterionTagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RetentionTagTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TaggingCriterionTagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag) content.GetValueForProperty("TaggingCriterionTagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TaggingCriterionTagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RetentionTagTypeConverter.ConvertFrom); } if (content.Contains("TagInfoETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TagInfoETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TagInfoETag, global::System.Convert.ToString); } if (content.Contains("TagInfoId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TagInfoId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TagInfoId, global::System.Convert.ToString); } if (content.Contains("TagInfoTagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal)this).TagInfoTagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal)this).TagInfoTagName, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContext DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContext DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AdhocBasedTriggerContext(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContext DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContext DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AdhocBasedTriggerContext(content); } @@ -169,7 +169,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContext FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContext FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTriggerContext.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTriggerContext.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTriggerContext.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTriggerContext.TypeConverter.cs index f96a13a9cc1f..58abf214856a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTriggerContext.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTriggerContext.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContext ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContext ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContext).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContext).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTriggerContext.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTriggerContext.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTriggerContext.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTriggerContext.cs index c35a878b74f9..1674184a39f6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTriggerContext.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTriggerContext.cs @@ -3,56 +3,56 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Adhoc trigger context public partial class AdhocBasedTriggerContext : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContext, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContext, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext __triggerContext = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TriggerContext(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext __triggerContext = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TriggerContext(); /// Internal Acessors for TagInfoETag - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal.TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoETag = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal.TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoETag = value; } /// Internal Acessors for TagInfoId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal.TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal.TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoId = value; } /// Internal Acessors for TaggingCriterion - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteria Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal.TaggingCriterion { get => (this._taggingCriterion = this._taggingCriterion ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdhocBasedTaggingCriteria()); set { {_taggingCriterion = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteria Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal.TaggingCriterion { get => (this._taggingCriterion = this._taggingCriterion ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdhocBasedTaggingCriteria()); set { {_taggingCriterion = value;} } } /// Internal Acessors for TaggingCriterionTagInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContextInternal.TaggingCriterionTagInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfo = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContextInternal.TaggingCriterionTagInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfo = value; } /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)__triggerContext).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)__triggerContext).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)__triggerContext).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)__triggerContext).ObjectType = value ; } /// Retention Tag version. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoETag; } + public string TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoETag; } /// Retention Tag version. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoId; } + public string TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoId; } /// Retention Tag Name to relate it to retention rule. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string TagInfoTagName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoTagName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoTagName = value ?? null; } + public string TagInfoTagName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoTagName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteriaInternal)TaggingCriterion).TagInfoTagName = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteria _taggingCriterion; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteria _taggingCriterion; /// Tagging Criteria containing retention tag for adhoc backup. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteria TaggingCriterion { get => (this._taggingCriterion = this._taggingCriterion ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdhocBasedTaggingCriteria()); set => this._taggingCriterion = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteria TaggingCriterion { get => (this._taggingCriterion = this._taggingCriterion ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdhocBasedTaggingCriteria()); set => this._taggingCriterion = value; } /// Creates an new instance. public AdhocBasedTriggerContext() @@ -75,7 +75,7 @@ public AdhocBasedTriggerContext() /// Adhoc trigger context public partial interface IAdhocBasedTriggerContext : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext { /// Retention Tag version. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -105,7 +105,7 @@ public partial interface IAdhocBasedTriggerContext : } /// Adhoc trigger context internal partial interface IAdhocBasedTriggerContextInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal { /// Retention Tag version. string TagInfoETag { get; set; } @@ -114,9 +114,9 @@ internal partial interface IAdhocBasedTriggerContextInternal : /// Retention Tag Name to relate it to retention rule. string TagInfoTagName { get; set; } /// Tagging Criteria containing retention tag for adhoc backup. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTaggingCriteria TaggingCriterion { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTaggingCriteria TaggingCriterion { get; set; } /// Retention tag information - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag TaggingCriterionTagInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag TaggingCriterionTagInfo { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTriggerContext.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTriggerContext.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTriggerContext.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTriggerContext.json.cs index 012d7ae2e665..8fd65c68532d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AdhocBasedTriggerContext.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AdhocBasedTriggerContext.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal AdhocBasedTriggerContext(Microsoft.Azure.PowerShell.Cmdlets.DataProtect { return; } - __triggerContext = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TriggerContext(json); - {_taggingCriterion = If( json?.PropertyT("taggingCriteria"), out var __jsonTaggingCriteria) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdhocBasedTaggingCriteria.FromJson(__jsonTaggingCriteria) : TaggingCriterion;} + __triggerContext = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TriggerContext(json); + {_taggingCriterion = If( json?.PropertyT("taggingCriteria"), out var __jsonTaggingCriteria) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdhocBasedTaggingCriteria.FromJson(__jsonTaggingCriteria) : TaggingCriterion;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContext. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContext. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContext. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContext. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBasedTriggerContext FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBasedTriggerContext FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AdhocBasedTriggerContext(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AuthCredentials.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AuthCredentials.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AuthCredentials.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AuthCredentials.PowerShell.cs index 5eefa47ba8c0..5275462275c6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AuthCredentials.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AuthCredentials.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AuthCredentials partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,13 +70,13 @@ internal AuthCredentials(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentialsInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentialsInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentialsInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentialsInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -91,33 +91,33 @@ internal AuthCredentials(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentialsInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentialsInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentialsInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentialsInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AuthCredentials(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AuthCredentials(content); } @@ -127,7 +127,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AuthCredentials.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AuthCredentials.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AuthCredentials.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AuthCredentials.TypeConverter.cs index d23825be6989..38d8b238771c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AuthCredentials.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AuthCredentials.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AuthCredentials.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AuthCredentials.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AuthCredentials.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AuthCredentials.cs index a8dc8651072c..915ae42d8855 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AuthCredentials.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AuthCredentials.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Base class for different types of authentication credentials. public partial class AuthCredentials : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentialsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentialsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AuthCredentials.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AuthCredentials.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AuthCredentials.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AuthCredentials.json.cs index ed4a66e93302..954b138b8846 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AuthCredentials.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AuthCredentials.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,15 +70,15 @@ internal AuthCredentials(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runti } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials interface is polymorphic, /// and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupDiscreteRecoveryPoint.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupDiscreteRecoveryPoint.PowerShell.cs similarity index 75% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupDiscreteRecoveryPoint.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupDiscreteRecoveryPoint.PowerShell.cs index aeee50faa02b..358bb31e76ae 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupDiscreteRecoveryPoint.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupDiscreteRecoveryPoint.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupDiscreteRecoveryPoint partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,53 +70,57 @@ internal AzureBackupDiscreteRecoveryPoint(global::System.Collections.IDictionary // actually deserialize if (content.Contains("FriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).FriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).FriendlyName, global::System.Convert.ToString); } if (content.Contains("RecoveryPointDataStoresDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointDataStoresDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetails[]) content.GetValueForProperty("RecoveryPointDataStoresDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointDataStoresDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RecoveryPointDataStoreDetailsTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointDataStoresDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetails[]) content.GetValueForProperty("RecoveryPointDataStoresDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointDataStoresDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RecoveryPointDataStoreDetailsTypeConverter.ConvertFrom)); } if (content.Contains("RecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointTime = (global::System.DateTime) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointTime = (global::System.DateTime) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("PolicyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyName, global::System.Convert.ToString); } if (content.Contains("PolicyVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyVersion = (string) content.GetValueForProperty("PolicyVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyVersion = (string) content.GetValueForProperty("PolicyVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyVersion, global::System.Convert.ToString); } if (content.Contains("RecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointId, global::System.Convert.ToString); } if (content.Contains("RecoveryPointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointType = (string) content.GetValueForProperty("RecoveryPointType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointType = (string) content.GetValueForProperty("RecoveryPointType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointType, global::System.Convert.ToString); } if (content.Contains("RetentionTagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagName = (string) content.GetValueForProperty("RetentionTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagName = (string) content.GetValueForProperty("RetentionTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagName, global::System.Convert.ToString); } if (content.Contains("RetentionTagVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagVersion = (string) content.GetValueForProperty("RetentionTagVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagVersion = (string) content.GetValueForProperty("RetentionTagVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagVersion, global::System.Convert.ToString); } if (content.Contains("ExpiryTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).ExpiryTime = (global::System.DateTime?) content.GetValueForProperty("ExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).ExpiryTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).ExpiryTime = (global::System.DateTime?) content.GetValueForProperty("ExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).ExpiryTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("RecoveryPointState")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState?) content.GetValueForProperty("RecoveryPointState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState.CreateFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -131,75 +135,79 @@ internal AzureBackupDiscreteRecoveryPoint(global::System.Management.Automation.P // actually deserialize if (content.Contains("FriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).FriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).FriendlyName, global::System.Convert.ToString); } if (content.Contains("RecoveryPointDataStoresDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointDataStoresDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetails[]) content.GetValueForProperty("RecoveryPointDataStoresDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointDataStoresDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RecoveryPointDataStoreDetailsTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointDataStoresDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetails[]) content.GetValueForProperty("RecoveryPointDataStoresDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointDataStoresDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RecoveryPointDataStoreDetailsTypeConverter.ConvertFrom)); } if (content.Contains("RecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointTime = (global::System.DateTime) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointTime = (global::System.DateTime) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("PolicyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyName, global::System.Convert.ToString); } if (content.Contains("PolicyVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyVersion = (string) content.GetValueForProperty("PolicyVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyVersion = (string) content.GetValueForProperty("PolicyVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).PolicyVersion, global::System.Convert.ToString); } if (content.Contains("RecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointId, global::System.Convert.ToString); } if (content.Contains("RecoveryPointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointType = (string) content.GetValueForProperty("RecoveryPointType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointType = (string) content.GetValueForProperty("RecoveryPointType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointType, global::System.Convert.ToString); } if (content.Contains("RetentionTagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagName = (string) content.GetValueForProperty("RetentionTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagName = (string) content.GetValueForProperty("RetentionTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagName, global::System.Convert.ToString); } if (content.Contains("RetentionTagVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagVersion = (string) content.GetValueForProperty("RetentionTagVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagVersion = (string) content.GetValueForProperty("RetentionTagVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RetentionTagVersion, global::System.Convert.ToString); } if (content.Contains("ExpiryTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).ExpiryTime = (global::System.DateTime?) content.GetValueForProperty("ExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal)this).ExpiryTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).ExpiryTime = (global::System.DateTime?) content.GetValueForProperty("ExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).ExpiryTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + } + if (content.Contains("RecoveryPointState")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState?) content.GetValueForProperty("RecoveryPointState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal)this).RecoveryPointState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState.CreateFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPoint DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPoint DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupDiscreteRecoveryPoint(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPoint DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPoint DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupDiscreteRecoveryPoint(content); } @@ -209,7 +217,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPoint FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPoint FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupDiscreteRecoveryPoint.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupDiscreteRecoveryPoint.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupDiscreteRecoveryPoint.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupDiscreteRecoveryPoint.TypeConverter.cs index f92b10472fef..b3b2a17b7c53 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupDiscreteRecoveryPoint.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupDiscreteRecoveryPoint.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPoint ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPoint ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPoint).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPoint).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupDiscreteRecoveryPoint.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupDiscreteRecoveryPoint.cs similarity index 78% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupDiscreteRecoveryPoint.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupDiscreteRecoveryPoint.cs index fc6b347e3627..e1b4f0a9c7be 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupDiscreteRecoveryPoint.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupDiscreteRecoveryPoint.cs @@ -3,21 +3,21 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure backup discrete RecoveryPoint public partial class AzureBackupDiscreteRecoveryPoint : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPoint, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPoint, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint __azureBackupRecoveryPoint = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPoint(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint __azureBackupRecoveryPoint = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPoint(); /// Backing field for property. private global::System.DateTime? _expiryTime; @@ -32,10 +32,10 @@ public partial class AzureBackupDiscreteRecoveryPoint : public string FriendlyName { get => this._friendlyName; set => this._friendlyName = value; } /// Internal Acessors for ExpiryTime - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPointInternal.ExpiryTime { get => this._expiryTime; set { {_expiryTime = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPointInternal.ExpiryTime { get => this._expiryTime; set { {_expiryTime = value;} } } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointInternal)__azureBackupRecoveryPoint).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointInternal)__azureBackupRecoveryPoint).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointInternal)__azureBackupRecoveryPoint).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointInternal)__azureBackupRecoveryPoint).ObjectType = value ; } /// Backing field for property. private string _policyName; @@ -50,10 +50,10 @@ public partial class AzureBackupDiscreteRecoveryPoint : public string PolicyVersion { get => this._policyVersion; set => this._policyVersion = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetails[] _recoveryPointDataStoresDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetails[] _recoveryPointDataStoresDetail; [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetails[] RecoveryPointDataStoresDetail { get => this._recoveryPointDataStoresDetail; set => this._recoveryPointDataStoresDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetails[] RecoveryPointDataStoresDetail { get => this._recoveryPointDataStoresDetail; set => this._recoveryPointDataStoresDetail = value; } /// Backing field for property. private string _recoveryPointId; @@ -61,6 +61,16 @@ public partial class AzureBackupDiscreteRecoveryPoint : [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] public string RecoveryPointId { get => this._recoveryPointId; set => this._recoveryPointId = value; } + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState? _recoveryPointState; + + /// + /// Specifies recovery point completeness. Partial (i.e., only some of the intended items were backed up), or Completed (i.e., + /// ALL intended items were backed up). + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState? RecoveryPointState { get => this._recoveryPointState; set => this._recoveryPointState = value; } + /// Backing field for property. private global::System.DateTime _recoveryPointTime; @@ -106,7 +116,7 @@ public AzureBackupDiscreteRecoveryPoint() /// Azure backup discrete RecoveryPoint public partial interface IAzureBackupDiscreteRecoveryPoint : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint { [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -145,8 +155,8 @@ public partial interface IAzureBackupDiscreteRecoveryPoint : ReadOnly = false, Description = @"", SerializedName = @"recoveryPointDataStoresDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetails[] RecoveryPointDataStoresDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetails[] RecoveryPointDataStoresDetail { get; set; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -155,6 +165,17 @@ public partial interface IAzureBackupDiscreteRecoveryPoint : SerializedName = @"recoveryPointId", PossibleTypes = new [] { typeof(string) })] string RecoveryPointId { get; set; } + /// + /// Specifies recovery point completeness. Partial (i.e., only some of the intended items were backed up), or Completed (i.e., + /// ALL intended items were backed up). + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Specifies recovery point completeness. Partial (i.e., only some of the intended items were backed up), or Completed (i.e., ALL intended items were backed up).", + SerializedName = @"recoveryPointState", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState? RecoveryPointState { get; set; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = true, @@ -191,7 +212,7 @@ public partial interface IAzureBackupDiscreteRecoveryPoint : } /// Azure backup discrete RecoveryPoint internal partial interface IAzureBackupDiscreteRecoveryPointInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointInternal { global::System.DateTime? ExpiryTime { get; set; } @@ -201,9 +222,14 @@ internal partial interface IAzureBackupDiscreteRecoveryPointInternal : string PolicyVersion { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetails[] RecoveryPointDataStoresDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetails[] RecoveryPointDataStoresDetail { get; set; } string RecoveryPointId { get; set; } + /// + /// Specifies recovery point completeness. Partial (i.e., only some of the intended items were backed up), or Completed (i.e., + /// ALL intended items were backed up). + /// + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState? RecoveryPointState { get; set; } global::System.DateTime RecoveryPointTime { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupDiscreteRecoveryPoint.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupDiscreteRecoveryPoint.json.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupDiscreteRecoveryPoint.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupDiscreteRecoveryPoint.json.cs index 265d92cfed4b..219504f61b98 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupDiscreteRecoveryPoint.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupDiscreteRecoveryPoint.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,9 +65,9 @@ internal AzureBackupDiscreteRecoveryPoint(Microsoft.Azure.PowerShell.Cmdlets.Dat { return; } - __azureBackupRecoveryPoint = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPoint(json); + __azureBackupRecoveryPoint = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPoint(json); {_friendlyName = If( json?.PropertyT("friendlyName"), out var __jsonFriendlyName) ? (string)__jsonFriendlyName : (string)FriendlyName;} - {_recoveryPointDataStoresDetail = If( json?.PropertyT("recoveryPointDataStoresDetails"), out var __jsonRecoveryPointDataStoresDetails) ? If( __jsonRecoveryPointDataStoresDetails as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetails) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RecoveryPointDataStoreDetails.FromJson(__u) )) ))() : null : RecoveryPointDataStoresDetail;} + {_recoveryPointDataStoresDetail = If( json?.PropertyT("recoveryPointDataStoresDetails"), out var __jsonRecoveryPointDataStoresDetails) ? If( __jsonRecoveryPointDataStoresDetails as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetails) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RecoveryPointDataStoreDetails.FromJson(__u) )) ))() : null : RecoveryPointDataStoresDetail;} {_recoveryPointTime = If( json?.PropertyT("recoveryPointTime"), out var __jsonRecoveryPointTime) ? global::System.DateTime.TryParse((string)__jsonRecoveryPointTime, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonRecoveryPointTimeValue) ? __jsonRecoveryPointTimeValue : RecoveryPointTime : RecoveryPointTime;} {_policyName = If( json?.PropertyT("policyName"), out var __jsonPolicyName) ? (string)__jsonPolicyName : (string)PolicyName;} {_policyVersion = If( json?.PropertyT("policyVersion"), out var __jsonPolicyVersion) ? (string)__jsonPolicyVersion : (string)PolicyVersion;} @@ -76,17 +76,18 @@ internal AzureBackupDiscreteRecoveryPoint(Microsoft.Azure.PowerShell.Cmdlets.Dat {_retentionTagName = If( json?.PropertyT("retentionTagName"), out var __jsonRetentionTagName) ? (string)__jsonRetentionTagName : (string)RetentionTagName;} {_retentionTagVersion = If( json?.PropertyT("retentionTagVersion"), out var __jsonRetentionTagVersion) ? (string)__jsonRetentionTagVersion : (string)RetentionTagVersion;} {_expiryTime = If( json?.PropertyT("expiryTime"), out var __jsonExpiryTime) ? global::System.DateTime.TryParse((string)__jsonExpiryTime, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonExpiryTimeValue) ? __jsonExpiryTimeValue : ExpiryTime : ExpiryTime;} + {_recoveryPointState = If( json?.PropertyT("recoveryPointState"), out var __jsonRecoveryPointState) ? (string)__jsonRecoveryPointState : (string)RecoveryPointState;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPoint. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPoint. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPoint. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPoint. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupDiscreteRecoveryPoint FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupDiscreteRecoveryPoint FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureBackupDiscreteRecoveryPoint(json) : null; } @@ -132,6 +133,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode T { AddIf( null != this._expiryTime ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._expiryTime?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "expiryTime" ,container.Add ); } + AddIf( null != (((object)this._recoveryPointState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._recoveryPointState.ToString()) : null, "recoveryPointState" ,container.Add ); AfterToJson(ref container); return container; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequest.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequest.PowerShell.cs index c86a89fe02f0..1a43fef4eaf8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequest.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupFindRestorableTimeRangesRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,21 +70,21 @@ internal AzureBackupFindRestorableTimeRangesRequest(global::System.Collections.I // actually deserialize if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType.CreateFrom); } if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)this).StartTime = (string) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)this).StartTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)this).StartTime = (string) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)this).StartTime, global::System.Convert.ToString); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)this).EndTime = (string) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)this).EndTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)this).EndTime = (string) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)this).EndTime, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -99,43 +99,43 @@ internal AzureBackupFindRestorableTimeRangesRequest(global::System.Management.Au // actually deserialize if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType.CreateFrom); } if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)this).StartTime = (string) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)this).StartTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)this).StartTime = (string) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)this).StartTime, global::System.Convert.ToString); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)this).EndTime = (string) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)this).EndTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)this).EndTime = (string) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)this).EndTime, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupFindRestorableTimeRangesRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupFindRestorableTimeRangesRequest(content); } @@ -148,7 +148,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequest.TypeConverter.cs index 0148f1e503e7..41b3d2b68b48 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequest.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -110,14 +110,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequest.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequest.cs index 4808b7eeac28..5757da83574c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequest.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List Restore Ranges Request public partial class AzureBackupFindRestorableTimeRangesRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequest.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequest.json.cs index b0a7dc07eb1b..98168bc2fb29 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequest.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -72,13 +72,13 @@ internal AzureBackupFindRestorableTimeRangesRequest(Microsoft.Azure.PowerShell.C } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureBackupFindRestorableTimeRangesRequest(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequestResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequestResource.PowerShell.cs similarity index 78% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequestResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequestResource.PowerShell.cs index bbcab9123582..0f35a141e7a8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequestResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequestResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupFindRestorableTimeRangesRequestResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,53 +70,53 @@ internal AzureBackupFindRestorableTimeRangesRequestResource(global::System.Colle // actually deserialize if (content.Contains("Content")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).Content = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest) content.GetValueForProperty("Content",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).Content, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesRequestTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).Content = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest) content.GetValueForProperty("Content",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).Content, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesRequestTypeConverter.ConvertFrom); } if (content.Contains("SubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).SubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).SubscriptionId, global::System.Convert.ToString); } if (content.Contains("Uri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Uri, global::System.Convert.ToString); } if (content.Contains("Header")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Header = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders) content.GetValueForProperty("Header",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Header, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestHeadersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Header = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders) content.GetValueForProperty("Header",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Header, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestHeadersTypeConverter.ConvertFrom); } if (content.Contains("SupportedGroupVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).SupportedGroupVersion = (string[]) content.GetValueForProperty("SupportedGroupVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).SupportedGroupVersion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).SupportedGroupVersion = (string[]) content.GetValueForProperty("SupportedGroupVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).SupportedGroupVersion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("CultureInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).CultureInfo = (string) content.GetValueForProperty("CultureInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).CultureInfo, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).CultureInfo = (string) content.GetValueForProperty("CultureInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).CultureInfo, global::System.Convert.ToString); } if (content.Contains("Parameter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestParametersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestParametersTypeConverter.ConvertFrom); } if (content.Contains("HttpMethod")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).HttpMethod = (string) content.GetValueForProperty("HttpMethod",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).HttpMethod, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).HttpMethod = (string) content.GetValueForProperty("HttpMethod",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).HttpMethod, global::System.Convert.ToString); } if (content.Contains("ContentSourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentSourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType) content.GetValueForProperty("ContentSourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentSourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentSourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType) content.GetValueForProperty("ContentSourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentSourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType.CreateFrom); } if (content.Contains("ContentStartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentStartTime = (string) content.GetValueForProperty("ContentStartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentStartTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentStartTime = (string) content.GetValueForProperty("ContentStartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentStartTime, global::System.Convert.ToString); } if (content.Contains("ContentEndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentEndTime = (string) content.GetValueForProperty("ContentEndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentEndTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentEndTime = (string) content.GetValueForProperty("ContentEndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentEndTime, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -131,75 +131,75 @@ internal AzureBackupFindRestorableTimeRangesRequestResource(global::System.Manag // actually deserialize if (content.Contains("Content")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).Content = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest) content.GetValueForProperty("Content",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).Content, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesRequestTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).Content = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest) content.GetValueForProperty("Content",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).Content, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesRequestTypeConverter.ConvertFrom); } if (content.Contains("SubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).SubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).SubscriptionId, global::System.Convert.ToString); } if (content.Contains("Uri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Uri, global::System.Convert.ToString); } if (content.Contains("Header")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Header = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders) content.GetValueForProperty("Header",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Header, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestHeadersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Header = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders) content.GetValueForProperty("Header",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Header, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestHeadersTypeConverter.ConvertFrom); } if (content.Contains("SupportedGroupVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).SupportedGroupVersion = (string[]) content.GetValueForProperty("SupportedGroupVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).SupportedGroupVersion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).SupportedGroupVersion = (string[]) content.GetValueForProperty("SupportedGroupVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).SupportedGroupVersion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("CultureInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).CultureInfo = (string) content.GetValueForProperty("CultureInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).CultureInfo, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).CultureInfo = (string) content.GetValueForProperty("CultureInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).CultureInfo, global::System.Convert.ToString); } if (content.Contains("Parameter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestParametersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestParametersTypeConverter.ConvertFrom); } if (content.Contains("HttpMethod")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).HttpMethod = (string) content.GetValueForProperty("HttpMethod",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).HttpMethod, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).HttpMethod = (string) content.GetValueForProperty("HttpMethod",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).HttpMethod, global::System.Convert.ToString); } if (content.Contains("ContentSourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentSourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType) content.GetValueForProperty("ContentSourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentSourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentSourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType) content.GetValueForProperty("ContentSourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentSourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType.CreateFrom); } if (content.Contains("ContentStartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentStartTime = (string) content.GetValueForProperty("ContentStartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentStartTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentStartTime = (string) content.GetValueForProperty("ContentStartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentStartTime, global::System.Convert.ToString); } if (content.Contains("ContentEndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentEndTime = (string) content.GetValueForProperty("ContentEndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentEndTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentEndTime = (string) content.GetValueForProperty("ContentEndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal)this).ContentEndTime, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupFindRestorableTimeRangesRequestResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupFindRestorableTimeRangesRequestResource(content); } @@ -212,7 +212,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequestResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequestResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequestResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequestResource.TypeConverter.cs index ff00b76100ea..d26226c129e8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequestResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequestResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -112,14 +112,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// an instance of , or null if there is no suitable /// conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequestResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequestResource.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequestResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequestResource.cs index 9d1524f4e723..d402a238ee66 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequestResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequestResource.cs @@ -3,68 +3,68 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List Restore Ranges Request public partial class AzureBackupFindRestorableTimeRangesRequestResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequest __dppWorkerRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequest __dppWorkerRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequest(); /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest _content; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest _content; /// AzureBackupFindRestorableTimeRangesRequestResource content [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest Content { get => (this._content = this._content ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesRequest()); set => this._content = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest Content { get => (this._content = this._content ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesRequest()); set => this._content = value; } /// End time for the List Restore Ranges request. ISO 8601 format. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ContentEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).EndTime = value ?? null; } + public string ContentEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).EndTime = value ?? null; } /// Gets or sets the type of the source data store. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType? ContentSourceDataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).SourceDataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).SourceDataStoreType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType? ContentSourceDataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).SourceDataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).SourceDataStoreType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType)""); } /// Start time for the List Restore Ranges request. ISO 8601 format. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ContentStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).StartTime = value ?? null; } + public string ContentStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestInternal)Content).StartTime = value ?? null; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string CultureInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)__dppWorkerRequest).CultureInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)__dppWorkerRequest).CultureInfo = value ?? null; } + public string CultureInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)__dppWorkerRequest).CultureInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)__dppWorkerRequest).CultureInfo = value ?? null; } /// /// Dictionary of /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders Header { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)__dppWorkerRequest).Header; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)__dppWorkerRequest).Header = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders Header { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)__dppWorkerRequest).Header; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)__dppWorkerRequest).Header = value ?? null /* model class */; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string HttpMethod { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)__dppWorkerRequest).HttpMethod; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)__dppWorkerRequest).HttpMethod = value ?? null; } + public string HttpMethod { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)__dppWorkerRequest).HttpMethod; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)__dppWorkerRequest).HttpMethod = value ?? null; } /// Internal Acessors for Content - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResourceInternal.Content { get => (this._content = this._content ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesRequest()); set { {_content = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResourceInternal.Content { get => (this._content = this._content ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesRequest()); set { {_content = value;} } } /// Dictionary of [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters Parameter { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)__dppWorkerRequest).Parameter; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)__dppWorkerRequest).Parameter = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters Parameter { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)__dppWorkerRequest).Parameter; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)__dppWorkerRequest).Parameter = value ?? null /* model class */; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string SubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)__dppWorkerRequest).SubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)__dppWorkerRequest).SubscriptionId = value ?? null; } + public string SubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)__dppWorkerRequest).SubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)__dppWorkerRequest).SubscriptionId = value ?? null; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string[] SupportedGroupVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)__dppWorkerRequest).SupportedGroupVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)__dppWorkerRequest).SupportedGroupVersion = value ?? null /* arrayOf */; } + public string[] SupportedGroupVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)__dppWorkerRequest).SupportedGroupVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)__dppWorkerRequest).SupportedGroupVersion = value ?? null /* arrayOf */; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Uri { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)__dppWorkerRequest).Uri; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)__dppWorkerRequest).Uri = value ?? null; } + public string Uri { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)__dppWorkerRequest).Uri; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)__dppWorkerRequest).Uri = value ?? null; } /// /// Creates an new instance. @@ -89,7 +89,7 @@ public AzureBackupFindRestorableTimeRangesRequestResource() /// List Restore Ranges Request public partial interface IAzureBackupFindRestorableTimeRangesRequestResource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequest { /// End time for the List Restore Ranges request. ISO 8601 format. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -119,10 +119,10 @@ public partial interface IAzureBackupFindRestorableTimeRangesRequestResource : } /// List Restore Ranges Request internal partial interface IAzureBackupFindRestorableTimeRangesRequestResourceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal { /// AzureBackupFindRestorableTimeRangesRequestResource content - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest Content { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest Content { get; set; } /// End time for the List Restore Ranges request. ISO 8601 format. string ContentEndTime { get; set; } /// Gets or sets the type of the source data store. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequestResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequestResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequestResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequestResource.json.cs index c4f86a1ec135..d08291ad0e2b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesRequestResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesRequestResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -66,19 +66,19 @@ internal AzureBackupFindRestorableTimeRangesRequestResource(Microsoft.Azure.Powe { return; } - __dppWorkerRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequest(json); - {_content = If( json?.PropertyT("content"), out var __jsonContent) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesRequest.FromJson(__jsonContent) : Content;} + __dppWorkerRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequest(json); + {_content = If( json?.PropertyT("content"), out var __jsonContent) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesRequest.FromJson(__jsonContent) : Content;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequestResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequestResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureBackupFindRestorableTimeRangesRequestResource(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponse.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponse.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponse.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponse.PowerShell.cs index 0df15725d66b..19a1c299cc06 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponse.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponse.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupFindRestorableTimeRangesResponse partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal AzureBackupFindRestorableTimeRangesResponse(global::System.Collections. // actually deserialize if (content.Contains("RestorableTimeRange")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseInternal)this).RestorableTimeRange = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange[]) content.GetValueForProperty("RestorableTimeRange",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseInternal)this).RestorableTimeRange, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestorableTimeRangeTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseInternal)this).RestorableTimeRange = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange[]) content.GetValueForProperty("RestorableTimeRange",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseInternal)this).RestorableTimeRange, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestorableTimeRangeTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,39 +95,39 @@ internal AzureBackupFindRestorableTimeRangesResponse(global::System.Management.A // actually deserialize if (content.Contains("RestorableTimeRange")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseInternal)this).RestorableTimeRange = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange[]) content.GetValueForProperty("RestorableTimeRange",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseInternal)this).RestorableTimeRange, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestorableTimeRangeTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseInternal)this).RestorableTimeRange = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange[]) content.GetValueForProperty("RestorableTimeRange",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseInternal)this).RestorableTimeRange, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestorableTimeRangeTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponse DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponse DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupFindRestorableTimeRangesResponse(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponse DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponse DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupFindRestorableTimeRangesResponse(content); } @@ -140,7 +140,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponse.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponse.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponse.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponse.TypeConverter.cs index 43fbbbfa8cd4..6702c1b90c80 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponse.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponse.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -110,14 +110,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponse ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponse ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponse).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponse).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponse.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponse.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponse.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponse.cs index 5dcbb8d18efd..84317a75ce15 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponse.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponse.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List Restore Ranges Response public partial class AzureBackupFindRestorableTimeRangesResponse : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponse, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponse, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseInternal { /// Backing field for property. @@ -20,11 +20,11 @@ public partial class AzureBackupFindRestorableTimeRangesResponse : public string ObjectType { get => this._objectType; set => this._objectType = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange[] _restorableTimeRange; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange[] _restorableTimeRange; /// Returns the Restore Ranges available on the Backup Instance. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange[] RestorableTimeRange { get => this._restorableTimeRange; set => this._restorableTimeRange = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange[] RestorableTimeRange { get => this._restorableTimeRange; set => this._restorableTimeRange = value; } /// /// Creates an new instance. @@ -51,8 +51,8 @@ public partial interface IAzureBackupFindRestorableTimeRangesResponse : ReadOnly = false, Description = @"Returns the Restore Ranges available on the Backup Instance.", SerializedName = @"restorableTimeRanges", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange[] RestorableTimeRange { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange[] RestorableTimeRange { get; set; } } /// List Restore Ranges Response @@ -61,7 +61,7 @@ internal partial interface IAzureBackupFindRestorableTimeRangesResponseInternal { string ObjectType { get; set; } /// Returns the Restore Ranges available on the Backup Instance. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange[] RestorableTimeRange { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange[] RestorableTimeRange { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponse.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponse.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponse.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponse.json.cs index 995b52cc6ea8..75166e91f29d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponse.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponse.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal AzureBackupFindRestorableTimeRangesResponse(Microsoft.Azure.PowerShell. { return; } - {_restorableTimeRange = If( json?.PropertyT("restorableTimeRanges"), out var __jsonRestorableTimeRanges) ? If( __jsonRestorableTimeRanges as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestorableTimeRange.FromJson(__u) )) ))() : null : RestorableTimeRange;} + {_restorableTimeRange = If( json?.PropertyT("restorableTimeRanges"), out var __jsonRestorableTimeRanges) ? If( __jsonRestorableTimeRanges as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestorableTimeRange.FromJson(__u) )) ))() : null : RestorableTimeRange;} {_objectType = If( json?.PropertyT("objectType"), out var __jsonObjectType) ? (string)__jsonObjectType : (string)ObjectType;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponse. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponse. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponse. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponse. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponse FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponse FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureBackupFindRestorableTimeRangesResponse(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponseResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponseResource.PowerShell.cs similarity index 80% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponseResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponseResource.PowerShell.cs index 62c340535cfa..38991fedcec1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponseResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponseResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupFindRestorableTimeRangesResponseResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,37 +70,37 @@ internal AzureBackupFindRestorableTimeRangesResponseResource(global::System.Coll // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponse) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesResponseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponse) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesResponseTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("RestorableTimeRange")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).RestorableTimeRange = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange[]) content.GetValueForProperty("RestorableTimeRange",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).RestorableTimeRange, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestorableTimeRangeTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).RestorableTimeRange = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange[]) content.GetValueForProperty("RestorableTimeRange",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).RestorableTimeRange, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestorableTimeRangeTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -115,59 +115,59 @@ internal AzureBackupFindRestorableTimeRangesResponseResource(global::System.Mana // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponse) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesResponseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponse) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesResponseTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("RestorableTimeRange")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).RestorableTimeRange = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange[]) content.GetValueForProperty("RestorableTimeRange",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).RestorableTimeRange, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestorableTimeRangeTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).RestorableTimeRange = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange[]) content.GetValueForProperty("RestorableTimeRange",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).RestorableTimeRange, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestorableTimeRangeTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResourceInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupFindRestorableTimeRangesResponseResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupFindRestorableTimeRangesResponseResource(content); } @@ -180,7 +180,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponseResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponseResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponseResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponseResource.TypeConverter.cs index 571893ea32bc..ad4e0442d1bc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponseResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponseResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -112,14 +112,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// an instance of , or null if there is no suitable /// conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponseResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponseResource.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponseResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponseResource.cs index 9fe90ab4b810..6735ca56aac2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponseResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponseResource.cs @@ -3,68 +3,68 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List Restore Ranges Response public partial class AzureBackupFindRestorableTimeRangesResponseResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResource(); /// Resource Id represents the complete path to the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponse Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesResponse()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponse Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesResponse()); set { {_property = value;} } } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type = value; } /// Resource name associated with the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseInternal)Property).ObjectType = value ?? null; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseInternal)Property).ObjectType = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponse _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponse _property; /// AzureBackupFindRestorableTimeRangesResponseResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponse Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesResponse()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponse Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesResponse()); set => this._property = value; } /// Returns the Restore Ranges available on the Backup Instance. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange[] RestorableTimeRange { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseInternal)Property).RestorableTimeRange; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseInternal)Property).RestorableTimeRange = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange[] RestorableTimeRange { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseInternal)Property).RestorableTimeRange; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseInternal)Property).RestorableTimeRange = value ?? null /* arrayOf */; } /// Metadata pertaining to creation and last modification of the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData; } /// /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type; } /// /// Creates an new instance. @@ -89,7 +89,7 @@ public AzureBackupFindRestorableTimeRangesResponseResource() /// List Restore Ranges Response public partial interface IAzureBackupFindRestorableTimeRangesResponseResource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource { [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -104,19 +104,19 @@ public partial interface IAzureBackupFindRestorableTimeRangesResponseResource : ReadOnly = false, Description = @"Returns the Restore Ranges available on the Backup Instance.", SerializedName = @"restorableTimeRanges", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange[] RestorableTimeRange { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange[] RestorableTimeRange { get; set; } } /// List Restore Ranges Response internal partial interface IAzureBackupFindRestorableTimeRangesResponseResourceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal { string ObjectType { get; set; } /// AzureBackupFindRestorableTimeRangesResponseResource properties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponse Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponse Property { get; set; } /// Returns the Restore Ranges available on the Backup Instance. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange[] RestorableTimeRange { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange[] RestorableTimeRange { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponseResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponseResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponseResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponseResource.json.cs index 658285bc8077..cb2fb456dd19 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupFindRestorableTimeRangesResponseResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupFindRestorableTimeRangesResponseResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -66,19 +66,19 @@ internal AzureBackupFindRestorableTimeRangesResponseResource(Microsoft.Azure.Pow { return; } - __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesResponse.FromJson(__jsonProperties) : Property;} + __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesResponse.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureBackupFindRestorableTimeRangesResponseResource(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJob.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJob.PowerShell.cs similarity index 70% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJob.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJob.PowerShell.cs index e9dce5225b06..960e51d28d68 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJob.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJob.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupJob partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,177 +70,181 @@ internal AzureBackupJob(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ExtendedInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfoTypeConverter.ConvertFrom); } if (content.Contains("ActivityId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ActivityId = (string) content.GetValueForProperty("ActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ActivityId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ActivityId = (string) content.GetValueForProperty("ActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ActivityId, global::System.Convert.ToString); } if (content.Contains("BackupInstanceFriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).BackupInstanceFriendlyName = (string) content.GetValueForProperty("BackupInstanceFriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).BackupInstanceFriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).BackupInstanceFriendlyName = (string) content.GetValueForProperty("BackupInstanceFriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).BackupInstanceFriendlyName, global::System.Convert.ToString); } if (content.Contains("BackupInstanceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).BackupInstanceId = (string) content.GetValueForProperty("BackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).BackupInstanceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).BackupInstanceId = (string) content.GetValueForProperty("BackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).BackupInstanceId, global::System.Convert.ToString); } if (content.Contains("DataSourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceId = (string) content.GetValueForProperty("DataSourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceId = (string) content.GetValueForProperty("DataSourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceId, global::System.Convert.ToString); } if (content.Contains("DataSourceLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceLocation = (string) content.GetValueForProperty("DataSourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceLocation = (string) content.GetValueForProperty("DataSourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceLocation, global::System.Convert.ToString); } if (content.Contains("DataSourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceName = (string) content.GetValueForProperty("DataSourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceName = (string) content.GetValueForProperty("DataSourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceName, global::System.Convert.ToString); } if (content.Contains("DataSourceSetName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceSetName = (string) content.GetValueForProperty("DataSourceSetName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceSetName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceSetName = (string) content.GetValueForProperty("DataSourceSetName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceSetName, global::System.Convert.ToString); } if (content.Contains("DataSourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceType = (string) content.GetValueForProperty("DataSourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceType = (string) content.GetValueForProperty("DataSourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceType, global::System.Convert.ToString); } if (content.Contains("Duration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).EndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).EndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[]) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ErrorDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[]) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ErrorDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorTypeConverter.ConvertFrom)); } if (content.Contains("IsUserTriggered")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).IsUserTriggered = (bool) content.GetValueForProperty("IsUserTriggered",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).IsUserTriggered, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).IsUserTriggered = (bool) content.GetValueForProperty("IsUserTriggered",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).IsUserTriggered, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).Operation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).Operation, global::System.Convert.ToString); } if (content.Contains("OperationCategory")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).OperationCategory = (string) content.GetValueForProperty("OperationCategory",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).OperationCategory, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).OperationCategory = (string) content.GetValueForProperty("OperationCategory",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).OperationCategory, global::System.Convert.ToString); } if (content.Contains("PolicyId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).PolicyId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).PolicyId, global::System.Convert.ToString); } if (content.Contains("PolicyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).PolicyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).PolicyName, global::System.Convert.ToString); } if (content.Contains("ProgressEnabled")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ProgressEnabled = (bool) content.GetValueForProperty("ProgressEnabled",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ProgressEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ProgressEnabled = (bool) content.GetValueForProperty("ProgressEnabled",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ProgressEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("ProgressUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ProgressUrl = (string) content.GetValueForProperty("ProgressUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ProgressUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ProgressUrl = (string) content.GetValueForProperty("ProgressUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ProgressUrl, global::System.Convert.ToString); } if (content.Contains("RehydrationPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).RehydrationPriority = (string) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).RehydrationPriority, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).RehydrationPriority = (string) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).RehydrationPriority, global::System.Convert.ToString); } if (content.Contains("RestoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).RestoreType = (string) content.GetValueForProperty("RestoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).RestoreType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).RestoreType = (string) content.GetValueForProperty("RestoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).RestoreType, global::System.Convert.ToString); } if (content.Contains("SourceResourceGroup")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceResourceGroup = (string) content.GetValueForProperty("SourceResourceGroup",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceResourceGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceResourceGroup = (string) content.GetValueForProperty("SourceResourceGroup",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceResourceGroup, global::System.Convert.ToString); } if (content.Contains("SourceSubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceSubscriptionId = (string) content.GetValueForProperty("SourceSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceSubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceSubscriptionId = (string) content.GetValueForProperty("SourceSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceSubscriptionId, global::System.Convert.ToString); } if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).StartTime = (global::System.DateTime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).StartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).StartTime = (global::System.DateTime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).StartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).Status, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).Status, global::System.Convert.ToString); } if (content.Contains("SubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SubscriptionId, global::System.Convert.ToString); } if (content.Contains("SupportedAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SupportedAction = (string[]) content.GetValueForProperty("SupportedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SupportedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SupportedAction = (string[]) content.GetValueForProperty("SupportedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SupportedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("VaultName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).VaultName = (string) content.GetValueForProperty("VaultName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).VaultName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).VaultName = (string) content.GetValueForProperty("VaultName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).VaultName, global::System.Convert.ToString); } if (content.Contains("Etag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).Etag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).Etag, global::System.Convert.ToString); } if (content.Contains("SourceDataStoreName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceDataStoreName = (string) content.GetValueForProperty("SourceDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceDataStoreName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceDataStoreName = (string) content.GetValueForProperty("SourceDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceDataStoreName, global::System.Convert.ToString); } if (content.Contains("DestinationDataStoreName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DestinationDataStoreName = (string) content.GetValueForProperty("DestinationDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DestinationDataStoreName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DestinationDataStoreName = (string) content.GetValueForProperty("DestinationDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DestinationDataStoreName, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoSourceRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoSourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoSourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoSourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoSourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoSourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoSourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoTargetRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoTargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoTargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoTargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoTargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoTargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoTargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoAdditionalDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoAdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("ExtendedInfoAdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoAdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoAdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("ExtendedInfoAdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoAdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoBackupInstanceState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoBackupInstanceState = (string) content.GetValueForProperty("ExtendedInfoBackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoBackupInstanceState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoBackupInstanceState = (string) content.GetValueForProperty("ExtendedInfoBackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoBackupInstanceState, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoDataTransferredInByte")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoDataTransferredInByte = (double?) content.GetValueForProperty("ExtendedInfoDataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoDataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoDataTransferredInByte = (double?) content.GetValueForProperty("ExtendedInfoDataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoDataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ExtendedInfoRecoveryDestination")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoRecoveryDestination = (string) content.GetValueForProperty("ExtendedInfoRecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoRecoveryDestination, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoRecoveryDestination = (string) content.GetValueForProperty("ExtendedInfoRecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoRecoveryDestination, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoSubTask")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoSubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[]) content.GetValueForProperty("ExtendedInfoSubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoSubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobSubTaskTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoSubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[]) content.GetValueForProperty("ExtendedInfoSubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoSubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobSubTaskTypeConverter.ConvertFrom)); + } + if (content.Contains("ExtendedInfoWarningDetail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoWarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[]) content.GetValueForProperty("ExtendedInfoWarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoWarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingWarningDetailTypeConverter.ConvertFrom)); } if (content.Contains("SourceRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("SourceRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("TargetRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("TargetRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -255,197 +259,201 @@ internal AzureBackupJob(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("ExtendedInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfoTypeConverter.ConvertFrom); } if (content.Contains("ActivityId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ActivityId = (string) content.GetValueForProperty("ActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ActivityId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ActivityId = (string) content.GetValueForProperty("ActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ActivityId, global::System.Convert.ToString); } if (content.Contains("BackupInstanceFriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).BackupInstanceFriendlyName = (string) content.GetValueForProperty("BackupInstanceFriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).BackupInstanceFriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).BackupInstanceFriendlyName = (string) content.GetValueForProperty("BackupInstanceFriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).BackupInstanceFriendlyName, global::System.Convert.ToString); } if (content.Contains("BackupInstanceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).BackupInstanceId = (string) content.GetValueForProperty("BackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).BackupInstanceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).BackupInstanceId = (string) content.GetValueForProperty("BackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).BackupInstanceId, global::System.Convert.ToString); } if (content.Contains("DataSourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceId = (string) content.GetValueForProperty("DataSourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceId = (string) content.GetValueForProperty("DataSourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceId, global::System.Convert.ToString); } if (content.Contains("DataSourceLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceLocation = (string) content.GetValueForProperty("DataSourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceLocation = (string) content.GetValueForProperty("DataSourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceLocation, global::System.Convert.ToString); } if (content.Contains("DataSourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceName = (string) content.GetValueForProperty("DataSourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceName = (string) content.GetValueForProperty("DataSourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceName, global::System.Convert.ToString); } if (content.Contains("DataSourceSetName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceSetName = (string) content.GetValueForProperty("DataSourceSetName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceSetName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceSetName = (string) content.GetValueForProperty("DataSourceSetName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceSetName, global::System.Convert.ToString); } if (content.Contains("DataSourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceType = (string) content.GetValueForProperty("DataSourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DataSourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceType = (string) content.GetValueForProperty("DataSourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DataSourceType, global::System.Convert.ToString); } if (content.Contains("Duration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).EndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).EndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[]) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ErrorDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[]) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ErrorDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorTypeConverter.ConvertFrom)); } if (content.Contains("IsUserTriggered")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).IsUserTriggered = (bool) content.GetValueForProperty("IsUserTriggered",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).IsUserTriggered, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).IsUserTriggered = (bool) content.GetValueForProperty("IsUserTriggered",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).IsUserTriggered, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).Operation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).Operation, global::System.Convert.ToString); } if (content.Contains("OperationCategory")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).OperationCategory = (string) content.GetValueForProperty("OperationCategory",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).OperationCategory, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).OperationCategory = (string) content.GetValueForProperty("OperationCategory",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).OperationCategory, global::System.Convert.ToString); } if (content.Contains("PolicyId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).PolicyId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).PolicyId, global::System.Convert.ToString); } if (content.Contains("PolicyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).PolicyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).PolicyName, global::System.Convert.ToString); } if (content.Contains("ProgressEnabled")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ProgressEnabled = (bool) content.GetValueForProperty("ProgressEnabled",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ProgressEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ProgressEnabled = (bool) content.GetValueForProperty("ProgressEnabled",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ProgressEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("ProgressUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ProgressUrl = (string) content.GetValueForProperty("ProgressUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ProgressUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ProgressUrl = (string) content.GetValueForProperty("ProgressUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ProgressUrl, global::System.Convert.ToString); } if (content.Contains("RehydrationPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).RehydrationPriority = (string) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).RehydrationPriority, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).RehydrationPriority = (string) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).RehydrationPriority, global::System.Convert.ToString); } if (content.Contains("RestoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).RestoreType = (string) content.GetValueForProperty("RestoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).RestoreType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).RestoreType = (string) content.GetValueForProperty("RestoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).RestoreType, global::System.Convert.ToString); } if (content.Contains("SourceResourceGroup")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceResourceGroup = (string) content.GetValueForProperty("SourceResourceGroup",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceResourceGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceResourceGroup = (string) content.GetValueForProperty("SourceResourceGroup",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceResourceGroup, global::System.Convert.ToString); } if (content.Contains("SourceSubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceSubscriptionId = (string) content.GetValueForProperty("SourceSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceSubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceSubscriptionId = (string) content.GetValueForProperty("SourceSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceSubscriptionId, global::System.Convert.ToString); } if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).StartTime = (global::System.DateTime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).StartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).StartTime = (global::System.DateTime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).StartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).Status, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).Status, global::System.Convert.ToString); } if (content.Contains("SubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SubscriptionId, global::System.Convert.ToString); } if (content.Contains("SupportedAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SupportedAction = (string[]) content.GetValueForProperty("SupportedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SupportedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SupportedAction = (string[]) content.GetValueForProperty("SupportedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SupportedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("VaultName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).VaultName = (string) content.GetValueForProperty("VaultName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).VaultName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).VaultName = (string) content.GetValueForProperty("VaultName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).VaultName, global::System.Convert.ToString); } if (content.Contains("Etag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).Etag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).Etag, global::System.Convert.ToString); } if (content.Contains("SourceDataStoreName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceDataStoreName = (string) content.GetValueForProperty("SourceDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceDataStoreName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceDataStoreName = (string) content.GetValueForProperty("SourceDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceDataStoreName, global::System.Convert.ToString); } if (content.Contains("DestinationDataStoreName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DestinationDataStoreName = (string) content.GetValueForProperty("DestinationDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).DestinationDataStoreName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DestinationDataStoreName = (string) content.GetValueForProperty("DestinationDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).DestinationDataStoreName, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoSourceRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoSourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoSourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoSourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoSourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoSourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoSourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoTargetRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoTargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoTargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoTargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoTargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoTargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoTargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoAdditionalDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoAdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("ExtendedInfoAdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoAdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoAdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("ExtendedInfoAdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoAdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoBackupInstanceState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoBackupInstanceState = (string) content.GetValueForProperty("ExtendedInfoBackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoBackupInstanceState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoBackupInstanceState = (string) content.GetValueForProperty("ExtendedInfoBackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoBackupInstanceState, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoDataTransferredInByte")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoDataTransferredInByte = (double?) content.GetValueForProperty("ExtendedInfoDataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoDataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoDataTransferredInByte = (double?) content.GetValueForProperty("ExtendedInfoDataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoDataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ExtendedInfoRecoveryDestination")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoRecoveryDestination = (string) content.GetValueForProperty("ExtendedInfoRecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoRecoveryDestination, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoRecoveryDestination = (string) content.GetValueForProperty("ExtendedInfoRecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoRecoveryDestination, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoSubTask")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoSubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[]) content.GetValueForProperty("ExtendedInfoSubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).ExtendedInfoSubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobSubTaskTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoSubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[]) content.GetValueForProperty("ExtendedInfoSubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoSubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobSubTaskTypeConverter.ConvertFrom)); + } + if (content.Contains("ExtendedInfoWarningDetail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoWarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[]) content.GetValueForProperty("ExtendedInfoWarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).ExtendedInfoWarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingWarningDetailTypeConverter.ConvertFrom)); } if (content.Contains("SourceRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("SourceRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).SourceRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("TargetRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("TargetRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)this).TargetRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJob DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJob DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupJob(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJob DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJob DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupJob(content); } @@ -455,7 +463,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJob FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJob FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJob.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJob.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJob.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJob.TypeConverter.cs index 47552af8b341..6fa768fc820d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJob.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJob.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJob ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJob ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJob).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJob).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJob.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJob.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJob.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJob.cs index d0fa9e299da8..c9e33f807e16 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJob.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJob.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// AzureBackup Job Class public partial class AzureBackupJob : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJob, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJob, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal { /// Backing field for property. @@ -90,11 +90,11 @@ public partial class AzureBackupJob : public global::System.DateTime? EndTime { get => this._endTime; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[] _errorDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[] _errorDetail; /// A List, detailing the errors related to the job [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[] ErrorDetail { get => this._errorDetail; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[] ErrorDetail { get => this._errorDetail; } /// Backing field for property. private string _etag; @@ -103,31 +103,35 @@ public partial class AzureBackupJob : public string Etag { get => this._etag; set => this._etag = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo _extendedInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo _extendedInfo; /// Extended Information about the job [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfo()); } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfo()); } /// Job's Additional Details [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).AdditionalDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).AdditionalDetail = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).AdditionalDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).AdditionalDetail = value ?? null /* model class */; } /// State of the Backup Instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ExtendedInfoBackupInstanceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).BackupInstanceState; } + public string ExtendedInfoBackupInstanceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).BackupInstanceState; } /// Number of bytes transferred [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public double? ExtendedInfoDataTransferredInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).DataTransferredInByte; } + public double? ExtendedInfoDataTransferredInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).DataTransferredInByte; } /// Destination where restore is done [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ExtendedInfoRecoveryDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).RecoveryDestination; } + public string ExtendedInfoRecoveryDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).RecoveryDestination; } /// List of Sub Tasks of the job [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[] ExtendedInfoSubTask { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).SubTask; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[] ExtendedInfoSubTask { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).SubTask; } + + /// A List, detailing the warnings related to the job + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[] ExtendedInfoWarningDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).WarningDetail; } /// Backing field for property. private bool _isUserTriggered; @@ -137,49 +141,52 @@ public partial class AzureBackupJob : public bool IsUserTriggered { get => this._isUserTriggered; set => this._isUserTriggered = value; } /// Internal Acessors for BackupInstanceId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal.BackupInstanceId { get => this._backupInstanceId; set { {_backupInstanceId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal.BackupInstanceId { get => this._backupInstanceId; set { {_backupInstanceId = value;} } } /// Internal Acessors for EndTime - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal.EndTime { get => this._endTime; set { {_endTime = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal.EndTime { get => this._endTime; set { {_endTime = value;} } } /// Internal Acessors for ErrorDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal.ErrorDetail { get => this._errorDetail; set { {_errorDetail = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal.ErrorDetail { get => this._errorDetail; set { {_errorDetail = value;} } } /// Internal Acessors for ExtendedInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal.ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfo()); set { {_extendedInfo = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal.ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfo()); set { {_extendedInfo = value;} } } /// Internal Acessors for ExtendedInfoBackupInstanceState - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal.ExtendedInfoBackupInstanceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).BackupInstanceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).BackupInstanceState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal.ExtendedInfoBackupInstanceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).BackupInstanceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).BackupInstanceState = value; } /// Internal Acessors for ExtendedInfoDataTransferredInByte - double? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal.ExtendedInfoDataTransferredInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).DataTransferredInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).DataTransferredInByte = value; } + double? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal.ExtendedInfoDataTransferredInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).DataTransferredInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).DataTransferredInByte = value; } /// Internal Acessors for ExtendedInfoRecoveryDestination - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal.ExtendedInfoRecoveryDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).RecoveryDestination; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).RecoveryDestination = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal.ExtendedInfoRecoveryDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).RecoveryDestination; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).RecoveryDestination = value; } /// Internal Acessors for ExtendedInfoSourceRecoverPoint - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal.ExtendedInfoSourceRecoverPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPoint = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal.ExtendedInfoSourceRecoverPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPoint = value; } /// Internal Acessors for ExtendedInfoSubTask - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal.ExtendedInfoSubTask { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).SubTask; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).SubTask = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal.ExtendedInfoSubTask { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).SubTask; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).SubTask = value; } /// Internal Acessors for ExtendedInfoTargetRecoverPoint - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal.ExtendedInfoTargetRecoverPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPoint = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal.ExtendedInfoTargetRecoverPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPoint = value; } + + /// Internal Acessors for ExtendedInfoWarningDetail + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal.ExtendedInfoWarningDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).WarningDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).WarningDetail = value; } /// Internal Acessors for PolicyId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal.PolicyId { get => this._policyId; set { {_policyId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal.PolicyId { get => this._policyId; set { {_policyId = value;} } } /// Internal Acessors for PolicyName - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal.PolicyName { get => this._policyName; set { {_policyName = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal.PolicyName { get => this._policyName; set { {_policyName = value;} } } /// Internal Acessors for ProgressUrl - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal.ProgressUrl { get => this._progressUrl; set { {_progressUrl = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal.ProgressUrl { get => this._progressUrl; set { {_progressUrl = value;} } } /// Internal Acessors for RehydrationPriority - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal.RehydrationPriority { get => this._rehydrationPriority; set { {_rehydrationPriority = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal.RehydrationPriority { get => this._rehydrationPriority; set { {_rehydrationPriority = value;} } } /// Internal Acessors for RestoreType - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal.RestoreType { get => this._restoreType; set { {_restoreType = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal.RestoreType { get => this._restoreType; set { {_restoreType = value;} } } /// Backing field for property. private string _operation; @@ -248,10 +255,10 @@ public partial class AzureBackupJob : public string SourceDataStoreName { get => this._sourceDataStoreName; set => this._sourceDataStoreName = value; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string SourceRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPointRecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPointRecoveryPointId = value ?? null; } + public string SourceRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPointRecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPointRecoveryPointId = value ?? null; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public global::System.DateTime? SourceRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPointRecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPointRecoveryPointTime = value ?? default(global::System.DateTime); } + public global::System.DateTime? SourceRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPointRecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).SourceRecoverPointRecoveryPointTime = value ?? default(global::System.DateTime); } /// Backing field for property. private string _sourceResourceGroup; @@ -296,10 +303,10 @@ public partial class AzureBackupJob : public string[] SupportedAction { get => this._supportedAction; set => this._supportedAction = value; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string TargetRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPointRecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPointRecoveryPointId = value ?? null; } + public string TargetRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPointRecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPointRecoveryPointId = value ?? null; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public global::System.DateTime? TargetRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPointRecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPointRecoveryPointTime = value ?? default(global::System.DateTime); } + public global::System.DateTime? TargetRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPointRecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)ExtendedInfo).TargetRecoverPointRecoveryPointTime = value ?? default(global::System.DateTime); } /// Backing field for property. private string _vaultName; @@ -412,8 +419,8 @@ public partial interface IAzureBackupJob : ReadOnly = true, Description = @"A List, detailing the errors related to the job", SerializedName = @"errorDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[] ErrorDetail { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[] ErrorDetail { get; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -428,8 +435,8 @@ public partial interface IAzureBackupJob : ReadOnly = false, Description = @"Job's Additional Details", SerializedName = @"additionalDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get; set; } /// State of the Backup Instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -460,8 +467,16 @@ public partial interface IAzureBackupJob : ReadOnly = true, Description = @"List of Sub Tasks of the job", SerializedName = @"subTasks", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[] ExtendedInfoSubTask { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[] ExtendedInfoSubTask { get; } + /// A List, detailing the warnings related to the job + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"A List, detailing the warnings related to the job", + SerializedName = @"warningDetails", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[] ExtendedInfoWarningDetail { get; } /// Indicated that whether the job is adhoc(true) or scheduled(false) [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = true, @@ -663,13 +678,13 @@ internal partial interface IAzureBackupJobInternal /// EndTime of the job(in UTC) global::System.DateTime? EndTime { get; set; } /// A List, detailing the errors related to the job - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[] ErrorDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[] ErrorDetail { get; set; } string Etag { get; set; } /// Extended Information about the job - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo ExtendedInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo ExtendedInfo { get; set; } /// Job's Additional Details - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get; set; } /// State of the Backup Instance string ExtendedInfoBackupInstanceState { get; set; } /// Number of bytes transferred @@ -677,11 +692,13 @@ internal partial interface IAzureBackupJobInternal /// Destination where restore is done string ExtendedInfoRecoveryDestination { get; set; } /// Details of the Source Recovery Point - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails ExtendedInfoSourceRecoverPoint { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails ExtendedInfoSourceRecoverPoint { get; set; } /// List of Sub Tasks of the job - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[] ExtendedInfoSubTask { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[] ExtendedInfoSubTask { get; set; } /// Details of the Target Recovery Point - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails ExtendedInfoTargetRecoverPoint { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails ExtendedInfoTargetRecoverPoint { get; set; } + /// A List, detailing the warnings related to the job + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[] ExtendedInfoWarningDetail { get; set; } /// Indicated that whether the job is adhoc(true) or scheduled(false) bool IsUserTriggered { get; set; } /// diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJob.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJob.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJob.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJob.json.cs index 70834882ee2f..d824feac5149 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJob.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJob.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,7 +65,7 @@ internal AzureBackupJob(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtim { return; } - {_extendedInfo = If( json?.PropertyT("extendedInfo"), out var __jsonExtendedInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfo.FromJson(__jsonExtendedInfo) : ExtendedInfo;} + {_extendedInfo = If( json?.PropertyT("extendedInfo"), out var __jsonExtendedInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfo.FromJson(__jsonExtendedInfo) : ExtendedInfo;} {_activityId = If( json?.PropertyT("activityID"), out var __jsonActivityId) ? (string)__jsonActivityId : (string)ActivityId;} {_backupInstanceFriendlyName = If( json?.PropertyT("backupInstanceFriendlyName"), out var __jsonBackupInstanceFriendlyName) ? (string)__jsonBackupInstanceFriendlyName : (string)BackupInstanceFriendlyName;} {_backupInstanceId = If( json?.PropertyT("backupInstanceId"), out var __jsonBackupInstanceId) ? (string)__jsonBackupInstanceId : (string)BackupInstanceId;} @@ -76,7 +76,7 @@ internal AzureBackupJob(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtim {_dataSourceType = If( json?.PropertyT("dataSourceType"), out var __jsonDataSourceType) ? (string)__jsonDataSourceType : (string)DataSourceType;} {_duration = If( json?.PropertyT("duration"), out var __jsonDuration) ? (string)__jsonDuration : (string)Duration;} {_endTime = If( json?.PropertyT("endTime"), out var __jsonEndTime) ? global::System.DateTime.TryParse((string)__jsonEndTime, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonEndTimeValue) ? __jsonEndTimeValue : EndTime : EndTime;} - {_errorDetail = If( json?.PropertyT("errorDetails"), out var __jsonErrorDetails) ? If( __jsonErrorDetails as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingError.FromJson(__u) )) ))() : null : ErrorDetail;} + {_errorDetail = If( json?.PropertyT("errorDetails"), out var __jsonErrorDetails) ? If( __jsonErrorDetails as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingError.FromJson(__u) )) ))() : null : ErrorDetail;} {_isUserTriggered = If( json?.PropertyT("isUserTriggered"), out var __jsonIsUserTriggered) ? (bool)__jsonIsUserTriggered : IsUserTriggered;} {_operation = If( json?.PropertyT("operation"), out var __jsonOperation) ? (string)__jsonOperation : (string)Operation;} {_operationCategory = If( json?.PropertyT("operationCategory"), out var __jsonOperationCategory) ? (string)__jsonOperationCategory : (string)OperationCategory;} @@ -100,13 +100,13 @@ internal AzureBackupJob(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtim } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJob. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJob. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJob. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJob. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJob FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJob FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureBackupJob(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResource.PowerShell.cs similarity index 70% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResource.PowerShell.cs index 67b0858de672..876aea6f5a03 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupJobResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,197 +70,201 @@ internal AzureBackupJobResource(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJob) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupJobTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJob) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJobTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfoTypeConverter.ConvertFrom); } if (content.Contains("ActivityId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ActivityId = (string) content.GetValueForProperty("ActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ActivityId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ActivityId = (string) content.GetValueForProperty("ActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ActivityId, global::System.Convert.ToString); } if (content.Contains("BackupInstanceFriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).BackupInstanceFriendlyName = (string) content.GetValueForProperty("BackupInstanceFriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).BackupInstanceFriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).BackupInstanceFriendlyName = (string) content.GetValueForProperty("BackupInstanceFriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).BackupInstanceFriendlyName, global::System.Convert.ToString); } if (content.Contains("BackupInstanceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).BackupInstanceId = (string) content.GetValueForProperty("BackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).BackupInstanceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).BackupInstanceId = (string) content.GetValueForProperty("BackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).BackupInstanceId, global::System.Convert.ToString); } if (content.Contains("DataSourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceId = (string) content.GetValueForProperty("DataSourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceId = (string) content.GetValueForProperty("DataSourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceId, global::System.Convert.ToString); } if (content.Contains("DataSourceLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceLocation = (string) content.GetValueForProperty("DataSourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceLocation = (string) content.GetValueForProperty("DataSourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceLocation, global::System.Convert.ToString); } if (content.Contains("DataSourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceName = (string) content.GetValueForProperty("DataSourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceName = (string) content.GetValueForProperty("DataSourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceName, global::System.Convert.ToString); } if (content.Contains("DataSourceSetName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceSetName = (string) content.GetValueForProperty("DataSourceSetName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceSetName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceSetName = (string) content.GetValueForProperty("DataSourceSetName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceSetName, global::System.Convert.ToString); } if (content.Contains("DataSourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceType = (string) content.GetValueForProperty("DataSourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceType = (string) content.GetValueForProperty("DataSourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceType, global::System.Convert.ToString); } if (content.Contains("Duration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).EndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).EndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[]) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ErrorDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[]) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ErrorDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorTypeConverter.ConvertFrom)); } if (content.Contains("IsUserTriggered")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).IsUserTriggered = (bool) content.GetValueForProperty("IsUserTriggered",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).IsUserTriggered, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).IsUserTriggered = (bool) content.GetValueForProperty("IsUserTriggered",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).IsUserTriggered, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Operation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Operation, global::System.Convert.ToString); } if (content.Contains("OperationCategory")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).OperationCategory = (string) content.GetValueForProperty("OperationCategory",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).OperationCategory, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).OperationCategory = (string) content.GetValueForProperty("OperationCategory",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).OperationCategory, global::System.Convert.ToString); } if (content.Contains("PolicyId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).PolicyId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).PolicyId, global::System.Convert.ToString); } if (content.Contains("PolicyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).PolicyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).PolicyName, global::System.Convert.ToString); } if (content.Contains("ProgressEnabled")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ProgressEnabled = (bool) content.GetValueForProperty("ProgressEnabled",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ProgressEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ProgressEnabled = (bool) content.GetValueForProperty("ProgressEnabled",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ProgressEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("ProgressUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ProgressUrl = (string) content.GetValueForProperty("ProgressUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ProgressUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ProgressUrl = (string) content.GetValueForProperty("ProgressUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ProgressUrl, global::System.Convert.ToString); } if (content.Contains("RehydrationPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).RehydrationPriority = (string) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).RehydrationPriority, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).RehydrationPriority = (string) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).RehydrationPriority, global::System.Convert.ToString); } if (content.Contains("RestoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).RestoreType = (string) content.GetValueForProperty("RestoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).RestoreType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).RestoreType = (string) content.GetValueForProperty("RestoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).RestoreType, global::System.Convert.ToString); } if (content.Contains("SourceResourceGroup")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceResourceGroup = (string) content.GetValueForProperty("SourceResourceGroup",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceResourceGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceResourceGroup = (string) content.GetValueForProperty("SourceResourceGroup",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceResourceGroup, global::System.Convert.ToString); } if (content.Contains("SourceSubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceSubscriptionId = (string) content.GetValueForProperty("SourceSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceSubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceSubscriptionId = (string) content.GetValueForProperty("SourceSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceSubscriptionId, global::System.Convert.ToString); } if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).StartTime = (global::System.DateTime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).StartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).StartTime = (global::System.DateTime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).StartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Status, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Status, global::System.Convert.ToString); } if (content.Contains("SubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SubscriptionId, global::System.Convert.ToString); } if (content.Contains("SupportedAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SupportedAction = (string[]) content.GetValueForProperty("SupportedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SupportedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SupportedAction = (string[]) content.GetValueForProperty("SupportedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SupportedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("VaultName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).VaultName = (string) content.GetValueForProperty("VaultName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).VaultName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).VaultName = (string) content.GetValueForProperty("VaultName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).VaultName, global::System.Convert.ToString); } if (content.Contains("Etag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Etag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Etag, global::System.Convert.ToString); } if (content.Contains("SourceDataStoreName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceDataStoreName = (string) content.GetValueForProperty("SourceDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceDataStoreName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceDataStoreName = (string) content.GetValueForProperty("SourceDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceDataStoreName, global::System.Convert.ToString); } if (content.Contains("DestinationDataStoreName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DestinationDataStoreName = (string) content.GetValueForProperty("DestinationDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DestinationDataStoreName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DestinationDataStoreName = (string) content.GetValueForProperty("DestinationDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DestinationDataStoreName, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoSourceRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoSourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoSourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoSourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoSourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoSourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoSourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoTargetRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoTargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoTargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoTargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoTargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoTargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoTargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoAdditionalDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoAdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("ExtendedInfoAdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoAdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoAdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("ExtendedInfoAdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoAdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoBackupInstanceState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoBackupInstanceState = (string) content.GetValueForProperty("ExtendedInfoBackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoBackupInstanceState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoBackupInstanceState = (string) content.GetValueForProperty("ExtendedInfoBackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoBackupInstanceState, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoDataTransferredInByte")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoDataTransferredInByte = (double?) content.GetValueForProperty("ExtendedInfoDataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoDataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoDataTransferredInByte = (double?) content.GetValueForProperty("ExtendedInfoDataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoDataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ExtendedInfoRecoveryDestination")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoRecoveryDestination = (string) content.GetValueForProperty("ExtendedInfoRecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoRecoveryDestination, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoRecoveryDestination = (string) content.GetValueForProperty("ExtendedInfoRecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoRecoveryDestination, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoSubTask")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoSubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[]) content.GetValueForProperty("ExtendedInfoSubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoSubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobSubTaskTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoSubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[]) content.GetValueForProperty("ExtendedInfoSubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoSubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobSubTaskTypeConverter.ConvertFrom)); + } + if (content.Contains("ExtendedInfoWarningDetail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoWarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[]) content.GetValueForProperty("ExtendedInfoWarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoWarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingWarningDetailTypeConverter.ConvertFrom)); } if (content.Contains("SourceRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("SourceRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("TargetRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("TargetRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -275,219 +279,223 @@ internal AzureBackupJobResource(global::System.Management.Automation.PSObject co // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJob) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupJobTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJob) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJobTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfoTypeConverter.ConvertFrom); } if (content.Contains("ActivityId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ActivityId = (string) content.GetValueForProperty("ActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ActivityId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ActivityId = (string) content.GetValueForProperty("ActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ActivityId, global::System.Convert.ToString); } if (content.Contains("BackupInstanceFriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).BackupInstanceFriendlyName = (string) content.GetValueForProperty("BackupInstanceFriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).BackupInstanceFriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).BackupInstanceFriendlyName = (string) content.GetValueForProperty("BackupInstanceFriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).BackupInstanceFriendlyName, global::System.Convert.ToString); } if (content.Contains("BackupInstanceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).BackupInstanceId = (string) content.GetValueForProperty("BackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).BackupInstanceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).BackupInstanceId = (string) content.GetValueForProperty("BackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).BackupInstanceId, global::System.Convert.ToString); } if (content.Contains("DataSourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceId = (string) content.GetValueForProperty("DataSourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceId = (string) content.GetValueForProperty("DataSourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceId, global::System.Convert.ToString); } if (content.Contains("DataSourceLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceLocation = (string) content.GetValueForProperty("DataSourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceLocation = (string) content.GetValueForProperty("DataSourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceLocation, global::System.Convert.ToString); } if (content.Contains("DataSourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceName = (string) content.GetValueForProperty("DataSourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceName = (string) content.GetValueForProperty("DataSourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceName, global::System.Convert.ToString); } if (content.Contains("DataSourceSetName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceSetName = (string) content.GetValueForProperty("DataSourceSetName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceSetName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceSetName = (string) content.GetValueForProperty("DataSourceSetName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceSetName, global::System.Convert.ToString); } if (content.Contains("DataSourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceType = (string) content.GetValueForProperty("DataSourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DataSourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceType = (string) content.GetValueForProperty("DataSourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DataSourceType, global::System.Convert.ToString); } if (content.Contains("Duration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).EndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).EndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[]) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ErrorDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[]) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ErrorDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorTypeConverter.ConvertFrom)); } if (content.Contains("IsUserTriggered")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).IsUserTriggered = (bool) content.GetValueForProperty("IsUserTriggered",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).IsUserTriggered, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).IsUserTriggered = (bool) content.GetValueForProperty("IsUserTriggered",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).IsUserTriggered, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Operation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Operation, global::System.Convert.ToString); } if (content.Contains("OperationCategory")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).OperationCategory = (string) content.GetValueForProperty("OperationCategory",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).OperationCategory, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).OperationCategory = (string) content.GetValueForProperty("OperationCategory",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).OperationCategory, global::System.Convert.ToString); } if (content.Contains("PolicyId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).PolicyId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).PolicyId, global::System.Convert.ToString); } if (content.Contains("PolicyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).PolicyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).PolicyName = (string) content.GetValueForProperty("PolicyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).PolicyName, global::System.Convert.ToString); } if (content.Contains("ProgressEnabled")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ProgressEnabled = (bool) content.GetValueForProperty("ProgressEnabled",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ProgressEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ProgressEnabled = (bool) content.GetValueForProperty("ProgressEnabled",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ProgressEnabled, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("ProgressUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ProgressUrl = (string) content.GetValueForProperty("ProgressUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ProgressUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ProgressUrl = (string) content.GetValueForProperty("ProgressUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ProgressUrl, global::System.Convert.ToString); } if (content.Contains("RehydrationPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).RehydrationPriority = (string) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).RehydrationPriority, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).RehydrationPriority = (string) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).RehydrationPriority, global::System.Convert.ToString); } if (content.Contains("RestoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).RestoreType = (string) content.GetValueForProperty("RestoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).RestoreType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).RestoreType = (string) content.GetValueForProperty("RestoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).RestoreType, global::System.Convert.ToString); } if (content.Contains("SourceResourceGroup")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceResourceGroup = (string) content.GetValueForProperty("SourceResourceGroup",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceResourceGroup, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceResourceGroup = (string) content.GetValueForProperty("SourceResourceGroup",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceResourceGroup, global::System.Convert.ToString); } if (content.Contains("SourceSubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceSubscriptionId = (string) content.GetValueForProperty("SourceSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceSubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceSubscriptionId = (string) content.GetValueForProperty("SourceSubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceSubscriptionId, global::System.Convert.ToString); } if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).StartTime = (global::System.DateTime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).StartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).StartTime = (global::System.DateTime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).StartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Status, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Status, global::System.Convert.ToString); } if (content.Contains("SubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SubscriptionId, global::System.Convert.ToString); } if (content.Contains("SupportedAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SupportedAction = (string[]) content.GetValueForProperty("SupportedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SupportedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SupportedAction = (string[]) content.GetValueForProperty("SupportedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SupportedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("VaultName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).VaultName = (string) content.GetValueForProperty("VaultName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).VaultName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).VaultName = (string) content.GetValueForProperty("VaultName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).VaultName, global::System.Convert.ToString); } if (content.Contains("Etag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).Etag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Etag = (string) content.GetValueForProperty("Etag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).Etag, global::System.Convert.ToString); } if (content.Contains("SourceDataStoreName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceDataStoreName = (string) content.GetValueForProperty("SourceDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceDataStoreName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceDataStoreName = (string) content.GetValueForProperty("SourceDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceDataStoreName, global::System.Convert.ToString); } if (content.Contains("DestinationDataStoreName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DestinationDataStoreName = (string) content.GetValueForProperty("DestinationDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).DestinationDataStoreName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DestinationDataStoreName = (string) content.GetValueForProperty("DestinationDataStoreName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).DestinationDataStoreName, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoSourceRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoSourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoSourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoSourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoSourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoSourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoSourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoTargetRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoTargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoTargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoTargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoTargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("ExtendedInfoTargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoTargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoAdditionalDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoAdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("ExtendedInfoAdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoAdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoAdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("ExtendedInfoAdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoAdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); } if (content.Contains("ExtendedInfoBackupInstanceState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoBackupInstanceState = (string) content.GetValueForProperty("ExtendedInfoBackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoBackupInstanceState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoBackupInstanceState = (string) content.GetValueForProperty("ExtendedInfoBackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoBackupInstanceState, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoDataTransferredInByte")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoDataTransferredInByte = (double?) content.GetValueForProperty("ExtendedInfoDataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoDataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoDataTransferredInByte = (double?) content.GetValueForProperty("ExtendedInfoDataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoDataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ExtendedInfoRecoveryDestination")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoRecoveryDestination = (string) content.GetValueForProperty("ExtendedInfoRecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoRecoveryDestination, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoRecoveryDestination = (string) content.GetValueForProperty("ExtendedInfoRecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoRecoveryDestination, global::System.Convert.ToString); } if (content.Contains("ExtendedInfoSubTask")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoSubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[]) content.GetValueForProperty("ExtendedInfoSubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).ExtendedInfoSubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobSubTaskTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoSubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[]) content.GetValueForProperty("ExtendedInfoSubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoSubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobSubTaskTypeConverter.ConvertFrom)); + } + if (content.Contains("ExtendedInfoWarningDetail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoWarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[]) content.GetValueForProperty("ExtendedInfoWarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).ExtendedInfoWarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingWarningDetailTypeConverter.ConvertFrom)); } if (content.Contains("SourceRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("SourceRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).SourceRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("TargetRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("TargetRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal)this).TargetRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupJobResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupJobResource(content); } @@ -497,7 +505,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResource.TypeConverter.cs index 3cb8f28623aa..d3fabc873a06 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResource.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResource.cs index f2856794a574..20650f9951e6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResource.cs @@ -3,259 +3,266 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// AzureBackup Job Resource Class public partial class AzureBackupJobResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResource(); /// Job Activity Id [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ActivityId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ActivityId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ActivityId = value ?? null; } + public string ActivityId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ActivityId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ActivityId = value ?? null; } /// Name of the Backup Instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string BackupInstanceFriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).BackupInstanceFriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).BackupInstanceFriendlyName = value ?? null; } + public string BackupInstanceFriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).BackupInstanceFriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).BackupInstanceFriendlyName = value ?? null; } /// ARM ID of the Backup Instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string BackupInstanceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).BackupInstanceId; } + public string BackupInstanceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).BackupInstanceId; } /// ARM ID of the DataSource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string DataSourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).DataSourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).DataSourceId = value ?? null; } + public string DataSourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).DataSourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).DataSourceId = value ?? null; } /// Location of the DataSource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string DataSourceLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).DataSourceLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).DataSourceLocation = value ?? null; } + public string DataSourceLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).DataSourceLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).DataSourceLocation = value ?? null; } /// User Friendly Name of the DataSource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string DataSourceName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).DataSourceName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).DataSourceName = value ?? null; } + public string DataSourceName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).DataSourceName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).DataSourceName = value ?? null; } /// Data Source Set Name of the DataSource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string DataSourceSetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).DataSourceSetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).DataSourceSetName = value ?? null; } + public string DataSourceSetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).DataSourceSetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).DataSourceSetName = value ?? null; } /// Type of DataSource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string DataSourceType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).DataSourceType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).DataSourceType = value ?? null; } + public string DataSourceType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).DataSourceType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).DataSourceType = value ?? null; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string DestinationDataStoreName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).DestinationDataStoreName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).DestinationDataStoreName = value ?? null; } + public string DestinationDataStoreName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).DestinationDataStoreName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).DestinationDataStoreName = value ?? null; } /// Total run time of the job. ISO 8601 format. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string Duration { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).Duration; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).Duration = value ?? null; } + public string Duration { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).Duration; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).Duration = value ?? null; } /// EndTime of the job(in UTC) [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public global::System.DateTime? EndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).EndTime; } + public global::System.DateTime? EndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).EndTime; } /// A List, detailing the errors related to the job [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[] ErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ErrorDetail; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[] ErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ErrorDetail; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string Etag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).Etag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).Etag = value ?? null; } + public string Etag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).Etag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).Etag = value ?? null; } /// Job's Additional Details [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoAdditionalDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoAdditionalDetail = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoAdditionalDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoAdditionalDetail = value ?? null /* model class */; } /// State of the Backup Instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ExtendedInfoBackupInstanceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoBackupInstanceState; } + public string ExtendedInfoBackupInstanceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoBackupInstanceState; } /// Number of bytes transferred [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public double? ExtendedInfoDataTransferredInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoDataTransferredInByte; } + public double? ExtendedInfoDataTransferredInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoDataTransferredInByte; } /// Destination where restore is done [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ExtendedInfoRecoveryDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoRecoveryDestination; } + public string ExtendedInfoRecoveryDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoRecoveryDestination; } /// List of Sub Tasks of the job [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[] ExtendedInfoSubTask { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoSubTask; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[] ExtendedInfoSubTask { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoSubTask; } + + /// A List, detailing the warnings related to the job + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[] ExtendedInfoWarningDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoWarningDetail; } /// Resource Id represents the complete path to the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id; } /// Indicated that whether the job is adhoc(true) or scheduled(false) [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public bool? IsUserTriggered { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).IsUserTriggered; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).IsUserTriggered = value ?? default(bool); } + public bool? IsUserTriggered { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).IsUserTriggered; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).IsUserTriggered = value ?? default(bool); } /// Internal Acessors for BackupInstanceId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal.BackupInstanceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).BackupInstanceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).BackupInstanceId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal.BackupInstanceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).BackupInstanceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).BackupInstanceId = value; } /// Internal Acessors for EndTime - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal.EndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).EndTime = value; } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal.EndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).EndTime = value; } /// Internal Acessors for ErrorDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal.ErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ErrorDetail = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal.ErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ErrorDetail = value; } /// Internal Acessors for ExtendedInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal.ExtendedInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfo = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal.ExtendedInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfo = value; } /// Internal Acessors for ExtendedInfoBackupInstanceState - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal.ExtendedInfoBackupInstanceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoBackupInstanceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoBackupInstanceState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal.ExtendedInfoBackupInstanceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoBackupInstanceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoBackupInstanceState = value; } /// Internal Acessors for ExtendedInfoDataTransferredInByte - double? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal.ExtendedInfoDataTransferredInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoDataTransferredInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoDataTransferredInByte = value; } + double? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal.ExtendedInfoDataTransferredInByte { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoDataTransferredInByte; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoDataTransferredInByte = value; } /// Internal Acessors for ExtendedInfoRecoveryDestination - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal.ExtendedInfoRecoveryDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoRecoveryDestination; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoRecoveryDestination = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal.ExtendedInfoRecoveryDestination { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoRecoveryDestination; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoRecoveryDestination = value; } /// Internal Acessors for ExtendedInfoSourceRecoverPoint - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal.ExtendedInfoSourceRecoverPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoSourceRecoverPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoSourceRecoverPoint = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal.ExtendedInfoSourceRecoverPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoSourceRecoverPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoSourceRecoverPoint = value; } /// Internal Acessors for ExtendedInfoSubTask - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal.ExtendedInfoSubTask { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoSubTask; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoSubTask = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal.ExtendedInfoSubTask { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoSubTask; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoSubTask = value; } /// Internal Acessors for ExtendedInfoTargetRecoverPoint - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal.ExtendedInfoTargetRecoverPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoTargetRecoverPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ExtendedInfoTargetRecoverPoint = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal.ExtendedInfoTargetRecoverPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoTargetRecoverPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoTargetRecoverPoint = value; } + + /// Internal Acessors for ExtendedInfoWarningDetail + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal.ExtendedInfoWarningDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoWarningDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ExtendedInfoWarningDetail = value; } /// Internal Acessors for PolicyId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal.PolicyId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).PolicyId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).PolicyId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal.PolicyId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).PolicyId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).PolicyId = value; } /// Internal Acessors for PolicyName - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal.PolicyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).PolicyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).PolicyName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal.PolicyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).PolicyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).PolicyName = value; } /// Internal Acessors for ProgressUrl - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal.ProgressUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ProgressUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ProgressUrl = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal.ProgressUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ProgressUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ProgressUrl = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJob Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupJob()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJob Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJob()); set { {_property = value;} } } /// Internal Acessors for RehydrationPriority - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal.RehydrationPriority { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).RehydrationPriority; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).RehydrationPriority = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal.RehydrationPriority { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).RehydrationPriority; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).RehydrationPriority = value; } /// Internal Acessors for RestoreType - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceInternal.RestoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).RestoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).RestoreType = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceInternal.RestoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).RestoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).RestoreType = value; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type = value; } /// Resource name associated with the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name; } /// /// It indicates the type of Job i.e. Backup:full/log/diff ;Restore:ALR/OLR; Tiering:Backup/Archive ; Management:ConfigureProtection/UnConfigure /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string Operation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).Operation = value ?? null; } + public string Operation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).Operation = value ?? null; } /// It indicates the type of Job i.e. Backup/Restore/Tiering/Management [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string OperationCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).OperationCategory; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).OperationCategory = value ?? null; } + public string OperationCategory { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).OperationCategory; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).OperationCategory = value ?? null; } /// ARM ID of the policy [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string PolicyId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).PolicyId; } + public string PolicyId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).PolicyId; } /// Name of the policy [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string PolicyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).PolicyName; } + public string PolicyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).PolicyName; } /// Indicated whether progress is enabled for the job [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public bool? ProgressEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ProgressEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ProgressEnabled = value ?? default(bool); } + public bool? ProgressEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ProgressEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ProgressEnabled = value ?? default(bool); } /// Url which contains job's progress [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ProgressUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).ProgressUrl; } + public string ProgressUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).ProgressUrl; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJob _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJob _property; /// AzureBackupJobResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJob Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupJob()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJob Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJob()); set => this._property = value; } /// Priority to be used for rehydration [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string RehydrationPriority { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).RehydrationPriority; } + public string RehydrationPriority { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).RehydrationPriority; } /// /// It indicates the sub type of operation i.e. in case of Restore it can be ALR/OLR /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string RestoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).RestoreType; } + public string RestoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).RestoreType; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string SourceDataStoreName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).SourceDataStoreName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).SourceDataStoreName = value ?? null; } + public string SourceDataStoreName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).SourceDataStoreName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).SourceDataStoreName = value ?? null; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string SourceRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).SourceRecoverPointRecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).SourceRecoverPointRecoveryPointId = value ?? null; } + public string SourceRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).SourceRecoverPointRecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).SourceRecoverPointRecoveryPointId = value ?? null; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public global::System.DateTime? SourceRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).SourceRecoverPointRecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).SourceRecoverPointRecoveryPointTime = value ?? default(global::System.DateTime); } + public global::System.DateTime? SourceRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).SourceRecoverPointRecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).SourceRecoverPointRecoveryPointTime = value ?? default(global::System.DateTime); } /// Resource Group Name of the Datasource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string SourceResourceGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).SourceResourceGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).SourceResourceGroup = value ?? null; } + public string SourceResourceGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).SourceResourceGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).SourceResourceGroup = value ?? null; } /// SubscriptionId corresponding to the DataSource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string SourceSubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).SourceSubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).SourceSubscriptionId = value ?? null; } + public string SourceSubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).SourceSubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).SourceSubscriptionId = value ?? null; } /// StartTime of the job(in UTC) [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public global::System.DateTime? StartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).StartTime = value ?? default(global::System.DateTime); } + public global::System.DateTime? StartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).StartTime = value ?? default(global::System.DateTime); } /// Status of the job like InProgress/Success/Failed/Cancelled/SuccessWithWarning [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).Status = value ?? null; } + public string Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).Status = value ?? null; } /// Subscription Id of the corresponding backup vault [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string SubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).SubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).SubscriptionId = value ?? null; } + public string SubscriptionId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).SubscriptionId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).SubscriptionId = value ?? null; } /// List of supported actions [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string[] SupportedAction { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).SupportedAction; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).SupportedAction = value ?? null /* arrayOf */; } + public string[] SupportedAction { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).SupportedAction; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).SupportedAction = value ?? null /* arrayOf */; } /// Metadata pertaining to creation and last modification of the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string TargetRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).TargetRecoverPointRecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).TargetRecoverPointRecoveryPointId = value ?? null; } + public string TargetRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).TargetRecoverPointRecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).TargetRecoverPointRecoveryPointId = value ?? null; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public global::System.DateTime? TargetRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).TargetRecoverPointRecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).TargetRecoverPointRecoveryPointTime = value ?? default(global::System.DateTime); } + public global::System.DateTime? TargetRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).TargetRecoverPointRecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).TargetRecoverPointRecoveryPointTime = value ?? default(global::System.DateTime); } /// /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type; } /// Name of the vault [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string VaultName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).VaultName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobInternal)Property).VaultName = value ?? null; } + public string VaultName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).VaultName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobInternal)Property).VaultName = value ?? null; } /// Creates an new instance. public AzureBackupJobResource() @@ -278,7 +285,7 @@ public AzureBackupJobResource() /// AzureBackup Job Resource Class public partial interface IAzureBackupJobResource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource { /// Job Activity Id [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -374,8 +381,8 @@ public partial interface IAzureBackupJobResource : ReadOnly = true, Description = @"A List, detailing the errors related to the job", SerializedName = @"errorDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[] ErrorDetail { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[] ErrorDetail { get; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -390,8 +397,8 @@ public partial interface IAzureBackupJobResource : ReadOnly = false, Description = @"Job's Additional Details", SerializedName = @"additionalDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get; set; } /// State of the Backup Instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -422,8 +429,16 @@ public partial interface IAzureBackupJobResource : ReadOnly = true, Description = @"List of Sub Tasks of the job", SerializedName = @"subTasks", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[] ExtendedInfoSubTask { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[] ExtendedInfoSubTask { get; } + /// A List, detailing the warnings related to the job + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"A List, detailing the warnings related to the job", + SerializedName = @"warningDetails", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[] ExtendedInfoWarningDetail { get; } /// Indicated that whether the job is adhoc(true) or scheduled(false) [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -600,7 +615,7 @@ public partial interface IAzureBackupJobResource : } /// AzureBackup Job Resource Class internal partial interface IAzureBackupJobResourceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal { /// Job Activity Id string ActivityId { get; set; } @@ -625,13 +640,13 @@ internal partial interface IAzureBackupJobResourceInternal : /// EndTime of the job(in UTC) global::System.DateTime? EndTime { get; set; } /// A List, detailing the errors related to the job - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[] ErrorDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[] ErrorDetail { get; set; } string Etag { get; set; } /// Extended Information about the job - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo ExtendedInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo ExtendedInfo { get; set; } /// Job's Additional Details - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails ExtendedInfoAdditionalDetail { get; set; } /// State of the Backup Instance string ExtendedInfoBackupInstanceState { get; set; } /// Number of bytes transferred @@ -639,11 +654,13 @@ internal partial interface IAzureBackupJobResourceInternal : /// Destination where restore is done string ExtendedInfoRecoveryDestination { get; set; } /// Details of the Source Recovery Point - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails ExtendedInfoSourceRecoverPoint { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails ExtendedInfoSourceRecoverPoint { get; set; } /// List of Sub Tasks of the job - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[] ExtendedInfoSubTask { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[] ExtendedInfoSubTask { get; set; } /// Details of the Target Recovery Point - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails ExtendedInfoTargetRecoverPoint { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails ExtendedInfoTargetRecoverPoint { get; set; } + /// A List, detailing the warnings related to the job + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[] ExtendedInfoWarningDetail { get; set; } /// Indicated that whether the job is adhoc(true) or scheduled(false) bool? IsUserTriggered { get; set; } /// @@ -661,7 +678,7 @@ internal partial interface IAzureBackupJobResourceInternal : /// Url which contains job's progress string ProgressUrl { get; set; } /// AzureBackupJobResource properties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJob Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJob Property { get; set; } /// Priority to be used for rehydration string RehydrationPriority { get; set; } /// diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResource.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResource.json.cs index 65dc05835fda..2cc11552116b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal AzureBackupJobResource(Microsoft.Azure.PowerShell.Cmdlets.DataProtectio { return; } - __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupJob.FromJson(__jsonProperties) : Property;} + __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJob.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureBackupJobResource(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResourceList.PowerShell.cs index 1e76f8b9e618..e503737ba0df 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResourceList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupJobResourceList partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal AzureBackupJobResourceList(global::System.Collections.IDictionary conte // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupJobResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJobResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,39 +95,39 @@ internal AzureBackupJobResourceList(global::System.Management.Automation.PSObjec // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupJobResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJobResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupJobResourceList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupJobResourceList(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResourceList.TypeConverter.cs index 4e249421b455..236f6ab79b9f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResourceList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResourceList.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResourceList.cs index 7f881fd11ec1..96f908eccdd1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResourceList.cs @@ -3,34 +3,34 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List of AzureBackup Job resources public partial class AzureBackupJobResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceListInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceListInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResourceList(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResourceList(); /// /// The uri to fetch the next page of resources. Call ListNext() fetches next page of resources. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } + public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource[] _value; /// List of resources. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public AzureBackupJobResourceList() @@ -53,7 +53,7 @@ public AzureBackupJobResourceList() /// List of AzureBackup Job resources public partial interface IAzureBackupJobResourceList : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList { /// List of resources. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -61,16 +61,16 @@ public partial interface IAzureBackupJobResourceList : ReadOnly = false, Description = @"List of resources.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource[] Value { get; set; } } /// List of AzureBackup Job resources internal partial interface IAzureBackupJobResourceListInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal { /// List of resources. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResourceList.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResourceList.json.cs index 20d9e85bd746..b7f965cc3c72 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupJobResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupJobResourceList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal AzureBackupJobResourceList(Microsoft.Azure.PowerShell.Cmdlets.DataProte { return; } - __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResourceList(json); - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupJobResource.FromJson(__u) )) ))() : null : Value;} + __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResourceList(json); + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupJobResource.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureBackupJobResourceList(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupParams.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupParams.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupParams.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupParams.PowerShell.cs index 75baac289856..6a3bc07e6904 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupParams.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupParams.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupParams partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal AzureBackupParams(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("BackupType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupParamsInternal)this).BackupType = (string) content.GetValueForProperty("BackupType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupParamsInternal)this).BackupType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupParamsInternal)this).BackupType = (string) content.GetValueForProperty("BackupType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupParamsInternal)this).BackupType, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParametersInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,37 +95,37 @@ internal AzureBackupParams(global::System.Management.Automation.PSObject content // actually deserialize if (content.Contains("BackupType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupParamsInternal)this).BackupType = (string) content.GetValueForProperty("BackupType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupParamsInternal)this).BackupType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupParamsInternal)this).BackupType = (string) content.GetValueForProperty("BackupType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupParamsInternal)this).BackupType, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParametersInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupParams DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupParams DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupParams(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupParams DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupParams DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupParams(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupParams FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupParams FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupParams.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupParams.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupParams.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupParams.TypeConverter.cs index 6103f2dbe4ad..3b608c13661d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupParams.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupParams.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupParams ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupParams ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupParams).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupParams).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupParams.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupParams.cs similarity index 91% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupParams.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupParams.cs index 0a1a9510e491..097c4ebdb5e0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupParams.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupParams.cs @@ -3,21 +3,21 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure backup parameters public partial class AzureBackupParams : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupParams, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupParamsInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupParams, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupParamsInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters __backupParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters __backupParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupParameters(); /// Backing field for property. private string _backupType; @@ -28,7 +28,7 @@ public partial class AzureBackupParams : /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParametersInternal)__backupParameters).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParametersInternal)__backupParameters).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParametersInternal)__backupParameters).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParametersInternal)__backupParameters).ObjectType = value ; } /// Creates an new instance. public AzureBackupParams() @@ -51,7 +51,7 @@ public AzureBackupParams() /// Azure backup parameters public partial interface IAzureBackupParams : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters { /// BackupType ; Full/Incremental etc [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -65,7 +65,7 @@ public partial interface IAzureBackupParams : } /// Azure backup parameters internal partial interface IAzureBackupParamsInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParametersInternal { /// BackupType ; Full/Incremental etc string BackupType { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupParams.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupParams.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupParams.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupParams.json.cs index 4d8bba68a168..8ea5476c7137 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupParams.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupParams.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal AzureBackupParams(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Run { return; } - __backupParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupParameters(json); + __backupParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupParameters(json); {_backupType = If( json?.PropertyT("backupType"), out var __jsonBackupType) ? (string)__jsonBackupType : (string)BackupType;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupParams. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupParams. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupParams. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupParams. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupParams FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupParams FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureBackupParams(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPoint.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPoint.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPoint.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPoint.PowerShell.cs index 5647ffee50c0..9989c9e231bf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPoint.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPoint.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupRecoveryPoint partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,13 +70,13 @@ internal AzureBackupRecoveryPoint(global::System.Collections.IDictionary content // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -91,35 +91,35 @@ internal AzureBackupRecoveryPoint(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupRecoveryPoint(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRecoveryPoint(content); } @@ -129,7 +129,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPoint.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPoint.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPoint.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPoint.TypeConverter.cs index 48fa5754f516..b99d0a210fdb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPoint.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPoint.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPoint.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPoint.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPoint.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPoint.cs index c88f71469732..ed2208041e9d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPoint.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPoint.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure backup recoveryPoint public partial class AzureBackupRecoveryPoint : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPoint.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPoint.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPoint.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPoint.json.cs index 629b0005692b..81a81f658f13 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPoint.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPoint.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,15 +70,15 @@ internal AzureBackupRecoveryPoint(Microsoft.Azure.PowerShell.Cmdlets.DataProtect } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint interface is + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint interface is /// polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointBasedRestoreRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointBasedRestoreRequest.PowerShell.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointBasedRestoreRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointBasedRestoreRequest.PowerShell.cs index b82b7a25358b..f21d1dce8fab 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointBasedRestoreRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointBasedRestoreRequest.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupRecoveryPointBasedRestoreRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,41 +70,41 @@ internal AzureBackupRecoveryPointBasedRestoreRequest(global::System.Collections. // actually deserialize if (content.Contains("RecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); } if (content.Contains("IdentityDetailUseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IdentityDetailUserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RestoreTargetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -119,63 +119,63 @@ internal AzureBackupRecoveryPointBasedRestoreRequest(global::System.Management.A // actually deserialize if (content.Contains("RecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); } if (content.Contains("IdentityDetailUseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IdentityDetailUserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RestoreTargetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupRecoveryPointBasedRestoreRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRecoveryPointBasedRestoreRequest(content); } @@ -188,7 +188,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointBasedRestoreRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointBasedRestoreRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointBasedRestoreRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointBasedRestoreRequest.TypeConverter.cs index 1cad2ff9f7fa..a3504a8e270e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointBasedRestoreRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointBasedRestoreRequest.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -110,14 +110,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointBasedRestoreRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointBasedRestoreRequest.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointBasedRestoreRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointBasedRestoreRequest.cs index 9b69846c260c..f32627356a82 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointBasedRestoreRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointBasedRestoreRequest.cs @@ -3,39 +3,39 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure backup recoveryPoint based restore request public partial class AzureBackupRecoveryPointBasedRestoreRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequestInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequestInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest __azureBackupRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRestoreRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest __azureBackupRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequest(); /// /// Contains information of the Identity Details for the BI. /// If it is null, default will be considered as System Assigned. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetail = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetail = value ?? null /* model class */; } /// Specifies if the BI is protected by System Identity. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public bool? IdentityDetailUseSystemAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUseSystemAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUseSystemAssignedIdentity = value ?? default(bool); } + public bool? IdentityDetailUseSystemAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUseSystemAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUseSystemAssignedIdentity = value ?? default(bool); } /// ARM URL for User Assigned Identity. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string IdentityDetailUserAssignedIdentityArmUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl = value ?? null; } + public string IdentityDetailUserAssignedIdentityArmUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl = value ?? null; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ObjectType = value ; } /// Backing field for property. private string _recoveryPointId; @@ -45,17 +45,17 @@ public partial class AzureBackupRecoveryPointBasedRestoreRequest : /// Gets or sets the restore target information. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase RestoreTargetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).RestoreTargetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).RestoreTargetInfo = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase RestoreTargetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).RestoreTargetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).RestoreTargetInfo = value ; } /// Gets or sets the type of the source data store. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType SourceDataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceDataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceDataStoreType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType SourceDataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceDataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceDataStoreType = value ; } /// /// Fully qualified Azure Resource Manager ID of the datasource which is being recovered. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceResourceId = value ?? null; } + public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceResourceId = value ?? null; } /// /// Creates an new instance. @@ -80,7 +80,7 @@ public AzureBackupRecoveryPointBasedRestoreRequest() /// Azure backup recoveryPoint based restore request public partial interface IAzureBackupRecoveryPointBasedRestoreRequest : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest { [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = true, @@ -93,7 +93,7 @@ public partial interface IAzureBackupRecoveryPointBasedRestoreRequest : } /// Azure backup recoveryPoint based restore request internal partial interface IAzureBackupRecoveryPointBasedRestoreRequestInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal { string RecoveryPointId { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointBasedRestoreRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointBasedRestoreRequest.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointBasedRestoreRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointBasedRestoreRequest.json.cs index 3f925459c118..15d288ee6305 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointBasedRestoreRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointBasedRestoreRequest.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,22 +65,22 @@ internal AzureBackupRecoveryPointBasedRestoreRequest(Microsoft.Azure.PowerShell. { return; } - __azureBackupRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRestoreRequest(json); + __azureBackupRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequest(json); {_recoveryPointId = If( json?.PropertyT("recoveryPointId"), out var __jsonRecoveryPointId) ? (string)__jsonRecoveryPointId : (string)RecoveryPointId;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequest. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequest + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequest. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequest /// interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the /// payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResource.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResource.PowerShell.cs index ad4657c409e2..597b8f9699af 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupRecoveryPointResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,33 +70,33 @@ internal AzureBackupRecoveryPointResource(global::System.Collections.IDictionary // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPointTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPointTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -111,55 +111,55 @@ internal AzureBackupRecoveryPointResource(global::System.Management.Automation.P // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPointTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPointTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupRecoveryPointResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRecoveryPointResource(content); } @@ -169,7 +169,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResource.TypeConverter.cs index a3bb762abeaf..ab2ba1536fcf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResource.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResource.cs index 2cf0dde0b2d4..e362f9da0157 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResource.cs @@ -3,64 +3,64 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure backup recoveryPoint resource public partial class AzureBackupRecoveryPointResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResource(); /// Resource Id represents the complete path to the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPoint()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPoint()); set { {_property = value;} } } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type = value; } /// Resource name associated with the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointInternal)Property).ObjectType = value ?? null; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointInternal)Property).ObjectType = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint _property; /// AzureBackupRecoveryPointResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPoint()); set => this._property = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPoint()); set => this._property = value; } /// Metadata pertaining to creation and last modification of the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData; } /// /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type; } /// Creates an new instance. public AzureBackupRecoveryPointResource() @@ -83,7 +83,7 @@ public AzureBackupRecoveryPointResource() /// Azure backup recoveryPoint resource public partial interface IAzureBackupRecoveryPointResource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource { [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -96,11 +96,11 @@ public partial interface IAzureBackupRecoveryPointResource : } /// Azure backup recoveryPoint resource internal partial interface IAzureBackupRecoveryPointResourceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal { string ObjectType { get; set; } /// AzureBackupRecoveryPointResource properties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPoint Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPoint Property { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResource.json.cs index d71e5e37f164..9721fe17ddbd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal AzureBackupRecoveryPointResource(Microsoft.Azure.PowerShell.Cmdlets.Dat { return; } - __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPoint.FromJson(__jsonProperties) : Property;} + __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPoint.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureBackupRecoveryPointResource(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResourceList.PowerShell.cs index dd7085d6c5c3..738752704d08 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResourceList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupRecoveryPointResourceList partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal AzureBackupRecoveryPointResourceList(global::System.Collections.IDictio // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPointResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPointResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,39 +95,39 @@ internal AzureBackupRecoveryPointResourceList(global::System.Management.Automati // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPointResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPointResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupRecoveryPointResourceList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRecoveryPointResourceList(content); } @@ -139,7 +139,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResourceList.TypeConverter.cs index 166539887699..da2c8af9130e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResourceList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -109,14 +109,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResourceList.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResourceList.cs index 96d39009f089..93ed5fc0dc91 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResourceList.cs @@ -3,34 +3,34 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure backup recoveryPoint resource list public partial class AzureBackupRecoveryPointResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceListInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceListInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResourceList(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResourceList(); /// /// The uri to fetch the next page of resources. Call ListNext() fetches next page of resources. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } + public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource[] _value; /// List of resources. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public AzureBackupRecoveryPointResourceList() @@ -53,7 +53,7 @@ public AzureBackupRecoveryPointResourceList() /// Azure backup recoveryPoint resource list public partial interface IAzureBackupRecoveryPointResourceList : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList { /// List of resources. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -61,16 +61,16 @@ public partial interface IAzureBackupRecoveryPointResourceList : ReadOnly = false, Description = @"List of resources.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource[] Value { get; set; } } /// Azure backup recoveryPoint resource list internal partial interface IAzureBackupRecoveryPointResourceListInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal { /// List of resources. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResourceList.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResourceList.json.cs index d4fec166b24b..4f693a117e55 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryPointResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryPointResourceList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal AzureBackupRecoveryPointResourceList(Microsoft.Azure.PowerShell.Cmdlets { return; } - __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResourceList(json); - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPointResource.FromJson(__u) )) ))() : null : Value;} + __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResourceList(json); + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPointResource.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureBackupRecoveryPointResourceList(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryTimeBasedRestoreRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryTimeBasedRestoreRequest.PowerShell.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryTimeBasedRestoreRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryTimeBasedRestoreRequest.PowerShell.cs index 00d9aac89d44..c4a8292bfa07 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryTimeBasedRestoreRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryTimeBasedRestoreRequest.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupRecoveryTimeBasedRestoreRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,41 +70,41 @@ internal AzureBackupRecoveryTimeBasedRestoreRequest(global::System.Collections.I // actually deserialize if (content.Contains("RecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryTimeBasedRestoreRequestInternal)this).RecoveryPointTime = (string) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryTimeBasedRestoreRequestInternal)this).RecoveryPointTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryTimeBasedRestoreRequestInternal)this).RecoveryPointTime = (string) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryTimeBasedRestoreRequestInternal)this).RecoveryPointTime, global::System.Convert.ToString); } if (content.Contains("IdentityDetailUseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IdentityDetailUserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RestoreTargetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -119,63 +119,63 @@ internal AzureBackupRecoveryTimeBasedRestoreRequest(global::System.Management.Au // actually deserialize if (content.Contains("RecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryTimeBasedRestoreRequestInternal)this).RecoveryPointTime = (string) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryTimeBasedRestoreRequestInternal)this).RecoveryPointTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryTimeBasedRestoreRequestInternal)this).RecoveryPointTime = (string) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryTimeBasedRestoreRequestInternal)this).RecoveryPointTime, global::System.Convert.ToString); } if (content.Contains("IdentityDetailUseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IdentityDetailUserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RestoreTargetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryTimeBasedRestoreRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryTimeBasedRestoreRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupRecoveryTimeBasedRestoreRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryTimeBasedRestoreRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryTimeBasedRestoreRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRecoveryTimeBasedRestoreRequest(content); } @@ -188,7 +188,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryTimeBasedRestoreRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryTimeBasedRestoreRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryTimeBasedRestoreRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryTimeBasedRestoreRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryTimeBasedRestoreRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryTimeBasedRestoreRequest.TypeConverter.cs index 72dc644a51b3..6970992a9d1c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryTimeBasedRestoreRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryTimeBasedRestoreRequest.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -110,14 +110,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryTimeBasedRestoreRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryTimeBasedRestoreRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryTimeBasedRestoreRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryTimeBasedRestoreRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryTimeBasedRestoreRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryTimeBasedRestoreRequest.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryTimeBasedRestoreRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryTimeBasedRestoreRequest.cs index 3492d9cd6d22..947a056164dd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryTimeBasedRestoreRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryTimeBasedRestoreRequest.cs @@ -3,39 +3,39 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// AzureBackup RecoveryPointTime Based Restore Request public partial class AzureBackupRecoveryTimeBasedRestoreRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryTimeBasedRestoreRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryTimeBasedRestoreRequestInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryTimeBasedRestoreRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryTimeBasedRestoreRequestInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest __azureBackupRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRestoreRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest __azureBackupRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequest(); /// /// Contains information of the Identity Details for the BI. /// If it is null, default will be considered as System Assigned. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetail = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetail = value ?? null /* model class */; } /// Specifies if the BI is protected by System Identity. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public bool? IdentityDetailUseSystemAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUseSystemAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUseSystemAssignedIdentity = value ?? default(bool); } + public bool? IdentityDetailUseSystemAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUseSystemAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUseSystemAssignedIdentity = value ?? default(bool); } /// ARM URL for User Assigned Identity. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string IdentityDetailUserAssignedIdentityArmUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl = value ?? null; } + public string IdentityDetailUserAssignedIdentityArmUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl = value ?? null; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).ObjectType = value ; } /// Backing field for property. private string _recoveryPointTime; @@ -46,17 +46,17 @@ public partial class AzureBackupRecoveryTimeBasedRestoreRequest : /// Gets or sets the restore target information. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase RestoreTargetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).RestoreTargetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).RestoreTargetInfo = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase RestoreTargetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).RestoreTargetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).RestoreTargetInfo = value ; } /// Gets or sets the type of the source data store. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType SourceDataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceDataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceDataStoreType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType SourceDataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceDataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceDataStoreType = value ; } /// /// Fully qualified Azure Resource Manager ID of the datasource which is being recovered. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceResourceId = value ?? null; } + public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRestoreRequest).SourceResourceId = value ?? null; } /// /// Creates an new instance. @@ -81,7 +81,7 @@ public AzureBackupRecoveryTimeBasedRestoreRequest() /// AzureBackup RecoveryPointTime Based Restore Request public partial interface IAzureBackupRecoveryTimeBasedRestoreRequest : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest { /// The recovery time in ISO 8601 format example - 2020-08-14T17:30:00.0000000Z. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -95,7 +95,7 @@ public partial interface IAzureBackupRecoveryTimeBasedRestoreRequest : } /// AzureBackup RecoveryPointTime Based Restore Request internal partial interface IAzureBackupRecoveryTimeBasedRestoreRequestInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal { /// The recovery time in ISO 8601 format example - 2020-08-14T17:30:00.0000000Z. string RecoveryPointTime { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryTimeBasedRestoreRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryTimeBasedRestoreRequest.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryTimeBasedRestoreRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryTimeBasedRestoreRequest.json.cs index 08b00c67fc16..5ef9b0c26ce7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRecoveryTimeBasedRestoreRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRecoveryTimeBasedRestoreRequest.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal AzureBackupRecoveryTimeBasedRestoreRequest(Microsoft.Azure.PowerShell.C { return; } - __azureBackupRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRestoreRequest(json); + __azureBackupRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequest(json); {_recoveryPointTime = If( json?.PropertyT("recoveryPointTime"), out var __jsonRecoveryPointTime) ? (string)__jsonRecoveryPointTime : (string)RecoveryPointTime;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryTimeBasedRestoreRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryTimeBasedRestoreRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryTimeBasedRestoreRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryTimeBasedRestoreRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryTimeBasedRestoreRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryTimeBasedRestoreRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureBackupRecoveryTimeBasedRestoreRequest(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRehydrationRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRehydrationRequest.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRehydrationRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRehydrationRequest.PowerShell.cs index ea81c1b38f1c..56608b152b3d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRehydrationRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRehydrationRequest.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupRehydrationRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,21 +70,21 @@ internal AzureBackupRehydrationRequest(global::System.Collections.IDictionary co // actually deserialize if (content.Contains("RecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); } if (content.Contains("RehydrationPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequestInternal)this).RehydrationPriority = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority?) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequestInternal)this).RehydrationPriority, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequestInternal)this).RehydrationPriority = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority?) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequestInternal)this).RehydrationPriority, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority.CreateFrom); } if (content.Contains("RehydrationRetentionDuration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequestInternal)this).RehydrationRetentionDuration = (string) content.GetValueForProperty("RehydrationRetentionDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequestInternal)this).RehydrationRetentionDuration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequestInternal)this).RehydrationRetentionDuration = (string) content.GetValueForProperty("RehydrationRetentionDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequestInternal)this).RehydrationRetentionDuration, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -99,43 +99,43 @@ internal AzureBackupRehydrationRequest(global::System.Management.Automation.PSOb // actually deserialize if (content.Contains("RecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); } if (content.Contains("RehydrationPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequestInternal)this).RehydrationPriority = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority?) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequestInternal)this).RehydrationPriority, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequestInternal)this).RehydrationPriority = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority?) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequestInternal)this).RehydrationPriority, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority.CreateFrom); } if (content.Contains("RehydrationRetentionDuration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequestInternal)this).RehydrationRetentionDuration = (string) content.GetValueForProperty("RehydrationRetentionDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequestInternal)this).RehydrationRetentionDuration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequestInternal)this).RehydrationRetentionDuration = (string) content.GetValueForProperty("RehydrationRetentionDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequestInternal)this).RehydrationRetentionDuration, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupRehydrationRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRehydrationRequest(content); } @@ -145,7 +145,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRehydrationRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRehydrationRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRehydrationRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRehydrationRequest.TypeConverter.cs index 8ba26a8a1e9e..be7b1a4485a8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRehydrationRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRehydrationRequest.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRehydrationRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRehydrationRequest.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRehydrationRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRehydrationRequest.cs index c6d6bb234a9d..a264bbaf4802 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRehydrationRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRehydrationRequest.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure Backup Rehydrate Request public partial class AzureBackupRehydrationRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequestInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRehydrationRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRehydrationRequest.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRehydrationRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRehydrationRequest.json.cs index 56d51c5172de..9d8c3e39af87 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRehydrationRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRehydrationRequest.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -72,13 +72,13 @@ internal AzureBackupRehydrationRequest(Microsoft.Azure.PowerShell.Cmdlets.DataPr } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRehydrationRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRehydrationRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureBackupRehydrationRequest(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreRequest.PowerShell.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreRequest.PowerShell.cs index 23bc83c251ca..f3c90cb6749f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreRequest.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupRestoreRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,37 +70,37 @@ internal AzureBackupRestoreRequest(global::System.Collections.IDictionary conten // actually deserialize if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RestoreTargetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); } if (content.Contains("IdentityDetailUseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IdentityDetailUserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -115,59 +115,59 @@ internal AzureBackupRestoreRequest(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RestoreTargetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); } if (content.Contains("IdentityDetailUseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IdentityDetailUserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupRestoreRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRestoreRequest(content); } @@ -177,7 +177,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreRequest.TypeConverter.cs index 558ec8d6eed5..7b90ad1601bb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreRequest.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreRequest.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreRequest.cs index 9b5a98e259e3..b4845bd7e021 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreRequest.cs @@ -3,36 +3,36 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure backup restore request public partial class AzureBackupRestoreRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails _identityDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails _identityDetail; /// /// Contains information of the Identity Details for the BI. /// If it is null, default will be considered as System Assigned. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails IdentityDetail { get => (this._identityDetail = this._identityDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetails()); set => this._identityDetail = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails IdentityDetail { get => (this._identityDetail = this._identityDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetails()); set => this._identityDetail = value; } /// Specifies if the BI is protected by System Identity. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public bool? IdentityDetailUseSystemAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetailsInternal)IdentityDetail).UseSystemAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetailsInternal)IdentityDetail).UseSystemAssignedIdentity = value ?? default(bool); } + public bool? IdentityDetailUseSystemAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetailsInternal)IdentityDetail).UseSystemAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetailsInternal)IdentityDetail).UseSystemAssignedIdentity = value ?? default(bool); } /// ARM URL for User Assigned Identity. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string IdentityDetailUserAssignedIdentityArmUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetailsInternal)IdentityDetail).UserAssignedIdentityArmUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetailsInternal)IdentityDetail).UserAssignedIdentityArmUrl = value ?? null; } + public string IdentityDetailUserAssignedIdentityArmUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetailsInternal)IdentityDetail).UserAssignedIdentityArmUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetailsInternal)IdentityDetail).UserAssignedIdentityArmUrl = value ?? null; } /// Internal Acessors for IdentityDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal.IdentityDetail { get => (this._identityDetail = this._identityDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetails()); set { {_identityDetail = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal.IdentityDetail { get => (this._identityDetail = this._identityDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetails()); set { {_identityDetail = value;} } } /// Backing field for property. private string _objectType; @@ -41,11 +41,11 @@ public partial class AzureBackupRestoreRequest : public string ObjectType { get => this._objectType; set => this._objectType = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase _restoreTargetInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase _restoreTargetInfo; /// Gets or sets the restore target information. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase RestoreTargetInfo { get => (this._restoreTargetInfo = this._restoreTargetInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBase()); set => this._restoreTargetInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase RestoreTargetInfo { get => (this._restoreTargetInfo = this._restoreTargetInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBase()); set => this._restoreTargetInfo = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType _sourceDataStoreType; @@ -103,8 +103,8 @@ public partial interface IAzureBackupRestoreRequest : ReadOnly = false, Description = @"Gets or sets the restore target information.", SerializedName = @"restoreTargetInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase RestoreTargetInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase RestoreTargetInfo { get; set; } /// Gets or sets the type of the source data store. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = true, @@ -133,7 +133,7 @@ internal partial interface IAzureBackupRestoreRequestInternal /// Contains information of the Identity Details for the BI. /// If it is null, default will be considered as System Assigned. /// - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails IdentityDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails IdentityDetail { get; set; } /// Specifies if the BI is protected by System Identity. bool? IdentityDetailUseSystemAssignedIdentity { get; set; } /// ARM URL for User Assigned Identity. @@ -141,7 +141,7 @@ internal partial interface IAzureBackupRestoreRequestInternal string ObjectType { get; set; } /// Gets or sets the restore target information. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase RestoreTargetInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase RestoreTargetInfo { get; set; } /// Gets or sets the type of the source data store. Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType SourceDataStoreType { get; set; } /// diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreRequest.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreRequest.json.cs index d78227a71966..e81213097b63 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreRequest.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,24 +65,24 @@ internal AzureBackupRestoreRequest(Microsoft.Azure.PowerShell.Cmdlets.DataProtec { return; } - {_identityDetail = If( json?.PropertyT("identityDetails"), out var __jsonIdentityDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetails.FromJson(__jsonIdentityDetails) : IdentityDetail;} + {_identityDetail = If( json?.PropertyT("identityDetails"), out var __jsonIdentityDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetails.FromJson(__jsonIdentityDetails) : IdentityDetail;} {_objectType = If( json?.PropertyT("objectType"), out var __jsonObjectType) ? (string)__jsonObjectType : (string)ObjectType;} - {_restoreTargetInfo = If( json?.PropertyT("restoreTargetInfo"), out var __jsonRestoreTargetInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBase.FromJson(__jsonRestoreTargetInfo) : RestoreTargetInfo;} + {_restoreTargetInfo = If( json?.PropertyT("restoreTargetInfo"), out var __jsonRestoreTargetInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBase.FromJson(__jsonRestoreTargetInfo) : RestoreTargetInfo;} {_sourceDataStoreType = If( json?.PropertyT("sourceDataStoreType"), out var __jsonSourceDataStoreType) ? (string)__jsonSourceDataStoreType : (string)SourceDataStoreType;} {_sourceResourceId = If( json?.PropertyT("sourceResourceId"), out var __jsonSourceResourceId) ? (string)__jsonSourceResourceId : (string)SourceResourceId;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest interface is + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest interface is /// polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreWithRehydrationRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreWithRehydrationRequest.PowerShell.cs similarity index 80% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreWithRehydrationRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreWithRehydrationRequest.PowerShell.cs index b80d4c16989c..f2a5cc694737 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreWithRehydrationRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreWithRehydrationRequest.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupRestoreWithRehydrationRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,49 +70,49 @@ internal AzureBackupRestoreWithRehydrationRequest(global::System.Collections.IDi // actually deserialize if (content.Contains("RehydrationPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationPriority = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationPriority, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationPriority = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationPriority, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority.CreateFrom); } if (content.Contains("RehydrationRetentionDuration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationRetentionDuration = (string) content.GetValueForProperty("RehydrationRetentionDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationRetentionDuration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationRetentionDuration = (string) content.GetValueForProperty("RehydrationRetentionDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationRetentionDuration, global::System.Convert.ToString); } if (content.Contains("IdentityDetailUseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IdentityDetailUserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RestoreTargetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); } if (content.Contains("RecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -127,71 +127,71 @@ internal AzureBackupRestoreWithRehydrationRequest(global::System.Management.Auto // actually deserialize if (content.Contains("RehydrationPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationPriority = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationPriority, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationPriority = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority) content.GetValueForProperty("RehydrationPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationPriority, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority.CreateFrom); } if (content.Contains("RehydrationRetentionDuration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationRetentionDuration = (string) content.GetValueForProperty("RehydrationRetentionDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationRetentionDuration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationRetentionDuration = (string) content.GetValueForProperty("RehydrationRetentionDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequestInternal)this).RehydrationRetentionDuration, global::System.Convert.ToString); } if (content.Contains("IdentityDetailUseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity = (bool?) content.GetValueForProperty("IdentityDetailUseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IdentityDetailUserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl = (string) content.GetValueForProperty("IdentityDetailUserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetailUserAssignedIdentityArmUrl, global::System.Convert.ToString); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RestoreTargetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase) content.GetValueForProperty("RestoreTargetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).RestoreTargetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType.CreateFrom); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)this).SourceResourceId, global::System.Convert.ToString); } if (content.Contains("RecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequestInternal)this).RecoveryPointId, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupRestoreWithRehydrationRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRestoreWithRehydrationRequest(content); } @@ -204,7 +204,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreWithRehydrationRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreWithRehydrationRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreWithRehydrationRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreWithRehydrationRequest.TypeConverter.cs index 81eb044210dc..3c41f1a93627 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreWithRehydrationRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreWithRehydrationRequest.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -110,14 +110,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreWithRehydrationRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreWithRehydrationRequest.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreWithRehydrationRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreWithRehydrationRequest.cs index 449a0b7b54b7..363a3212833f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreWithRehydrationRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreWithRehydrationRequest.cs @@ -3,42 +3,42 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// AzureBackup Restore with Rehydration Request public partial class AzureBackupRestoreWithRehydrationRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequestInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequestInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequest __azureBackupRecoveryPointBasedRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPointBasedRestoreRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequest __azureBackupRecoveryPointBasedRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPointBasedRestoreRequest(); /// /// Contains information of the Identity Details for the BI. /// If it is null, default will be considered as System Assigned. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetail = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetail = value ?? null /* model class */; } /// Specifies if the BI is protected by System Identity. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public bool? IdentityDetailUseSystemAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetailUseSystemAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetailUseSystemAssignedIdentity = value ?? default(bool); } + public bool? IdentityDetailUseSystemAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetailUseSystemAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetailUseSystemAssignedIdentity = value ?? default(bool); } /// ARM URL for User Assigned Identity. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string IdentityDetailUserAssignedIdentityArmUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl = value ?? null; } + public string IdentityDetailUserAssignedIdentityArmUrl { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).IdentityDetailUserAssignedIdentityArmUrl = value ?? null; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).ObjectType = value ; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string RecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).RecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).RecoveryPointId = value ; } + public string RecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).RecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).RecoveryPointId = value ; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority _rehydrationPriority; @@ -56,17 +56,17 @@ public partial class AzureBackupRestoreWithRehydrationRequest : /// Gets or sets the restore target information. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase RestoreTargetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).RestoreTargetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).RestoreTargetInfo = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase RestoreTargetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).RestoreTargetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).RestoreTargetInfo = value ; } /// Gets or sets the type of the source data store. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType SourceDataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).SourceDataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).SourceDataStoreType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType SourceDataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).SourceDataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).SourceDataStoreType = value ; } /// /// Fully qualified Azure Resource Manager ID of the datasource which is being recovered. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).SourceResourceId = value ?? null; } + public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequestInternal)__azureBackupRecoveryPointBasedRestoreRequest).SourceResourceId = value ?? null; } /// /// Creates an new instance. @@ -91,7 +91,7 @@ public AzureBackupRestoreWithRehydrationRequest() /// AzureBackup Restore with Rehydration Request public partial interface IAzureBackupRestoreWithRehydrationRequest : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequest + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequest { /// Priority to be used for rehydration. Values High or Standard [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -113,7 +113,7 @@ public partial interface IAzureBackupRestoreWithRehydrationRequest : } /// AzureBackup Restore with Rehydration Request internal partial interface IAzureBackupRestoreWithRehydrationRequestInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointBasedRestoreRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointBasedRestoreRequestInternal { /// Priority to be used for rehydration. Values High or Standard Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationPriority RehydrationPriority { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreWithRehydrationRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreWithRehydrationRequest.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreWithRehydrationRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreWithRehydrationRequest.json.cs index 718de38c5b18..8062ea30cf56 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRestoreWithRehydrationRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRestoreWithRehydrationRequest.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,20 +65,20 @@ internal AzureBackupRestoreWithRehydrationRequest(Microsoft.Azure.PowerShell.Cmd { return; } - __azureBackupRecoveryPointBasedRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRecoveryPointBasedRestoreRequest(json); + __azureBackupRecoveryPointBasedRestoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRecoveryPointBasedRestoreRequest(json); {_rehydrationPriority = If( json?.PropertyT("rehydrationPriority"), out var __jsonRehydrationPriority) ? (string)__jsonRehydrationPriority : (string)RehydrationPriority;} {_rehydrationRetentionDuration = If( json?.PropertyT("rehydrationRetentionDuration"), out var __jsonRehydrationRetentionDuration) ? (string)__jsonRehydrationRetentionDuration : (string)RehydrationRetentionDuration;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreWithRehydrationRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreWithRehydrationRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureBackupRestoreWithRehydrationRequest(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRule.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRule.PowerShell.cs similarity index 76% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRule.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRule.PowerShell.cs index b1f4b83452d0..20f0287bd039 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRule.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRule.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureBackupRule partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,45 +70,45 @@ internal AzureBackupRule(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("BackupParameter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).BackupParameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters) content.GetValueForProperty("BackupParameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).BackupParameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupParametersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).BackupParameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters) content.GetValueForProperty("BackupParameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).BackupParameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupParametersTypeConverter.ConvertFrom); } if (content.Contains("DataStore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).DataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase) content.GetValueForProperty("DataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).DataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).DataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase) content.GetValueForProperty("DataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).DataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("Trigger")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).Trigger = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext) content.GetValueForProperty("Trigger",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).Trigger, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TriggerContextTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).Trigger = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext) content.GetValueForProperty("Trigger",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).Trigger, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TriggerContextTypeConverter.ConvertFrom); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("BackupParameterObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).BackupParameterObjectType = (string) content.GetValueForProperty("BackupParameterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).BackupParameterObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).BackupParameterObjectType = (string) content.GetValueForProperty("BackupParameterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).BackupParameterObjectType, global::System.Convert.ToString); } if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } if (content.Contains("DataStoreObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).DataStoreObjectType = (string) content.GetValueForProperty("DataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).DataStoreObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).DataStoreObjectType = (string) content.GetValueForProperty("DataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).DataStoreObjectType, global::System.Convert.ToString); } if (content.Contains("TriggerObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).TriggerObjectType = (string) content.GetValueForProperty("TriggerObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).TriggerObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).TriggerObjectType = (string) content.GetValueForProperty("TriggerObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).TriggerObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -123,65 +123,65 @@ internal AzureBackupRule(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("BackupParameter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).BackupParameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters) content.GetValueForProperty("BackupParameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).BackupParameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupParametersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).BackupParameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters) content.GetValueForProperty("BackupParameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).BackupParameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupParametersTypeConverter.ConvertFrom); } if (content.Contains("DataStore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).DataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase) content.GetValueForProperty("DataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).DataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).DataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase) content.GetValueForProperty("DataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).DataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("Trigger")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).Trigger = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext) content.GetValueForProperty("Trigger",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).Trigger, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TriggerContextTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).Trigger = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext) content.GetValueForProperty("Trigger",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).Trigger, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TriggerContextTypeConverter.ConvertFrom); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("BackupParameterObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).BackupParameterObjectType = (string) content.GetValueForProperty("BackupParameterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).BackupParameterObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).BackupParameterObjectType = (string) content.GetValueForProperty("BackupParameterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).BackupParameterObjectType, global::System.Convert.ToString); } if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } if (content.Contains("DataStoreObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).DataStoreObjectType = (string) content.GetValueForProperty("DataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).DataStoreObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).DataStoreObjectType = (string) content.GetValueForProperty("DataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).DataStoreObjectType, global::System.Convert.ToString); } if (content.Contains("TriggerObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).TriggerObjectType = (string) content.GetValueForProperty("TriggerObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal)this).TriggerObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).TriggerObjectType = (string) content.GetValueForProperty("TriggerObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal)this).TriggerObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRule DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRule DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureBackupRule(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureBackupRule(content); } @@ -191,7 +191,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRule.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRule.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRule.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRule.TypeConverter.cs index 18460948ef2f..cd7de8d78578 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRule.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRule.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRule ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRule ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRule).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRule).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRule.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRule.cs similarity index 80% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRule.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRule.cs index fc623f70a26b..6acdba491fb2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRule.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRule.cs @@ -3,73 +3,73 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure backup rule public partial class AzureBackupRule : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRule, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRule, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule __basePolicyRule = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BasePolicyRule(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule __basePolicyRule = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BasePolicyRule(); /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters _backupParameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters _backupParameter; /// BackupParameters base [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters BackupParameter { get => (this._backupParameter = this._backupParameter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupParameters()); set => this._backupParameter = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters BackupParameter { get => (this._backupParameter = this._backupParameter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupParameters()); set => this._backupParameter = value; } /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string BackupParameterObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParametersInternal)BackupParameter).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParametersInternal)BackupParameter).ObjectType = value ?? null; } + public string BackupParameterObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParametersInternal)BackupParameter).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParametersInternal)BackupParameter).ObjectType = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase _dataStore; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase _dataStore; /// DataStoreInfo base [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase DataStore { get => (this._dataStore = this._dataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreInfoBase()); set => this._dataStore = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase DataStore { get => (this._dataStore = this._dataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreInfoBase()); set => this._dataStore = value; } /// Type of Datasource object, used to initialize the right inherited type [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string DataStoreObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)DataStore).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)DataStore).ObjectType = value ; } + public string DataStoreObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)DataStore).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)DataStore).ObjectType = value ; } /// type of datastore; Operational/Vault/Archive [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes DataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)DataStore).DataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)DataStore).DataStoreType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes DataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)DataStore).DataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)DataStore).DataStoreType = value ; } /// Internal Acessors for BackupParameter - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal.BackupParameter { get => (this._backupParameter = this._backupParameter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupParameters()); set { {_backupParameter = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal.BackupParameter { get => (this._backupParameter = this._backupParameter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupParameters()); set { {_backupParameter = value;} } } /// Internal Acessors for DataStore - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal.DataStore { get => (this._dataStore = this._dataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreInfoBase()); set { {_dataStore = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal.DataStore { get => (this._dataStore = this._dataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreInfoBase()); set { {_dataStore = value;} } } /// Internal Acessors for Trigger - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRuleInternal.Trigger { get => (this._trigger = this._trigger ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TriggerContext()); set { {_trigger = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRuleInternal.Trigger { get => (this._trigger = this._trigger ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TriggerContext()); set { {_trigger = value;} } } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)__basePolicyRule).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)__basePolicyRule).Name = value ; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)__basePolicyRule).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)__basePolicyRule).Name = value ; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)__basePolicyRule).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)__basePolicyRule).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)__basePolicyRule).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)__basePolicyRule).ObjectType = value ; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext _trigger; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext _trigger; /// Trigger context [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext Trigger { get => (this._trigger = this._trigger ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TriggerContext()); set => this._trigger = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext Trigger { get => (this._trigger = this._trigger ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TriggerContext()); set => this._trigger = value; } /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string TriggerObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)Trigger).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)Trigger).ObjectType = value ; } + public string TriggerObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)Trigger).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)Trigger).ObjectType = value ; } /// Creates an new instance. public AzureBackupRule() @@ -92,7 +92,7 @@ public AzureBackupRule() /// Azure backup rule public partial interface IAzureBackupRule : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule { /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -130,20 +130,20 @@ public partial interface IAzureBackupRule : } /// Azure backup rule internal partial interface IAzureBackupRuleInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal { /// BackupParameters base - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters BackupParameter { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters BackupParameter { get; set; } /// Type of the specific object - used for deserializing string BackupParameterObjectType { get; set; } /// DataStoreInfo base - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase DataStore { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase DataStore { get; set; } /// Type of Datasource object, used to initialize the right inherited type string DataStoreObjectType { get; set; } /// type of datastore; Operational/Vault/Archive Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes DataStoreType { get; set; } /// Trigger context - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext Trigger { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext Trigger { get; set; } /// Type of the specific object - used for deserializing string TriggerObjectType { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRule.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRule.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRule.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRule.json.cs index 2c2b18f10a18..ba44c10eab2d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureBackupRule.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureBackupRule.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,21 +65,21 @@ internal AzureBackupRule(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runti { return; } - __basePolicyRule = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BasePolicyRule(json); - {_backupParameter = If( json?.PropertyT("backupParameters"), out var __jsonBackupParameters) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupParameters.FromJson(__jsonBackupParameters) : BackupParameter;} - {_dataStore = If( json?.PropertyT("dataStore"), out var __jsonDataStore) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreInfoBase.FromJson(__jsonDataStore) : DataStore;} - {_trigger = If( json?.PropertyT("trigger"), out var __jsonTrigger) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TriggerContext.FromJson(__jsonTrigger) : Trigger;} + __basePolicyRule = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BasePolicyRule(json); + {_backupParameter = If( json?.PropertyT("backupParameters"), out var __jsonBackupParameters) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupParameters.FromJson(__jsonBackupParameters) : BackupParameter;} + {_dataStore = If( json?.PropertyT("dataStore"), out var __jsonDataStore) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreInfoBase.FromJson(__jsonDataStore) : DataStore;} + {_trigger = If( json?.PropertyT("trigger"), out var __jsonTrigger) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TriggerContext.FromJson(__jsonTrigger) : Trigger;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRule. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRule. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRule. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRule. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRule FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRule FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureBackupRule(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureMonitorAlertSettings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureMonitorAlertSettings.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureMonitorAlertSettings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureMonitorAlertSettings.PowerShell.cs index 7f86348e5aa0..2da31d6af74b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureMonitorAlertSettings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureMonitorAlertSettings.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureMonitorAlertSettings partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,13 +70,13 @@ internal AzureMonitorAlertSettings(global::System.Collections.IDictionary conten // actually deserialize if (content.Contains("AlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettingsInternal)this).AlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettingsInternal)this).AlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettingsInternal)this).AlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettingsInternal)this).AlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -91,35 +91,35 @@ internal AzureMonitorAlertSettings(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("AlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettingsInternal)this).AlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettingsInternal)this).AlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettingsInternal)this).AlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettingsInternal)this).AlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureMonitorAlertSettings(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureMonitorAlertSettings(content); } @@ -129,7 +129,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureMonitorAlertSettings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureMonitorAlertSettings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureMonitorAlertSettings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureMonitorAlertSettings.TypeConverter.cs index 796246c6f85f..1e3539c06c11 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureMonitorAlertSettings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureMonitorAlertSettings.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureMonitorAlertSettings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureMonitorAlertSettings.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureMonitorAlertSettings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureMonitorAlertSettings.cs index 5b234bff6e3d..f6d788dca274 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureMonitorAlertSettings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureMonitorAlertSettings.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Settings for Azure Monitor based alerts public partial class AzureMonitorAlertSettings : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettingsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureMonitorAlertSettings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureMonitorAlertSettings.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureMonitorAlertSettings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureMonitorAlertSettings.json.cs index 9ba78437e35d..f6925ff358f7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureMonitorAlertSettings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureMonitorAlertSettings.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,13 +70,13 @@ internal AzureMonitorAlertSettings(Microsoft.Azure.PowerShell.Cmdlets.DataProtec } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureMonitorAlertSettings(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureOperationalStoreParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureOperationalStoreParameters.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureOperationalStoreParameters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureOperationalStoreParameters.PowerShell.cs index feba09c823b3..e43309d0362a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureOperationalStoreParameters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureOperationalStoreParameters.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureOperationalStoreParameters partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,21 +70,21 @@ internal AzureOperationalStoreParameters(global::System.Collections.IDictionary // actually deserialize if (content.Contains("ResourceGroupId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureOperationalStoreParametersInternal)this).ResourceGroupId = (string) content.GetValueForProperty("ResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureOperationalStoreParametersInternal)this).ResourceGroupId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureOperationalStoreParametersInternal)this).ResourceGroupId = (string) content.GetValueForProperty("ResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureOperationalStoreParametersInternal)this).ResourceGroupId, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -99,43 +99,43 @@ internal AzureOperationalStoreParameters(global::System.Management.Automation.PS // actually deserialize if (content.Contains("ResourceGroupId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureOperationalStoreParametersInternal)this).ResourceGroupId = (string) content.GetValueForProperty("ResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureOperationalStoreParametersInternal)this).ResourceGroupId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureOperationalStoreParametersInternal)this).ResourceGroupId = (string) content.GetValueForProperty("ResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureOperationalStoreParametersInternal)this).ResourceGroupId, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureOperationalStoreParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureOperationalStoreParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureOperationalStoreParameters(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureOperationalStoreParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureOperationalStoreParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureOperationalStoreParameters(content); } @@ -145,7 +145,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureOperationalStoreParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureOperationalStoreParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureOperationalStoreParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureOperationalStoreParameters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureOperationalStoreParameters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureOperationalStoreParameters.TypeConverter.cs index 74c35f9696be..b619f581e748 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureOperationalStoreParameters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureOperationalStoreParameters.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureOperationalStoreParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureOperationalStoreParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureOperationalStoreParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureOperationalStoreParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureOperationalStoreParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureOperationalStoreParameters.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureOperationalStoreParameters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureOperationalStoreParameters.cs index d283f24b0497..6b23a17a19f3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureOperationalStoreParameters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureOperationalStoreParameters.cs @@ -3,29 +3,29 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Parameters for Operational-Tier DataStore public partial class AzureOperationalStoreParameters : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureOperationalStoreParameters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureOperationalStoreParametersInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureOperationalStoreParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureOperationalStoreParametersInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters __dataStoreParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters __dataStoreParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreParameters(); /// type of datastore; Operational/Vault/Archive [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes DataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)__dataStoreParameters).DataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)__dataStoreParameters).DataStoreType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes DataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)__dataStoreParameters).DataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)__dataStoreParameters).DataStoreType = value ; } /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)__dataStoreParameters).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)__dataStoreParameters).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)__dataStoreParameters).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)__dataStoreParameters).ObjectType = value ; } /// Backing field for property. private string _resourceGroupId; @@ -55,7 +55,7 @@ public AzureOperationalStoreParameters() /// Parameters for Operational-Tier DataStore public partial interface IAzureOperationalStoreParameters : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters { /// Gets or sets the Snapshot Resource Group Uri. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -69,7 +69,7 @@ public partial interface IAzureOperationalStoreParameters : } /// Parameters for Operational-Tier DataStore internal partial interface IAzureOperationalStoreParametersInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal { /// Gets or sets the Snapshot Resource Group Uri. string ResourceGroupId { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureOperationalStoreParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureOperationalStoreParameters.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureOperationalStoreParameters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureOperationalStoreParameters.json.cs index d1f5167055c7..263a2ee45bc4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureOperationalStoreParameters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureOperationalStoreParameters.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal AzureOperationalStoreParameters(Microsoft.Azure.PowerShell.Cmdlets.Data { return; } - __dataStoreParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreParameters(json); + __dataStoreParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreParameters(json); {_resourceGroupId = If( json?.PropertyT("resourceGroupId"), out var __jsonResourceGroupId) ? (string)__jsonResourceGroupId : (string)ResourceGroupId;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureOperationalStoreParameters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureOperationalStoreParameters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureOperationalStoreParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureOperationalStoreParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureOperationalStoreParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureOperationalStoreParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureOperationalStoreParameters(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureRetentionRule.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureRetentionRule.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureRetentionRule.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureRetentionRule.PowerShell.cs index 7ed2bb012c2e..3403f10bd755 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureRetentionRule.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureRetentionRule.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class AzureRetentionRule partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,25 +70,25 @@ internal AzureRetentionRule(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("IsDefault")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRuleInternal)this).IsDefault = (bool?) content.GetValueForProperty("IsDefault",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRuleInternal)this).IsDefault, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRuleInternal)this).IsDefault = (bool?) content.GetValueForProperty("IsDefault",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRuleInternal)this).IsDefault, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Lifecycle")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRuleInternal)this).Lifecycle = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle[]) content.GetValueForProperty("Lifecycle",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRuleInternal)this).Lifecycle, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SourceLifeCycleTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRuleInternal)this).Lifecycle = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle[]) content.GetValueForProperty("Lifecycle",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRuleInternal)this).Lifecycle, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SourceLifeCycleTypeConverter.ConvertFrom)); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -103,45 +103,45 @@ internal AzureRetentionRule(global::System.Management.Automation.PSObject conten // actually deserialize if (content.Contains("IsDefault")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRuleInternal)this).IsDefault = (bool?) content.GetValueForProperty("IsDefault",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRuleInternal)this).IsDefault, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRuleInternal)this).IsDefault = (bool?) content.GetValueForProperty("IsDefault",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRuleInternal)this).IsDefault, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Lifecycle")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRuleInternal)this).Lifecycle = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle[]) content.GetValueForProperty("Lifecycle",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRuleInternal)this).Lifecycle, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SourceLifeCycleTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRuleInternal)this).Lifecycle = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle[]) content.GetValueForProperty("Lifecycle",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRuleInternal)this).Lifecycle, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SourceLifeCycleTypeConverter.ConvertFrom)); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRule DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRule DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureRetentionRule(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureRetentionRule(content); } @@ -151,7 +151,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureRetentionRule.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureRetentionRule.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureRetentionRule.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureRetentionRule.TypeConverter.cs index 6b1390c5a218..02feb35c8a23 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureRetentionRule.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureRetentionRule.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRule ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRule ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRule).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRule).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureRetentionRule.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureRetentionRule.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureRetentionRule.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureRetentionRule.cs index f234591115ed..07da8c5ef923 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureRetentionRule.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureRetentionRule.cs @@ -3,21 +3,21 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Azure retention rule public partial class AzureRetentionRule : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRule, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRuleInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRule, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRuleInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule __basePolicyRule = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BasePolicyRule(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule __basePolicyRule = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BasePolicyRule(); /// Backing field for property. private bool? _isDefault; @@ -26,16 +26,16 @@ public partial class AzureRetentionRule : public bool? IsDefault { get => this._isDefault; set => this._isDefault = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle[] _lifecycle; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle[] _lifecycle; [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle[] Lifecycle { get => this._lifecycle; set => this._lifecycle = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle[] Lifecycle { get => this._lifecycle; set => this._lifecycle = value; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)__basePolicyRule).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)__basePolicyRule).Name = value ; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)__basePolicyRule).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)__basePolicyRule).Name = value ; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)__basePolicyRule).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)__basePolicyRule).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)__basePolicyRule).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)__basePolicyRule).ObjectType = value ; } /// Creates an new instance. public AzureRetentionRule() @@ -58,7 +58,7 @@ public AzureRetentionRule() /// Azure retention rule public partial interface IAzureRetentionRule : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule { [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -73,17 +73,17 @@ public partial interface IAzureRetentionRule : ReadOnly = false, Description = @"", SerializedName = @"lifecycles", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle[] Lifecycle { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle[] Lifecycle { get; set; } } /// Azure retention rule internal partial interface IAzureRetentionRuleInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal { bool? IsDefault { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle[] Lifecycle { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle[] Lifecycle { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureRetentionRule.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureRetentionRule.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureRetentionRule.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureRetentionRule.json.cs index 453a1aae2fb0..dc33f4cc7766 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/AzureRetentionRule.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/AzureRetentionRule.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,20 +65,20 @@ internal AzureRetentionRule(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Ru { return; } - __basePolicyRule = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BasePolicyRule(json); + __basePolicyRule = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BasePolicyRule(json); {_isDefault = If( json?.PropertyT("isDefault"), out var __jsonIsDefault) ? (bool?)__jsonIsDefault : IsDefault;} - {_lifecycle = If( json?.PropertyT("lifecycles"), out var __jsonLifecycles) ? If( __jsonLifecycles as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SourceLifeCycle.FromJson(__u) )) ))() : null : Lifecycle;} + {_lifecycle = If( json?.PropertyT("lifecycles"), out var __jsonLifecycles) ? If( __jsonLifecycles as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SourceLifeCycle.FromJson(__u) )) ))() : null : Lifecycle;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRule. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRule. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRule. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRule. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRule FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRule FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new AzureRetentionRule(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupCriteria.PowerShell.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupCriteria.PowerShell.cs index 5af6b9a73483..b47be673afd0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupCriteria.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class BackupCriteria partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,13 +70,13 @@ internal BackupCriteria(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -91,33 +91,33 @@ internal BackupCriteria(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new BackupCriteria(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupCriteria(content); } @@ -127,7 +127,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupCriteria.TypeConverter.cs index 52664907fa8e..8303aeb7096f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupCriteria.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupCriteria.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupCriteria.cs index aff012d22b17..476b9fc8207d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupCriteria.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// BackupCriteria base class public partial class BackupCriteria : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteriaInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupCriteria.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupCriteria.json.cs index 3e4f206de1d9..4c85193b830d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupCriteria.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,15 +70,15 @@ internal BackupCriteria(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtim } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria interface is polymorphic, /// and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupDatasourceParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupDatasourceParameters.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupDatasourceParameters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupDatasourceParameters.PowerShell.cs index 8ded75419444..1af97cecf65b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupDatasourceParameters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupDatasourceParameters.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class BackupDatasourceParameters partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,13 +70,13 @@ internal BackupDatasourceParameters(global::System.Collections.IDictionary conte // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -91,35 +91,35 @@ internal BackupDatasourceParameters(global::System.Management.Automation.PSObjec // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new BackupDatasourceParameters(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupDatasourceParameters(content); } @@ -129,7 +129,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupDatasourceParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupDatasourceParameters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupDatasourceParameters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupDatasourceParameters.TypeConverter.cs index 803302ef6276..9143bcd83558 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupDatasourceParameters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupDatasourceParameters.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupDatasourceParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupDatasourceParameters.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupDatasourceParameters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupDatasourceParameters.cs index 331ea6a46ba2..18beb86fc62b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupDatasourceParameters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupDatasourceParameters.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Parameters for Backup Datasource public partial class BackupDatasourceParameters : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupDatasourceParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupDatasourceParameters.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupDatasourceParameters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupDatasourceParameters.json.cs index 63646c1540de..c4a3708fbd18 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupDatasourceParameters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupDatasourceParameters.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,15 +70,15 @@ internal BackupDatasourceParameters(Microsoft.Azure.PowerShell.Cmdlets.DataProte } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters interface is + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters interface is /// polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstance.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstance.PowerShell.cs similarity index 73% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstance.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstance.PowerShell.cs index 4094cc77fad4..a08e1a461c9c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstance.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstance.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class BackupInstance partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,57 +70,57 @@ internal BackupInstance(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("FriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).FriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).FriendlyName, global::System.Convert.ToString); } if (content.Contains("DataSourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DataSourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("PolicyInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PolicyInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PolicyInfoTypeConverter.ConvertFrom); } if (content.Contains("ProtectionStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ProtectionStatusDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ProtectionStatusDetailsTypeConverter.ConvertFrom); } if (content.Contains("CurrentProtectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); } if (content.Contains("ProtectionErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProvisioningState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProvisioningState, global::System.Convert.ToString); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ValidationType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -135,77 +135,77 @@ internal BackupInstance(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("FriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).FriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).FriendlyName, global::System.Convert.ToString); } if (content.Contains("DataSourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DataSourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("PolicyInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PolicyInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PolicyInfoTypeConverter.ConvertFrom); } if (content.Contains("ProtectionStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ProtectionStatusDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ProtectionStatusDetailsTypeConverter.ConvertFrom); } if (content.Contains("CurrentProtectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); } if (content.Contains("ProtectionErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProvisioningState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProvisioningState, global::System.Convert.ToString); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ValidationType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new BackupInstance(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupInstance(content); } @@ -215,7 +215,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstance.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstance.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstance.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstance.TypeConverter.cs index c5f86c68acb6..2b7dbff4bf0f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstance.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstance.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstance.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstance.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstance.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstance.cs index 51f7f3f005f1..668819798454 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstance.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstance.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Backup Instance public partial class BackupInstance : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal { /// Backing field for property. @@ -21,25 +21,25 @@ public partial class BackupInstance : public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? CurrentProtectionState { get => this._currentProtectionState; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource _dataSourceInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource _dataSourceInfo; /// Gets or sets the data source information. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource DataSourceInfo { get => (this._dataSourceInfo = this._dataSourceInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Datasource()); set => this._dataSourceInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource DataSourceInfo { get => (this._dataSourceInfo = this._dataSourceInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Datasource()); set => this._dataSourceInfo = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet _dataSourceSetInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet _dataSourceSetInfo; /// Gets or sets the data source set information. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet DataSourceSetInfo { get => (this._dataSourceSetInfo = this._dataSourceSetInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSet()); set => this._dataSourceSetInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet DataSourceSetInfo { get => (this._dataSourceSetInfo = this._dataSourceSetInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSet()); set => this._dataSourceSetInfo = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials _datasourceAuthCredentials; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials _datasourceAuthCredentials; /// Credentials to use to authenticate with data source provider. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials DatasourceAuthCredentials { get => (this._datasourceAuthCredentials = this._datasourceAuthCredentials ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentials()); set => this._datasourceAuthCredentials = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials DatasourceAuthCredentials { get => (this._datasourceAuthCredentials = this._datasourceAuthCredentials ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentials()); set => this._datasourceAuthCredentials = value; } /// Backing field for property. private string _friendlyName; @@ -49,26 +49,26 @@ public partial class BackupInstance : public string FriendlyName { get => this._friendlyName; set => this._friendlyName = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails _identityDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails _identityDetail; /// /// Contains information of the Identity Details for the BI. /// If it is null, default will be considered as System Assigned. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails IdentityDetail { get => (this._identityDetail = this._identityDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetails()); set => this._identityDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails IdentityDetail { get => (this._identityDetail = this._identityDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetails()); set => this._identityDetail = value; } /// Internal Acessors for CurrentProtectionState - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal.CurrentProtectionState { get => this._currentProtectionState; set { {_currentProtectionState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal.CurrentProtectionState { get => this._currentProtectionState; set { {_currentProtectionState = value;} } } /// Internal Acessors for ProtectionErrorDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal.ProtectionErrorDetail { get => (this._protectionErrorDetail = this._protectionErrorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingError()); set { {_protectionErrorDetail = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal.ProtectionErrorDetail { get => (this._protectionErrorDetail = this._protectionErrorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingError()); set { {_protectionErrorDetail = value;} } } /// Internal Acessors for ProtectionStatus - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal.ProtectionStatus { get => (this._protectionStatus = this._protectionStatus ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ProtectionStatusDetails()); set { {_protectionStatus = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal.ProtectionStatus { get => (this._protectionStatus = this._protectionStatus ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ProtectionStatusDetails()); set { {_protectionStatus = value;} } } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Backing field for property. private string _objectType; @@ -77,25 +77,25 @@ public partial class BackupInstance : public string ObjectType { get => this._objectType; set => this._objectType = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo _policyInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo _policyInfo; /// Gets or sets the policy information. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo PolicyInfo { get => (this._policyInfo = this._policyInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PolicyInfo()); set => this._policyInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo PolicyInfo { get => (this._policyInfo = this._policyInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PolicyInfo()); set => this._policyInfo = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError _protectionErrorDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError _protectionErrorDetail; /// Specifies the protection error of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError ProtectionErrorDetail { get => (this._protectionErrorDetail = this._protectionErrorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingError()); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError ProtectionErrorDetail { get => (this._protectionErrorDetail = this._protectionErrorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingError()); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails _protectionStatus; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails _protectionStatus; /// Specifies the protection status of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails ProtectionStatus { get => (this._protectionStatus = this._protectionStatus ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ProtectionStatusDetails()); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails ProtectionStatus { get => (this._protectionStatus = this._protectionStatus ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ProtectionStatusDetails()); } /// Backing field for property. private string _provisioningState; @@ -139,24 +139,24 @@ public partial interface IBackupInstance : ReadOnly = false, Description = @"Gets or sets the data source information.", SerializedName = @"dataSourceInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource DataSourceInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource DataSourceInfo { get; set; } /// Gets or sets the data source set information. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, ReadOnly = false, Description = @"Gets or sets the data source set information.", SerializedName = @"dataSourceSetInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet DataSourceSetInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet DataSourceSetInfo { get; set; } /// Credentials to use to authenticate with data source provider. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, ReadOnly = false, Description = @"Credentials to use to authenticate with data source provider.", SerializedName = @"datasourceAuthCredentials", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials DatasourceAuthCredentials { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials DatasourceAuthCredentials { get; set; } /// Gets or sets the Backup Instance friendly name. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -175,8 +175,8 @@ public partial interface IBackupInstance : Description = @"Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.", SerializedName = @"identityDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails IdentityDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails IdentityDetail { get; set; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = true, @@ -191,24 +191,24 @@ public partial interface IBackupInstance : ReadOnly = false, Description = @"Gets or sets the policy information.", SerializedName = @"policyInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo PolicyInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo PolicyInfo { get; set; } /// Specifies the protection error of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, ReadOnly = true, Description = @"Specifies the protection error of the resource", SerializedName = @"protectionErrorDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError ProtectionErrorDetail { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError ProtectionErrorDetail { get; } /// Specifies the protection status of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, ReadOnly = true, Description = @"Specifies the protection status of the resource", SerializedName = @"protectionStatus", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails ProtectionStatus { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails ProtectionStatus { get; } /// /// Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed /// @@ -238,26 +238,26 @@ internal partial interface IBackupInstanceInternal /// Specifies the current protection state of the resource Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? CurrentProtectionState { get; set; } /// Gets or sets the data source information. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource DataSourceInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource DataSourceInfo { get; set; } /// Gets or sets the data source set information. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet DataSourceSetInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet DataSourceSetInfo { get; set; } /// Credentials to use to authenticate with data source provider. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials DatasourceAuthCredentials { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials DatasourceAuthCredentials { get; set; } /// Gets or sets the Backup Instance friendly name. string FriendlyName { get; set; } /// /// Contains information of the Identity Details for the BI. /// If it is null, default will be considered as System Assigned. /// - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails IdentityDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails IdentityDetail { get; set; } string ObjectType { get; set; } /// Gets or sets the policy information. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo PolicyInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo PolicyInfo { get; set; } /// Specifies the protection error of the resource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError ProtectionErrorDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError ProtectionErrorDetail { get; set; } /// Specifies the protection status of the resource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails ProtectionStatus { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails ProtectionStatus { get; set; } /// /// Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed /// diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstance.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstance.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstance.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstance.json.cs index 1cd9ae3b0249..4d16c2d04e94 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstance.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstance.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -66,28 +66,28 @@ internal BackupInstance(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtim return; } {_friendlyName = If( json?.PropertyT("friendlyName"), out var __jsonFriendlyName) ? (string)__jsonFriendlyName : (string)FriendlyName;} - {_dataSourceInfo = If( json?.PropertyT("dataSourceInfo"), out var __jsonDataSourceInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Datasource.FromJson(__jsonDataSourceInfo) : DataSourceInfo;} - {_dataSourceSetInfo = If( json?.PropertyT("dataSourceSetInfo"), out var __jsonDataSourceSetInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSet.FromJson(__jsonDataSourceSetInfo) : DataSourceSetInfo;} - {_policyInfo = If( json?.PropertyT("policyInfo"), out var __jsonPolicyInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PolicyInfo.FromJson(__jsonPolicyInfo) : PolicyInfo;} - {_protectionStatus = If( json?.PropertyT("protectionStatus"), out var __jsonProtectionStatus) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ProtectionStatusDetails.FromJson(__jsonProtectionStatus) : ProtectionStatus;} + {_dataSourceInfo = If( json?.PropertyT("dataSourceInfo"), out var __jsonDataSourceInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Datasource.FromJson(__jsonDataSourceInfo) : DataSourceInfo;} + {_dataSourceSetInfo = If( json?.PropertyT("dataSourceSetInfo"), out var __jsonDataSourceSetInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSet.FromJson(__jsonDataSourceSetInfo) : DataSourceSetInfo;} + {_policyInfo = If( json?.PropertyT("policyInfo"), out var __jsonPolicyInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PolicyInfo.FromJson(__jsonPolicyInfo) : PolicyInfo;} + {_protectionStatus = If( json?.PropertyT("protectionStatus"), out var __jsonProtectionStatus) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ProtectionStatusDetails.FromJson(__jsonProtectionStatus) : ProtectionStatus;} {_currentProtectionState = If( json?.PropertyT("currentProtectionState"), out var __jsonCurrentProtectionState) ? (string)__jsonCurrentProtectionState : (string)CurrentProtectionState;} - {_protectionErrorDetail = If( json?.PropertyT("protectionErrorDetails"), out var __jsonProtectionErrorDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingError.FromJson(__jsonProtectionErrorDetails) : ProtectionErrorDetail;} + {_protectionErrorDetail = If( json?.PropertyT("protectionErrorDetails"), out var __jsonProtectionErrorDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingError.FromJson(__jsonProtectionErrorDetails) : ProtectionErrorDetail;} {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;} - {_datasourceAuthCredentials = If( json?.PropertyT("datasourceAuthCredentials"), out var __jsonDatasourceAuthCredentials) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentials.FromJson(__jsonDatasourceAuthCredentials) : DatasourceAuthCredentials;} + {_datasourceAuthCredentials = If( json?.PropertyT("datasourceAuthCredentials"), out var __jsonDatasourceAuthCredentials) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentials.FromJson(__jsonDatasourceAuthCredentials) : DatasourceAuthCredentials;} {_validationType = If( json?.PropertyT("validationType"), out var __jsonValidationType) ? (string)__jsonValidationType : (string)ValidationType;} - {_identityDetail = If( json?.PropertyT("identityDetails"), out var __jsonIdentityDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetails.FromJson(__jsonIdentityDetails) : IdentityDetail;} + {_identityDetail = If( json?.PropertyT("identityDetails"), out var __jsonIdentityDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetails.FromJson(__jsonIdentityDetails) : IdentityDetail;} {_objectType = If( json?.PropertyT("objectType"), out var __jsonObjectType) ? (string)__jsonObjectType : (string)ObjectType;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new BackupInstance(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResource.PowerShell.cs similarity index 80% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResource.PowerShell.cs index 38f4eb2473a2..4fbd99b2c051 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class BackupInstanceResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,33 +70,33 @@ internal BackupInstanceResource(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppProxyResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppProxyResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -111,55 +111,55 @@ internal BackupInstanceResource(global::System.Management.Automation.PSObject co // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppProxyResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppProxyResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new BackupInstanceResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupInstanceResource(content); } @@ -169,7 +169,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResource.TypeConverter.cs index dd4b7e2de576..ed7dd5ace00d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResource.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResource.cs index 7f58a9da9289..2d64409db9df 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResource.cs @@ -3,62 +3,62 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// BackupInstance Resource public partial class BackupInstanceResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResource __dppProxyResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppProxyResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResource __dppProxyResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppProxyResource(); /// Proxy Resource Id represents the complete path to the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)__dppProxyResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)__dppProxyResource).Id; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)__dppProxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)__dppProxyResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)__dppProxyResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)__dppProxyResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)__dppProxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)__dppProxyResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)__dppProxyResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)__dppProxyResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)__dppProxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)__dppProxyResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)__dppProxyResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)__dppProxyResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)__dppProxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)__dppProxyResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)__dppProxyResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)__dppProxyResource).Type = value; } /// Proxy Resource name associated with the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)__dppProxyResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)__dppProxyResource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance _property; /// BackupInstanceResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstance()); set => this._property = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstance()); set => this._property = value; } /// Metadata pertaining to creation and last modification of the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)__dppProxyResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)__dppProxyResource).SystemData; } /// Proxy Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)__dppProxyResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)__dppProxyResource).Tag = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)__dppProxyResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)__dppProxyResource).Tag = value ?? null /* model class */; } /// /// Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)__dppProxyResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)__dppProxyResource).Type; } /// Creates an new instance. public BackupInstanceResource() @@ -81,7 +81,7 @@ public BackupInstanceResource() /// BackupInstance Resource public partial interface IBackupInstanceResource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResource { /// BackupInstanceResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -89,16 +89,16 @@ public partial interface IBackupInstanceResource : ReadOnly = false, Description = @"BackupInstanceResource properties", SerializedName = @"properties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance Property { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance Property { get; set; } } /// BackupInstance Resource internal partial interface IBackupInstanceResourceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal { /// BackupInstanceResource properties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance Property { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResource.json.cs index ea278693b762..b4dc3c8fe679 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal BackupInstanceResource(Microsoft.Azure.PowerShell.Cmdlets.DataProtectio { return; } - __dppProxyResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppProxyResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstance.FromJson(__jsonProperties) : Property;} + __dppProxyResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppProxyResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstance.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new BackupInstanceResource(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResourceList.PowerShell.cs index 954c8f7112f7..15da62184010 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResourceList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class BackupInstanceResourceList partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal BackupInstanceResourceList(global::System.Collections.IDictionary conte // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,39 +95,39 @@ internal BackupInstanceResourceList(global::System.Management.Automation.PSObjec // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new BackupInstanceResourceList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupInstanceResourceList(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResourceList.TypeConverter.cs index 37d6f1ab3f8a..59ea25e348a5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResourceList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResourceList.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResourceList.cs index 27aadb7797e4..6232ba83eb45 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResourceList.cs @@ -3,34 +3,34 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// BackupInstance Resource list response public partial class BackupInstanceResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceListInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceListInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResourceList(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResourceList(); /// /// The uri to fetch the next page of resources. Call ListNext() fetches next page of resources. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } + public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource[] _value; /// List of resources. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public BackupInstanceResourceList() @@ -53,7 +53,7 @@ public BackupInstanceResourceList() /// BackupInstance Resource list response public partial interface IBackupInstanceResourceList : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList { /// List of resources. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -61,16 +61,16 @@ public partial interface IBackupInstanceResourceList : ReadOnly = false, Description = @"List of resources.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource[] Value { get; set; } } /// BackupInstance Resource list response internal partial interface IBackupInstanceResourceListInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal { /// List of resources. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResourceList.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResourceList.json.cs index 1732c3aac1aa..50213606a8b1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupInstanceResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupInstanceResourceList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal BackupInstanceResourceList(Microsoft.Azure.PowerShell.Cmdlets.DataProte { return; } - __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResourceList(json); - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceResource.FromJson(__u) )) ))() : null : Value;} + __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResourceList(json); + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResource.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new BackupInstanceResourceList(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupParameters.PowerShell.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupParameters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupParameters.PowerShell.cs index 0a469332699e..6de10408ae09 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupParameters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupParameters.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class BackupParameters partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,13 +70,13 @@ internal BackupParameters(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParametersInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -91,33 +91,33 @@ internal BackupParameters(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParametersInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new BackupParameters(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupParameters(content); } @@ -127,7 +127,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupParameters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupParameters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupParameters.TypeConverter.cs index a4d94bad38af..9662d634c25b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupParameters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupParameters.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupParameters.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupParameters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupParameters.cs index 043bd3b726a4..b555ab1d9dd0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupParameters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupParameters.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// BackupParameters base public partial class BackupParameters : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParametersInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupParameters.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupParameters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupParameters.json.cs index 3698624e717a..5edad6ffa6f9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupParameters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupParameters.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,15 +70,15 @@ internal BackupParameters(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runt } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters interface is polymorphic, /// and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupPolicy.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupPolicy.PowerShell.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupPolicy.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupPolicy.PowerShell.cs index 4acd94d8f844..ff7e45925b2f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupPolicy.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupPolicy.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class BackupPolicy partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,21 +70,21 @@ internal BackupPolicy(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("PolicyRule")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicyInternal)this).PolicyRule = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule[]) content.GetValueForProperty("PolicyRule",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicyInternal)this).PolicyRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BasePolicyRuleTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicyInternal)this).PolicyRule = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule[]) content.GetValueForProperty("PolicyRule",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicyInternal)this).PolicyRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BasePolicyRuleTypeConverter.ConvertFrom)); } if (content.Contains("DatasourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -99,41 +99,41 @@ internal BackupPolicy(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("PolicyRule")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicyInternal)this).PolicyRule = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule[]) content.GetValueForProperty("PolicyRule",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicyInternal)this).PolicyRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BasePolicyRuleTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicyInternal)this).PolicyRule = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule[]) content.GetValueForProperty("PolicyRule",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicyInternal)this).PolicyRule, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BasePolicyRuleTypeConverter.ConvertFrom)); } if (content.Contains("DatasourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new BackupPolicy(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupPolicy(content); } @@ -143,7 +143,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupPolicy.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupPolicy.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupPolicy.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupPolicy.TypeConverter.cs index 733f016635ea..a1e9745334f8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupPolicy.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupPolicy.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupPolicy.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupPolicy.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupPolicy.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupPolicy.cs index 8f7307458b40..9157d99488d0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupPolicy.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupPolicy.cs @@ -3,37 +3,37 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Rule based backup policy public partial class BackupPolicy : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicyInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicyInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy __baseBackupPolicy = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicy(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy __baseBackupPolicy = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicy(); /// Type of datasource for the backup management [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string[] DatasourceType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)__baseBackupPolicy).DatasourceType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)__baseBackupPolicy).DatasourceType = value ; } + public string[] DatasourceType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)__baseBackupPolicy).DatasourceType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)__baseBackupPolicy).DatasourceType = value ; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)__baseBackupPolicy).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)__baseBackupPolicy).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)__baseBackupPolicy).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)__baseBackupPolicy).ObjectType = value ; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule[] _policyRule; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule[] _policyRule; /// /// Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule[] PolicyRule { get => this._policyRule; set => this._policyRule = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule[] PolicyRule { get => this._policyRule; set => this._policyRule = value; } /// Creates an new instance. public BackupPolicy() @@ -56,7 +56,7 @@ public BackupPolicy() /// Rule based backup policy public partial interface IBackupPolicy : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy { /// /// Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc @@ -66,18 +66,18 @@ public partial interface IBackupPolicy : ReadOnly = false, Description = @"Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc", SerializedName = @"policyRules", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule),typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRule),typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureRetentionRule) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule[] PolicyRule { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule),typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRule),typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureRetentionRule) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule[] PolicyRule { get; set; } } /// Rule based backup policy internal partial interface IBackupPolicyInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal { /// /// Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc /// - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule[] PolicyRule { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule[] PolicyRule { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupPolicy.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupPolicy.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupPolicy.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupPolicy.json.cs index 02f68fd7557e..7478371caa5b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupPolicy.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupPolicy.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal BackupPolicy(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime. { return; } - __baseBackupPolicy = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicy(json); - {_policyRule = If( json?.PropertyT("policyRules"), out var __jsonPolicyRules) ? If( __jsonPolicyRules as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BasePolicyRule.FromJson(__u) )) ))() : null : PolicyRule;} + __baseBackupPolicy = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicy(json); + {_policyRule = If( json?.PropertyT("policyRules"), out var __jsonPolicyRules) ? If( __jsonPolicyRules as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BasePolicyRule.FromJson(__u) )) ))() : null : PolicyRule;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new BackupPolicy(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupSchedule.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupSchedule.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupSchedule.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupSchedule.PowerShell.cs index b67b7fb3381e..9e4fd9ee056b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupSchedule.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupSchedule.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class BackupSchedule partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal BackupSchedule(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("RepeatingTimeInterval")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupScheduleInternal)this).RepeatingTimeInterval = (string[]) content.GetValueForProperty("RepeatingTimeInterval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupScheduleInternal)this).RepeatingTimeInterval, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupScheduleInternal)this).RepeatingTimeInterval = (string[]) content.GetValueForProperty("RepeatingTimeInterval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupScheduleInternal)this).RepeatingTimeInterval, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("TimeZone")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupScheduleInternal)this).TimeZone = (string) content.GetValueForProperty("TimeZone",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupScheduleInternal)this).TimeZone, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupScheduleInternal)this).TimeZone = (string) content.GetValueForProperty("TimeZone",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupScheduleInternal)this).TimeZone, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,37 +95,37 @@ internal BackupSchedule(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("RepeatingTimeInterval")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupScheduleInternal)this).RepeatingTimeInterval = (string[]) content.GetValueForProperty("RepeatingTimeInterval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupScheduleInternal)this).RepeatingTimeInterval, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupScheduleInternal)this).RepeatingTimeInterval = (string[]) content.GetValueForProperty("RepeatingTimeInterval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupScheduleInternal)this).RepeatingTimeInterval, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("TimeZone")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupScheduleInternal)this).TimeZone = (string) content.GetValueForProperty("TimeZone",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupScheduleInternal)this).TimeZone, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupScheduleInternal)this).TimeZone = (string) content.GetValueForProperty("TimeZone",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupScheduleInternal)this).TimeZone, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupSchedule DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupSchedule DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new BackupSchedule(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupSchedule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupSchedule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupSchedule(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupSchedule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupSchedule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupSchedule.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupSchedule.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupSchedule.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupSchedule.TypeConverter.cs index 2fabe80e16d0..82611a934580 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupSchedule.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupSchedule.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupSchedule ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupSchedule ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupSchedule).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupSchedule).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupSchedule.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupSchedule.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupSchedule.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupSchedule.cs index 9014bd86598f..0212e9a9761b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupSchedule.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupSchedule.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Schedule for backup public partial class BackupSchedule : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupSchedule, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupScheduleInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupSchedule, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupScheduleInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupSchedule.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupSchedule.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupSchedule.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupSchedule.json.cs index 9a1475ea02bd..9e53f0c3086b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupSchedule.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupSchedule.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -71,13 +71,13 @@ internal BackupSchedule(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtim } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupSchedule. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupSchedule. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupSchedule. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupSchedule. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupSchedule FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupSchedule FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new BackupSchedule(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVault.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVault.PowerShell.cs similarity index 71% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVault.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVault.PowerShell.cs index a4c687da5b54..bc370f479a17 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVault.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVault.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class BackupVault partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,109 +70,113 @@ internal BackupVault(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("MonitoringSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.MonitoringSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.MonitoringSettingsTypeConverter.ConvertFrom); } if (content.Contains("ResourceMoveDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails) content.GetValueForProperty("ResourceMoveDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceMoveDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails) content.GetValueForProperty("ResourceMoveDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceMoveDetailsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecuritySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecuritySettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureSettingsTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); } if (content.Contains("ResourceMoveState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState?) content.GetValueForProperty("ResourceMoveState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState?) content.GetValueForProperty("ResourceMoveState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState.CreateFrom); } if (content.Contains("StorageSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).StorageSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting[]) content.GetValueForProperty("StorageSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).StorageSetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.StorageSettingTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).StorageSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting[]) content.GetValueForProperty("StorageSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).StorageSetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.StorageSettingTypeConverter.ConvertFrom)); } if (content.Contains("IsVaultProtectedByResourceGuard")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).IsVaultProtectedByResourceGuard = (bool?) content.GetValueForProperty("IsVaultProtectedByResourceGuard",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).IsVaultProtectedByResourceGuard, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).IsVaultProtectedByResourceGuard = (bool?) content.GetValueForProperty("IsVaultProtectedByResourceGuard",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).IsVaultProtectedByResourceGuard, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("SecureScore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SecureScore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel?) content.GetValueForProperty("SecureScore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SecureScore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SecureScore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel?) content.GetValueForProperty("SecureScore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SecureScore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel.CreateFrom); + } + if (content.Contains("ReplicatedRegion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ReplicatedRegion = (string[]) content.GetValueForProperty("ReplicatedRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ReplicatedRegion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ResourceMoveDetailOperationId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailOperationId = (string) content.GetValueForProperty("ResourceMoveDetailOperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailOperationId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailOperationId = (string) content.GetValueForProperty("ResourceMoveDetailOperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailOperationId, global::System.Convert.ToString); } if (content.Contains("SecuritySettingImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ImmutabilitySettingsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSettingAzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("ResourceMoveDetailStartTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailStartTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailStartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailStartTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailStartTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailStartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailStartTimeUtc, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailCompletionTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailCompletionTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailCompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailCompletionTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailCompletionTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailCompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailCompletionTimeUtc, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailSourceResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailSourceResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailSourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailSourceResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailSourceResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailSourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailSourceResourcePath, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailTargetResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailTargetResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailTargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailTargetResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailTargetResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailTargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailTargetResourcePath, global::System.Convert.ToString); } if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -187,129 +191,133 @@ internal BackupVault(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("MonitoringSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.MonitoringSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.MonitoringSettingsTypeConverter.ConvertFrom); } if (content.Contains("ResourceMoveDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails) content.GetValueForProperty("ResourceMoveDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceMoveDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails) content.GetValueForProperty("ResourceMoveDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceMoveDetailsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecuritySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecuritySettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureSettingsTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); } if (content.Contains("ResourceMoveState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState?) content.GetValueForProperty("ResourceMoveState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState?) content.GetValueForProperty("ResourceMoveState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState.CreateFrom); } if (content.Contains("StorageSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).StorageSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting[]) content.GetValueForProperty("StorageSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).StorageSetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.StorageSettingTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).StorageSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting[]) content.GetValueForProperty("StorageSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).StorageSetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.StorageSettingTypeConverter.ConvertFrom)); } if (content.Contains("IsVaultProtectedByResourceGuard")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).IsVaultProtectedByResourceGuard = (bool?) content.GetValueForProperty("IsVaultProtectedByResourceGuard",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).IsVaultProtectedByResourceGuard, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).IsVaultProtectedByResourceGuard = (bool?) content.GetValueForProperty("IsVaultProtectedByResourceGuard",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).IsVaultProtectedByResourceGuard, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("SecureScore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SecureScore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel?) content.GetValueForProperty("SecureScore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SecureScore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SecureScore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel?) content.GetValueForProperty("SecureScore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SecureScore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel.CreateFrom); + } + if (content.Contains("ReplicatedRegion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ReplicatedRegion = (string[]) content.GetValueForProperty("ReplicatedRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ReplicatedRegion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ResourceMoveDetailOperationId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailOperationId = (string) content.GetValueForProperty("ResourceMoveDetailOperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailOperationId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailOperationId = (string) content.GetValueForProperty("ResourceMoveDetailOperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailOperationId, global::System.Convert.ToString); } if (content.Contains("SecuritySettingImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ImmutabilitySettingsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSettingAzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("ResourceMoveDetailStartTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailStartTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailStartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailStartTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailStartTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailStartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailStartTimeUtc, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailCompletionTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailCompletionTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailCompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailCompletionTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailCompletionTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailCompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailCompletionTimeUtc, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailSourceResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailSourceResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailSourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailSourceResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailSourceResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailSourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailSourceResourcePath, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailTargetResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailTargetResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailTargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ResourceMoveDetailTargetResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailTargetResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailTargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ResourceMoveDetailTargetResourcePath, global::System.Convert.ToString); } if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVault DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVault DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new BackupVault(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVault DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVault DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupVault(content); } @@ -319,7 +327,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVault FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVault FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVault.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVault.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVault.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVault.TypeConverter.cs index a0a91dd3050f..6429c0337b90 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVault.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVault.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVault ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVault ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVault).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVault).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVault.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVault.cs similarity index 80% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVault.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVault.cs index babffff1b410..5fdc45fa16e0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVault.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVault.cs @@ -3,37 +3,37 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Backup Vault public partial class BackupVault : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVault, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVault, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal { [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState? AzureMonitorAlertsForAllJobFailure { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertsForAllJobFailure = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState? AzureMonitorAlertsForAllJobFailure { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertsForAllJobFailure = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState)""); } /// CrossRegionRestore state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState? CrossRegionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState? CrossRegionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState)""); } /// CrossSubscriptionRestore state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState)""); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings _featureSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings _featureSetting; /// Feature Settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings FeatureSetting { get => (this._featureSetting = this._featureSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureSettings()); set => this._featureSetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings FeatureSetting { get => (this._featureSetting = this._featureSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureSettings()); set => this._featureSetting = value; } /// Immutability state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).ImmutabilityState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).ImmutabilityState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).ImmutabilityState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).ImmutabilityState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState)""); } /// Backing field for property. private bool? _isVaultProtectedByResourceGuard; @@ -43,50 +43,50 @@ public partial class BackupVault : public bool? IsVaultProtectedByResourceGuard { get => this._isVaultProtectedByResourceGuard; } /// Internal Acessors for FeatureSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal.FeatureSetting { get => (this._featureSetting = this._featureSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureSettings()); set { {_featureSetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal.FeatureSetting { get => (this._featureSetting = this._featureSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureSettings()); set { {_featureSetting = value;} } } /// Internal Acessors for FeatureSettingCrossRegionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal.FeatureSettingCrossRegionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal.FeatureSettingCrossRegionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreSetting = value; } /// Internal Acessors for FeatureSettingCrossSubscriptionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal.FeatureSettingCrossSubscriptionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal.FeatureSettingCrossSubscriptionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreSetting = value; } /// Internal Acessors for IsVaultProtectedByResourceGuard - bool? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal.IsVaultProtectedByResourceGuard { get => this._isVaultProtectedByResourceGuard; set { {_isVaultProtectedByResourceGuard = value;} } } + bool? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal.IsVaultProtectedByResourceGuard { get => this._isVaultProtectedByResourceGuard; set { {_isVaultProtectedByResourceGuard = value;} } } /// Internal Acessors for MonitoringSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal.MonitoringSetting { get => (this._monitoringSetting = this._monitoringSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.MonitoringSettings()); set { {_monitoringSetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal.MonitoringSetting { get => (this._monitoringSetting = this._monitoringSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.MonitoringSettings()); set { {_monitoringSetting = value;} } } /// Internal Acessors for MonitoringSettingAzureMonitorAlertSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal.MonitoringSettingAzureMonitorAlertSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal.MonitoringSettingAzureMonitorAlertSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertSetting = value; } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Internal Acessors for ResourceMoveDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal.ResourceMoveDetail { get => (this._resourceMoveDetail = this._resourceMoveDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceMoveDetails()); set { {_resourceMoveDetail = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal.ResourceMoveDetail { get => (this._resourceMoveDetail = this._resourceMoveDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceMoveDetails()); set { {_resourceMoveDetail = value;} } } /// Internal Acessors for ResourceMoveState - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal.ResourceMoveState { get => this._resourceMoveState; set { {_resourceMoveState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal.ResourceMoveState { get => this._resourceMoveState; set { {_resourceMoveState = value;} } } /// Internal Acessors for SecureScore - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal.SecureScore { get => this._secureScore; set { {_secureScore = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal.SecureScore { get => this._secureScore; set { {_secureScore = value;} } } /// Internal Acessors for SecuritySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal.SecuritySetting { get => (this._securitySetting = this._securitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecuritySettings()); set { {_securitySetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal.SecuritySetting { get => (this._securitySetting = this._securitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecuritySettings()); set { {_securitySetting = value;} } } /// Internal Acessors for SecuritySettingImmutabilitySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal.SecuritySettingImmutabilitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).ImmutabilitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).ImmutabilitySetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal.SecuritySettingImmutabilitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).ImmutabilitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).ImmutabilitySetting = value; } /// Internal Acessors for SoftDeleteSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal.SoftDeleteSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).SoftDeleteSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).SoftDeleteSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal.SoftDeleteSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).SoftDeleteSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).SoftDeleteSetting = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings _monitoringSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings _monitoringSetting; /// Monitoring Settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings MonitoringSetting { get => (this._monitoringSetting = this._monitoringSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.MonitoringSettings()); set => this._monitoringSetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings MonitoringSetting { get => (this._monitoringSetting = this._monitoringSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.MonitoringSettings()); set => this._monitoringSetting = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? _provisioningState; @@ -95,34 +95,41 @@ public partial class BackupVault : [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? ProvisioningState { get => this._provisioningState; } + /// Backing field for property. + private string[] _replicatedRegion; + + /// List of replicated regions for Backup Vault + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string[] ReplicatedRegion { get => this._replicatedRegion; set => this._replicatedRegion = value; } + /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails _resourceMoveDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails _resourceMoveDetail; /// Resource move details for backup vault [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails ResourceMoveDetail { get => (this._resourceMoveDetail = this._resourceMoveDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceMoveDetails()); } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails ResourceMoveDetail { get => (this._resourceMoveDetail = this._resourceMoveDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceMoveDetails()); } /// /// Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ResourceMoveDetailCompletionTimeUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)ResourceMoveDetail).CompletionTimeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)ResourceMoveDetail).CompletionTimeUtc = value ?? null; } + public string ResourceMoveDetailCompletionTimeUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)ResourceMoveDetail).CompletionTimeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)ResourceMoveDetail).CompletionTimeUtc = value ?? null; } /// CorrelationId of latest ResourceMove operation attempted [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ResourceMoveDetailOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)ResourceMoveDetail).OperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)ResourceMoveDetail).OperationId = value ?? null; } + public string ResourceMoveDetailOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)ResourceMoveDetail).OperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)ResourceMoveDetail).OperationId = value ?? null; } /// ARM resource path of source resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ResourceMoveDetailSourceResourcePath { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)ResourceMoveDetail).SourceResourcePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)ResourceMoveDetail).SourceResourcePath = value ?? null; } + public string ResourceMoveDetailSourceResourcePath { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)ResourceMoveDetail).SourceResourcePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)ResourceMoveDetail).SourceResourcePath = value ?? null; } /// Start time in UTC of latest ResourceMove operation attempted. ISO 8601 format. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ResourceMoveDetailStartTimeUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)ResourceMoveDetail).StartTimeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)ResourceMoveDetail).StartTimeUtc = value ?? null; } + public string ResourceMoveDetailStartTimeUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)ResourceMoveDetail).StartTimeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)ResourceMoveDetail).StartTimeUtc = value ?? null; } /// ARM resource path of target resource used in latest ResourceMove operation [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ResourceMoveDetailTargetResourcePath { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)ResourceMoveDetail).TargetResourcePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)ResourceMoveDetail).TargetResourcePath = value ?? null; } + public string ResourceMoveDetailTargetResourcePath { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)ResourceMoveDetail).TargetResourcePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)ResourceMoveDetail).TargetResourcePath = value ?? null; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState? _resourceMoveState; @@ -139,26 +146,26 @@ public partial class BackupVault : public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel? SecureScore { get => this._secureScore; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings _securitySetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings _securitySetting; /// Security Settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings SecuritySetting { get => (this._securitySetting = this._securitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecuritySettings()); set => this._securitySetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings SecuritySetting { get => (this._securitySetting = this._securitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecuritySettings()); set => this._securitySetting = value; } /// Soft delete retention duration [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public double? SoftDeleteRetentionDurationInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).SoftDeleteRetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).SoftDeleteRetentionDurationInDay = value ?? default(double); } + public double? SoftDeleteRetentionDurationInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).SoftDeleteRetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).SoftDeleteRetentionDurationInDay = value ?? default(double); } /// State of soft delete [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState? SoftDeleteState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).SoftDeleteState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).SoftDeleteState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState? SoftDeleteState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).SoftDeleteState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).SoftDeleteState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState)""); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting[] _storageSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting[] _storageSetting; /// Storage Settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting[] StorageSetting { get => this._storageSetting; set => this._storageSetting = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting[] StorageSetting { get => this._storageSetting; set => this._storageSetting = value; } /// Creates an new instance. public BackupVault() @@ -217,6 +224,14 @@ public partial interface IBackupVault : SerializedName = @"provisioningState", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState) })] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? ProvisioningState { get; } + /// List of replicated regions for Backup Vault + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of replicated regions for Backup Vault", + SerializedName = @"replicatedRegions", + PossibleTypes = new [] { typeof(string) })] + string[] ReplicatedRegion { get; set; } /// /// Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. /// @@ -297,8 +312,8 @@ public partial interface IBackupVault : ReadOnly = false, Description = @"Storage Settings", SerializedName = @"storageSettings", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting[] StorageSetting { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting[] StorageSetting { get; set; } } /// Backup Vault @@ -311,23 +326,25 @@ internal partial interface IBackupVaultInternal /// CrossSubscriptionRestore state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get; set; } /// Feature Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings FeatureSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings FeatureSetting { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings FeatureSettingCrossRegionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings FeatureSettingCrossRegionRestoreSetting { get; set; } /// CrossSubscriptionRestore Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings FeatureSettingCrossSubscriptionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings FeatureSettingCrossSubscriptionRestoreSetting { get; set; } /// Immutability state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get; set; } /// Is vault protected by resource guard bool? IsVaultProtectedByResourceGuard { get; set; } /// Monitoring Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings MonitoringSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings MonitoringSetting { get; set; } /// Settings for Azure Monitor based alerts - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings MonitoringSettingAzureMonitorAlertSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings MonitoringSettingAzureMonitorAlertSetting { get; set; } /// Provisioning state of the BackupVault resource Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? ProvisioningState { get; set; } + /// List of replicated regions for Backup Vault + string[] ReplicatedRegion { get; set; } /// Resource move details for backup vault - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails ResourceMoveDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails ResourceMoveDetail { get; set; } /// /// Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. /// @@ -345,17 +362,17 @@ internal partial interface IBackupVaultInternal /// Secure Score of Backup Vault Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel? SecureScore { get; set; } /// Security Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings SecuritySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings SecuritySetting { get; set; } /// Immutability Settings at vault level - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings SecuritySettingImmutabilitySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings SecuritySettingImmutabilitySetting { get; set; } /// Soft delete retention duration double? SoftDeleteRetentionDurationInDay { get; set; } /// Soft delete related settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings SoftDeleteSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings SoftDeleteSetting { get; set; } /// State of soft delete Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState? SoftDeleteState { get; set; } /// Storage Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting[] StorageSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting[] StorageSetting { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVault.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVault.json.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVault.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVault.json.cs index 87e724fcd0ed..533affd13e52 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVault.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVault.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,26 +65,27 @@ internal BackupVault(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.J { return; } - {_monitoringSetting = If( json?.PropertyT("monitoringSettings"), out var __jsonMonitoringSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.MonitoringSettings.FromJson(__jsonMonitoringSettings) : MonitoringSetting;} - {_resourceMoveDetail = If( json?.PropertyT("resourceMoveDetails"), out var __jsonResourceMoveDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceMoveDetails.FromJson(__jsonResourceMoveDetails) : ResourceMoveDetail;} - {_securitySetting = If( json?.PropertyT("securitySettings"), out var __jsonSecuritySettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecuritySettings.FromJson(__jsonSecuritySettings) : SecuritySetting;} - {_featureSetting = If( json?.PropertyT("featureSettings"), out var __jsonFeatureSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureSettings.FromJson(__jsonFeatureSettings) : FeatureSetting;} + {_monitoringSetting = If( json?.PropertyT("monitoringSettings"), out var __jsonMonitoringSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.MonitoringSettings.FromJson(__jsonMonitoringSettings) : MonitoringSetting;} + {_resourceMoveDetail = If( json?.PropertyT("resourceMoveDetails"), out var __jsonResourceMoveDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceMoveDetails.FromJson(__jsonResourceMoveDetails) : ResourceMoveDetail;} + {_securitySetting = If( json?.PropertyT("securitySettings"), out var __jsonSecuritySettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecuritySettings.FromJson(__jsonSecuritySettings) : SecuritySetting;} + {_featureSetting = If( json?.PropertyT("featureSettings"), out var __jsonFeatureSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureSettings.FromJson(__jsonFeatureSettings) : FeatureSetting;} {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;} {_resourceMoveState = If( json?.PropertyT("resourceMoveState"), out var __jsonResourceMoveState) ? (string)__jsonResourceMoveState : (string)ResourceMoveState;} - {_storageSetting = If( json?.PropertyT("storageSettings"), out var __jsonStorageSettings) ? If( __jsonStorageSettings as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.StorageSetting.FromJson(__u) )) ))() : null : StorageSetting;} + {_storageSetting = If( json?.PropertyT("storageSettings"), out var __jsonStorageSettings) ? If( __jsonStorageSettings as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.StorageSetting.FromJson(__u) )) ))() : null : StorageSetting;} {_isVaultProtectedByResourceGuard = If( json?.PropertyT("isVaultProtectedByResourceGuard"), out var __jsonIsVaultProtectedByResourceGuard) ? (bool?)__jsonIsVaultProtectedByResourceGuard : IsVaultProtectedByResourceGuard;} {_secureScore = If( json?.PropertyT("secureScore"), out var __jsonSecureScore) ? (string)__jsonSecureScore : (string)SecureScore;} + {_replicatedRegion = If( json?.PropertyT("replicatedRegions"), out var __jsonReplicatedRegions) ? If( __jsonReplicatedRegions as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(string) (__p is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __o ? (string)(__o.ToString()) : null)) ))() : null : ReplicatedRegion;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVault. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVault. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVault. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVault. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVault FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVault FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new BackupVault(json) : null; } @@ -140,6 +141,15 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode T { AddIf( null != (((object)this._secureScore)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._secureScore.ToString()) : null, "secureScore" ,container.Add ); } + if (null != this._replicatedRegion) + { + var __r = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.XNodeArray(); + foreach( var __s in this._replicatedRegion ) + { + AddIf(null != (((object)__s)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(__s.ToString()) : null ,__r.Add); + } + container.Add("replicatedRegions",__r); + } AfterToJson(ref container); return container; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResource.PowerShell.cs similarity index 70% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResource.PowerShell.cs index 5a7de9a8f86a..ee9cc8d6e99f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class BackupVaultResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,161 +70,165 @@ internal BackupVaultResource(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVault) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVaultTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVault) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVaultTypeConverter.ConvertFrom); } if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("IdentityPrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString); } if (content.Contains("IdentityTenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityTenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityTenantId, global::System.Convert.ToString); } if (content.Contains("IdentityType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityType, global::System.Convert.ToString); } if (content.Contains("IdentityUserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); } if (content.Contains("Identity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppIdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppIdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.MonitoringSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.MonitoringSettingsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecuritySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecuritySettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureSettingsTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); } if (content.Contains("ResourceMoveDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails) content.GetValueForProperty("ResourceMoveDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceMoveDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails) content.GetValueForProperty("ResourceMoveDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceMoveDetailsTypeConverter.ConvertFrom); } if (content.Contains("ResourceMoveState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState?) content.GetValueForProperty("ResourceMoveState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState?) content.GetValueForProperty("ResourceMoveState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState.CreateFrom); } if (content.Contains("StorageSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).StorageSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting[]) content.GetValueForProperty("StorageSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).StorageSetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.StorageSettingTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).StorageSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting[]) content.GetValueForProperty("StorageSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).StorageSetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.StorageSettingTypeConverter.ConvertFrom)); } if (content.Contains("IsVaultProtectedByResourceGuard")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).IsVaultProtectedByResourceGuard = (bool?) content.GetValueForProperty("IsVaultProtectedByResourceGuard",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).IsVaultProtectedByResourceGuard, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).IsVaultProtectedByResourceGuard = (bool?) content.GetValueForProperty("IsVaultProtectedByResourceGuard",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).IsVaultProtectedByResourceGuard, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("SecureScore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SecureScore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel?) content.GetValueForProperty("SecureScore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SecureScore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SecureScore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel?) content.GetValueForProperty("SecureScore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SecureScore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel.CreateFrom); + } + if (content.Contains("ReplicatedRegion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ReplicatedRegion = (string[]) content.GetValueForProperty("ReplicatedRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ReplicatedRegion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ResourceMoveDetailOperationId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailOperationId = (string) content.GetValueForProperty("ResourceMoveDetailOperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailOperationId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailOperationId = (string) content.GetValueForProperty("ResourceMoveDetailOperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailOperationId, global::System.Convert.ToString); } if (content.Contains("SecuritySettingImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ImmutabilitySettingsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSettingAzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("ResourceMoveDetailStartTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailStartTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailStartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailStartTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailStartTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailStartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailStartTimeUtc, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailCompletionTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailCompletionTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailCompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailCompletionTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailCompletionTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailCompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailCompletionTimeUtc, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailSourceResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailSourceResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailSourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailSourceResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailSourceResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailSourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailSourceResourcePath, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailTargetResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailTargetResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailTargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailTargetResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailTargetResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailTargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailTargetResourcePath, global::System.Convert.ToString); } if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -239,181 +243,185 @@ internal BackupVaultResource(global::System.Management.Automation.PSObject conte // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVault) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVaultTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVault) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVaultTypeConverter.ConvertFrom); } if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("IdentityPrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString); } if (content.Contains("IdentityTenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityTenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityTenantId, global::System.Convert.ToString); } if (content.Contains("IdentityType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityType, global::System.Convert.ToString); } if (content.Contains("IdentityUserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); } if (content.Contains("Identity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppIdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppIdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.MonitoringSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.MonitoringSettingsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecuritySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecuritySettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureSettingsTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); } if (content.Contains("ResourceMoveDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails) content.GetValueForProperty("ResourceMoveDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceMoveDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails) content.GetValueForProperty("ResourceMoveDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceMoveDetailsTypeConverter.ConvertFrom); } if (content.Contains("ResourceMoveState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState?) content.GetValueForProperty("ResourceMoveState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState?) content.GetValueForProperty("ResourceMoveState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState.CreateFrom); } if (content.Contains("StorageSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).StorageSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting[]) content.GetValueForProperty("StorageSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).StorageSetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.StorageSettingTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).StorageSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting[]) content.GetValueForProperty("StorageSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).StorageSetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.StorageSettingTypeConverter.ConvertFrom)); } if (content.Contains("IsVaultProtectedByResourceGuard")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).IsVaultProtectedByResourceGuard = (bool?) content.GetValueForProperty("IsVaultProtectedByResourceGuard",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).IsVaultProtectedByResourceGuard, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).IsVaultProtectedByResourceGuard = (bool?) content.GetValueForProperty("IsVaultProtectedByResourceGuard",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).IsVaultProtectedByResourceGuard, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("SecureScore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SecureScore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel?) content.GetValueForProperty("SecureScore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SecureScore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SecureScore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel?) content.GetValueForProperty("SecureScore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SecureScore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel.CreateFrom); + } + if (content.Contains("ReplicatedRegion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ReplicatedRegion = (string[]) content.GetValueForProperty("ReplicatedRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ReplicatedRegion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ResourceMoveDetailOperationId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailOperationId = (string) content.GetValueForProperty("ResourceMoveDetailOperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailOperationId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailOperationId = (string) content.GetValueForProperty("ResourceMoveDetailOperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailOperationId, global::System.Convert.ToString); } if (content.Contains("SecuritySettingImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ImmutabilitySettingsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSettingAzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("ResourceMoveDetailStartTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailStartTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailStartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailStartTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailStartTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailStartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailStartTimeUtc, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailCompletionTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailCompletionTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailCompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailCompletionTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailCompletionTimeUtc = (string) content.GetValueForProperty("ResourceMoveDetailCompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailCompletionTimeUtc, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailSourceResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailSourceResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailSourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailSourceResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailSourceResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailSourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailSourceResourcePath, global::System.Convert.ToString); } if (content.Contains("ResourceMoveDetailTargetResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailTargetResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailTargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ResourceMoveDetailTargetResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailTargetResourcePath = (string) content.GetValueForProperty("ResourceMoveDetailTargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ResourceMoveDetailTargetResourcePath, global::System.Convert.ToString); } if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new BackupVaultResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupVaultResource(content); } @@ -423,7 +431,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResource.TypeConverter.cs index c2ccabe385e2..711110f72bf0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResource.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResource.cs index a20cfcdda527..2bfd649cbbc3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResource.cs @@ -3,50 +3,50 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Backup Vault Resource public partial class BackupVaultResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResource __dppTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppTrackedResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResource __dppTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppTrackedResource(); [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState? AzureMonitorAlertsForAllJobFailure { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).AzureMonitorAlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).AzureMonitorAlertsForAllJobFailure = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState? AzureMonitorAlertsForAllJobFailure { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).AzureMonitorAlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).AzureMonitorAlertsForAllJobFailure = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState)""); } /// CrossRegionRestore state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState? CrossRegionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).CrossRegionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).CrossRegionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState? CrossRegionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).CrossRegionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).CrossRegionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState)""); } /// CrossSubscriptionRestore state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).CrossSubscriptionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).CrossSubscriptionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).CrossSubscriptionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).CrossSubscriptionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState)""); } /// Optional ETag. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public string ETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).ETag = value ?? null; } + public string ETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).ETag = value ?? null; } /// Resource Id represents the complete path to the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).Id; } /// Input Managed Identity Details [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)__dppTrackedResource).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)__dppTrackedResource).Identity = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails Identity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)__dppTrackedResource).Identity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)__dppTrackedResource).Identity = value ?? null /* model class */; } /// /// The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure @@ -54,188 +54,193 @@ public partial class BackupVaultResource : /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)__dppTrackedResource).IdentityPrincipalId; } + public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)__dppTrackedResource).IdentityPrincipalId; } /// /// A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)__dppTrackedResource).IdentityTenantId; } + public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)__dppTrackedResource).IdentityTenantId; } /// /// The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.FormatTable(Index = 3)] - public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)__dppTrackedResource).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)__dppTrackedResource).IdentityType = value ?? null; } + public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)__dppTrackedResource).IdentityType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)__dppTrackedResource).IdentityType = value ?? null; } /// Gets or sets the user assigned identities. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)__dppTrackedResource).IdentityUserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)__dppTrackedResource).IdentityUserAssignedIdentity = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)__dppTrackedResource).IdentityUserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)__dppTrackedResource).IdentityUserAssignedIdentity = value ?? null /* model class */; } /// Immutability state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ImmutabilityState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ImmutabilityState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ImmutabilityState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ImmutabilityState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState)""); } /// Is vault protected by resource guard [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public bool? IsVaultProtectedByResourceGuard { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).IsVaultProtectedByResourceGuard; } + public bool? IsVaultProtectedByResourceGuard { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).IsVaultProtectedByResourceGuard; } /// Resource location. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.FormatTable(Index = 1)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).Location = value ?? null; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).Location = value ?? null; } /// Internal Acessors for FeatureSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal.FeatureSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).FeatureSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).FeatureSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal.FeatureSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).FeatureSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).FeatureSetting = value; } /// Internal Acessors for FeatureSettingCrossRegionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal.FeatureSettingCrossRegionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).FeatureSettingCrossRegionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).FeatureSettingCrossRegionRestoreSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal.FeatureSettingCrossRegionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).FeatureSettingCrossRegionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).FeatureSettingCrossRegionRestoreSetting = value; } /// Internal Acessors for FeatureSettingCrossSubscriptionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal.FeatureSettingCrossSubscriptionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).FeatureSettingCrossSubscriptionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).FeatureSettingCrossSubscriptionRestoreSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal.FeatureSettingCrossSubscriptionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).FeatureSettingCrossSubscriptionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).FeatureSettingCrossSubscriptionRestoreSetting = value; } /// Internal Acessors for IsVaultProtectedByResourceGuard - bool? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal.IsVaultProtectedByResourceGuard { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).IsVaultProtectedByResourceGuard; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).IsVaultProtectedByResourceGuard = value; } + bool? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal.IsVaultProtectedByResourceGuard { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).IsVaultProtectedByResourceGuard; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).IsVaultProtectedByResourceGuard = value; } /// Internal Acessors for MonitoringSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal.MonitoringSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).MonitoringSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).MonitoringSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal.MonitoringSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).MonitoringSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).MonitoringSetting = value; } /// Internal Acessors for MonitoringSettingAzureMonitorAlertSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal.MonitoringSettingAzureMonitorAlertSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).MonitoringSettingAzureMonitorAlertSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).MonitoringSettingAzureMonitorAlertSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal.MonitoringSettingAzureMonitorAlertSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).MonitoringSettingAzureMonitorAlertSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).MonitoringSettingAzureMonitorAlertSetting = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVault Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVault()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVault Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVault()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ProvisioningState = value; } /// Internal Acessors for ResourceMoveDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal.ResourceMoveDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ResourceMoveDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ResourceMoveDetail = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal.ResourceMoveDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ResourceMoveDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ResourceMoveDetail = value; } /// Internal Acessors for ResourceMoveState - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal.ResourceMoveState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ResourceMoveState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ResourceMoveState = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal.ResourceMoveState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ResourceMoveState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ResourceMoveState = value; } /// Internal Acessors for SecureScore - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal.SecureScore { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).SecureScore; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).SecureScore = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal.SecureScore { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).SecureScore; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).SecureScore = value; } /// Internal Acessors for SecuritySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal.SecuritySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).SecuritySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).SecuritySetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal.SecuritySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).SecuritySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).SecuritySetting = value; } /// Internal Acessors for SecuritySettingImmutabilitySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal.SecuritySettingImmutabilitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).SecuritySettingImmutabilitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).SecuritySettingImmutabilitySetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal.SecuritySettingImmutabilitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).SecuritySettingImmutabilitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).SecuritySettingImmutabilitySetting = value; } /// Internal Acessors for SoftDeleteSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceInternal.SoftDeleteSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).SoftDeleteSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).SoftDeleteSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceInternal.SoftDeleteSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).SoftDeleteSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).SoftDeleteSetting = value; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).Type = value; } /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)__dppTrackedResource).IdentityPrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)__dppTrackedResource).IdentityPrincipalId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)__dppTrackedResource).IdentityPrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)__dppTrackedResource).IdentityPrincipalId = value; } /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)__dppTrackedResource).IdentityTenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)__dppTrackedResource).IdentityTenantId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)__dppTrackedResource).IdentityTenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)__dppTrackedResource).IdentityTenantId = value; } /// Resource name associated with the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.FormatTable(Index = 0)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVault _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVault _property; /// BackupVaultResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVault Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVault()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVault Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVault()); set => this._property = value; } /// Provisioning state of the BackupVault resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ProvisioningState; } + + /// List of replicated regions for Backup Vault + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] + public string[] ReplicatedRegion { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ReplicatedRegion; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ReplicatedRegion = value ?? null /* arrayOf */; } /// /// Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public string ResourceMoveDetailCompletionTimeUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ResourceMoveDetailCompletionTimeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ResourceMoveDetailCompletionTimeUtc = value ?? null; } + public string ResourceMoveDetailCompletionTimeUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ResourceMoveDetailCompletionTimeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ResourceMoveDetailCompletionTimeUtc = value ?? null; } /// CorrelationId of latest ResourceMove operation attempted [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public string ResourceMoveDetailOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ResourceMoveDetailOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ResourceMoveDetailOperationId = value ?? null; } + public string ResourceMoveDetailOperationId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ResourceMoveDetailOperationId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ResourceMoveDetailOperationId = value ?? null; } /// ARM resource path of source resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public string ResourceMoveDetailSourceResourcePath { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ResourceMoveDetailSourceResourcePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ResourceMoveDetailSourceResourcePath = value ?? null; } + public string ResourceMoveDetailSourceResourcePath { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ResourceMoveDetailSourceResourcePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ResourceMoveDetailSourceResourcePath = value ?? null; } /// Start time in UTC of latest ResourceMove operation attempted. ISO 8601 format. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public string ResourceMoveDetailStartTimeUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ResourceMoveDetailStartTimeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ResourceMoveDetailStartTimeUtc = value ?? null; } + public string ResourceMoveDetailStartTimeUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ResourceMoveDetailStartTimeUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ResourceMoveDetailStartTimeUtc = value ?? null; } /// ARM resource path of target resource used in latest ResourceMove operation [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public string ResourceMoveDetailTargetResourcePath { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ResourceMoveDetailTargetResourcePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ResourceMoveDetailTargetResourcePath = value ?? null; } + public string ResourceMoveDetailTargetResourcePath { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ResourceMoveDetailTargetResourcePath; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ResourceMoveDetailTargetResourcePath = value ?? null; } /// Resource move state for backup vault [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState? ResourceMoveState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).ResourceMoveState; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ResourceMoveState? ResourceMoveState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).ResourceMoveState; } /// Secure Score of Backup Vault [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel? SecureScore { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).SecureScore; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel? SecureScore { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).SecureScore; } /// Soft delete retention duration [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public double? SoftDeleteRetentionDurationInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).SoftDeleteRetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).SoftDeleteRetentionDurationInDay = value ?? default(double); } + public double? SoftDeleteRetentionDurationInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).SoftDeleteRetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).SoftDeleteRetentionDurationInDay = value ?? default(double); } /// State of soft delete [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState? SoftDeleteState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).SoftDeleteState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).SoftDeleteState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState? SoftDeleteState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).SoftDeleteState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).SoftDeleteState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState)""); } /// Storage Settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting[] StorageSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).StorageSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultInternal)Property).StorageSetting = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting[] StorageSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).StorageSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultInternal)Property).StorageSetting = value ; } /// Metadata pertaining to creation and last modification of the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).SystemData; } /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotFormat] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).Tag = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).Tag = value ?? null /* model class */; } /// /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.FormatTable(Index = 2)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppTrackedResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppTrackedResource).Type; } /// Creates an new instance. public BackupVaultResource() @@ -258,7 +263,7 @@ public BackupVaultResource() /// Backup Vault Resource public partial interface IBackupVaultResource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResource { [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -307,6 +312,14 @@ public partial interface IBackupVaultResource : SerializedName = @"provisioningState", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState) })] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? ProvisioningState { get; } + /// List of replicated regions for Backup Vault + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of replicated regions for Backup Vault", + SerializedName = @"replicatedRegions", + PossibleTypes = new [] { typeof(string) })] + string[] ReplicatedRegion { get; set; } /// /// Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. /// @@ -387,13 +400,13 @@ public partial interface IBackupVaultResource : ReadOnly = false, Description = @"Storage Settings", SerializedName = @"storageSettings", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting[] StorageSetting { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting[] StorageSetting { get; set; } } /// Backup Vault Resource internal partial interface IBackupVaultResourceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal { Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState? AzureMonitorAlertsForAllJobFailure { get; set; } /// CrossRegionRestore state @@ -401,25 +414,27 @@ internal partial interface IBackupVaultResourceInternal : /// CrossSubscriptionRestore state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get; set; } /// Feature Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings FeatureSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings FeatureSetting { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings FeatureSettingCrossRegionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings FeatureSettingCrossRegionRestoreSetting { get; set; } /// CrossSubscriptionRestore Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings FeatureSettingCrossSubscriptionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings FeatureSettingCrossSubscriptionRestoreSetting { get; set; } /// Immutability state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get; set; } /// Is vault protected by resource guard bool? IsVaultProtectedByResourceGuard { get; set; } /// Monitoring Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings MonitoringSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings MonitoringSetting { get; set; } /// Settings for Azure Monitor based alerts - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings MonitoringSettingAzureMonitorAlertSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings MonitoringSettingAzureMonitorAlertSetting { get; set; } /// BackupVaultResource properties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVault Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVault Property { get; set; } /// Provisioning state of the BackupVault resource Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? ProvisioningState { get; set; } + /// List of replicated regions for Backup Vault + string[] ReplicatedRegion { get; set; } /// Resource move details for backup vault - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails ResourceMoveDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails ResourceMoveDetail { get; set; } /// /// Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. /// @@ -437,17 +452,17 @@ internal partial interface IBackupVaultResourceInternal : /// Secure Score of Backup Vault Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecureScoreLevel? SecureScore { get; set; } /// Security Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings SecuritySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings SecuritySetting { get; set; } /// Immutability Settings at vault level - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings SecuritySettingImmutabilitySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings SecuritySettingImmutabilitySetting { get; set; } /// Soft delete retention duration double? SoftDeleteRetentionDurationInDay { get; set; } /// Soft delete related settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings SoftDeleteSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings SoftDeleteSetting { get; set; } /// State of soft delete Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState? SoftDeleteState { get; set; } /// Storage Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting[] StorageSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting[] StorageSetting { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResource.json.cs index b53bb71d09c5..ddd129f98747 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal BackupVaultResource(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.R { return; } - __dppTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppTrackedResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVault.FromJson(__jsonProperties) : Property;} + __dppTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppTrackedResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVault.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new BackupVaultResource(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResourceList.PowerShell.cs index ba00d7d8c708..dd790272b8d4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResourceList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class BackupVaultResourceList partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal BackupVaultResourceList(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVaultResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVaultResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,39 +95,39 @@ internal BackupVaultResourceList(global::System.Management.Automation.PSObject c // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVaultResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVaultResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new BackupVaultResourceList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BackupVaultResourceList(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResourceList.TypeConverter.cs index 2233670ec8e1..da7be88aced9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResourceList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResourceList.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResourceList.cs index f09f5599a41e..9a35dfcba41b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResourceList.cs @@ -3,34 +3,34 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List of BackupVault resources public partial class BackupVaultResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceListInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceListInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResourceList(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResourceList(); /// /// The uri to fetch the next page of resources. Call ListNext() fetches next page of resources. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } + public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource[] _value; /// List of resources. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public BackupVaultResourceList() @@ -53,7 +53,7 @@ public BackupVaultResourceList() /// List of BackupVault resources public partial interface IBackupVaultResourceList : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList { /// List of resources. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -61,16 +61,16 @@ public partial interface IBackupVaultResourceList : ReadOnly = false, Description = @"List of resources.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource[] Value { get; set; } } /// List of BackupVault resources internal partial interface IBackupVaultResourceListInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal { /// List of resources. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResourceList.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResourceList.json.cs index bb8c2b808267..44a669305cd7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BackupVaultResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BackupVaultResourceList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal BackupVaultResourceList(Microsoft.Azure.PowerShell.Cmdlets.DataProtecti { return; } - __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResourceList(json); - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVaultResource.FromJson(__u) )) ))() : null : Value;} + __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResourceList(json); + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVaultResource.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new BackupVaultResourceList(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicy.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicy.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicy.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicy.PowerShell.cs index 2d4f7740c446..409b83aa9e1a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicy.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicy.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class BaseBackupPolicy partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal BaseBackupPolicy(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("DatasourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,37 +95,37 @@ internal BaseBackupPolicy(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("DatasourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new BaseBackupPolicy(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BaseBackupPolicy(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicy.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicy.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicy.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicy.TypeConverter.cs index ed113d031333..9b010975f692 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicy.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicy.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicy.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicy.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicy.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicy.cs index 38a677657962..930f62dd52b3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicy.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicy.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// BackupPolicy base public partial class BaseBackupPolicy : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicy.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicy.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicy.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicy.json.cs index 7158a3d4e8d7..56621da062fc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicy.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicy.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -71,15 +71,15 @@ internal BaseBackupPolicy(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runt } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy interface is polymorphic, /// and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResource.PowerShell.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResource.PowerShell.cs index a7240adfc41c..28446d891132 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class BaseBackupPolicyResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,37 +70,37 @@ internal BaseBackupPolicyResource(global::System.Collections.IDictionary content // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicyTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("DatasourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -115,59 +115,59 @@ internal BaseBackupPolicyResource(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicyTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("DatasourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceInternal)this).DatasourceType = (string[]) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceInternal)this).DatasourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new BaseBackupPolicyResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BaseBackupPolicyResource(content); } @@ -177,7 +177,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResource.TypeConverter.cs index 500bdd934a89..bb6c32f4a440 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResource.cs similarity index 78% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResource.cs index 646ece4480bd..a2707380d027 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResource.cs @@ -3,68 +3,68 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// BaseBackupPolicy resource public partial class BaseBackupPolicyResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResource(); /// Type of datasource for the backup management [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string[] DatasourceType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)Property).DatasourceType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)Property).DatasourceType = value ?? null /* arrayOf */; } + public string[] DatasourceType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)Property).DatasourceType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)Property).DatasourceType = value ?? null /* arrayOf */; } /// Resource Id represents the complete path to the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicy()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicy()); set { {_property = value;} } } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type = value; } /// Resource name associated with the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyInternal)Property).ObjectType = value ?? null; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyInternal)Property).ObjectType = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy _property; /// BaseBackupPolicyResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicy()); set => this._property = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicy()); set => this._property = value; } /// Metadata pertaining to creation and last modification of the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData; } /// /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type; } /// Creates an new instance. public BaseBackupPolicyResource() @@ -87,7 +87,7 @@ public BaseBackupPolicyResource() /// BaseBackupPolicy resource public partial interface IBaseBackupPolicyResource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource { /// Type of datasource for the backup management [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -109,14 +109,14 @@ public partial interface IBaseBackupPolicyResource : } /// BaseBackupPolicy resource internal partial interface IBaseBackupPolicyResourceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal { /// Type of datasource for the backup management string[] DatasourceType { get; set; } string ObjectType { get; set; } /// BaseBackupPolicyResource properties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicy Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicy Property { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResource.json.cs index f82caedc4d80..0b46bccdc2c9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal BaseBackupPolicyResource(Microsoft.Azure.PowerShell.Cmdlets.DataProtect { return; } - __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicy.FromJson(__jsonProperties) : Property;} + __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicy.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new BaseBackupPolicyResource(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResourceList.PowerShell.cs index 99c7bad6c4ef..8f5dad842270 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResourceList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class BaseBackupPolicyResourceList partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal BaseBackupPolicyResourceList(global::System.Collections.IDictionary con // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicyResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicyResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,39 +95,39 @@ internal BaseBackupPolicyResourceList(global::System.Management.Automation.PSObj // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicyResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicyResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new BaseBackupPolicyResourceList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BaseBackupPolicyResourceList(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResourceList.TypeConverter.cs index 3615a37e05ab..d90a6b3278df 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResourceList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResourceList.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResourceList.cs index 76c1ffe2230e..6772bb680466 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResourceList.cs @@ -3,34 +3,34 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List of BaseBackupPolicy resources public partial class BaseBackupPolicyResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceListInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceListInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResourceList(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResourceList(); /// /// The uri to fetch the next page of resources. Call ListNext() fetches next page of resources. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } + public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource[] _value; /// List of resources. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public BaseBackupPolicyResourceList() @@ -53,7 +53,7 @@ public BaseBackupPolicyResourceList() /// List of BaseBackupPolicy resources public partial interface IBaseBackupPolicyResourceList : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList { /// List of resources. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -61,16 +61,16 @@ public partial interface IBaseBackupPolicyResourceList : ReadOnly = false, Description = @"List of resources.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource[] Value { get; set; } } /// List of BaseBackupPolicy resources internal partial interface IBaseBackupPolicyResourceListInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal { /// List of resources. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResourceList.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResourceList.json.cs index 656b9e3da06e..c034b4fb9d05 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseBackupPolicyResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseBackupPolicyResourceList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal BaseBackupPolicyResourceList(Microsoft.Azure.PowerShell.Cmdlets.DataPro { return; } - __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResourceList(json); - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicyResource.FromJson(__u) )) ))() : null : Value;} + __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResourceList(json); + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicyResource.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new BaseBackupPolicyResourceList(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BasePolicyRule.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BasePolicyRule.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BasePolicyRule.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BasePolicyRule.PowerShell.cs index ef0102dbc165..ad589a535bb0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BasePolicyRule.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BasePolicyRule.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class BasePolicyRule partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal BasePolicyRule(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,37 +95,37 @@ internal BasePolicyRule(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new BasePolicyRule(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BasePolicyRule(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BasePolicyRule.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BasePolicyRule.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BasePolicyRule.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BasePolicyRule.TypeConverter.cs index 4664cbaf5fc5..668d38eb64d6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BasePolicyRule.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BasePolicyRule.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BasePolicyRule.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BasePolicyRule.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BasePolicyRule.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BasePolicyRule.cs index 73ccea0cf01b..03e65062890b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BasePolicyRule.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BasePolicyRule.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// BasePolicy Rule public partial class BasePolicyRule : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRuleInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRuleInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BasePolicyRule.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BasePolicyRule.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BasePolicyRule.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BasePolicyRule.json.cs index 071010878682..bc2c3cdd90c3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BasePolicyRule.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BasePolicyRule.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -71,15 +71,15 @@ internal BasePolicyRule(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtim } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule interface is polymorphic, /// and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBasePolicyRule FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBasePolicyRule FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseResourceProperties.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseResourceProperties.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseResourceProperties.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseResourceProperties.PowerShell.cs index 2d30ea517dc1..46a6b5c951b7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseResourceProperties.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseResourceProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class BaseResourceProperties partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,13 +70,13 @@ internal BaseResourceProperties(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -91,35 +91,35 @@ internal BaseResourceProperties(global::System.Management.Automation.PSObject co // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new BaseResourceProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BaseResourceProperties(content); } @@ -129,7 +129,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseResourceProperties.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseResourceProperties.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseResourceProperties.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseResourceProperties.TypeConverter.cs index a622d0cfc14b..9e38fd716c3c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseResourceProperties.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseResourceProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseResourceProperties.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseResourceProperties.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseResourceProperties.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseResourceProperties.cs index 25c8ab6820ec..ed510242ea6c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseResourceProperties.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseResourceProperties.cs @@ -3,18 +3,18 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Properties which are specific to datasource/datasourceSets public partial class BaseResourceProperties : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal { /// Internal Acessors for ObjectType - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal.ObjectType { get => this._objectType; set { {_objectType = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal.ObjectType { get => this._objectType; set { {_objectType = value;} } } /// Backing field for property. private string _objectType= @"DefaultResourceProperties"; diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseResourceProperties.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseResourceProperties.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseResourceProperties.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseResourceProperties.json.cs index 2936962cbcd2..5ef537b1ada5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BaseResourceProperties.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BaseResourceProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,15 +70,15 @@ internal BaseResourceProperties(Microsoft.Azure.PowerShell.Cmdlets.DataProtectio } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties interface is polymorphic, /// and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BlobBackupDatasourceParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BlobBackupDatasourceParameters.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BlobBackupDatasourceParameters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BlobBackupDatasourceParameters.PowerShell.cs index 55f09fa1c63e..cfea4bbd5116 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BlobBackupDatasourceParameters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BlobBackupDatasourceParameters.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class BlobBackupDatasourceParameters partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal BlobBackupDatasourceParameters(global::System.Collections.IDictionary c // actually deserialize if (content.Contains("ContainersList")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBlobBackupDatasourceParametersInternal)this).ContainersList = (string[]) content.GetValueForProperty("ContainersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBlobBackupDatasourceParametersInternal)this).ContainersList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBlobBackupDatasourceParametersInternal)this).ContainersList = (string[]) content.GetValueForProperty("ContainersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBlobBackupDatasourceParametersInternal)this).ContainersList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,39 +95,39 @@ internal BlobBackupDatasourceParameters(global::System.Management.Automation.PSO // actually deserialize if (content.Contains("ContainersList")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBlobBackupDatasourceParametersInternal)this).ContainersList = (string[]) content.GetValueForProperty("ContainersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBlobBackupDatasourceParametersInternal)this).ContainersList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBlobBackupDatasourceParametersInternal)this).ContainersList = (string[]) content.GetValueForProperty("ContainersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBlobBackupDatasourceParametersInternal)this).ContainersList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBlobBackupDatasourceParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBlobBackupDatasourceParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new BlobBackupDatasourceParameters(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBlobBackupDatasourceParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBlobBackupDatasourceParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new BlobBackupDatasourceParameters(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBlobBackupDatasourceParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBlobBackupDatasourceParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BlobBackupDatasourceParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BlobBackupDatasourceParameters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BlobBackupDatasourceParameters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BlobBackupDatasourceParameters.TypeConverter.cs index 07ce86df7ea6..13997de5354f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BlobBackupDatasourceParameters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BlobBackupDatasourceParameters.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBlobBackupDatasourceParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBlobBackupDatasourceParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBlobBackupDatasourceParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBlobBackupDatasourceParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BlobBackupDatasourceParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BlobBackupDatasourceParameters.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BlobBackupDatasourceParameters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BlobBackupDatasourceParameters.cs index d6d886d9f65d..92c5bc13d443 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BlobBackupDatasourceParameters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BlobBackupDatasourceParameters.cs @@ -3,21 +3,21 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Parameters to be used during configuration of backup of blobs public partial class BlobBackupDatasourceParameters : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBlobBackupDatasourceParameters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBlobBackupDatasourceParametersInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBlobBackupDatasourceParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBlobBackupDatasourceParametersInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters __backupDatasourceParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupDatasourceParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters __backupDatasourceParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupDatasourceParameters(); /// Backing field for property. private string[] _containersList; @@ -28,7 +28,7 @@ public partial class BlobBackupDatasourceParameters : /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal)__backupDatasourceParameters).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal)__backupDatasourceParameters).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal)__backupDatasourceParameters).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal)__backupDatasourceParameters).ObjectType = value ; } /// Creates an new instance. public BlobBackupDatasourceParameters() @@ -51,7 +51,7 @@ public BlobBackupDatasourceParameters() /// Parameters to be used during configuration of backup of blobs public partial interface IBlobBackupDatasourceParameters : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters { /// List of containers to be backed up during configuration of backup of blobs [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -65,7 +65,7 @@ public partial interface IBlobBackupDatasourceParameters : } /// Parameters to be used during configuration of backup of blobs internal partial interface IBlobBackupDatasourceParametersInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal { /// List of containers to be backed up during configuration of backup of blobs string[] ContainersList { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BlobBackupDatasourceParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BlobBackupDatasourceParameters.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BlobBackupDatasourceParameters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BlobBackupDatasourceParameters.json.cs index 568f9431d703..128dc420de32 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/BlobBackupDatasourceParameters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/BlobBackupDatasourceParameters.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal BlobBackupDatasourceParameters(Microsoft.Azure.PowerShell.Cmdlets.DataP { return; } - __backupDatasourceParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupDatasourceParameters(json); + __backupDatasourceParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupDatasourceParameters(json); {_containersList = If( json?.PropertyT("containersList"), out var __jsonContainersList) ? If( __jsonContainersList as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : ContainersList;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBlobBackupDatasourceParameters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBlobBackupDatasourceParameters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBlobBackupDatasourceParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBlobBackupDatasourceParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBlobBackupDatasourceParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBlobBackupDatasourceParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new BlobBackupDatasourceParameters(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityRequest.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityRequest.PowerShell.cs index fe75f271d154..6232b4a9cea2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityRequest.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class CheckNameAvailabilityRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal CheckNameAvailabilityRequest(global::System.Collections.IDictionary con // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequestInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequestInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequestInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequestInternal)this).Type, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,39 +95,39 @@ internal CheckNameAvailabilityRequest(global::System.Management.Automation.PSObj // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequestInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequestInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequestInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequestInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequestInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequestInternal)this).Type, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CheckNameAvailabilityRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CheckNameAvailabilityRequest(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityRequest.TypeConverter.cs index 593207fad33d..56341db7b0d0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityRequest.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityRequest.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityRequest.cs index c8db107275e5..af2e6659b570 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityRequest.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// CheckNameAvailability Request public partial class CheckNameAvailabilityRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequestInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityRequest.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityRequest.json.cs index 6fc075f8fd9b..0b82e5c9ea49 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityRequest.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -71,13 +71,13 @@ internal CheckNameAvailabilityRequest(Microsoft.Azure.PowerShell.Cmdlets.DataPro } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new CheckNameAvailabilityRequest(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityResult.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityResult.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityResult.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityResult.PowerShell.cs index 97f1ef871047..913912818dd9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityResult.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityResult.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class CheckNameAvailabilityResult partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,21 +70,21 @@ internal CheckNameAvailabilityResult(global::System.Collections.IDictionary cont // actually deserialize if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResultInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResultInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("NameAvailable")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResultInternal)this).NameAvailable = (bool?) content.GetValueForProperty("NameAvailable",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResultInternal)this).NameAvailable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResultInternal)this).NameAvailable = (bool?) content.GetValueForProperty("NameAvailable",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResultInternal)this).NameAvailable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Reason")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResultInternal)this).Reason = (string) content.GetValueForProperty("Reason",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResultInternal)this).Reason, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResultInternal)this).Reason = (string) content.GetValueForProperty("Reason",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResultInternal)this).Reason, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -99,43 +99,43 @@ internal CheckNameAvailabilityResult(global::System.Management.Automation.PSObje // actually deserialize if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResultInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResultInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResultInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("NameAvailable")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResultInternal)this).NameAvailable = (bool?) content.GetValueForProperty("NameAvailable",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResultInternal)this).NameAvailable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResultInternal)this).NameAvailable = (bool?) content.GetValueForProperty("NameAvailable",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResultInternal)this).NameAvailable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Reason")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResultInternal)this).Reason = (string) content.GetValueForProperty("Reason",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResultInternal)this).Reason, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResultInternal)this).Reason = (string) content.GetValueForProperty("Reason",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResultInternal)this).Reason, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CheckNameAvailabilityResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CheckNameAvailabilityResult(content); } @@ -145,7 +145,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityResult.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityResult.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityResult.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityResult.TypeConverter.cs index e984a03aa615..6eba6b11d6ad 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityResult.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityResult.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityResult.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityResult.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityResult.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityResult.cs index 672772c72424..9f7cde373804 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityResult.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityResult.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// CheckNameAvailability Result public partial class CheckNameAvailabilityResult : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResult, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResultInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResult, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResultInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityResult.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityResult.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityResult.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityResult.json.cs index 56ed24b732aa..31d380f21a5d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CheckNameAvailabilityResult.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CheckNameAvailabilityResult.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -72,13 +72,13 @@ internal CheckNameAvailabilityResult(Microsoft.Azure.PowerShell.Cmdlets.DataProt } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICheckNameAvailabilityResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICheckNameAvailabilityResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new CheckNameAvailabilityResult(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryDisplay.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryDisplay.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryDisplay.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryDisplay.PowerShell.cs index cedb2f4cbe45..16b462da2eba 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryDisplay.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryDisplay.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class ClientDiscoveryDisplay partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,25 +70,25 @@ internal ClientDiscoveryDisplay(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)this).Operation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)this).Operation, global::System.Convert.ToString); } if (content.Contains("Provider")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)this).Provider, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)this).Provider, global::System.Convert.ToString); } if (content.Contains("Resource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)this).Resource = (string) content.GetValueForProperty("Resource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)this).Resource, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)this).Resource = (string) content.GetValueForProperty("Resource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)this).Resource, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -103,47 +103,47 @@ internal ClientDiscoveryDisplay(global::System.Management.Automation.PSObject co // actually deserialize if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)this).Operation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)this).Operation = (string) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)this).Operation, global::System.Convert.ToString); } if (content.Contains("Provider")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)this).Provider, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)this).Provider = (string) content.GetValueForProperty("Provider",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)this).Provider, global::System.Convert.ToString); } if (content.Contains("Resource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)this).Resource = (string) content.GetValueForProperty("Resource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)this).Resource, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)this).Resource = (string) content.GetValueForProperty("Resource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)this).Resource, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplay DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplay DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ClientDiscoveryDisplay(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplay DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplay DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClientDiscoveryDisplay(content); } @@ -153,7 +153,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplay FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplay FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryDisplay.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryDisplay.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryDisplay.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryDisplay.TypeConverter.cs index 1cc6dbdd0df2..d71a7d99630e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryDisplay.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryDisplay.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplay ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplay ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplay).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplay).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryDisplay.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryDisplay.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryDisplay.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryDisplay.cs index 5551eede1827..486f774be4ee 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryDisplay.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryDisplay.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Localized display information of an operation. public partial class ClientDiscoveryDisplay : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplay, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplay, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryDisplay.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryDisplay.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryDisplay.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryDisplay.json.cs index 5b2e54b4ab22..78b91ed4f584 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryDisplay.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryDisplay.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -73,13 +73,13 @@ internal ClientDiscoveryDisplay(Microsoft.Azure.PowerShell.Cmdlets.DataProtectio } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplay. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplay. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplay. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplay. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplay FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplay FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ClientDiscoveryDisplay(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForLogSpecification.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForLogSpecification.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForLogSpecification.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForLogSpecification.PowerShell.cs index 9e0b1e945477..635ff02e1f5e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForLogSpecification.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForLogSpecification.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class ClientDiscoveryForLogSpecification partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,21 +70,21 @@ internal ClientDiscoveryForLogSpecification(global::System.Collections.IDictiona // actually deserialize if (content.Contains("BlobDuration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecificationInternal)this).BlobDuration = (string) content.GetValueForProperty("BlobDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecificationInternal)this).BlobDuration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecificationInternal)this).BlobDuration = (string) content.GetValueForProperty("BlobDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecificationInternal)this).BlobDuration, global::System.Convert.ToString); } if (content.Contains("DisplayName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecificationInternal)this).DisplayName = (string) content.GetValueForProperty("DisplayName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecificationInternal)this).DisplayName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecificationInternal)this).DisplayName = (string) content.GetValueForProperty("DisplayName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecificationInternal)this).DisplayName, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecificationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecificationInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecificationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecificationInternal)this).Name, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -99,43 +99,43 @@ internal ClientDiscoveryForLogSpecification(global::System.Management.Automation // actually deserialize if (content.Contains("BlobDuration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecificationInternal)this).BlobDuration = (string) content.GetValueForProperty("BlobDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecificationInternal)this).BlobDuration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecificationInternal)this).BlobDuration = (string) content.GetValueForProperty("BlobDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecificationInternal)this).BlobDuration, global::System.Convert.ToString); } if (content.Contains("DisplayName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecificationInternal)this).DisplayName = (string) content.GetValueForProperty("DisplayName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecificationInternal)this).DisplayName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecificationInternal)this).DisplayName = (string) content.GetValueForProperty("DisplayName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecificationInternal)this).DisplayName, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecificationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecificationInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecificationInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecificationInternal)this).Name, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ClientDiscoveryForLogSpecification(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClientDiscoveryForLogSpecification(content); } @@ -147,7 +147,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForLogSpecification.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForLogSpecification.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForLogSpecification.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForLogSpecification.TypeConverter.cs index 5d21f55e1bb3..fac19f7210fe 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForLogSpecification.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForLogSpecification.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -108,14 +108,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForLogSpecification.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForLogSpecification.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForLogSpecification.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForLogSpecification.cs index 45c28f6ad1f8..707dd79b134b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForLogSpecification.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForLogSpecification.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Class to represent shoebox log specification in json client discovery. public partial class ClientDiscoveryForLogSpecification : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecificationInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecificationInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForLogSpecification.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForLogSpecification.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForLogSpecification.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForLogSpecification.json.cs index 203f37dfa9c2..fb499b3a06b1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForLogSpecification.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForLogSpecification.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -72,13 +72,13 @@ internal ClientDiscoveryForLogSpecification(Microsoft.Azure.PowerShell.Cmdlets.D } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ClientDiscoveryForLogSpecification(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForProperties.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForProperties.PowerShell.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForProperties.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForProperties.PowerShell.cs index 463d6c1230ba..5998aaade62d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForProperties.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class ClientDiscoveryForProperties partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal ClientDiscoveryForProperties(global::System.Collections.IDictionary con // actually deserialize if (content.Contains("ServiceSpecification")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForPropertiesInternal)this).ServiceSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification) content.GetValueForProperty("ServiceSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForPropertiesInternal)this).ServiceSpecification, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForServiceSpecificationTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForPropertiesInternal)this).ServiceSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification) content.GetValueForProperty("ServiceSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForPropertiesInternal)this).ServiceSpecification, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForServiceSpecificationTypeConverter.ConvertFrom); } if (content.Contains("ServiceSpecificationLogSpecification")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForPropertiesInternal)this).ServiceSpecificationLogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("ServiceSpecificationLogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForPropertiesInternal)this).ServiceSpecificationLogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForPropertiesInternal)this).ServiceSpecificationLogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("ServiceSpecificationLogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForPropertiesInternal)this).ServiceSpecificationLogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,39 +95,39 @@ internal ClientDiscoveryForProperties(global::System.Management.Automation.PSObj // actually deserialize if (content.Contains("ServiceSpecification")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForPropertiesInternal)this).ServiceSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification) content.GetValueForProperty("ServiceSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForPropertiesInternal)this).ServiceSpecification, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForServiceSpecificationTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForPropertiesInternal)this).ServiceSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification) content.GetValueForProperty("ServiceSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForPropertiesInternal)this).ServiceSpecification, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForServiceSpecificationTypeConverter.ConvertFrom); } if (content.Contains("ServiceSpecificationLogSpecification")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForPropertiesInternal)this).ServiceSpecificationLogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("ServiceSpecificationLogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForPropertiesInternal)this).ServiceSpecificationLogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForPropertiesInternal)this).ServiceSpecificationLogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("ServiceSpecificationLogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForPropertiesInternal)this).ServiceSpecificationLogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ClientDiscoveryForProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClientDiscoveryForProperties(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForProperties.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForProperties.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForProperties.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForProperties.TypeConverter.cs index 17547aeed662..7e413bbc8f21 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForProperties.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForProperties.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForProperties.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForProperties.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForProperties.cs index e652eb28f80f..53bca01e68a4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForProperties.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForProperties.cs @@ -3,29 +3,29 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Class to represent shoebox properties in json client discovery. public partial class ClientDiscoveryForProperties : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForProperties, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForProperties, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForPropertiesInternal { /// Internal Acessors for ServiceSpecification - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForPropertiesInternal.ServiceSpecification { get => (this._serviceSpecification = this._serviceSpecification ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForServiceSpecification()); set { {_serviceSpecification = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForPropertiesInternal.ServiceSpecification { get => (this._serviceSpecification = this._serviceSpecification ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForServiceSpecification()); set { {_serviceSpecification = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification _serviceSpecification; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification _serviceSpecification; /// Operation properties. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification ServiceSpecification { get => (this._serviceSpecification = this._serviceSpecification ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForServiceSpecification()); set => this._serviceSpecification = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification ServiceSpecification { get => (this._serviceSpecification = this._serviceSpecification ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForServiceSpecification()); set => this._serviceSpecification = value; } /// List of log specifications of this operation. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecificationInternal)ServiceSpecification).LogSpecification; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecificationInternal)ServiceSpecification).LogSpecification = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecificationInternal)ServiceSpecification).LogSpecification; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecificationInternal)ServiceSpecification).LogSpecification = value ?? null /* arrayOf */; } /// Creates an new instance. public ClientDiscoveryForProperties() @@ -43,8 +43,8 @@ public partial interface IClientDiscoveryForProperties : ReadOnly = false, Description = @"List of log specifications of this operation.", SerializedName = @"logSpecifications", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get; set; } } /// Class to represent shoebox properties in json client discovery. @@ -52,9 +52,9 @@ internal partial interface IClientDiscoveryForPropertiesInternal { /// Operation properties. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification ServiceSpecification { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification ServiceSpecification { get; set; } /// List of log specifications of this operation. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForProperties.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForProperties.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForProperties.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForProperties.json.cs index 3f4214558797..96c29b532837 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForProperties.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,18 +65,18 @@ internal ClientDiscoveryForProperties(Microsoft.Azure.PowerShell.Cmdlets.DataPro { return; } - {_serviceSpecification = If( json?.PropertyT("serviceSpecification"), out var __jsonServiceSpecification) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForServiceSpecification.FromJson(__jsonServiceSpecification) : ServiceSpecification;} + {_serviceSpecification = If( json?.PropertyT("serviceSpecification"), out var __jsonServiceSpecification) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForServiceSpecification.FromJson(__jsonServiceSpecification) : ServiceSpecification;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ClientDiscoveryForProperties(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForServiceSpecification.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForServiceSpecification.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForServiceSpecification.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForServiceSpecification.PowerShell.cs index 8513b434749c..d62a1513aa7c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForServiceSpecification.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForServiceSpecification.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class ClientDiscoveryForServiceSpecification partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,13 +70,13 @@ internal ClientDiscoveryForServiceSpecification(global::System.Collections.IDict // actually deserialize if (content.Contains("LogSpecification")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecificationInternal)this).LogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("LogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecificationInternal)this).LogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecificationInternal)this).LogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("LogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecificationInternal)this).LogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -91,35 +91,35 @@ internal ClientDiscoveryForServiceSpecification(global::System.Management.Automa // actually deserialize if (content.Contains("LogSpecification")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecificationInternal)this).LogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("LogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecificationInternal)this).LogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecificationInternal)this).LogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("LogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecificationInternal)this).LogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ClientDiscoveryForServiceSpecification(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClientDiscoveryForServiceSpecification(content); } @@ -132,7 +132,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForServiceSpecification.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForServiceSpecification.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForServiceSpecification.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForServiceSpecification.TypeConverter.cs index d22c2266949a..3382d4bf3cb9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForServiceSpecification.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForServiceSpecification.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -110,14 +110,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForServiceSpecification.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForServiceSpecification.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForServiceSpecification.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForServiceSpecification.cs index e1adb5fa4fc3..25e0e675f973 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForServiceSpecification.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForServiceSpecification.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Class to represent shoebox service specification in json client discovery. public partial class ClientDiscoveryForServiceSpecification : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecificationInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecificationInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification[] _logSpecification; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification[] _logSpecification; /// List of log specifications of this operation. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification[] LogSpecification { get => this._logSpecification; set => this._logSpecification = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification[] LogSpecification { get => this._logSpecification; set => this._logSpecification = value; } /// Creates an new instance. public ClientDiscoveryForServiceSpecification() @@ -36,8 +36,8 @@ public partial interface IClientDiscoveryForServiceSpecification : ReadOnly = false, Description = @"List of log specifications of this operation.", SerializedName = @"logSpecifications", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification[] LogSpecification { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification[] LogSpecification { get; set; } } /// Class to represent shoebox service specification in json client discovery. @@ -45,7 +45,7 @@ internal partial interface IClientDiscoveryForServiceSpecificationInternal { /// List of log specifications of this operation. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification[] LogSpecification { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification[] LogSpecification { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForServiceSpecification.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForServiceSpecification.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForServiceSpecification.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForServiceSpecification.json.cs index a8791761c412..f498b94e66a4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryForServiceSpecification.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryForServiceSpecification.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,18 +65,18 @@ internal ClientDiscoveryForServiceSpecification(Microsoft.Azure.PowerShell.Cmdle { return; } - {_logSpecification = If( json?.PropertyT("logSpecifications"), out var __jsonLogSpecifications) ? If( __jsonLogSpecifications as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForLogSpecification.FromJson(__u) )) ))() : null : LogSpecification;} + {_logSpecification = If( json?.PropertyT("logSpecifications"), out var __jsonLogSpecifications) ? If( __jsonLogSpecifications as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForLogSpecification.FromJson(__u) )) ))() : null : LogSpecification;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ClientDiscoveryForServiceSpecification(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryResponse.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryResponse.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryResponse.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryResponse.PowerShell.cs index 3305027058ad..9aa270d43ca0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryResponse.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryResponse.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class ClientDiscoveryResponse partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal ClientDiscoveryResponse(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponseInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponseInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponseInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponseInternal)this).NextLink, global::System.Convert.ToString); } if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponseInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponseInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryValueForSingleApiTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponseInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponseInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryValueForSingleApiTypeConverter.ConvertFrom)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,39 +95,39 @@ internal ClientDiscoveryResponse(global::System.Management.Automation.PSObject c // actually deserialize if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponseInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponseInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponseInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponseInternal)this).NextLink, global::System.Convert.ToString); } if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponseInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponseInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryValueForSingleApiTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponseInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponseInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryValueForSingleApiTypeConverter.ConvertFrom)); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponse DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponse DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ClientDiscoveryResponse(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponse DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponse DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClientDiscoveryResponse(content); } @@ -137,7 +137,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryResponse.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryResponse.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryResponse.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryResponse.TypeConverter.cs index ca7e09407bc7..cc36f58959d9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryResponse.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryResponse.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponse ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponse ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponse).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponse).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryResponse.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryResponse.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryResponse.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryResponse.cs index 748d0bf30d12..721a210b0682 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryResponse.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryResponse.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Operations List response which contains list of available APIs. public partial class ClientDiscoveryResponse : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponse, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponse, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponseInternal { /// Backing field for property. @@ -21,11 +21,11 @@ public partial class ClientDiscoveryResponse : public string NextLink { get => this._nextLink; set => this._nextLink = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi[] _value; /// List of available operations. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public ClientDiscoveryResponse() @@ -51,8 +51,8 @@ public partial interface IClientDiscoveryResponse : ReadOnly = false, Description = @"List of available operations.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi[] Value { get; set; } } /// Operations List response which contains list of available APIs. @@ -62,7 +62,7 @@ internal partial interface IClientDiscoveryResponseInternal /// Link to the next chunk of Response. string NextLink { get; set; } /// List of available operations. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryResponse.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryResponse.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryResponse.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryResponse.json.cs index 64c902b3ebf8..627ea4b97a08 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryResponse.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryResponse.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -66,18 +66,18 @@ internal ClientDiscoveryResponse(Microsoft.Azure.PowerShell.Cmdlets.DataProtecti return; } {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryValueForSingleApi.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryValueForSingleApi.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponse. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponse. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponse. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponse. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponse FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponse FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ClientDiscoveryResponse(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryValueForSingleApi.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryValueForSingleApi.PowerShell.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryValueForSingleApi.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryValueForSingleApi.PowerShell.cs index e6d21fe78d76..601d258b584a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryValueForSingleApi.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryValueForSingleApi.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class ClientDiscoveryValueForSingleApi partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,53 +70,53 @@ internal ClientDiscoveryValueForSingleApi(global::System.Collections.IDictionary // actually deserialize if (content.Contains("Display")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).Display = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplay) content.GetValueForProperty("Display",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).Display, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryDisplayTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).Display = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplay) content.GetValueForProperty("Display",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).Display, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryDisplayTypeConverter.ConvertFrom); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForPropertiesTypeConverter.ConvertFrom); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("IsDataAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).IsDataAction = (bool?) content.GetValueForProperty("IsDataAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).IsDataAction, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).IsDataAction = (bool?) content.GetValueForProperty("IsDataAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).IsDataAction, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Origin")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).Origin = (string) content.GetValueForProperty("Origin",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).Origin, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).Origin = (string) content.GetValueForProperty("Origin",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).Origin, global::System.Convert.ToString); } if (content.Contains("DisplayDescription")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).DisplayDescription = (string) content.GetValueForProperty("DisplayDescription",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).DisplayDescription, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).DisplayDescription = (string) content.GetValueForProperty("DisplayDescription",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).DisplayDescription, global::System.Convert.ToString); } if (content.Contains("DisplayOperation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).DisplayOperation = (string) content.GetValueForProperty("DisplayOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).DisplayOperation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).DisplayOperation = (string) content.GetValueForProperty("DisplayOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).DisplayOperation, global::System.Convert.ToString); } if (content.Contains("DisplayProvider")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).DisplayProvider = (string) content.GetValueForProperty("DisplayProvider",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).DisplayProvider, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).DisplayProvider = (string) content.GetValueForProperty("DisplayProvider",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).DisplayProvider, global::System.Convert.ToString); } if (content.Contains("DisplayResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).DisplayResource = (string) content.GetValueForProperty("DisplayResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).DisplayResource, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).DisplayResource = (string) content.GetValueForProperty("DisplayResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).DisplayResource, global::System.Convert.ToString); } if (content.Contains("ServiceSpecification")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification) content.GetValueForProperty("ServiceSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecification, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForServiceSpecificationTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification) content.GetValueForProperty("ServiceSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecification, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForServiceSpecificationTypeConverter.ConvertFrom); } if (content.Contains("ServiceSpecificationLogSpecification")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecificationLogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("ServiceSpecificationLogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecificationLogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecificationLogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("ServiceSpecificationLogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecificationLogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -131,75 +131,75 @@ internal ClientDiscoveryValueForSingleApi(global::System.Management.Automation.P // actually deserialize if (content.Contains("Display")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).Display = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplay) content.GetValueForProperty("Display",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).Display, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryDisplayTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).Display = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplay) content.GetValueForProperty("Display",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).Display, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryDisplayTypeConverter.ConvertFrom); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForPropertiesTypeConverter.ConvertFrom); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("IsDataAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).IsDataAction = (bool?) content.GetValueForProperty("IsDataAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).IsDataAction, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).IsDataAction = (bool?) content.GetValueForProperty("IsDataAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).IsDataAction, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Origin")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).Origin = (string) content.GetValueForProperty("Origin",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).Origin, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).Origin = (string) content.GetValueForProperty("Origin",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).Origin, global::System.Convert.ToString); } if (content.Contains("DisplayDescription")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).DisplayDescription = (string) content.GetValueForProperty("DisplayDescription",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).DisplayDescription, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).DisplayDescription = (string) content.GetValueForProperty("DisplayDescription",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).DisplayDescription, global::System.Convert.ToString); } if (content.Contains("DisplayOperation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).DisplayOperation = (string) content.GetValueForProperty("DisplayOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).DisplayOperation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).DisplayOperation = (string) content.GetValueForProperty("DisplayOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).DisplayOperation, global::System.Convert.ToString); } if (content.Contains("DisplayProvider")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).DisplayProvider = (string) content.GetValueForProperty("DisplayProvider",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).DisplayProvider, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).DisplayProvider = (string) content.GetValueForProperty("DisplayProvider",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).DisplayProvider, global::System.Convert.ToString); } if (content.Contains("DisplayResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).DisplayResource = (string) content.GetValueForProperty("DisplayResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).DisplayResource, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).DisplayResource = (string) content.GetValueForProperty("DisplayResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).DisplayResource, global::System.Convert.ToString); } if (content.Contains("ServiceSpecification")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification) content.GetValueForProperty("ServiceSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecification, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForServiceSpecificationTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification) content.GetValueForProperty("ServiceSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecification, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForServiceSpecificationTypeConverter.ConvertFrom); } if (content.Contains("ServiceSpecificationLogSpecification")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecificationLogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("ServiceSpecificationLogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecificationLogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecificationLogSpecification = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification[]) content.GetValueForProperty("ServiceSpecificationLogSpecification",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal)this).ServiceSpecificationLogSpecification, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForLogSpecificationTypeConverter.ConvertFrom)); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ClientDiscoveryValueForSingleApi(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ClientDiscoveryValueForSingleApi(content); } @@ -209,7 +209,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryValueForSingleApi.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryValueForSingleApi.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryValueForSingleApi.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryValueForSingleApi.TypeConverter.cs index 60f98c7bacab..f044b27672ce 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryValueForSingleApi.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryValueForSingleApi.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryValueForSingleApi.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryValueForSingleApi.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryValueForSingleApi.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryValueForSingleApi.cs index a561b9b7785a..faeada9895ac 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryValueForSingleApi.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryValueForSingleApi.cs @@ -3,38 +3,38 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Available operation details. public partial class ClientDiscoveryValueForSingleApi : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplay _display; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplay _display; /// Contains the localized display information for this particular operation [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplay Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryDisplay()); set => this._display = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplay Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryDisplay()); set => this._display = value; } /// Description of the operation having details of what operation is about. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)Display).Description = value ?? null; } + public string DisplayDescription { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)Display).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)Display).Description = value ?? null; } /// Operations Name itself. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)Display).Operation = value ?? null; } + public string DisplayOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)Display).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)Display).Operation = value ?? null; } /// Name of the provider for display purposes [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)Display).Provider = value ?? null; } + public string DisplayProvider { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)Display).Provider; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)Display).Provider = value ?? null; } /// ResourceType for which this Operation can be performed. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplayInternal)Display).Resource = value ?? null; } + public string DisplayResource { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)Display).Resource; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplayInternal)Display).Resource = value ?? null; } /// Backing field for property. private bool? _isDataAction; @@ -44,13 +44,13 @@ public partial class ClientDiscoveryValueForSingleApi : public bool? IsDataAction { get => this._isDataAction; set => this._isDataAction = value; } /// Internal Acessors for Display - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplay Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryDisplay()); set { {_display = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplay Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal.Display { get => (this._display = this._display ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryDisplay()); set { {_display = value;} } } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForProperties Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForProperties Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForProperties()); set { {_property = value;} } } /// Internal Acessors for ServiceSpecification - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApiInternal.ServiceSpecification { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForPropertiesInternal)Property).ServiceSpecification; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForPropertiesInternal)Property).ServiceSpecification = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApiInternal.ServiceSpecification { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForPropertiesInternal)Property).ServiceSpecification; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForPropertiesInternal)Property).ServiceSpecification = value; } /// Backing field for property. private string _name; @@ -69,15 +69,15 @@ public partial class ClientDiscoveryValueForSingleApi : public string Origin { get => this._origin; set => this._origin = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForProperties _property; /// Properties for the given operation. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForProperties()); set => this._property = value; } /// List of log specifications of this operation. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForPropertiesInternal)Property).ServiceSpecificationLogSpecification; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForPropertiesInternal)Property).ServiceSpecificationLogSpecification = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForPropertiesInternal)Property).ServiceSpecificationLogSpecification; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForPropertiesInternal)Property).ServiceSpecificationLogSpecification = value ?? null /* arrayOf */; } /// Creates an new instance. public ClientDiscoveryValueForSingleApi() @@ -153,8 +153,8 @@ public partial interface IClientDiscoveryValueForSingleApi : ReadOnly = false, Description = @"List of log specifications of this operation.", SerializedName = @"logSpecifications", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get; set; } } /// Available operation details. @@ -162,7 +162,7 @@ internal partial interface IClientDiscoveryValueForSingleApiInternal { /// Contains the localized display information for this particular operation - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryDisplay Display { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryDisplay Display { get; set; } /// Description of the operation having details of what operation is about. string DisplayDescription { get; set; } /// Operations Name itself. @@ -180,11 +180,11 @@ internal partial interface IClientDiscoveryValueForSingleApiInternal /// string Origin { get; set; } /// Properties for the given operation. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForProperties Property { get; set; } /// Operation properties. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForServiceSpecification ServiceSpecification { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForServiceSpecification ServiceSpecification { get; set; } /// List of log specifications of this operation. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryForLogSpecification[] ServiceSpecificationLogSpecification { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryValueForSingleApi.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryValueForSingleApi.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryValueForSingleApi.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryValueForSingleApi.json.cs index f3ad029e86a4..ae3309068eca 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ClientDiscoveryValueForSingleApi.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ClientDiscoveryValueForSingleApi.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,8 +65,8 @@ internal ClientDiscoveryValueForSingleApi(Microsoft.Azure.PowerShell.Cmdlets.Dat { return; } - {_display = If( json?.PropertyT("display"), out var __jsonDisplay) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryDisplay.FromJson(__jsonDisplay) : Display;} - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ClientDiscoveryForProperties.FromJson(__jsonProperties) : Property;} + {_display = If( json?.PropertyT("display"), out var __jsonDisplay) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryDisplay.FromJson(__jsonDisplay) : Display;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ClientDiscoveryForProperties.FromJson(__jsonProperties) : Property;} {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} {_isDataAction = If( json?.PropertyT("isDataAction"), out var __jsonIsDataAction) ? (bool?)__jsonIsDataAction : IsDataAction;} {_origin = If( json?.PropertyT("origin"), out var __jsonOrigin) ? (string)__jsonOrigin : (string)Origin;} @@ -74,13 +74,13 @@ internal ClientDiscoveryValueForSingleApi(Microsoft.Azure.PowerShell.Cmdlets.Dat } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ClientDiscoveryValueForSingleApi(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CloudError.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CloudError.PowerShell.cs similarity index 73% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CloudError.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CloudError.PowerShell.cs index 019366c22d8f..d7ee49d4bee4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CloudError.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CloudError.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class CloudError partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,33 +70,33 @@ internal CloudError(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Error")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ErrorTypeConverter.ConvertFrom); } if (content.Contains("AdditionalInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfoTypeConverter.ConvertFrom)); } if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Detail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ErrorTypeConverter.ConvertFrom)); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Target, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -111,53 +111,53 @@ internal CloudError(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Error")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ErrorTypeConverter.ConvertFrom); } if (content.Contains("AdditionalInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfoTypeConverter.ConvertFrom)); } if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Detail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ErrorTypeConverter.ConvertFrom)); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal)this).Target, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CloudError(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CloudError(content); } @@ -167,7 +167,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CloudError.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CloudError.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CloudError.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CloudError.TypeConverter.cs index c30dd29e22d0..6c57ba7da6d7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CloudError.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CloudError.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CloudError.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CloudError.cs similarity index 72% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CloudError.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CloudError.cs index 5a462254a962..791883785fe0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CloudError.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CloudError.cs @@ -3,60 +3,60 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// An error response from Azure Backup. public partial class CloudError : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal { /// The error additional info. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[] AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).AdditionalInfo; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).AdditionalInfo; } /// The error code. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Code; } + public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Code; } /// The error details. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[] Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Detail; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[] Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Detail; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError _error; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError _error; /// The resource management error response. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Error()); set => this._error = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Error()); set => this._error = value; } /// The error message. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Message; } + public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Message; } /// Internal Acessors for AdditionalInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).AdditionalInfo = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).AdditionalInfo = value; } /// Internal Acessors for Code - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Code = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Code = value; } /// Internal Acessors for Detail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Detail = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Detail = value; } /// Internal Acessors for Error - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Error()); set { {_error = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Error()); set { {_error = value;} } } /// Internal Acessors for Message - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Message = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Message = value; } /// Internal Acessors for Target - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudErrorInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Target = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudErrorInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Target = value; } /// The error target. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Target; } + public string Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Target; } /// Creates an new instance. public CloudError() @@ -74,8 +74,8 @@ public partial interface ICloudError : ReadOnly = true, Description = @"The error additional info.", SerializedName = @"additionalInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[] AdditionalInfo { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] AdditionalInfo { get; } /// The error code. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -90,8 +90,8 @@ public partial interface ICloudError : ReadOnly = true, Description = @"The error details.", SerializedName = @"details", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[] Detail { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[] Detail { get; } /// The error message. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -115,13 +115,13 @@ internal partial interface ICloudErrorInternal { /// The error additional info. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[] AdditionalInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] AdditionalInfo { get; set; } /// The error code. string Code { get; set; } /// The error details. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[] Detail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[] Detail { get; set; } /// The resource management error response. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError Error { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError Error { get; set; } /// The error message. string Message { get; set; } /// The error target. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CloudError.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CloudError.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CloudError.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CloudError.json.cs index 515d6df89b48..d67733b5ac54 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CloudError.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CloudError.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,18 +65,18 @@ internal CloudError(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Js { return; } - {_error = If( json?.PropertyT("error"), out var __jsonError) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Error.FromJson(__jsonError) : Error;} + {_error = If( json?.PropertyT("error"), out var __jsonError) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Error.FromJson(__jsonError) : Error;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new CloudError(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOnExpiryOption.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOnExpiryOption.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOnExpiryOption.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOnExpiryOption.PowerShell.cs index cf5fa5d5cd2b..5ce2b1ff66cb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOnExpiryOption.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOnExpiryOption.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class CopyOnExpiryOption partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,13 +70,13 @@ internal CopyOnExpiryOption(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -91,33 +91,33 @@ internal CopyOnExpiryOption(global::System.Management.Automation.PSObject conten // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOnExpiryOption DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOnExpiryOption DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CopyOnExpiryOption(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOnExpiryOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOnExpiryOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CopyOnExpiryOption(content); } @@ -127,7 +127,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOnExpiryOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOnExpiryOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOnExpiryOption.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOnExpiryOption.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOnExpiryOption.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOnExpiryOption.TypeConverter.cs index 234756816734..e5b20b83533e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOnExpiryOption.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOnExpiryOption.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOnExpiryOption ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOnExpiryOption ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOnExpiryOption).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOnExpiryOption).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOnExpiryOption.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOnExpiryOption.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOnExpiryOption.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOnExpiryOption.cs index d5ed67870e5f..000d8103b166 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOnExpiryOption.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOnExpiryOption.cs @@ -3,25 +3,25 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Copy on Expiry Option public partial class CopyOnExpiryOption : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOnExpiryOption, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOnExpiryOptionInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOnExpiryOption, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOnExpiryOptionInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CopyOption(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CopyOption(); /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)__copyOption).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)__copyOption).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)__copyOption).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)__copyOption).ObjectType = value ; } /// Creates an new instance. public CopyOnExpiryOption() @@ -44,13 +44,13 @@ public CopyOnExpiryOption() /// Copy on Expiry Option public partial interface ICopyOnExpiryOption : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption { } /// Copy on Expiry Option internal partial interface ICopyOnExpiryOptionInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal { } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOnExpiryOption.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOnExpiryOption.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOnExpiryOption.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOnExpiryOption.json.cs index c700ce111aff..9ff9cf146deb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOnExpiryOption.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOnExpiryOption.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,18 +65,18 @@ internal CopyOnExpiryOption(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Ru { return; } - __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CopyOption(json); + __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CopyOption(json); AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOnExpiryOption. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOnExpiryOption. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOnExpiryOption. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOnExpiryOption. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOnExpiryOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOnExpiryOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new CopyOnExpiryOption(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOption.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOption.PowerShell.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOption.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOption.PowerShell.cs index 7d84e3df0e00..e22799335fbc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOption.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOption.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class CopyOption partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,13 +70,13 @@ internal CopyOption(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -91,33 +91,33 @@ internal CopyOption(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CopyOption(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CopyOption(content); } @@ -127,7 +127,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOption.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOption.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOption.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOption.TypeConverter.cs index 1679ba176e0e..802a74425dcf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOption.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOption.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOption.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOption.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOption.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOption.cs index 8d48f03c7768..7c0d77ea3383 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOption.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOption.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Options to copy public partial class CopyOption : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOption.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOption.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOption.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOption.json.cs index 01290ffbf2f7..1534198d238c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CopyOption.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CopyOption.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,15 +70,15 @@ internal CopyOption(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Js } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption interface is polymorphic, and + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption interface is polymorphic, and /// the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreDetails.PowerShell.cs new file mode 100644 index 000000000000..dff396eee705 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreDetails.PowerShell.cs @@ -0,0 +1,154 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// Cross Region Restore details + [System.ComponentModel.TypeConverter(typeof(CrossRegionRestoreDetailsTypeConverter))] + public partial class CrossRegionRestoreDetails + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal CrossRegionRestoreDetails(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("SourceRegion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetailsInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetailsInternal)this).SourceRegion, global::System.Convert.ToString); + } + if (content.Contains("SourceBackupInstanceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetailsInternal)this).SourceBackupInstanceId = (string) content.GetValueForProperty("SourceBackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetailsInternal)this).SourceBackupInstanceId, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal CrossRegionRestoreDetails(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("SourceRegion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetailsInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetailsInternal)this).SourceRegion, global::System.Convert.ToString); + } + if (content.Contains("SourceBackupInstanceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetailsInternal)this).SourceBackupInstanceId = (string) content.GetValueForProperty("SourceBackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetailsInternal)this).SourceBackupInstanceId, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new CrossRegionRestoreDetails(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new CrossRegionRestoreDetails(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Cross Region Restore details + [System.ComponentModel.TypeConverter(typeof(CrossRegionRestoreDetailsTypeConverter))] + public partial interface ICrossRegionRestoreDetails + + { + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreDetails.TypeConverter.cs new file mode 100644 index 000000000000..1e349339f6f7 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreDetails.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class CrossRegionRestoreDetailsTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return CrossRegionRestoreDetails.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return CrossRegionRestoreDetails.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return CrossRegionRestoreDetails.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreDetails.cs new file mode 100644 index 000000000000..1a25b98592d3 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreDetails.cs @@ -0,0 +1,64 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// Cross Region Restore details + public partial class CrossRegionRestoreDetails : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetailsInternal + { + + /// Backing field for property. + private string _sourceBackupInstanceId; + + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string SourceBackupInstanceId { get => this._sourceBackupInstanceId; set => this._sourceBackupInstanceId = value; } + + /// Backing field for property. + private string _sourceRegion; + + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string SourceRegion { get => this._sourceRegion; set => this._sourceRegion = value; } + + /// Creates an new instance. + public CrossRegionRestoreDetails() + { + + } + } + /// Cross Region Restore details + public partial interface ICrossRegionRestoreDetails : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable + { + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"", + SerializedName = @"sourceBackupInstanceId", + PossibleTypes = new [] { typeof(string) })] + string SourceBackupInstanceId { get; set; } + + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"", + SerializedName = @"sourceRegion", + PossibleTypes = new [] { typeof(string) })] + string SourceRegion { get; set; } + + } + /// Cross Region Restore details + internal partial interface ICrossRegionRestoreDetailsInternal + + { + string SourceBackupInstanceId { get; set; } + + string SourceRegion { get; set; } + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreDetails.json.cs new file mode 100644 index 000000000000..53fe0eac98fe --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreDetails.json.cs @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// Cross Region Restore details + public partial class CrossRegionRestoreDetails + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject instance to deserialize from. + internal CrossRegionRestoreDetails(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_sourceRegion = If( json?.PropertyT("sourceRegion"), out var __jsonSourceRegion) ? (string)__jsonSourceRegion : (string)SourceRegion;} + {_sourceBackupInstanceId = If( json?.PropertyT("sourceBackupInstanceId"), out var __jsonSourceBackupInstanceId) ? (string)__jsonSourceBackupInstanceId : (string)SourceBackupInstanceId;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new CrossRegionRestoreDetails(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._sourceRegion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._sourceRegion.ToString()) : null, "sourceRegion" ,container.Add ); + AddIf( null != (((object)this._sourceBackupInstanceId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._sourceBackupInstanceId.ToString()) : null, "sourceBackupInstanceId" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobRequest.PowerShell.cs new file mode 100644 index 000000000000..8b1764266815 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobRequest.PowerShell.cs @@ -0,0 +1,162 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// Details of CRR Job to be fetched + [System.ComponentModel.TypeConverter(typeof(CrossRegionRestoreJobRequestTypeConverter))] + public partial class CrossRegionRestoreJobRequest + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal CrossRegionRestoreJobRequest(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("SourceRegion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequestInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequestInternal)this).SourceRegion, global::System.Convert.ToString); + } + if (content.Contains("SourceBackupVaultId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequestInternal)this).SourceBackupVaultId = (string) content.GetValueForProperty("SourceBackupVaultId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequestInternal)this).SourceBackupVaultId, global::System.Convert.ToString); + } + if (content.Contains("JobId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequestInternal)this).JobId = (string) content.GetValueForProperty("JobId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequestInternal)this).JobId, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal CrossRegionRestoreJobRequest(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("SourceRegion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequestInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequestInternal)this).SourceRegion, global::System.Convert.ToString); + } + if (content.Contains("SourceBackupVaultId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequestInternal)this).SourceBackupVaultId = (string) content.GetValueForProperty("SourceBackupVaultId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequestInternal)this).SourceBackupVaultId, global::System.Convert.ToString); + } + if (content.Contains("JobId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequestInternal)this).JobId = (string) content.GetValueForProperty("JobId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequestInternal)this).JobId, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new CrossRegionRestoreJobRequest(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new CrossRegionRestoreJobRequest(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Details of CRR Job to be fetched + [System.ComponentModel.TypeConverter(typeof(CrossRegionRestoreJobRequestTypeConverter))] + public partial interface ICrossRegionRestoreJobRequest + + { + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobRequest.TypeConverter.cs new file mode 100644 index 000000000000..1c4399459cde --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobRequest.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class CrossRegionRestoreJobRequestTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return CrossRegionRestoreJobRequest.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return CrossRegionRestoreJobRequest.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return CrossRegionRestoreJobRequest.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobRequest.cs new file mode 100644 index 000000000000..6e071c7165b3 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobRequest.cs @@ -0,0 +1,80 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// Details of CRR Job to be fetched + public partial class CrossRegionRestoreJobRequest : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequestInternal + { + + /// Backing field for property. + private string _jobId; + + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string JobId { get => this._jobId; set => this._jobId = value; } + + /// Backing field for property. + private string _sourceBackupVaultId; + + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string SourceBackupVaultId { get => this._sourceBackupVaultId; set => this._sourceBackupVaultId = value; } + + /// Backing field for property. + private string _sourceRegion; + + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string SourceRegion { get => this._sourceRegion; set => this._sourceRegion = value; } + + /// Creates an new instance. + public CrossRegionRestoreJobRequest() + { + + } + } + /// Details of CRR Job to be fetched + public partial interface ICrossRegionRestoreJobRequest : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable + { + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"", + SerializedName = @"jobId", + PossibleTypes = new [] { typeof(string) })] + string JobId { get; set; } + + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"", + SerializedName = @"sourceBackupVaultId", + PossibleTypes = new [] { typeof(string) })] + string SourceBackupVaultId { get; set; } + + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"", + SerializedName = @"sourceRegion", + PossibleTypes = new [] { typeof(string) })] + string SourceRegion { get; set; } + + } + /// Details of CRR Job to be fetched + internal partial interface ICrossRegionRestoreJobRequestInternal + + { + string JobId { get; set; } + + string SourceBackupVaultId { get; set; } + + string SourceRegion { get; set; } + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobRequest.json.cs new file mode 100644 index 000000000000..3e1059eb1e97 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobRequest.json.cs @@ -0,0 +1,112 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// Details of CRR Job to be fetched + public partial class CrossRegionRestoreJobRequest + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject instance to deserialize from. + internal CrossRegionRestoreJobRequest(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_sourceRegion = If( json?.PropertyT("sourceRegion"), out var __jsonSourceRegion) ? (string)__jsonSourceRegion : (string)SourceRegion;} + {_sourceBackupVaultId = If( json?.PropertyT("sourceBackupVaultId"), out var __jsonSourceBackupVaultId) ? (string)__jsonSourceBackupVaultId : (string)SourceBackupVaultId;} + {_jobId = If( json?.PropertyT("jobId"), out var __jsonJobId) ? (string)__jsonJobId : (string)JobId;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new CrossRegionRestoreJobRequest(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._sourceRegion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._sourceRegion.ToString()) : null, "sourceRegion" ,container.Add ); + AddIf( null != (((object)this._sourceBackupVaultId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._sourceBackupVaultId.ToString()) : null, "sourceBackupVaultId" ,container.Add ); + AddIf( null != (((object)this._jobId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._jobId.ToString()) : null, "jobId" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobsRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobsRequest.PowerShell.cs new file mode 100644 index 000000000000..583924a3357b --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobsRequest.PowerShell.cs @@ -0,0 +1,154 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// Details of Backup Vault for which CRR Jobs are to be fetched + [System.ComponentModel.TypeConverter(typeof(CrossRegionRestoreJobsRequestTypeConverter))] + public partial class CrossRegionRestoreJobsRequest + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal CrossRegionRestoreJobsRequest(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("SourceRegion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequestInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequestInternal)this).SourceRegion, global::System.Convert.ToString); + } + if (content.Contains("SourceBackupVaultId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequestInternal)this).SourceBackupVaultId = (string) content.GetValueForProperty("SourceBackupVaultId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequestInternal)this).SourceBackupVaultId, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal CrossRegionRestoreJobsRequest(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("SourceRegion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequestInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequestInternal)this).SourceRegion, global::System.Convert.ToString); + } + if (content.Contains("SourceBackupVaultId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequestInternal)this).SourceBackupVaultId = (string) content.GetValueForProperty("SourceBackupVaultId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequestInternal)this).SourceBackupVaultId, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new CrossRegionRestoreJobsRequest(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new CrossRegionRestoreJobsRequest(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Details of Backup Vault for which CRR Jobs are to be fetched + [System.ComponentModel.TypeConverter(typeof(CrossRegionRestoreJobsRequestTypeConverter))] + public partial interface ICrossRegionRestoreJobsRequest + + { + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobsRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobsRequest.TypeConverter.cs new file mode 100644 index 000000000000..4c91a1e53cb4 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobsRequest.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class CrossRegionRestoreJobsRequestTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return CrossRegionRestoreJobsRequest.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return CrossRegionRestoreJobsRequest.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return CrossRegionRestoreJobsRequest.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobsRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobsRequest.cs new file mode 100644 index 000000000000..ed4e3d768b7e --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobsRequest.cs @@ -0,0 +1,64 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// Details of Backup Vault for which CRR Jobs are to be fetched + public partial class CrossRegionRestoreJobsRequest : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequestInternal + { + + /// Backing field for property. + private string _sourceBackupVaultId; + + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string SourceBackupVaultId { get => this._sourceBackupVaultId; set => this._sourceBackupVaultId = value; } + + /// Backing field for property. + private string _sourceRegion; + + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string SourceRegion { get => this._sourceRegion; set => this._sourceRegion = value; } + + /// Creates an new instance. + public CrossRegionRestoreJobsRequest() + { + + } + } + /// Details of Backup Vault for which CRR Jobs are to be fetched + public partial interface ICrossRegionRestoreJobsRequest : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable + { + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"", + SerializedName = @"sourceBackupVaultId", + PossibleTypes = new [] { typeof(string) })] + string SourceBackupVaultId { get; set; } + + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"", + SerializedName = @"sourceRegion", + PossibleTypes = new [] { typeof(string) })] + string SourceRegion { get; set; } + + } + /// Details of Backup Vault for which CRR Jobs are to be fetched + internal partial interface ICrossRegionRestoreJobsRequestInternal + + { + string SourceBackupVaultId { get; set; } + + string SourceRegion { get; set; } + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobsRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobsRequest.json.cs new file mode 100644 index 000000000000..1346a3fb88aa --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreJobsRequest.json.cs @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// Details of Backup Vault for which CRR Jobs are to be fetched + public partial class CrossRegionRestoreJobsRequest + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject instance to deserialize from. + internal CrossRegionRestoreJobsRequest(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_sourceRegion = If( json?.PropertyT("sourceRegion"), out var __jsonSourceRegion) ? (string)__jsonSourceRegion : (string)SourceRegion;} + {_sourceBackupVaultId = If( json?.PropertyT("sourceBackupVaultId"), out var __jsonSourceBackupVaultId) ? (string)__jsonSourceBackupVaultId : (string)SourceBackupVaultId;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new CrossRegionRestoreJobsRequest(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._sourceRegion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._sourceRegion.ToString()) : null, "sourceRegion" ,container.Add ); + AddIf( null != (((object)this._sourceBackupVaultId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._sourceBackupVaultId.ToString()) : null, "sourceBackupVaultId" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreRequestObject.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreRequestObject.PowerShell.cs new file mode 100644 index 000000000000..8d7459ca5a9a --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreRequestObject.PowerShell.cs @@ -0,0 +1,154 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// Cross Region Restore Request Object + [System.ComponentModel.TypeConverter(typeof(CrossRegionRestoreRequestObjectTypeConverter))] + public partial class CrossRegionRestoreRequestObject + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal CrossRegionRestoreRequestObject(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("RestoreRequestObject")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequestTypeConverter.ConvertFrom); + } + if (content.Contains("CrossRegionRestoreDetail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails) content.GetValueForProperty("CrossRegionRestoreDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreDetailsTypeConverter.ConvertFrom); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal CrossRegionRestoreRequestObject(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("RestoreRequestObject")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequestTypeConverter.ConvertFrom); + } + if (content.Contains("CrossRegionRestoreDetail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails) content.GetValueForProperty("CrossRegionRestoreDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreDetailsTypeConverter.ConvertFrom); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new CrossRegionRestoreRequestObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new CrossRegionRestoreRequestObject(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Cross Region Restore Request Object + [System.ComponentModel.TypeConverter(typeof(CrossRegionRestoreRequestObjectTypeConverter))] + public partial interface ICrossRegionRestoreRequestObject + + { + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreRequestObject.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreRequestObject.TypeConverter.cs new file mode 100644 index 000000000000..a6bd081604f4 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreRequestObject.TypeConverter.cs @@ -0,0 +1,148 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class CrossRegionRestoreRequestObjectTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return CrossRegionRestoreRequestObject.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return CrossRegionRestoreRequestObject.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return CrossRegionRestoreRequestObject.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreRequestObject.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreRequestObject.cs new file mode 100644 index 000000000000..6ece545e54d4 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreRequestObject.cs @@ -0,0 +1,68 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// Cross Region Restore Request Object + public partial class CrossRegionRestoreRequestObject : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObjectInternal + { + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails _crossRegionRestoreDetail; + + /// Cross region restore details. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get => (this._crossRegionRestoreDetail = this._crossRegionRestoreDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreDetails()); set => this._crossRegionRestoreDetail = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest _restoreRequestObject; + + /// Gets or sets the restore request object. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest RestoreRequestObject { get => (this._restoreRequestObject = this._restoreRequestObject ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequest()); set => this._restoreRequestObject = value; } + + /// Creates an new instance. + public CrossRegionRestoreRequestObject() + { + + } + } + /// Cross Region Restore Request Object + public partial interface ICrossRegionRestoreRequestObject : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable + { + /// Cross region restore details. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Cross region restore details.", + SerializedName = @"crossRegionRestoreDetails", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get; set; } + /// Gets or sets the restore request object. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Gets or sets the restore request object.", + SerializedName = @"restoreRequestObject", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } + + } + /// Cross Region Restore Request Object + internal partial interface ICrossRegionRestoreRequestObjectInternal + + { + /// Cross region restore details. + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get; set; } + /// Gets or sets the restore request object. + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreRequestObject.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreRequestObject.json.cs new file mode 100644 index 000000000000..ec871cdfe9a7 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreRequestObject.json.cs @@ -0,0 +1,110 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// Cross Region Restore Request Object + public partial class CrossRegionRestoreRequestObject + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject instance to deserialize from. + internal CrossRegionRestoreRequestObject(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_restoreRequestObject = If( json?.PropertyT("restoreRequestObject"), out var __jsonRestoreRequestObject) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequest.FromJson(__jsonRestoreRequestObject) : RestoreRequestObject;} + {_crossRegionRestoreDetail = If( json?.PropertyT("crossRegionRestoreDetails"), out var __jsonCrossRegionRestoreDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreDetails.FromJson(__jsonCrossRegionRestoreDetails) : CrossRegionRestoreDetail;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new CrossRegionRestoreRequestObject(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != this._restoreRequestObject ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._restoreRequestObject.ToJson(null,serializationMode) : null, "restoreRequestObject" ,container.Add ); + AddIf( null != this._crossRegionRestoreDetail ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._crossRegionRestoreDetail.ToJson(null,serializationMode) : null, "crossRegionRestoreDetails" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossRegionRestoreSettings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreSettings.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossRegionRestoreSettings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreSettings.PowerShell.cs index f9cbfbe531ce..78d19e874d01 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossRegionRestoreSettings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreSettings.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -54,7 +54,7 @@ public partial class CrossRegionRestoreSettings partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -69,13 +69,13 @@ internal CrossRegionRestoreSettings(global::System.Collections.IDictionary conte // actually deserialize if (content.Contains("State")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -90,35 +90,35 @@ internal CrossRegionRestoreSettings(global::System.Management.Automation.PSObjec // actually deserialize if (content.Contains("State")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CrossRegionRestoreSettings(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CrossRegionRestoreSettings(content); } @@ -128,7 +128,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossRegionRestoreSettings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreSettings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossRegionRestoreSettings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreSettings.TypeConverter.cs index e38778830433..0ed16d142e27 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossRegionRestoreSettings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreSettings.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossRegionRestoreSettings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreSettings.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossRegionRestoreSettings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreSettings.cs index 12c4d0566b3a..262d9de96bbe 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossRegionRestoreSettings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreSettings.cs @@ -3,13 +3,13 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class CrossRegionRestoreSettings : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettingsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossRegionRestoreSettings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreSettings.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossRegionRestoreSettings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreSettings.json.cs index 99e3489eb1d0..6a95c9f1e2a8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossRegionRestoreSettings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossRegionRestoreSettings.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -69,13 +69,13 @@ internal CrossRegionRestoreSettings(Microsoft.Azure.PowerShell.Cmdlets.DataProte } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new CrossRegionRestoreSettings(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossSubscriptionRestoreSettings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossSubscriptionRestoreSettings.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossSubscriptionRestoreSettings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossSubscriptionRestoreSettings.PowerShell.cs index bd44cd21fa12..912b067c1003 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossSubscriptionRestoreSettings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossSubscriptionRestoreSettings.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class CrossSubscriptionRestoreSettings partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,13 +70,13 @@ internal CrossSubscriptionRestoreSettings(global::System.Collections.IDictionary // actually deserialize if (content.Contains("State")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -91,35 +91,35 @@ internal CrossSubscriptionRestoreSettings(global::System.Management.Automation.P // actually deserialize if (content.Contains("State")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CrossSubscriptionRestoreSettings(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CrossSubscriptionRestoreSettings(content); } @@ -129,7 +129,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossSubscriptionRestoreSettings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossSubscriptionRestoreSettings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossSubscriptionRestoreSettings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossSubscriptionRestoreSettings.TypeConverter.cs index e9654b231385..6920afd632af 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossSubscriptionRestoreSettings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossSubscriptionRestoreSettings.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossSubscriptionRestoreSettings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossSubscriptionRestoreSettings.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossSubscriptionRestoreSettings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossSubscriptionRestoreSettings.cs index 2ed97d080308..ab1db9499637 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossSubscriptionRestoreSettings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossSubscriptionRestoreSettings.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// CrossSubscriptionRestore Settings public partial class CrossSubscriptionRestoreSettings : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettingsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossSubscriptionRestoreSettings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossSubscriptionRestoreSettings.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossSubscriptionRestoreSettings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossSubscriptionRestoreSettings.json.cs index 366875b59810..337b35693a1e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CrossSubscriptionRestoreSettings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CrossSubscriptionRestoreSettings.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,13 +70,13 @@ internal CrossSubscriptionRestoreSettings(Microsoft.Azure.PowerShell.Cmdlets.Dat } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new CrossSubscriptionRestoreSettings(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CustomCopyOption.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CustomCopyOption.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CustomCopyOption.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CustomCopyOption.PowerShell.cs index ba7204dddea9..c3998cd69883 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CustomCopyOption.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CustomCopyOption.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class CustomCopyOption partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal CustomCopyOption(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Duration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICustomCopyOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICustomCopyOptionInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICustomCopyOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICustomCopyOptionInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,37 +95,37 @@ internal CustomCopyOption(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Duration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICustomCopyOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICustomCopyOptionInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICustomCopyOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICustomCopyOptionInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICustomCopyOption DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICustomCopyOption DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new CustomCopyOption(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICustomCopyOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICustomCopyOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new CustomCopyOption(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICustomCopyOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICustomCopyOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CustomCopyOption.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CustomCopyOption.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CustomCopyOption.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CustomCopyOption.TypeConverter.cs index 0d8a73580e23..e33d3bc8fa0c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CustomCopyOption.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CustomCopyOption.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICustomCopyOption ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICustomCopyOption ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICustomCopyOption).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICustomCopyOption).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CustomCopyOption.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CustomCopyOption.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CustomCopyOption.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CustomCopyOption.cs index ec4027f770d1..cf4c982536b2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CustomCopyOption.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CustomCopyOption.cs @@ -3,21 +3,21 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Duration based custom options to copy public partial class CustomCopyOption : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICustomCopyOption, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICustomCopyOptionInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICustomCopyOption, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICustomCopyOptionInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CopyOption(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CopyOption(); /// Backing field for property. private string _duration; @@ -28,7 +28,7 @@ public partial class CustomCopyOption : /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)__copyOption).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)__copyOption).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)__copyOption).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)__copyOption).ObjectType = value ; } /// Creates an new instance. public CustomCopyOption() @@ -51,7 +51,7 @@ public CustomCopyOption() /// Duration based custom options to copy public partial interface ICustomCopyOption : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption { /// Data copied after given timespan [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -65,7 +65,7 @@ public partial interface ICustomCopyOption : } /// Duration based custom options to copy internal partial interface ICustomCopyOptionInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal { /// Data copied after given timespan string Duration { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CustomCopyOption.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CustomCopyOption.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CustomCopyOption.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CustomCopyOption.json.cs index 24154d823497..b4f9949f144a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/CustomCopyOption.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/CustomCopyOption.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal CustomCopyOption(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runt { return; } - __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CopyOption(json); + __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CopyOption(json); {_duration = If( json?.PropertyT("duration"), out var __jsonDuration) ? (string)__jsonDuration : (string)Duration;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICustomCopyOption. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICustomCopyOption. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICustomCopyOption. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICustomCopyOption. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICustomCopyOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICustomCopyOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new CustomCopyOption(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreInfoBase.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreInfoBase.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreInfoBase.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreInfoBase.PowerShell.cs index d3dab33a7bfb..a7f6b4e703be 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreInfoBase.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreInfoBase.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class DataStoreInfoBase partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal DataStoreInfoBase(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,37 +95,37 @@ internal DataStoreInfoBase(global::System.Management.Automation.PSObject content // actually deserialize if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DataStoreInfoBase(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DataStoreInfoBase(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreInfoBase.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreInfoBase.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreInfoBase.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreInfoBase.TypeConverter.cs index 46ae356c14f8..c6c214350608 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreInfoBase.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreInfoBase.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreInfoBase.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreInfoBase.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreInfoBase.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreInfoBase.cs index b09d36da8af3..cb570b2fe835 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreInfoBase.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreInfoBase.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// DataStoreInfo base public partial class DataStoreInfoBase : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreInfoBase.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreInfoBase.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreInfoBase.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreInfoBase.json.cs index 68845485d173..6a749e18de3f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreInfoBase.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreInfoBase.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -71,13 +71,13 @@ internal DataStoreInfoBase(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Run } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DataStoreInfoBase(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreParameters.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreParameters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreParameters.PowerShell.cs index 62be8c345261..2e811a7b9dd8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreParameters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreParameters.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class DataStoreParameters partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal DataStoreParameters(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,37 +95,37 @@ internal DataStoreParameters(global::System.Management.Automation.PSObject conte // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DataStoreParameters(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DataStoreParameters(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreParameters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreParameters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreParameters.TypeConverter.cs index 78062c4c8293..47551edc628c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreParameters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreParameters.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreParameters.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreParameters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreParameters.cs index 3bb285035d1e..2854355d82db 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreParameters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreParameters.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Parameters for DataStore public partial class DataStoreParameters : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParametersInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreParameters.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreParameters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreParameters.json.cs index 7616454c025b..2f43cd3a2436 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DataStoreParameters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DataStoreParameters.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -71,15 +71,15 @@ internal DataStoreParameters(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.R } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters interface is polymorphic, /// and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Datasource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Datasource.PowerShell.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Datasource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Datasource.PowerShell.cs index 90dc8e758a05..6d59fae199f5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Datasource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Datasource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class Datasource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,45 +70,45 @@ internal Datasource(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ResourceProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties) content.GetValueForProperty("ResourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseResourcePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties) content.GetValueForProperty("ResourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseResourcePropertiesTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("ResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceId, global::System.Convert.ToString); } if (content.Contains("ResourceLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceLocation = (string) content.GetValueForProperty("ResourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceLocation = (string) content.GetValueForProperty("ResourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceLocation, global::System.Convert.ToString); } if (content.Contains("ResourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceName, global::System.Convert.ToString); } if (content.Contains("ResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceType, global::System.Convert.ToString); } if (content.Contains("ResourceUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceUri, global::System.Convert.ToString); } if (content.Contains("ResourcePropertyObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourcePropertyObjectType = (string) content.GetValueForProperty("ResourcePropertyObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourcePropertyObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourcePropertyObjectType = (string) content.GetValueForProperty("ResourcePropertyObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourcePropertyObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -123,65 +123,65 @@ internal Datasource(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("ResourceProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties) content.GetValueForProperty("ResourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseResourcePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties) content.GetValueForProperty("ResourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseResourcePropertiesTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("ResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceId, global::System.Convert.ToString); } if (content.Contains("ResourceLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceLocation = (string) content.GetValueForProperty("ResourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceLocation = (string) content.GetValueForProperty("ResourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceLocation, global::System.Convert.ToString); } if (content.Contains("ResourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceName, global::System.Convert.ToString); } if (content.Contains("ResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceType, global::System.Convert.ToString); } if (content.Contains("ResourceUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourceUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourceUri, global::System.Convert.ToString); } if (content.Contains("ResourcePropertyObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourcePropertyObjectType = (string) content.GetValueForProperty("ResourcePropertyObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal)this).ResourcePropertyObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourcePropertyObjectType = (string) content.GetValueForProperty("ResourcePropertyObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal)this).ResourcePropertyObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new Datasource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Datasource(content); } @@ -191,7 +191,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Datasource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Datasource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Datasource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Datasource.TypeConverter.cs index 6f6fafe78ede..4b26974a597c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Datasource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Datasource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Datasource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Datasource.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Datasource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Datasource.cs index cc8e41cb9ed9..2523898cd063 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Datasource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Datasource.cs @@ -3,21 +3,21 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Datasource to be backed up public partial class Datasource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal { /// Internal Acessors for ResourceProperty - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal.ResourceProperty { get => (this._resourceProperty = this._resourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseResourceProperties()); set { {_resourceProperty = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal.ResourceProperty { get => (this._resourceProperty = this._resourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseResourceProperties()); set { {_resourceProperty = value;} } } /// Internal Acessors for ResourcePropertyObjectType - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceInternal.ResourcePropertyObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceInternal.ResourcePropertyObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType = value; } /// Backing field for property. private string _objectType; @@ -51,15 +51,15 @@ public partial class Datasource : public string ResourceName { get => this._resourceName; set => this._resourceName = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties _resourceProperty; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties _resourceProperty; /// Properties specific to data source [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties ResourceProperty { get => (this._resourceProperty = this._resourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseResourceProperties()); set => this._resourceProperty = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties ResourceProperty { get => (this._resourceProperty = this._resourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseResourceProperties()); set => this._resourceProperty = value; } /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ResourcePropertyObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType; } + public string ResourcePropertyObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType; } /// Backing field for property. private string _resourceType; @@ -177,7 +177,7 @@ internal partial interface IDatasourceInternal /// Unique identifier of the resource in the context of parent. string ResourceName { get; set; } /// Properties specific to data source - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties ResourceProperty { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties ResourceProperty { get; set; } /// Type of the specific object - used for deserializing string ResourcePropertyObjectType { get; set; } /// Resource Type of Datasource. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Datasource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Datasource.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Datasource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Datasource.json.cs index 0f91a94d78a3..816b2a4fc1db 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Datasource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Datasource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,7 +65,7 @@ internal Datasource(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Js { return; } - {_resourceProperty = If( json?.PropertyT("resourceProperties"), out var __jsonResourceProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseResourceProperties.FromJson(__jsonResourceProperties) : ResourceProperty;} + {_resourceProperty = If( json?.PropertyT("resourceProperties"), out var __jsonResourceProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseResourceProperties.FromJson(__jsonResourceProperties) : ResourceProperty;} {_type = If( json?.PropertyT("datasourceType"), out var __jsonDatasourceType) ? (string)__jsonDatasourceType : (string)Type;} {_objectType = If( json?.PropertyT("objectType"), out var __jsonObjectType) ? (string)__jsonObjectType : (string)ObjectType;} {_resourceId = If( json?.PropertyT("resourceID"), out var __jsonResourceId) ? (string)__jsonResourceId : (string)ResourceId;} @@ -77,13 +77,13 @@ internal Datasource(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Js } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new Datasource(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DatasourceSet.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DatasourceSet.PowerShell.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DatasourceSet.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DatasourceSet.PowerShell.cs index 904c5a2af089..8319711c0a0a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DatasourceSet.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DatasourceSet.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class DatasourceSet partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,45 +70,45 @@ internal DatasourceSet(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ResourceProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties) content.GetValueForProperty("ResourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseResourcePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties) content.GetValueForProperty("ResourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseResourcePropertiesTypeConverter.ConvertFrom); } if (content.Contains("DatasourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).DatasourceType = (string) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).DatasourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).DatasourceType = (string) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).DatasourceType, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("ResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceId, global::System.Convert.ToString); } if (content.Contains("ResourceLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceLocation = (string) content.GetValueForProperty("ResourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceLocation = (string) content.GetValueForProperty("ResourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceLocation, global::System.Convert.ToString); } if (content.Contains("ResourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceName, global::System.Convert.ToString); } if (content.Contains("ResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceType, global::System.Convert.ToString); } if (content.Contains("ResourceUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceUri, global::System.Convert.ToString); } if (content.Contains("ResourcePropertyObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourcePropertyObjectType = (string) content.GetValueForProperty("ResourcePropertyObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourcePropertyObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourcePropertyObjectType = (string) content.GetValueForProperty("ResourcePropertyObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourcePropertyObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -123,65 +123,65 @@ internal DatasourceSet(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("ResourceProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties) content.GetValueForProperty("ResourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseResourcePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties) content.GetValueForProperty("ResourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceProperty, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseResourcePropertiesTypeConverter.ConvertFrom); } if (content.Contains("DatasourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).DatasourceType = (string) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).DatasourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).DatasourceType = (string) content.GetValueForProperty("DatasourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).DatasourceType, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("ResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceId = (string) content.GetValueForProperty("ResourceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceId, global::System.Convert.ToString); } if (content.Contains("ResourceLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceLocation = (string) content.GetValueForProperty("ResourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceLocation = (string) content.GetValueForProperty("ResourceLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceLocation, global::System.Convert.ToString); } if (content.Contains("ResourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceName, global::System.Convert.ToString); } if (content.Contains("ResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceType = (string) content.GetValueForProperty("ResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceType, global::System.Convert.ToString); } if (content.Contains("ResourceUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourceUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceUri = (string) content.GetValueForProperty("ResourceUri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourceUri, global::System.Convert.ToString); } if (content.Contains("ResourcePropertyObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourcePropertyObjectType = (string) content.GetValueForProperty("ResourcePropertyObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal)this).ResourcePropertyObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourcePropertyObjectType = (string) content.GetValueForProperty("ResourcePropertyObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal)this).ResourcePropertyObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DatasourceSet(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DatasourceSet(content); } @@ -191,7 +191,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DatasourceSet.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DatasourceSet.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DatasourceSet.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DatasourceSet.TypeConverter.cs index 6c0519d14848..d0509248abc1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DatasourceSet.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DatasourceSet.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DatasourceSet.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DatasourceSet.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DatasourceSet.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DatasourceSet.cs index 05a2f2665117..fff642fa2355 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DatasourceSet.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DatasourceSet.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// DatasourceSet details of datasource to be backed up public partial class DatasourceSet : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal { /// Backing field for property. @@ -21,10 +21,10 @@ public partial class DatasourceSet : public string DatasourceType { get => this._datasourceType; set => this._datasourceType = value; } /// Internal Acessors for ResourceProperty - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal.ResourceProperty { get => (this._resourceProperty = this._resourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseResourceProperties()); set { {_resourceProperty = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal.ResourceProperty { get => (this._resourceProperty = this._resourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseResourceProperties()); set { {_resourceProperty = value;} } } /// Internal Acessors for ResourcePropertyObjectType - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSetInternal.ResourcePropertyObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSetInternal.ResourcePropertyObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType = value; } /// Backing field for property. private string _objectType; @@ -58,15 +58,15 @@ public partial class DatasourceSet : public string ResourceName { get => this._resourceName; set => this._resourceName = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties _resourceProperty; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties _resourceProperty; /// Properties specific to data source set [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties ResourceProperty { get => (this._resourceProperty = this._resourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseResourceProperties()); set => this._resourceProperty = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties ResourceProperty { get => (this._resourceProperty = this._resourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseResourceProperties()); set => this._resourceProperty = value; } /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ResourcePropertyObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType; } + public string ResourcePropertyObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal)ResourceProperty).ObjectType; } /// Backing field for property. private string _resourceType; @@ -179,7 +179,7 @@ internal partial interface IDatasourceSetInternal /// Unique identifier of the resource in the context of parent. string ResourceName { get; set; } /// Properties specific to data source set - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties ResourceProperty { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties ResourceProperty { get; set; } /// Type of the specific object - used for deserializing string ResourcePropertyObjectType { get; set; } /// Resource Type of Datasource. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DatasourceSet.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DatasourceSet.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DatasourceSet.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DatasourceSet.json.cs index 5e906594b8f3..4a82fb002665 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DatasourceSet.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DatasourceSet.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,7 +65,7 @@ internal DatasourceSet(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime { return; } - {_resourceProperty = If( json?.PropertyT("resourceProperties"), out var __jsonResourceProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseResourceProperties.FromJson(__jsonResourceProperties) : ResourceProperty;} + {_resourceProperty = If( json?.PropertyT("resourceProperties"), out var __jsonResourceProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseResourceProperties.FromJson(__jsonResourceProperties) : ResourceProperty;} {_datasourceType = If( json?.PropertyT("datasourceType"), out var __jsonDatasourceType) ? (string)__jsonDatasourceType : (string)DatasourceType;} {_objectType = If( json?.PropertyT("objectType"), out var __jsonObjectType) ? (string)__jsonObjectType : (string)ObjectType;} {_resourceId = If( json?.PropertyT("resourceID"), out var __jsonResourceId) ? (string)__jsonResourceId : (string)ResourceId;} @@ -77,13 +77,13 @@ internal DatasourceSet(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DatasourceSet(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Day.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Day.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Day.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Day.PowerShell.cs index 219ce3a49ac8..504ae13a7af2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Day.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Day.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class Day partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal Day(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Date")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDayInternal)this).Date = (int?) content.GetValueForProperty("Date",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDayInternal)this).Date, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDayInternal)this).Date = (int?) content.GetValueForProperty("Date",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDayInternal)this).Date, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } if (content.Contains("IsLast")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDayInternal)this).IsLast = (bool?) content.GetValueForProperty("IsLast",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDayInternal)this).IsLast, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDayInternal)this).IsLast = (bool?) content.GetValueForProperty("IsLast",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDayInternal)this).IsLast, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,37 +95,37 @@ internal Day(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Date")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDayInternal)this).Date = (int?) content.GetValueForProperty("Date",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDayInternal)this).Date, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDayInternal)this).Date = (int?) content.GetValueForProperty("Date",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDayInternal)this).Date, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } if (content.Contains("IsLast")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDayInternal)this).IsLast = (bool?) content.GetValueForProperty("IsLast",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDayInternal)this).IsLast, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDayInternal)this).IsLast = (bool?) content.GetValueForProperty("IsLast",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDayInternal)this).IsLast, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDay DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDay DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new Day(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDay DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDay DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Day(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDay FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDay FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Day.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Day.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Day.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Day.TypeConverter.cs index 75cc8c5655d7..f5427ba5f853 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Day.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Day.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDay ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDay ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDay).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDay).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Day.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Day.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Day.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Day.cs index 7c267a9b9865..e00bf38b059f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Day.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Day.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Day of the week public partial class Day : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDay, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDayInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDay, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDayInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Day.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Day.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Day.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Day.json.cs index 068a33da7375..156d4a837e56 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Day.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Day.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -71,13 +71,13 @@ internal Day(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.Json } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDay. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDay. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDay. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDay. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDay FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDay FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new Day(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DefaultResourceProperties.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DefaultResourceProperties.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DefaultResourceProperties.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DefaultResourceProperties.PowerShell.cs index e4177365a41e..abf381cee7a8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DefaultResourceProperties.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DefaultResourceProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class DefaultResourceProperties partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,13 +70,13 @@ internal DefaultResourceProperties(global::System.Collections.IDictionary conten // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -91,35 +91,35 @@ internal DefaultResourceProperties(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDefaultResourceProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDefaultResourceProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DefaultResourceProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDefaultResourceProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDefaultResourceProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DefaultResourceProperties(content); } @@ -129,7 +129,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDefaultResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDefaultResourceProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DefaultResourceProperties.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DefaultResourceProperties.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DefaultResourceProperties.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DefaultResourceProperties.TypeConverter.cs index 2f82b71c569d..93d0c03515d7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DefaultResourceProperties.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DefaultResourceProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDefaultResourceProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDefaultResourceProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDefaultResourceProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDefaultResourceProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DefaultResourceProperties.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DefaultResourceProperties.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DefaultResourceProperties.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DefaultResourceProperties.cs index 3ba24ba900df..3d4869e5e65d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DefaultResourceProperties.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DefaultResourceProperties.cs @@ -3,28 +3,28 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Default source properties public partial class DefaultResourceProperties : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDefaultResourceProperties, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDefaultResourcePropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDefaultResourceProperties, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDefaultResourcePropertiesInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties __baseResourceProperties = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseResourceProperties(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties __baseResourceProperties = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseResourceProperties(); /// Internal Acessors for ObjectType - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal.ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal)__baseResourceProperties).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal)__baseResourceProperties).ObjectType = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal.ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal)__baseResourceProperties).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal)__baseResourceProperties).ObjectType = value; } /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal)__baseResourceProperties).ObjectType; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal)__baseResourceProperties).ObjectType; } /// Creates an new instance. public DefaultResourceProperties() @@ -47,13 +47,13 @@ public DefaultResourceProperties() /// Default source properties public partial interface IDefaultResourceProperties : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourceProperties + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourceProperties { } /// Default source properties internal partial interface IDefaultResourcePropertiesInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseResourcePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseResourcePropertiesInternal { } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DefaultResourceProperties.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DefaultResourceProperties.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DefaultResourceProperties.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DefaultResourceProperties.json.cs index 5a5593c25099..ecff7c31424c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DefaultResourceProperties.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DefaultResourceProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,18 +65,18 @@ internal DefaultResourceProperties(Microsoft.Azure.PowerShell.Cmdlets.DataProtec { return; } - __baseResourceProperties = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseResourceProperties(json); + __baseResourceProperties = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseResourceProperties(json); AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDefaultResourceProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDefaultResourceProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDefaultResourceProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDefaultResourceProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDefaultResourceProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDefaultResourceProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DefaultResourceProperties(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeleteOption.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeleteOption.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeleteOption.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeleteOption.PowerShell.cs index 20bd1a9518c5..e171f6b67a68 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeleteOption.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeleteOption.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class DeleteOption partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal DeleteOption(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Duration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,37 +95,37 @@ internal DeleteOption(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Duration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)this).Duration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)this).Duration = (string) content.GetValueForProperty("Duration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)this).Duration, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DeleteOption(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DeleteOption(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeleteOption.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeleteOption.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeleteOption.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeleteOption.TypeConverter.cs index c916dce05a4e..98e7c65b731a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeleteOption.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeleteOption.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeleteOption.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeleteOption.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeleteOption.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeleteOption.cs index e508d6d11df5..f5b890c01c19 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeleteOption.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeleteOption.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Delete Option public partial class DeleteOption : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeleteOption.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeleteOption.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeleteOption.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeleteOption.json.cs index 1a46975b5e38..023c4a4ee8d5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeleteOption.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeleteOption.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -71,15 +71,15 @@ internal DeleteOption(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime. } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption interface is polymorphic, /// and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstance.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstance.PowerShell.cs similarity index 73% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstance.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstance.PowerShell.cs index 397a7d3d88f8..7d5ce4741896 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstance.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstance.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class DeletedBackupInstance partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,61 +70,61 @@ internal DeletedBackupInstance(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("DeletionInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceInternal)this).DeletionInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo) content.GetValueForProperty("DeletionInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceInternal)this).DeletionInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletionInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceInternal)this).DeletionInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo) content.GetValueForProperty("DeletionInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceInternal)this).DeletionInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletionInfoTypeConverter.ConvertFrom); } if (content.Contains("FriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).FriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).FriendlyName, global::System.Convert.ToString); } if (content.Contains("DataSourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DataSourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("PolicyInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PolicyInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PolicyInfoTypeConverter.ConvertFrom); } if (content.Contains("ProtectionStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ProtectionStatusDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ProtectionStatusDetailsTypeConverter.ConvertFrom); } if (content.Contains("CurrentProtectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); } if (content.Contains("ProtectionErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProvisioningState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProvisioningState, global::System.Convert.ToString); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ValidationType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -139,83 +139,83 @@ internal DeletedBackupInstance(global::System.Management.Automation.PSObject con // actually deserialize if (content.Contains("DeletionInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceInternal)this).DeletionInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo) content.GetValueForProperty("DeletionInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceInternal)this).DeletionInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletionInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceInternal)this).DeletionInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo) content.GetValueForProperty("DeletionInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceInternal)this).DeletionInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletionInfoTypeConverter.ConvertFrom); } if (content.Contains("FriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).FriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).FriendlyName, global::System.Convert.ToString); } if (content.Contains("DataSourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DataSourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("PolicyInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PolicyInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PolicyInfoTypeConverter.ConvertFrom); } if (content.Contains("ProtectionStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ProtectionStatusDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ProtectionStatusDetailsTypeConverter.ConvertFrom); } if (content.Contains("CurrentProtectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); } if (content.Contains("ProtectionErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ProvisioningState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ProvisioningState, global::System.Convert.ToString); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ValidationType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstance DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstance DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DeletedBackupInstance(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstance DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstance DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DeletedBackupInstance(content); } @@ -225,7 +225,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstance FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstance FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstance.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstance.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstance.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstance.TypeConverter.cs index 62d7ae84eca8..7f85c59b5919 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstance.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstance.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstance ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstance ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstance).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstance).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstance.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstance.cs similarity index 74% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstance.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstance.cs index fa8ea2dbf222..e4065fa72e80 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstance.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstance.cs @@ -3,97 +3,97 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Deleted Backup Instance public partial class DeletedBackupInstance : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstance, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstance, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance __backupInstance = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstance(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance __backupInstance = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstance(); /// Specifies the current protection state of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? CurrentProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).CurrentProtectionState; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? CurrentProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).CurrentProtectionState; } /// Gets or sets the data source information. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource DataSourceInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).DataSourceInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).DataSourceInfo = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource DataSourceInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).DataSourceInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).DataSourceInfo = value ; } /// Gets or sets the data source set information. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet DataSourceSetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).DataSourceSetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).DataSourceSetInfo = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet DataSourceSetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).DataSourceSetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).DataSourceSetInfo = value ?? null /* model class */; } /// Credentials to use to authenticate with data source provider. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials DatasourceAuthCredentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).DatasourceAuthCredentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).DatasourceAuthCredentials = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials DatasourceAuthCredentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).DatasourceAuthCredentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).DatasourceAuthCredentials = value ?? null /* model class */; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo _deletionInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo _deletionInfo; /// Deletion info of Backup Instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo DeletionInfo { get => (this._deletionInfo = this._deletionInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletionInfo()); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo DeletionInfo { get => (this._deletionInfo = this._deletionInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletionInfo()); } /// Gets or sets the Backup Instance friendly name. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).FriendlyName = value ?? null; } + public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).FriendlyName = value ?? null; } /// /// Contains information of the Identity Details for the BI. /// If it is null, default will be considered as System Assigned. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).IdentityDetail = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).IdentityDetail = value ?? null /* model class */; } /// Internal Acessors for CurrentProtectionState - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal.CurrentProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).CurrentProtectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).CurrentProtectionState = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal.CurrentProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).CurrentProtectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).CurrentProtectionState = value; } /// Internal Acessors for ProtectionErrorDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal.ProtectionErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).ProtectionErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).ProtectionErrorDetail = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal.ProtectionErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).ProtectionErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).ProtectionErrorDetail = value; } /// Internal Acessors for ProtectionStatus - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal.ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).ProtectionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).ProtectionStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal.ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).ProtectionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).ProtectionStatus = value; } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).ProvisioningState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).ProvisioningState = value; } /// Internal Acessors for DeletionInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceInternal.DeletionInfo { get => (this._deletionInfo = this._deletionInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletionInfo()); set { {_deletionInfo = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceInternal.DeletionInfo { get => (this._deletionInfo = this._deletionInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletionInfo()); set { {_deletionInfo = value;} } } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).ObjectType = value ; } /// Gets or sets the policy information. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo PolicyInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).PolicyInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).PolicyInfo = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo PolicyInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).PolicyInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).PolicyInfo = value ; } /// Specifies the protection error of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError ProtectionErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).ProtectionErrorDetail; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError ProtectionErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).ProtectionErrorDetail; } /// Specifies the protection status of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).ProtectionStatus; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).ProtectionStatus; } /// /// Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).ProvisioningState; } + public string ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).ProvisioningState; } /// /// Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType? ValidationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).ValidationType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)__backupInstance).ValidationType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType? ValidationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).ValidationType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)__backupInstance).ValidationType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType)""); } /// Creates an new instance. public DeletedBackupInstance() @@ -116,7 +116,7 @@ public DeletedBackupInstance() /// Deleted Backup Instance public partial interface IDeletedBackupInstance : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance { /// Deletion info of Backup Instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -124,16 +124,16 @@ public partial interface IDeletedBackupInstance : ReadOnly = true, Description = @"Deletion info of Backup Instance", SerializedName = @"deletionInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo DeletionInfo { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo DeletionInfo { get; } } /// Deleted Backup Instance internal partial interface IDeletedBackupInstanceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal { /// Deletion info of Backup Instance - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo DeletionInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo DeletionInfo { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstance.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstance.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstance.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstance.json.cs index 65516cafbcb7..ca8d2d2e14f5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstance.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstance.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal DeletedBackupInstance(Microsoft.Azure.PowerShell.Cmdlets.DataProtection { return; } - __backupInstance = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstance(json); - {_deletionInfo = If( json?.PropertyT("deletionInfo"), out var __jsonDeletionInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletionInfo.FromJson(__jsonDeletionInfo) : DeletionInfo;} + __backupInstance = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstance(json); + {_deletionInfo = If( json?.PropertyT("deletionInfo"), out var __jsonDeletionInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletionInfo.FromJson(__jsonDeletionInfo) : DeletionInfo;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstance. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstance. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstance. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstance. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstance FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstance FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DeletedBackupInstance(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResource.PowerShell.cs similarity index 72% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResource.PowerShell.cs index f47c5902b697..aa517afdd0ec 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class DeletedBackupInstanceResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,81 +70,81 @@ internal DeletedBackupInstanceResource(global::System.Collections.IDictionary co // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstance) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletedBackupInstanceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstance) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletedBackupInstanceTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("PolicyInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PolicyInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PolicyInfoTypeConverter.ConvertFrom); } if (content.Contains("ValidationType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("DeletionInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).DeletionInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo) content.GetValueForProperty("DeletionInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).DeletionInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletionInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).DeletionInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo) content.GetValueForProperty("DeletionInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).DeletionInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletionInfoTypeConverter.ConvertFrom); } if (content.Contains("FriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).FriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).FriendlyName, global::System.Convert.ToString); } if (content.Contains("DataSourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DataSourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("ProtectionStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ProtectionStatusDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ProtectionStatusDetailsTypeConverter.ConvertFrom); } if (content.Contains("CurrentProtectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); } if (content.Contains("ProtectionErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ProvisioningState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ProvisioningState, global::System.Convert.ToString); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -159,103 +159,103 @@ internal DeletedBackupInstanceResource(global::System.Management.Automation.PSOb // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstance) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletedBackupInstanceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstance) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletedBackupInstanceTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("PolicyInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PolicyInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).PolicyInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo) content.GetValueForProperty("PolicyInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).PolicyInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PolicyInfoTypeConverter.ConvertFrom); } if (content.Contains("ValidationType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ValidationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType?) content.GetValueForProperty("ValidationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ValidationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType.CreateFrom); } if (content.Contains("IdentityDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).IdentityDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails) content.GetValueForProperty("IdentityDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).IdentityDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("DeletionInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).DeletionInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo) content.GetValueForProperty("DeletionInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).DeletionInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletionInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).DeletionInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo) content.GetValueForProperty("DeletionInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).DeletionInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletionInfoTypeConverter.ConvertFrom); } if (content.Contains("FriendlyName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).FriendlyName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).FriendlyName = (string) content.GetValueForProperty("FriendlyName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).FriendlyName, global::System.Convert.ToString); } if (content.Contains("DataSourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).DataSourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource) content.GetValueForProperty("DataSourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).DataSourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DataSourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).DataSourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet) content.GetValueForProperty("DataSourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).DataSourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("ProtectionStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ProtectionStatusDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ProtectionStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails) content.GetValueForProperty("ProtectionStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ProtectionStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ProtectionStatusDetailsTypeConverter.ConvertFrom); } if (content.Contains("CurrentProtectionState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).CurrentProtectionState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState?) content.GetValueForProperty("CurrentProtectionState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).CurrentProtectionState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState.CreateFrom); } if (content.Contains("ProtectionErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ProtectionErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) content.GetValueForProperty("ProtectionErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ProtectionErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ProvisioningState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ProvisioningState = (string) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ProvisioningState, global::System.Convert.ToString); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DeletedBackupInstanceResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DeletedBackupInstanceResource(content); } @@ -265,7 +265,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResource.TypeConverter.cs index 4c81d1342f8b..f5fbc61c4b80 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResource.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResource.cs index a5e18c23c39c..1d52101ee8c9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResource.cs @@ -3,134 +3,134 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Deleted Backup Instance public partial class DeletedBackupInstanceResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResource(); /// Specifies the current protection state of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? CurrentProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).CurrentProtectionState; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? CurrentProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).CurrentProtectionState; } /// Gets or sets the data source information. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource DataSourceInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).DataSourceInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).DataSourceInfo = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource DataSourceInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).DataSourceInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).DataSourceInfo = value ?? null /* model class */; } /// Gets or sets the data source set information. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet DataSourceSetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).DataSourceSetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).DataSourceSetInfo = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet DataSourceSetInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).DataSourceSetInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).DataSourceSetInfo = value ?? null /* model class */; } /// Credentials to use to authenticate with data source provider. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials DatasourceAuthCredentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).DatasourceAuthCredentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).DatasourceAuthCredentials = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials DatasourceAuthCredentials { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).DatasourceAuthCredentials; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).DatasourceAuthCredentials = value ?? null /* model class */; } /// Deletion info of Backup Instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo DeletionInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceInternal)Property).DeletionInfo; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo DeletionInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceInternal)Property).DeletionInfo; } /// Gets or sets the Backup Instance friendly name. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).FriendlyName = value ?? null; } + public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).FriendlyName = value ?? null; } /// Resource Id represents the complete path to the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id; } /// /// Contains information of the Identity Details for the BI. /// If it is null, default will be considered as System Assigned. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).IdentityDetail = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails IdentityDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).IdentityDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).IdentityDetail = value ?? null /* model class */; } /// Internal Acessors for CurrentProtectionState - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal.CurrentProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).CurrentProtectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).CurrentProtectionState = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal.CurrentProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).CurrentProtectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).CurrentProtectionState = value; } /// Internal Acessors for DeletionInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal.DeletionInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceInternal)Property).DeletionInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceInternal)Property).DeletionInfo = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal.DeletionInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceInternal)Property).DeletionInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceInternal)Property).DeletionInfo = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstance Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletedBackupInstance()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstance Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletedBackupInstance()); set { {_property = value;} } } /// Internal Acessors for ProtectionErrorDetail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal.ProtectionErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).ProtectionErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).ProtectionErrorDetail = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal.ProtectionErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).ProtectionErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).ProtectionErrorDetail = value; } /// Internal Acessors for ProtectionStatus - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal.ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).ProtectionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).ProtectionStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal.ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).ProtectionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).ProtectionStatus = value; } /// Internal Acessors for ProvisioningState - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).ProvisioningState = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).ProvisioningState = value; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type = value; } /// Resource name associated with the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).ObjectType = value ?? null; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).ObjectType = value ?? null; } /// Gets or sets the policy information. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo PolicyInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).PolicyInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).PolicyInfo = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo PolicyInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).PolicyInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).PolicyInfo = value ?? null /* model class */; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstance _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstance _property; /// DeletedBackupInstanceResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstance Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletedBackupInstance()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstance Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletedBackupInstance()); set => this._property = value; } /// Specifies the protection error of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError ProtectionErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).ProtectionErrorDetail; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError ProtectionErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).ProtectionErrorDetail; } /// Specifies the protection status of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).ProtectionStatus; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).ProtectionStatus; } /// /// Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).ProvisioningState; } + public string ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).ProvisioningState; } /// Metadata pertaining to creation and last modification of the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData; } /// /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type; } /// /// Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType? ValidationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).ValidationType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceInternal)Property).ValidationType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType? ValidationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).ValidationType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceInternal)Property).ValidationType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ValidationType)""); } /// Creates an new instance. public DeletedBackupInstanceResource() @@ -153,7 +153,7 @@ public DeletedBackupInstanceResource() /// Deleted Backup Instance public partial interface IDeletedBackupInstanceResource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource { /// Specifies the current protection state of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -169,32 +169,32 @@ public partial interface IDeletedBackupInstanceResource : ReadOnly = false, Description = @"Gets or sets the data source information.", SerializedName = @"dataSourceInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource DataSourceInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource DataSourceInfo { get; set; } /// Gets or sets the data source set information. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, ReadOnly = false, Description = @"Gets or sets the data source set information.", SerializedName = @"dataSourceSetInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet DataSourceSetInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet DataSourceSetInfo { get; set; } /// Credentials to use to authenticate with data source provider. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, ReadOnly = false, Description = @"Credentials to use to authenticate with data source provider.", SerializedName = @"datasourceAuthCredentials", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials DatasourceAuthCredentials { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials DatasourceAuthCredentials { get; set; } /// Deletion info of Backup Instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, ReadOnly = true, Description = @"Deletion info of Backup Instance", SerializedName = @"deletionInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo DeletionInfo { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo DeletionInfo { get; } /// Gets or sets the Backup Instance friendly name. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -213,8 +213,8 @@ public partial interface IDeletedBackupInstanceResource : Description = @"Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned.", SerializedName = @"identityDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails IdentityDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails IdentityDetail { get; set; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -229,24 +229,24 @@ public partial interface IDeletedBackupInstanceResource : ReadOnly = false, Description = @"Gets or sets the policy information.", SerializedName = @"policyInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo PolicyInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo PolicyInfo { get; set; } /// Specifies the protection error of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, ReadOnly = true, Description = @"Specifies the protection error of the resource", SerializedName = @"protectionErrorDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError ProtectionErrorDetail { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError ProtectionErrorDetail { get; } /// Specifies the protection status of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, ReadOnly = true, Description = @"Specifies the protection status of the resource", SerializedName = @"protectionStatus", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails ProtectionStatus { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails ProtectionStatus { get; } /// /// Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed /// @@ -271,35 +271,35 @@ public partial interface IDeletedBackupInstanceResource : } /// Deleted Backup Instance internal partial interface IDeletedBackupInstanceResourceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal { /// Specifies the current protection state of the resource Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CurrentProtectionState? CurrentProtectionState { get; set; } /// Gets or sets the data source information. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource DataSourceInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource DataSourceInfo { get; set; } /// Gets or sets the data source set information. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet DataSourceSetInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet DataSourceSetInfo { get; set; } /// Credentials to use to authenticate with data source provider. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials DatasourceAuthCredentials { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials DatasourceAuthCredentials { get; set; } /// Deletion info of Backup Instance - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo DeletionInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo DeletionInfo { get; set; } /// Gets or sets the Backup Instance friendly name. string FriendlyName { get; set; } /// /// Contains information of the Identity Details for the BI. /// If it is null, default will be considered as System Assigned. /// - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails IdentityDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails IdentityDetail { get; set; } string ObjectType { get; set; } /// Gets or sets the policy information. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo PolicyInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo PolicyInfo { get; set; } /// DeletedBackupInstanceResource properties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstance Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstance Property { get; set; } /// Specifies the protection error of the resource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError ProtectionErrorDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError ProtectionErrorDetail { get; set; } /// Specifies the protection status of the resource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails ProtectionStatus { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails ProtectionStatus { get; set; } /// /// Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed /// diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResource.json.cs index 799f8ff3072d..3cf77c605f50 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal DeletedBackupInstanceResource(Microsoft.Azure.PowerShell.Cmdlets.DataPr { return; } - __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletedBackupInstance.FromJson(__jsonProperties) : Property;} + __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletedBackupInstance.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DeletedBackupInstanceResource(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResourceList.PowerShell.cs index c446e4a7bc02..f29c609e649a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResourceList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class DeletedBackupInstanceResourceList partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,17 +70,17 @@ internal DeletedBackupInstanceResourceList(global::System.Collections.IDictionar // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletedBackupInstanceResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletedBackupInstanceResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -95,39 +95,39 @@ internal DeletedBackupInstanceResourceList(global::System.Management.Automation. // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletedBackupInstanceResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletedBackupInstanceResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DeletedBackupInstanceResourceList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DeletedBackupInstanceResourceList(content); } @@ -139,7 +139,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResourceList.TypeConverter.cs index de126cd04096..77ab51d55ad5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResourceList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResourceList.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResourceList.cs index 5feb3637dd74..50965b3938da 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResourceList.cs @@ -3,34 +3,34 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List of DeletedBackupInstance resources public partial class DeletedBackupInstanceResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceListInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceListInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResourceList(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResourceList(); /// /// The uri to fetch the next page of resources. Call ListNext() fetches next page of resources. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } + public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource[] _value; /// List of resources. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public DeletedBackupInstanceResourceList() @@ -53,7 +53,7 @@ public DeletedBackupInstanceResourceList() /// List of DeletedBackupInstance resources public partial interface IDeletedBackupInstanceResourceList : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList { /// List of resources. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -61,16 +61,16 @@ public partial interface IDeletedBackupInstanceResourceList : ReadOnly = false, Description = @"List of resources.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource[] Value { get; set; } } /// List of DeletedBackupInstance resources internal partial interface IDeletedBackupInstanceResourceListInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal { /// List of resources. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResourceList.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResourceList.json.cs index 1bb9d3abbc56..cb4d1c6fd991 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletedBackupInstanceResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletedBackupInstanceResourceList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal DeletedBackupInstanceResourceList(Microsoft.Azure.PowerShell.Cmdlets.Da { return; } - __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResourceList(json); - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeletedBackupInstanceResource.FromJson(__u) )) ))() : null : Value;} + __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResourceList(json); + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeletedBackupInstanceResource.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DeletedBackupInstanceResourceList(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletionInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletionInfo.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletionInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletionInfo.PowerShell.cs index 02e808bbe52e..cfc23d45da83 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletionInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletionInfo.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,7 +55,7 @@ public partial class DeletionInfo partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -70,25 +70,25 @@ internal DeletionInfo(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("DeletionTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal)this).DeletionTime = (string) content.GetValueForProperty("DeletionTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal)this).DeletionTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal)this).DeletionTime = (string) content.GetValueForProperty("DeletionTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal)this).DeletionTime, global::System.Convert.ToString); } if (content.Contains("BillingEndDate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal)this).BillingEndDate = (string) content.GetValueForProperty("BillingEndDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal)this).BillingEndDate, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal)this).BillingEndDate = (string) content.GetValueForProperty("BillingEndDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal)this).BillingEndDate, global::System.Convert.ToString); } if (content.Contains("ScheduledPurgeTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal)this).ScheduledPurgeTime = (string) content.GetValueForProperty("ScheduledPurgeTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal)this).ScheduledPurgeTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal)this).ScheduledPurgeTime = (string) content.GetValueForProperty("ScheduledPurgeTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal)this).ScheduledPurgeTime, global::System.Convert.ToString); } if (content.Contains("DeleteActivityId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal)this).DeleteActivityId = (string) content.GetValueForProperty("DeleteActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal)this).DeleteActivityId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal)this).DeleteActivityId = (string) content.GetValueForProperty("DeleteActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal)this).DeleteActivityId, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -103,45 +103,45 @@ internal DeletionInfo(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("DeletionTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal)this).DeletionTime = (string) content.GetValueForProperty("DeletionTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal)this).DeletionTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal)this).DeletionTime = (string) content.GetValueForProperty("DeletionTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal)this).DeletionTime, global::System.Convert.ToString); } if (content.Contains("BillingEndDate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal)this).BillingEndDate = (string) content.GetValueForProperty("BillingEndDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal)this).BillingEndDate, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal)this).BillingEndDate = (string) content.GetValueForProperty("BillingEndDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal)this).BillingEndDate, global::System.Convert.ToString); } if (content.Contains("ScheduledPurgeTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal)this).ScheduledPurgeTime = (string) content.GetValueForProperty("ScheduledPurgeTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal)this).ScheduledPurgeTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal)this).ScheduledPurgeTime = (string) content.GetValueForProperty("ScheduledPurgeTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal)this).ScheduledPurgeTime, global::System.Convert.ToString); } if (content.Contains("DeleteActivityId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal)this).DeleteActivityId = (string) content.GetValueForProperty("DeleteActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal)this).DeleteActivityId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal)this).DeleteActivityId = (string) content.GetValueForProperty("DeleteActivityId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal)this).DeleteActivityId, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DeletionInfo(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DeletionInfo(content); } @@ -151,7 +151,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletionInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletionInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletionInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletionInfo.TypeConverter.cs index a04a1c3864b4..237ccd0244ab 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletionInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletionInfo.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletionInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletionInfo.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletionInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletionInfo.cs index ed136205b579..b834d46b9803 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletionInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletionInfo.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Deletion Info public partial class DeletionInfo : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal { /// Backing field for property. @@ -35,16 +35,16 @@ public partial class DeletionInfo : public string DeletionTime { get => this._deletionTime; } /// Internal Acessors for BillingEndDate - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal.BillingEndDate { get => this._billingEndDate; set { {_billingEndDate = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal.BillingEndDate { get => this._billingEndDate; set { {_billingEndDate = value;} } } /// Internal Acessors for DeleteActivityId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal.DeleteActivityId { get => this._deleteActivityId; set { {_deleteActivityId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal.DeleteActivityId { get => this._deleteActivityId; set { {_deleteActivityId = value;} } } /// Internal Acessors for DeletionTime - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal.DeletionTime { get => this._deletionTime; set { {_deletionTime = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal.DeletionTime { get => this._deletionTime; set { {_deletionTime = value;} } } /// Internal Acessors for ScheduledPurgeTime - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfoInternal.ScheduledPurgeTime { get => this._scheduledPurgeTime; set { {_scheduledPurgeTime = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfoInternal.ScheduledPurgeTime { get => this._scheduledPurgeTime; set { {_scheduledPurgeTime = value;} } } /// Backing field for property. private string _scheduledPurgeTime; diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletionInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletionInfo.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletionInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletionInfo.json.cs index e16c8de05987..9e700d8f9a26 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DeletionInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DeletionInfo.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -73,13 +73,13 @@ internal DeletionInfo(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime. } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletionInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletionInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DeletionInfo(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResource.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResource.PowerShell.cs index d4c90f1239e1..14180652a57c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,33 +55,33 @@ public partial class DppBaseResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DppBaseResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DppBaseResource(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -96,21 +96,21 @@ internal DppBaseResource(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceInternal)this).Type, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -125,15 +125,15 @@ internal DppBaseResource(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceInternal)this).Type, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -143,7 +143,7 @@ internal DppBaseResource(global::System.Management.Automation.PSObject content) /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResource.TypeConverter.cs index 5671bf4f5b62..5c8c4504a978 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResource.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResource.cs index a14dd75e2bae..22b46b58038c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResource.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Base resource under Microsoft.DataProtection provider namespace public partial class DppBaseResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceInternal { /// Backing field for property. @@ -21,13 +21,13 @@ public partial class DppBaseResource : public string Id { get => this._id; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceInternal.Id { get => this._id; set { {_id = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceInternal.Id { get => this._id; set { {_id = value;} } } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceInternal.Name { get => this._name; set { {_name = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceInternal.Name { get => this._name; set { {_name = value;} } } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceInternal.Type { get => this._type; set { {_type = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceInternal.Type { get => this._type; set { {_type = value;} } } /// Backing field for property. private string _name; diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResource.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResource.json.cs index 384037016d7d..fc5622fc71eb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -72,13 +72,13 @@ internal DppBaseResource(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runti } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DppBaseResource(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResourceList.PowerShell.cs index 13be764b93cd..fbb80ea2395c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResourceList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,33 +55,33 @@ public partial class DppBaseResourceList partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DppBaseResourceList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DppBaseResourceList(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -96,17 +96,17 @@ internal DppBaseResourceList(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -121,11 +121,11 @@ internal DppBaseResourceList(global::System.Management.Automation.PSObject conte // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -135,7 +135,7 @@ internal DppBaseResourceList(global::System.Management.Automation.PSObject conte /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResourceList.TypeConverter.cs index 05aa62a4e1b6..11f6781c4f5e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResourceList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResourceList.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResourceList.cs index 014832fafd35..77dcd90dc058 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResourceList.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Base for all lists of V2 resources. public partial class DppBaseResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceListInternal { /// Backing field for property. @@ -23,11 +23,11 @@ public partial class DppBaseResourceList : public string NextLink { get => this._nextLink; set => this._nextLink = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResource[] _value; /// List of Dpp resources. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResource[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public DppBaseResourceList() @@ -55,8 +55,8 @@ public partial interface IDppBaseResourceList : ReadOnly = false, Description = @"List of Dpp resources.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResource[] Value { get; set; } } /// Base for all lists of V2 resources. @@ -68,7 +68,7 @@ internal partial interface IDppBaseResourceListInternal /// string NextLink { get; set; } /// List of Dpp resources. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResourceList.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResourceList.json.cs index d0a7bb096466..b4dec83fec13 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseResourceList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal DppBaseResourceList(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.R { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseResource.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseResource.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DppBaseResourceList(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResource.PowerShell.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResource.PowerShell.cs index a3eddf98852f..cc2ea85476ce 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -54,35 +54,35 @@ public partial class DppBaseTrackedResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DppBaseTrackedResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DppBaseTrackedResource(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -97,37 +97,37 @@ internal DppBaseTrackedResource(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -142,31 +142,31 @@ internal DppBaseTrackedResource(global::System.Management.Automation.PSObject co // actually deserialize if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } @@ -176,7 +176,7 @@ internal DppBaseTrackedResource(global::System.Management.Automation.PSObject co /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResource.TypeConverter.cs index 5127bb294807..bacfec6d51af 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResource.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResource.cs index 36225e567611..9e609f283ff5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResource.cs @@ -3,13 +3,13 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class DppBaseTrackedResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal { /// Backing field for property. @@ -34,16 +34,16 @@ public partial class DppBaseTrackedResource : public string Location { get => this._location; set => this._location = value; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal.Id { get => this._id; set { {_id = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal.Id { get => this._id; set { {_id = value;} } } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal.Name { get => this._name; set { {_name = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal.Name { get => this._name; set { {_name = value;} } } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData()); set { {_systemData = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData()); set { {_systemData = value;} } } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal.Type { get => this._type; set { {_type = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal.Type { get => this._type; set { {_type = value;} } } /// Backing field for property. private string _name; @@ -60,11 +60,11 @@ public partial class DppBaseTrackedResource : public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData()); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags _tag; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags _tag; /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResourceTags()); set => this._tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResourceTags()); set => this._tag = value; } /// Backing field for property. private string _type; @@ -130,8 +130,8 @@ public partial interface IDppBaseTrackedResource : ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags Tag { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags Tag { get; set; } /// /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... /// @@ -158,7 +158,7 @@ internal partial interface IDppBaseTrackedResourceInternal /// Metadata pertaining to creation and last modification of the resource. Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get; set; } /// Resource tags. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags Tag { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags Tag { get; set; } /// /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... /// diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResource.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResource.json.cs index d37ec1274651..e9539612efdb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -68,20 +68,20 @@ internal DppBaseTrackedResource(Microsoft.Azure.PowerShell.Cmdlets.DataProtectio {_id = If( json?.PropertyT("id"), out var __jsonId) ? (string)__jsonId : (string)Id;} {_location = If( json?.PropertyT("location"), out var __jsonLocation) ? (string)__jsonLocation : (string)Location;} {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} - {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResourceTags.FromJson(__jsonTags) : Tag;} + {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResourceTags.FromJson(__jsonTags) : Tag;} {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;} {_systemData = If( json?.PropertyT("systemData"), out var __jsonSystemData) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData.FromJson(__jsonSystemData) : SystemData;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DppBaseTrackedResource(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResourceTags.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResourceTags.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResourceTags.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResourceTags.PowerShell.cs index 6a2a08a00970..326fa73f4b3e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResourceTags.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResourceTags.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,35 +55,35 @@ public partial class DppBaseTrackedResourceTags partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DppBaseTrackedResourceTags(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DppBaseTrackedResourceTags(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -102,7 +102,7 @@ internal DppBaseTrackedResourceTags(global::System.Collections.IDictionary conte } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -125,7 +125,7 @@ internal DppBaseTrackedResourceTags(global::System.Management.Automation.PSObjec /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResourceTags.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResourceTags.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResourceTags.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResourceTags.TypeConverter.cs index 7b07c1c3021e..55528d87be76 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResourceTags.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResourceTags.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResourceTags.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResourceTags.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResourceTags.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResourceTags.cs index 4be2c7036db3..e8c6b66f5a9b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResourceTags.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResourceTags.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Resource tags. public partial class DppBaseTrackedResourceTags : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTagsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTagsInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResourceTags.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResourceTags.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResourceTags.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResourceTags.dictionary.cs index fee49db3d0ec..4f2ba8bf0891 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResourceTags.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResourceTags.dictionary.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,6 +70,6 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) /// - public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResourceTags source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResourceTags source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResourceTags.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResourceTags.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResourceTags.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResourceTags.json.cs index 2df0f756e409..e3aabab3cc23 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppBaseTrackedResourceTags.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppBaseTrackedResourceTags.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -71,13 +71,13 @@ internal DppBaseTrackedResourceTags(Microsoft.Azure.PowerShell.Cmdlets.DataProte } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DppBaseTrackedResourceTags(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppIdentityDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppIdentityDetails.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppIdentityDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppIdentityDetails.PowerShell.cs index 1cc8f1dfbc5d..bcee51e2cc3a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppIdentityDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppIdentityDetails.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,33 +55,33 @@ public partial class DppIdentityDetails partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DppIdentityDetails(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DppIdentityDetails(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -96,25 +96,25 @@ internal DppIdentityDetails(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("PrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)this).PrincipalId, global::System.Convert.ToString); } if (content.Contains("TenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)this).TenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)this).TenantId, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("UserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -129,19 +129,19 @@ internal DppIdentityDetails(global::System.Management.Automation.PSObject conten // actually deserialize if (content.Contains("PrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)this).PrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)this).PrincipalId = (string) content.GetValueForProperty("PrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)this).PrincipalId, global::System.Convert.ToString); } if (content.Contains("TenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)this).TenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)this).TenantId = (string) content.GetValueForProperty("TenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)this).TenantId, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("UserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)this).UserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("UserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)this).UserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } @@ -151,7 +151,7 @@ internal DppIdentityDetails(global::System.Management.Automation.PSObject conten /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppIdentityDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppIdentityDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppIdentityDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppIdentityDetails.TypeConverter.cs index 62b31d47620d..d381b449b0e5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppIdentityDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppIdentityDetails.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppIdentityDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppIdentityDetails.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppIdentityDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppIdentityDetails.cs index e12d181334ad..e6494eb29750 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppIdentityDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppIdentityDetails.cs @@ -3,21 +3,21 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Identity details public partial class DppIdentityDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal { /// Internal Acessors for PrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal.PrincipalId { get => this._principalId; set { {_principalId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal.PrincipalId { get => this._principalId; set { {_principalId = value;} } } /// Internal Acessors for TenantId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal.TenantId { get => this._tenantId; set { {_tenantId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal.TenantId { get => this._tenantId; set { {_tenantId = value;} } } /// Backing field for property. private string _principalId; diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppIdentityDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppIdentityDetails.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppIdentityDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppIdentityDetails.json.cs index 815e2312d078..2d11e71b0cec 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppIdentityDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppIdentityDetails.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -73,13 +73,13 @@ internal DppIdentityDetails(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Ru } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DppIdentityDetails(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResource.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResource.PowerShell.cs index e2bd434c7415..ea0fdfd86d85 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -54,33 +54,33 @@ public partial class DppProxyResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DppProxyResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DppProxyResource(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -95,29 +95,29 @@ internal DppProxyResource(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppProxyResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppProxyResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -132,23 +132,23 @@ internal DppProxyResource(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppProxyResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppProxyResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } @@ -158,7 +158,7 @@ internal DppProxyResource(global::System.Management.Automation.PSObject content) /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResource.TypeConverter.cs index cc04b28df110..7d51e4840139 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResource.cs similarity index 91% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResource.cs index afc295677982..b20ec3497655 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResource.cs @@ -3,13 +3,13 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class DppProxyResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal { /// Backing field for property. @@ -20,16 +20,16 @@ public partial class DppProxyResource : public string Id { get => this._id; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal.Id { get => this._id; set { {_id = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal.Id { get => this._id; set { {_id = value;} } } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal.Name { get => this._name; set { {_name = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal.Name { get => this._name; set { {_name = value;} } } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData()); set { {_systemData = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData()); set { {_systemData = value;} } } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceInternal.Type { get => this._type; set { {_type = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceInternal.Type { get => this._type; set { {_type = value;} } } /// Backing field for property. private string _name; @@ -46,11 +46,11 @@ public partial class DppProxyResource : public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData()); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags _tag; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags _tag; /// Proxy Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppProxyResourceTags()); set => this._tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppProxyResourceTags()); set => this._tag = value; } /// Backing field for property. private string _type; @@ -100,8 +100,8 @@ public partial interface IDppProxyResource : ReadOnly = false, Description = @"Proxy Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags Tag { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags Tag { get; set; } /// /// Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... /// @@ -124,7 +124,7 @@ internal partial interface IDppProxyResourceInternal /// Metadata pertaining to creation and last modification of the resource. Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get; set; } /// Proxy Resource tags. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags Tag { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags Tag { get; set; } /// /// Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... /// diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResource.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResource.json.cs index 00012ee1e589..523d6d622475 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -67,19 +67,19 @@ internal DppProxyResource(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runt {_id = If( json?.PropertyT("id"), out var __jsonId) ? (string)__jsonId : (string)Id;} {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;} - {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppProxyResourceTags.FromJson(__jsonTags) : Tag;} + {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppProxyResourceTags.FromJson(__jsonTags) : Tag;} {_systemData = If( json?.PropertyT("systemData"), out var __jsonSystemData) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData.FromJson(__jsonSystemData) : SystemData;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DppProxyResource(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResourceTags.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResourceTags.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResourceTags.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResourceTags.PowerShell.cs index 90313e8e2614..9d71c635d658 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResourceTags.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResourceTags.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,35 +55,35 @@ public partial class DppProxyResourceTags partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DppProxyResourceTags(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DppProxyResourceTags(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -102,7 +102,7 @@ internal DppProxyResourceTags(global::System.Collections.IDictionary content) } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -125,7 +125,7 @@ internal DppProxyResourceTags(global::System.Management.Automation.PSObject cont /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResourceTags.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResourceTags.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResourceTags.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResourceTags.TypeConverter.cs index 804f6703bd4a..0eb0894f884d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResourceTags.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResourceTags.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResourceTags.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResourceTags.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResourceTags.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResourceTags.cs index 8799d1aefcc7..be0d8a23ae71 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResourceTags.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResourceTags.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Proxy Resource tags. public partial class DppProxyResourceTags : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTagsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTagsInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResourceTags.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResourceTags.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResourceTags.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResourceTags.dictionary.cs index 087d7b958f6f..68e9b05ae14a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResourceTags.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResourceTags.dictionary.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,6 +70,6 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) /// - public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppProxyResourceTags source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppProxyResourceTags source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResourceTags.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResourceTags.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResourceTags.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResourceTags.json.cs index 6842c4b23cd5..d368a2172e9b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppProxyResourceTags.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppProxyResourceTags.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -71,13 +71,13 @@ internal DppProxyResourceTags(Microsoft.Azure.PowerShell.Cmdlets.DataProtection. } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DppProxyResourceTags(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResource.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResource.PowerShell.cs index 235e70007b74..daef91e631d5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,33 +55,33 @@ public partial class DppResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DppResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DppResource(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -96,25 +96,25 @@ internal DppResource(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -129,19 +129,19 @@ internal DppResource(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } @@ -151,7 +151,7 @@ internal DppResource(global::System.Management.Automation.PSObject content) /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResource.TypeConverter.cs index 90558b1b3f60..47a172dc4887 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResource.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResource.cs index 86b43532edf9..3cc8bcaadd33 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResource.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Resource class public partial class DppResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal { /// Backing field for property. @@ -21,16 +21,16 @@ public partial class DppResource : public string Id { get => this._id; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Id { get => this._id; set { {_id = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Id { get => this._id; set { {_id = value;} } } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Name { get => this._name; set { {_name = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Name { get => this._name; set { {_name = value;} } } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData()); set { {_systemData = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.SystemData { get => (this._systemData = this._systemData ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData()); set { {_systemData = value;} } } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Type { get => this._type; set { {_type = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Type { get => this._type; set { {_type = value;} } } /// Backing field for property. private string _name; diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResource.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResource.json.cs index e9b8f6063656..1e5270ac104c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -73,13 +73,13 @@ internal DppResource(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.J } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DppResource(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResourceList.PowerShell.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResourceList.PowerShell.cs index 70af6b29aef1..f90c07c6e582 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResourceList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,33 +55,33 @@ public partial class DppResourceList partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DppResourceList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DppResourceList(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -96,13 +96,13 @@ internal DppResourceList(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -117,7 +117,7 @@ internal DppResourceList(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -127,7 +127,7 @@ internal DppResourceList(global::System.Management.Automation.PSObject content) /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResourceList.TypeConverter.cs index eb87ee17c38a..83a6aa3cb73f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResourceList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResourceList.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResourceList.cs index fce1639ef678..95a4b1185ce8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResourceList.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// ListResource public partial class DppResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResourceList.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResourceList.json.cs index 7c21071ce5c8..0c92b6179348 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppResourceList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,13 +70,13 @@ internal DppResourceList(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runti } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DppResourceList(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResource.PowerShell.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResource.PowerShell.cs index e53513d6b1aa..d1ec0122f7c7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -54,33 +54,33 @@ public partial class DppTrackedResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DppTrackedResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DppTrackedResource(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -95,57 +95,57 @@ internal DppTrackedResource(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Identity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppIdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppIdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("IdentityPrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString); } if (content.Contains("IdentityTenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityTenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityTenantId, global::System.Convert.ToString); } if (content.Contains("IdentityType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityType, global::System.Convert.ToString); } if (content.Contains("IdentityUserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -160,51 +160,51 @@ internal DppTrackedResource(global::System.Management.Automation.PSObject conten // actually deserialize if (content.Contains("Identity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppIdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppIdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("IdentityPrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityPrincipalId, global::System.Convert.ToString); } if (content.Contains("IdentityTenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityTenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityTenantId, global::System.Convert.ToString); } if (content.Contains("IdentityType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityType, global::System.Convert.ToString); } if (content.Contains("IdentityUserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } @@ -214,7 +214,7 @@ internal DppTrackedResource(global::System.Management.Automation.PSObject conten /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResource.TypeConverter.cs index 91a70383756e..b64aec1b48c0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResource.cs similarity index 80% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResource.cs index 5e9070ed6b51..38d7ce868ba9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResource.cs @@ -3,101 +3,101 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class DppTrackedResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResource __dppBaseTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResource __dppBaseTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResource(); /// Optional ETag. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).ETag = value ?? null; } + public string ETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).ETag = value ?? null; } /// Resource Id represents the complete path to the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails _identity; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails _identity; /// Input Managed Identity Details [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppIdentityDetails()); set => this._identity = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppIdentityDetails()); set => this._identity = value; } /// /// The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure /// resource. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).PrincipalId; } + public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).PrincipalId; } /// /// A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).TenantId; } + public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).TenantId; } /// /// The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).Type = value ?? null; } + public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).Type = value ?? null; } /// Gets or sets the user assigned identities. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).UserAssignedIdentity = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).UserAssignedIdentity = value ?? null /* model class */; } /// Resource location. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Location = value ?? null; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Location = value ?? null; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type = value; } /// Internal Acessors for Identity - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppIdentityDetails()); set { {_identity = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppIdentityDetails()); set { {_identity = value;} } } /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).PrincipalId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).PrincipalId = value; } /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).TenantId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).TenantId = value; } /// Resource name associated with the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name; } /// Metadata pertaining to creation and last modification of the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData; } /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Tag = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Tag = value ?? null /* model class */; } /// /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type; } /// Creates an new instance. public DppTrackedResource() @@ -119,7 +119,7 @@ public DppTrackedResource() } public partial interface IDppTrackedResource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResource { /// /// The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure @@ -163,10 +163,10 @@ public partial interface IDppTrackedResource : } internal partial interface IDppTrackedResourceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal { /// Input Managed Identity Details - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails Identity { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails Identity { get; set; } /// /// The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure /// resource. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResource.json.cs index 29857d85a81b..25c41dd61ea6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -64,19 +64,19 @@ internal DppTrackedResource(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Ru { return; } - __dppBaseTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResource(json); - {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppIdentityDetails.FromJson(__jsonIdentity) : Identity;} + __dppBaseTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResource(json); + {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppIdentityDetails.FromJson(__jsonIdentity) : Identity;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DppTrackedResource(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResourceList.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResourceList.PowerShell.cs index 49d2effda022..6ea742a072cf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResourceList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -54,35 +54,35 @@ public partial class DppTrackedResourceList partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DppTrackedResourceList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DppTrackedResourceList(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -97,13 +97,13 @@ internal DppTrackedResourceList(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -118,7 +118,7 @@ internal DppTrackedResourceList(global::System.Management.Automation.PSObject co // actually deserialize if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -128,7 +128,7 @@ internal DppTrackedResourceList(global::System.Management.Automation.PSObject co /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResourceList.TypeConverter.cs index fa2b29729094..fe7fa09ef327 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResourceList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResourceList.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResourceList.cs index b9b6623d9d64..4257f894e754 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResourceList.cs @@ -3,13 +3,13 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class DppTrackedResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceListInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResourceList.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResourceList.json.cs index fb4d6c220a47..c696bcc9a334 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppTrackedResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppTrackedResourceList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -69,13 +69,13 @@ internal DppTrackedResourceList(Microsoft.Azure.PowerShell.Cmdlets.DataProtectio } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DppTrackedResourceList(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequest.PowerShell.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequest.PowerShell.cs index 75dbf321c7b8..e71f75e47653 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequest.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -54,33 +54,33 @@ public partial class DppWorkerRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DppWorkerRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DppWorkerRequest(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -95,37 +95,37 @@ internal DppWorkerRequest(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("SubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).SubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).SubscriptionId, global::System.Convert.ToString); } if (content.Contains("Uri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Uri, global::System.Convert.ToString); } if (content.Contains("Header")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Header = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders) content.GetValueForProperty("Header",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Header, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestHeadersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Header = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders) content.GetValueForProperty("Header",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Header, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestHeadersTypeConverter.ConvertFrom); } if (content.Contains("SupportedGroupVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).SupportedGroupVersion = (string[]) content.GetValueForProperty("SupportedGroupVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).SupportedGroupVersion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).SupportedGroupVersion = (string[]) content.GetValueForProperty("SupportedGroupVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).SupportedGroupVersion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("CultureInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).CultureInfo = (string) content.GetValueForProperty("CultureInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).CultureInfo, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).CultureInfo = (string) content.GetValueForProperty("CultureInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).CultureInfo, global::System.Convert.ToString); } if (content.Contains("Parameter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestParametersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestParametersTypeConverter.ConvertFrom); } if (content.Contains("HttpMethod")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).HttpMethod = (string) content.GetValueForProperty("HttpMethod",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).HttpMethod, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).HttpMethod = (string) content.GetValueForProperty("HttpMethod",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).HttpMethod, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -140,31 +140,31 @@ internal DppWorkerRequest(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("SubscriptionId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).SubscriptionId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).SubscriptionId = (string) content.GetValueForProperty("SubscriptionId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).SubscriptionId, global::System.Convert.ToString); } if (content.Contains("Uri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Uri, global::System.Convert.ToString); } if (content.Contains("Header")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Header = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders) content.GetValueForProperty("Header",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Header, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestHeadersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Header = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders) content.GetValueForProperty("Header",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Header, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestHeadersTypeConverter.ConvertFrom); } if (content.Contains("SupportedGroupVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).SupportedGroupVersion = (string[]) content.GetValueForProperty("SupportedGroupVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).SupportedGroupVersion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).SupportedGroupVersion = (string[]) content.GetValueForProperty("SupportedGroupVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).SupportedGroupVersion, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("CultureInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).CultureInfo = (string) content.GetValueForProperty("CultureInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).CultureInfo, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).CultureInfo = (string) content.GetValueForProperty("CultureInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).CultureInfo, global::System.Convert.ToString); } if (content.Contains("Parameter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestParametersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Parameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters) content.GetValueForProperty("Parameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).Parameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestParametersTypeConverter.ConvertFrom); } if (content.Contains("HttpMethod")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).HttpMethod = (string) content.GetValueForProperty("HttpMethod",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal)this).HttpMethod, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).HttpMethod = (string) content.GetValueForProperty("HttpMethod",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal)this).HttpMethod, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -174,7 +174,7 @@ internal DppWorkerRequest(global::System.Management.Automation.PSObject content) /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequest.TypeConverter.cs index bb6bd1a2bdbb..cd769bf0fd79 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequest.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequest.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequest.cs index 4801a2a7d349..8f91a6401ad6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequest.cs @@ -3,13 +3,13 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class DppWorkerRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestInternal { /// Backing field for property. @@ -19,13 +19,13 @@ public partial class DppWorkerRequest : public string CultureInfo { get => this._cultureInfo; set => this._cultureInfo = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders _header; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders _header; /// /// Dictionary of /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders Header { get => (this._header = this._header ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestHeaders()); set => this._header = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders Header { get => (this._header = this._header ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestHeaders()); set => this._header = value; } /// Backing field for property. private string _httpMethod; @@ -34,11 +34,11 @@ public partial class DppWorkerRequest : public string HttpMethod { get => this._httpMethod; set => this._httpMethod = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters _parameter; /// Dictionary of [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters Parameter { get => (this._parameter = this._parameter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestParameters()); set => this._parameter = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters Parameter { get => (this._parameter = this._parameter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestParameters()); set => this._parameter = value; } /// Backing field for property. private string _subscriptionId; @@ -82,8 +82,8 @@ public partial interface IDppWorkerRequest : ReadOnly = false, Description = @"Dictionary of ", SerializedName = @"headers", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders Header { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders Header { get; set; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -98,8 +98,8 @@ public partial interface IDppWorkerRequest : ReadOnly = false, Description = @"Dictionary of ", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters Parameter { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters Parameter { get; set; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -133,11 +133,11 @@ internal partial interface IDppWorkerRequestInternal /// /// Dictionary of /// - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders Header { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders Header { get; set; } string HttpMethod { get; set; } /// Dictionary of - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters Parameter { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters Parameter { get; set; } string SubscriptionId { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequest.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequest.json.cs index e2acd8471fb2..be6ccb5c3ec9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequest.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -66,22 +66,22 @@ internal DppWorkerRequest(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runt } {_subscriptionId = If( json?.PropertyT("subscriptionId"), out var __jsonSubscriptionId) ? (string)__jsonSubscriptionId : (string)SubscriptionId;} {_uri = If( json?.PropertyT("uri"), out var __jsonUri) ? (string)__jsonUri : (string)Uri;} - {_header = If( json?.PropertyT("headers"), out var __jsonHeaders) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestHeaders.FromJson(__jsonHeaders) : Header;} + {_header = If( json?.PropertyT("headers"), out var __jsonHeaders) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestHeaders.FromJson(__jsonHeaders) : Header;} {_supportedGroupVersion = If( json?.PropertyT("supportedGroupVersions"), out var __jsonSupportedGroupVersions) ? If( __jsonSupportedGroupVersions as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : SupportedGroupVersion;} {_cultureInfo = If( json?.PropertyT("cultureInfo"), out var __jsonCultureInfo) ? (string)__jsonCultureInfo : (string)CultureInfo;} - {_parameter = If( json?.PropertyT("parameters"), out var __jsonParameters) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestParameters.FromJson(__jsonParameters) : Parameter;} + {_parameter = If( json?.PropertyT("parameters"), out var __jsonParameters) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestParameters.FromJson(__jsonParameters) : Parameter;} {_httpMethod = If( json?.PropertyT("httpMethod"), out var __jsonHttpMethod) ? (string)__jsonHttpMethod : (string)HttpMethod;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DppWorkerRequest(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestHeaders.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestHeaders.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestHeaders.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestHeaders.PowerShell.cs index edbc8342502c..42e6e4f30d1e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestHeaders.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestHeaders.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -57,35 +57,35 @@ public partial class DppWorkerRequestHeaders partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DppWorkerRequestHeaders(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DppWorkerRequestHeaders(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -104,7 +104,7 @@ internal DppWorkerRequestHeaders(global::System.Collections.IDictionary content) } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -127,7 +127,7 @@ internal DppWorkerRequestHeaders(global::System.Management.Automation.PSObject c /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestHeaders.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestHeaders.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestHeaders.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestHeaders.TypeConverter.cs index a0e74bcdf1cd..e0d9a640e89b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestHeaders.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestHeaders.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestHeaders.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestHeaders.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestHeaders.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestHeaders.cs index 1d9289464bd0..5fc62ea275bc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestHeaders.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestHeaders.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 /// Dictionary of components·ikn5y4·schemas·dppworkerrequest·properties·headers·additionalproperties /// public partial class DppWorkerRequestHeaders : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeadersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeadersInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestHeaders.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestHeaders.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestHeaders.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestHeaders.dictionary.cs index 602a32a863ee..83c28dadd538 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestHeaders.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestHeaders.dictionary.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,6 +70,6 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) /// - public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestHeaders source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestHeaders source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestHeaders.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestHeaders.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestHeaders.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestHeaders.json.cs index ebcb4258656d..a6f73a9799f6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestHeaders.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestHeaders.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -73,13 +73,13 @@ internal DppWorkerRequestHeaders(Microsoft.Azure.PowerShell.Cmdlets.DataProtecti } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestHeaders FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestHeaders FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DppWorkerRequestHeaders(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestParameters.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestParameters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestParameters.PowerShell.cs index 8852093ea46b..99526357a00c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestParameters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestParameters.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,35 +55,35 @@ public partial class DppWorkerRequestParameters partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new DppWorkerRequestParameters(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new DppWorkerRequestParameters(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -102,7 +102,7 @@ internal DppWorkerRequestParameters(global::System.Collections.IDictionary conte } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -125,7 +125,7 @@ internal DppWorkerRequestParameters(global::System.Management.Automation.PSObjec /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestParameters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestParameters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestParameters.TypeConverter.cs index 312936b9e62f..0cfd42be47c5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestParameters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestParameters.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestParameters.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestParameters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestParameters.cs index c4f5ab0a099d..b84d6fc867c3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestParameters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestParameters.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Dictionary of public partial class DppWorkerRequestParameters : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParametersInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestParameters.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestParameters.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestParameters.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestParameters.dictionary.cs index e2a7de211fcf..6e243ad863b7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestParameters.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestParameters.dictionary.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,6 +70,6 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) /// - public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppWorkerRequestParameters source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppWorkerRequestParameters source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestParameters.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestParameters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestParameters.json.cs index f23e4167372f..64f4581a6419 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/DppWorkerRequestParameters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/DppWorkerRequestParameters.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -71,13 +71,13 @@ internal DppWorkerRequestParameters(Microsoft.Azure.PowerShell.Cmdlets.DataProte } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppWorkerRequestParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppWorkerRequestParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new DppWorkerRequestParameters(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Error.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Error.PowerShell.cs similarity index 75% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Error.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Error.PowerShell.cs index 55d46c003855..50387abf576e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Error.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Error.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,33 +55,33 @@ public partial class Error partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new Error(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Error(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -96,29 +96,29 @@ internal Error(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("AdditionalInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfoTypeConverter.ConvertFrom)); } if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Detail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ErrorTypeConverter.ConvertFrom)); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).Target, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -133,23 +133,23 @@ internal Error(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("AdditionalInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfoTypeConverter.ConvertFrom)); } if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Detail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ErrorTypeConverter.ConvertFrom)); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)this).Target, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -159,7 +159,7 @@ internal Error(global::System.Management.Automation.PSObject content) /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Error.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Error.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Error.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Error.TypeConverter.cs index b91c1224b681..41d3da801c3b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Error.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Error.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Error.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Error.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Error.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Error.cs index 7862257bd86a..3094d8409171 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Error.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Error.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// The resource management error response. public partial class Error : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[] _additionalInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] _additionalInfo; /// The error additional info. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[] AdditionalInfo { get => this._additionalInfo; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] AdditionalInfo { get => this._additionalInfo; } /// Backing field for property. private string _code; @@ -28,11 +28,11 @@ public partial class Error : public string Code { get => this._code; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[] _detail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[] _detail; /// The error details. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[] Detail { get => this._detail; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[] Detail { get => this._detail; } /// Backing field for property. private string _message; @@ -42,19 +42,19 @@ public partial class Error : public string Message { get => this._message; } /// Internal Acessors for AdditionalInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal.AdditionalInfo { get => this._additionalInfo; set { {_additionalInfo = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal.AdditionalInfo { get => this._additionalInfo; set { {_additionalInfo = value;} } } /// Internal Acessors for Code - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal.Code { get => this._code; set { {_code = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal.Code { get => this._code; set { {_code = value;} } } /// Internal Acessors for Detail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal.Detail { get => this._detail; set { {_detail = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal.Detail { get => this._detail; set { {_detail = value;} } } /// Internal Acessors for Message - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal.Message { get => this._message; set { {_message = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal.Message { get => this._message; set { {_message = value;} } } /// Internal Acessors for Target - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal.Target { get => this._target; set { {_target = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal.Target { get => this._target; set { {_target = value;} } } /// Backing field for property. private string _target; @@ -79,8 +79,8 @@ public partial interface IError : ReadOnly = true, Description = @"The error additional info.", SerializedName = @"additionalInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[] AdditionalInfo { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] AdditionalInfo { get; } /// The error code. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -95,8 +95,8 @@ public partial interface IError : ReadOnly = true, Description = @"The error details.", SerializedName = @"details", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[] Detail { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[] Detail { get; } /// The error message. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -120,11 +120,11 @@ internal partial interface IErrorInternal { /// The error additional info. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[] AdditionalInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] AdditionalInfo { get; set; } /// The error code. string Code { get; set; } /// The error details. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[] Detail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[] Detail { get; set; } /// The error message. string Message { get; set; } /// The error target. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Error.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Error.json.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Error.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Error.json.cs index 08bd67f2f991..1a395ed00b87 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/Error.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/Error.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,22 +65,22 @@ internal Error(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.Js { return; } - {_additionalInfo = If( json?.PropertyT("additionalInfo"), out var __jsonAdditionalInfo) ? If( __jsonAdditionalInfo as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ErrorAdditionalInfo.FromJson(__u) )) ))() : null : AdditionalInfo;} + {_additionalInfo = If( json?.PropertyT("additionalInfo"), out var __jsonAdditionalInfo) ? If( __jsonAdditionalInfo as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfo.FromJson(__u) )) ))() : null : AdditionalInfo;} {_code = If( json?.PropertyT("code"), out var __jsonCode) ? (string)__jsonCode : (string)Code;} - {_detail = If( json?.PropertyT("details"), out var __jsonDetails) ? If( __jsonDetails as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Error.FromJson(__p) )) ))() : null : Detail;} + {_detail = If( json?.PropertyT("details"), out var __jsonDetails) ? If( __jsonDetails as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Error.FromJson(__p) )) ))() : null : Detail;} {_message = If( json?.PropertyT("message"), out var __jsonMessage) ? (string)__jsonMessage : (string)Message;} {_target = If( json?.PropertyT("target"), out var __jsonTarget) ? (string)__jsonTarget : (string)Target;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new Error(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ExportJobsResult.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ExportJobsResult.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ExportJobsResult.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ExportJobsResult.PowerShell.cs index 06992dd920ff..d1f1a84c497f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ExportJobsResult.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ExportJobsResult.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,33 +55,33 @@ public partial class ExportJobsResult partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResult DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResult DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ExportJobsResult(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResult DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ExportJobsResult(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -96,25 +96,25 @@ internal ExportJobsResult(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("BlobUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal)this).BlobUrl = (string) content.GetValueForProperty("BlobUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal)this).BlobUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal)this).BlobUrl = (string) content.GetValueForProperty("BlobUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal)this).BlobUrl, global::System.Convert.ToString); } if (content.Contains("BlobSasKey")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal)this).BlobSasKey = (string) content.GetValueForProperty("BlobSasKey",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal)this).BlobSasKey, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal)this).BlobSasKey = (string) content.GetValueForProperty("BlobSasKey",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal)this).BlobSasKey, global::System.Convert.ToString); } if (content.Contains("ExcelFileBlobUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal)this).ExcelFileBlobUrl = (string) content.GetValueForProperty("ExcelFileBlobUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal)this).ExcelFileBlobUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal)this).ExcelFileBlobUrl = (string) content.GetValueForProperty("ExcelFileBlobUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal)this).ExcelFileBlobUrl, global::System.Convert.ToString); } if (content.Contains("ExcelFileBlobSasKey")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal)this).ExcelFileBlobSasKey = (string) content.GetValueForProperty("ExcelFileBlobSasKey",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal)this).ExcelFileBlobSasKey, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal)this).ExcelFileBlobSasKey = (string) content.GetValueForProperty("ExcelFileBlobSasKey",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal)this).ExcelFileBlobSasKey, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -129,19 +129,19 @@ internal ExportJobsResult(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("BlobUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal)this).BlobUrl = (string) content.GetValueForProperty("BlobUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal)this).BlobUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal)this).BlobUrl = (string) content.GetValueForProperty("BlobUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal)this).BlobUrl, global::System.Convert.ToString); } if (content.Contains("BlobSasKey")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal)this).BlobSasKey = (string) content.GetValueForProperty("BlobSasKey",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal)this).BlobSasKey, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal)this).BlobSasKey = (string) content.GetValueForProperty("BlobSasKey",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal)this).BlobSasKey, global::System.Convert.ToString); } if (content.Contains("ExcelFileBlobUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal)this).ExcelFileBlobUrl = (string) content.GetValueForProperty("ExcelFileBlobUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal)this).ExcelFileBlobUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal)this).ExcelFileBlobUrl = (string) content.GetValueForProperty("ExcelFileBlobUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal)this).ExcelFileBlobUrl, global::System.Convert.ToString); } if (content.Contains("ExcelFileBlobSasKey")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal)this).ExcelFileBlobSasKey = (string) content.GetValueForProperty("ExcelFileBlobSasKey",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal)this).ExcelFileBlobSasKey, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal)this).ExcelFileBlobSasKey = (string) content.GetValueForProperty("ExcelFileBlobSasKey",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal)this).ExcelFileBlobSasKey, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -151,7 +151,7 @@ internal ExportJobsResult(global::System.Management.Automation.PSObject content) /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResult FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ExportJobsResult.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ExportJobsResult.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ExportJobsResult.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ExportJobsResult.TypeConverter.cs index 0899ed9170fb..54cbc9d67c5f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ExportJobsResult.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ExportJobsResult.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResult ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResult ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResult).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResult).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ExportJobsResult.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ExportJobsResult.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ExportJobsResult.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ExportJobsResult.cs index 9f14a519a671..4110b2220713 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ExportJobsResult.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ExportJobsResult.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// The result for export jobs containing blob details. public partial class ExportJobsResult : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResult, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResult, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal { /// Backing field for property. @@ -42,16 +42,16 @@ public partial class ExportJobsResult : public string ExcelFileBlobUrl { get => this._excelFileBlobUrl; } /// Internal Acessors for BlobSasKey - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal.BlobSasKey { get => this._blobSasKey; set { {_blobSasKey = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal.BlobSasKey { get => this._blobSasKey; set { {_blobSasKey = value;} } } /// Internal Acessors for BlobUrl - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal.BlobUrl { get => this._blobUrl; set { {_blobUrl = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal.BlobUrl { get => this._blobUrl; set { {_blobUrl = value;} } } /// Internal Acessors for ExcelFileBlobSasKey - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal.ExcelFileBlobSasKey { get => this._excelFileBlobSasKey; set { {_excelFileBlobSasKey = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal.ExcelFileBlobSasKey { get => this._excelFileBlobSasKey; set { {_excelFileBlobSasKey = value;} } } /// Internal Acessors for ExcelFileBlobUrl - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResultInternal.ExcelFileBlobUrl { get => this._excelFileBlobUrl; set { {_excelFileBlobUrl = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResultInternal.ExcelFileBlobUrl { get => this._excelFileBlobUrl; set { {_excelFileBlobUrl = value;} } } /// Creates an new instance. public ExportJobsResult() diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ExportJobsResult.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ExportJobsResult.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ExportJobsResult.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ExportJobsResult.json.cs index 3be9a303a6d9..2388a30751c3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ExportJobsResult.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ExportJobsResult.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -73,13 +73,13 @@ internal ExportJobsResult(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runt } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResult. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResult. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResult. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResult. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IExportJobsResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IExportJobsResult FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ExportJobsResult(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureSettings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureSettings.PowerShell.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureSettings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureSettings.PowerShell.cs index 2dd2383f9a85..dc9af32655a4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureSettings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureSettings.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,33 +55,33 @@ public partial class FeatureSettings partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new FeatureSettings(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new FeatureSettings(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -96,25 +96,25 @@ internal FeatureSettings(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("CrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)this).CrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("CrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)this).CrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)this).CrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("CrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)this).CrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("CrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)this).CrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings) content.GetValueForProperty("CrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)this).CrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)this).CrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings) content.GetValueForProperty("CrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)this).CrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -129,19 +129,19 @@ internal FeatureSettings(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("CrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)this).CrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("CrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)this).CrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)this).CrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("CrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)this).CrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("CrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)this).CrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings) content.GetValueForProperty("CrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)this).CrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)this).CrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings) content.GetValueForProperty("CrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)this).CrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); } AfterDeserializePSObject(content); } @@ -151,7 +151,7 @@ internal FeatureSettings(global::System.Management.Automation.PSObject content) /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureSettings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureSettings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureSettings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureSettings.TypeConverter.cs index 86c28e966b71..7940fde0c8d3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureSettings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureSettings.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureSettings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureSettings.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureSettings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureSettings.cs index 65aa66be03af..09712abfb35a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureSettings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureSettings.cs @@ -3,42 +3,42 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Class containing feature settings of vault public partial class FeatureSettings : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings _crossRegionRestoreSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings _crossRegionRestoreSetting; [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings CrossRegionRestoreSetting { get => (this._crossRegionRestoreSetting = this._crossRegionRestoreSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossRegionRestoreSettings()); set => this._crossRegionRestoreSetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings CrossRegionRestoreSetting { get => (this._crossRegionRestoreSetting = this._crossRegionRestoreSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreSettings()); set => this._crossRegionRestoreSetting = value; } /// CrossRegionRestore state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState? CrossRegionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettingsInternal)CrossRegionRestoreSetting).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettingsInternal)CrossRegionRestoreSetting).State = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState? CrossRegionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettingsInternal)CrossRegionRestoreSetting).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettingsInternal)CrossRegionRestoreSetting).State = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState)""); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings _crossSubscriptionRestoreSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings _crossSubscriptionRestoreSetting; /// CrossSubscriptionRestore Settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings CrossSubscriptionRestoreSetting { get => (this._crossSubscriptionRestoreSetting = this._crossSubscriptionRestoreSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossSubscriptionRestoreSettings()); set => this._crossSubscriptionRestoreSetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings CrossSubscriptionRestoreSetting { get => (this._crossSubscriptionRestoreSetting = this._crossSubscriptionRestoreSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossSubscriptionRestoreSettings()); set => this._crossSubscriptionRestoreSetting = value; } /// CrossSubscriptionRestore state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettingsInternal)CrossSubscriptionRestoreSetting).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettingsInternal)CrossSubscriptionRestoreSetting).State = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettingsInternal)CrossSubscriptionRestoreSetting).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettingsInternal)CrossSubscriptionRestoreSetting).State = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState)""); } /// Internal Acessors for CrossRegionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal.CrossRegionRestoreSetting { get => (this._crossRegionRestoreSetting = this._crossRegionRestoreSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossRegionRestoreSettings()); set { {_crossRegionRestoreSetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal.CrossRegionRestoreSetting { get => (this._crossRegionRestoreSetting = this._crossRegionRestoreSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreSettings()); set { {_crossRegionRestoreSetting = value;} } } /// Internal Acessors for CrossSubscriptionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal.CrossSubscriptionRestoreSetting { get => (this._crossSubscriptionRestoreSetting = this._crossSubscriptionRestoreSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossSubscriptionRestoreSettings()); set { {_crossSubscriptionRestoreSetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal.CrossSubscriptionRestoreSetting { get => (this._crossSubscriptionRestoreSetting = this._crossSubscriptionRestoreSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossSubscriptionRestoreSettings()); set { {_crossSubscriptionRestoreSetting = value;} } } /// Creates an new instance. public FeatureSettings() @@ -72,11 +72,11 @@ public partial interface IFeatureSettings : internal partial interface IFeatureSettingsInternal { - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings CrossRegionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings CrossRegionRestoreSetting { get; set; } /// CrossRegionRestore state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState? CrossRegionRestoreState { get; set; } /// CrossSubscriptionRestore Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings CrossSubscriptionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings CrossSubscriptionRestoreSetting { get; set; } /// CrossSubscriptionRestore state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureSettings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureSettings.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureSettings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureSettings.json.cs index b18ca1fc5eec..02a7a3bbd222 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureSettings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureSettings.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,19 +65,19 @@ internal FeatureSettings(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runti { return; } - {_crossSubscriptionRestoreSetting = If( json?.PropertyT("crossSubscriptionRestoreSettings"), out var __jsonCrossSubscriptionRestoreSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossSubscriptionRestoreSettings.FromJson(__jsonCrossSubscriptionRestoreSettings) : CrossSubscriptionRestoreSetting;} - {_crossRegionRestoreSetting = If( json?.PropertyT("crossRegionRestoreSettings"), out var __jsonCrossRegionRestoreSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossRegionRestoreSettings.FromJson(__jsonCrossRegionRestoreSettings) : CrossRegionRestoreSetting;} + {_crossSubscriptionRestoreSetting = If( json?.PropertyT("crossSubscriptionRestoreSettings"), out var __jsonCrossSubscriptionRestoreSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossSubscriptionRestoreSettings.FromJson(__jsonCrossSubscriptionRestoreSettings) : CrossSubscriptionRestoreSetting;} + {_crossRegionRestoreSetting = If( json?.PropertyT("crossRegionRestoreSettings"), out var __jsonCrossRegionRestoreSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreSettings.FromJson(__jsonCrossRegionRestoreSettings) : CrossRegionRestoreSetting;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new FeatureSettings(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequest.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequest.PowerShell.cs index 42f8e720284d..eb38b27a6143 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequest.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,35 +55,35 @@ public partial class FeatureValidationRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new FeatureValidationRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new FeatureValidationRequest(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -98,21 +98,21 @@ internal FeatureValidationRequest(global::System.Collections.IDictionary content // actually deserialize if (content.Contains("FeatureType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestInternal)this).FeatureType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType?) content.GetValueForProperty("FeatureType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestInternal)this).FeatureType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestInternal)this).FeatureType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType?) content.GetValueForProperty("FeatureType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestInternal)this).FeatureType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType.CreateFrom); } if (content.Contains("FeatureName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestInternal)this).FeatureName = (string) content.GetValueForProperty("FeatureName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestInternal)this).FeatureName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestInternal)this).FeatureName = (string) content.GetValueForProperty("FeatureName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestInternal)this).FeatureName, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBaseInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -127,15 +127,15 @@ internal FeatureValidationRequest(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("FeatureType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestInternal)this).FeatureType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType?) content.GetValueForProperty("FeatureType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestInternal)this).FeatureType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestInternal)this).FeatureType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType?) content.GetValueForProperty("FeatureType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestInternal)this).FeatureType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType.CreateFrom); } if (content.Contains("FeatureName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestInternal)this).FeatureName = (string) content.GetValueForProperty("FeatureName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestInternal)this).FeatureName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestInternal)this).FeatureName = (string) content.GetValueForProperty("FeatureName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestInternal)this).FeatureName, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBaseInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -145,7 +145,7 @@ internal FeatureValidationRequest(global::System.Management.Automation.PSObject /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequest.TypeConverter.cs index 454d6406413f..edee22bdeb0c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequest.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequest.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequest.cs index 472e48015b7b..0c60e011647a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequest.cs @@ -3,21 +3,21 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Base class for feature object public partial class FeatureValidationRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBase __featureValidationRequestBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureValidationRequestBase(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBase __featureValidationRequestBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureValidationRequestBase(); /// Backing field for property. private string _featureName; @@ -35,7 +35,7 @@ public partial class FeatureValidationRequest : /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBaseInternal)__featureValidationRequestBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBaseInternal)__featureValidationRequestBase).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBaseInternal)__featureValidationRequestBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBaseInternal)__featureValidationRequestBase).ObjectType = value ; } /// Creates an new instance. public FeatureValidationRequest() @@ -58,7 +58,7 @@ public FeatureValidationRequest() /// Base class for feature object public partial interface IFeatureValidationRequest : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBase { /// backup support feature name. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -80,7 +80,7 @@ public partial interface IFeatureValidationRequest : } /// Base class for feature object internal partial interface IFeatureValidationRequestInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBaseInternal { /// backup support feature name. string FeatureName { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequest.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequest.json.cs index 0ed61f9e728d..487130853004 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequest.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,20 +65,20 @@ internal FeatureValidationRequest(Microsoft.Azure.PowerShell.Cmdlets.DataProtect { return; } - __featureValidationRequestBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureValidationRequestBase(json); + __featureValidationRequestBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureValidationRequestBase(json); {_featureType = If( json?.PropertyT("featureType"), out var __jsonFeatureType) ? (string)__jsonFeatureType : (string)FeatureType;} {_featureName = If( json?.PropertyT("featureName"), out var __jsonFeatureName) ? (string)__jsonFeatureName : (string)FeatureName;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new FeatureValidationRequest(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequestBase.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequestBase.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequestBase.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequestBase.PowerShell.cs index 49bedd0e8f78..23257bcd6a68 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequestBase.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequestBase.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,35 +55,35 @@ public partial class FeatureValidationRequestBase partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBase DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBase DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new FeatureValidationRequestBase(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new FeatureValidationRequestBase(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -98,13 +98,13 @@ internal FeatureValidationRequestBase(global::System.Collections.IDictionary con // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBaseInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -119,7 +119,7 @@ internal FeatureValidationRequestBase(global::System.Management.Automation.PSObj // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBaseInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -129,7 +129,7 @@ internal FeatureValidationRequestBase(global::System.Management.Automation.PSObj /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequestBase.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequestBase.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequestBase.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequestBase.TypeConverter.cs index fbd56770e438..a65219e813e8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequestBase.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequestBase.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBase ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBase ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBase).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBase).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequestBase.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequestBase.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequestBase.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequestBase.cs index 4cb596ab98b3..d84a1b8a3fb2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequestBase.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequestBase.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Base class for Backup Feature support public partial class FeatureValidationRequestBase : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBase, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBase, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBaseInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequestBase.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequestBase.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequestBase.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequestBase.json.cs index 6dda2461489a..cf09a21ec2d5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationRequestBase.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationRequestBase.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,15 +70,15 @@ internal FeatureValidationRequestBase(Microsoft.Azure.PowerShell.Cmdlets.DataPro } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBase. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBase interface + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBase. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBase interface /// is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBase. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBase. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationRequestBase FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationRequestBase FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponse.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponse.PowerShell.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponse.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponse.PowerShell.cs index 95d4840738e6..03f099984104 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponse.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponse.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,35 +55,35 @@ public partial class FeatureValidationResponse partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponse DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponse DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new FeatureValidationResponse(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponse DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponse DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new FeatureValidationResponse(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -98,21 +98,21 @@ internal FeatureValidationResponse(global::System.Collections.IDictionary conten // actually deserialize if (content.Contains("FeatureType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseInternal)this).FeatureType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType?) content.GetValueForProperty("FeatureType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseInternal)this).FeatureType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseInternal)this).FeatureType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType?) content.GetValueForProperty("FeatureType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseInternal)this).FeatureType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType.CreateFrom); } if (content.Contains("Feature")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseInternal)this).Feature = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeature[]) content.GetValueForProperty("Feature",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseInternal)this).Feature, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SupportedFeatureTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseInternal)this).Feature = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeature[]) content.GetValueForProperty("Feature",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseInternal)this).Feature, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SupportedFeatureTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBaseInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -127,15 +127,15 @@ internal FeatureValidationResponse(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("FeatureType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseInternal)this).FeatureType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType?) content.GetValueForProperty("FeatureType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseInternal)this).FeatureType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseInternal)this).FeatureType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType?) content.GetValueForProperty("FeatureType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseInternal)this).FeatureType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType.CreateFrom); } if (content.Contains("Feature")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseInternal)this).Feature = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeature[]) content.GetValueForProperty("Feature",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseInternal)this).Feature, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SupportedFeatureTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseInternal)this).Feature = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeature[]) content.GetValueForProperty("Feature",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseInternal)this).Feature, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SupportedFeatureTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBaseInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -145,7 +145,7 @@ internal FeatureValidationResponse(global::System.Management.Automation.PSObject /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponse.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponse.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponse.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponse.TypeConverter.cs index 5de3242e5091..5e02c35ebb98 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponse.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponse.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponse ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponse ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponse).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponse).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponse.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponse.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponse.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponse.cs index 14dd39257f99..a03142564d02 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponse.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponse.cs @@ -3,28 +3,28 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Feature Validation Response public partial class FeatureValidationResponse : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponse, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponse, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBase __featureValidationResponseBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureValidationResponseBase(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBase __featureValidationResponseBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureValidationResponseBase(); /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeature[] _feature; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeature[] _feature; /// Response features [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeature[] Feature { get => this._feature; set => this._feature = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeature[] Feature { get => this._feature; set => this._feature = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType? _featureType; @@ -35,7 +35,7 @@ public partial class FeatureValidationResponse : /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBaseInternal)__featureValidationResponseBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBaseInternal)__featureValidationResponseBase).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBaseInternal)__featureValidationResponseBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBaseInternal)__featureValidationResponseBase).ObjectType = value ; } /// Creates an new instance. public FeatureValidationResponse() @@ -58,7 +58,7 @@ public FeatureValidationResponse() /// Feature Validation Response public partial interface IFeatureValidationResponse : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBase { /// Response features [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -66,8 +66,8 @@ public partial interface IFeatureValidationResponse : ReadOnly = false, Description = @"Response features", SerializedName = @"features", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeature) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeature[] Feature { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeature) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeature[] Feature { get; set; } /// backup support feature type. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -80,10 +80,10 @@ public partial interface IFeatureValidationResponse : } /// Feature Validation Response internal partial interface IFeatureValidationResponseInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBaseInternal { /// Response features - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeature[] Feature { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeature[] Feature { get; set; } /// backup support feature type. Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureType? FeatureType { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponse.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponse.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponse.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponse.json.cs index 41db6a92387f..b15507baa713 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponse.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponse.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -65,20 +65,20 @@ internal FeatureValidationResponse(Microsoft.Azure.PowerShell.Cmdlets.DataProtec { return; } - __featureValidationResponseBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureValidationResponseBase(json); + __featureValidationResponseBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureValidationResponseBase(json); {_featureType = If( json?.PropertyT("featureType"), out var __jsonFeatureType) ? (string)__jsonFeatureType : (string)FeatureType;} - {_feature = If( json?.PropertyT("features"), out var __jsonFeatures) ? If( __jsonFeatures as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeature) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SupportedFeature.FromJson(__u) )) ))() : null : Feature;} + {_feature = If( json?.PropertyT("features"), out var __jsonFeatures) ? If( __jsonFeatures as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeature) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SupportedFeature.FromJson(__u) )) ))() : null : Feature;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponse. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponse. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponse. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponse. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponse FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponse FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new FeatureValidationResponse(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponseBase.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponseBase.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponseBase.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponseBase.PowerShell.cs index 8420894ec8aa..b0a1462f1ff2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponseBase.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponseBase.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,35 +55,35 @@ public partial class FeatureValidationResponseBase partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBase DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBase DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new FeatureValidationResponseBase(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new FeatureValidationResponseBase(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -98,13 +98,13 @@ internal FeatureValidationResponseBase(global::System.Collections.IDictionary co // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBaseInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -119,7 +119,7 @@ internal FeatureValidationResponseBase(global::System.Management.Automation.PSOb // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBaseInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -129,7 +129,7 @@ internal FeatureValidationResponseBase(global::System.Management.Automation.PSOb /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponseBase.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponseBase.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponseBase.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponseBase.TypeConverter.cs index 8985addd4b52..e5b5e2153824 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponseBase.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponseBase.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBase ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBase ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBase).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBase).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponseBase.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponseBase.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponseBase.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponseBase.cs index 2812afadabe2..edc1eb78a62f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponseBase.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponseBase.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Base class for Backup Feature support public partial class FeatureValidationResponseBase : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBase, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBase, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBaseInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponseBase.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponseBase.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponseBase.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponseBase.json.cs index f6425a9ede03..eb3ff3e26e61 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/FeatureValidationResponseBase.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FeatureValidationResponseBase.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,15 +70,15 @@ internal FeatureValidationResponseBase(Microsoft.Azure.PowerShell.Cmdlets.DataPr } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBase. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBase interface + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBase. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBase interface /// is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBase. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBase. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureValidationResponseBase FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureValidationResponseBase FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FetchSecondaryRPsRequestParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FetchSecondaryRPsRequestParameters.PowerShell.cs new file mode 100644 index 000000000000..33f7276950b6 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FetchSecondaryRPsRequestParameters.PowerShell.cs @@ -0,0 +1,162 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// Information about BI whose secondary RecoveryPoints are requested + /// Source region and + /// BI ARM path + /// + [System.ComponentModel.TypeConverter(typeof(FetchSecondaryRPsRequestParametersTypeConverter))] + public partial class FetchSecondaryRPsRequestParameters + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new FetchSecondaryRPsRequestParameters(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new FetchSecondaryRPsRequestParameters(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal FetchSecondaryRPsRequestParameters(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("SourceRegion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParametersInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParametersInternal)this).SourceRegion, global::System.Convert.ToString); + } + if (content.Contains("SourceBackupInstanceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParametersInternal)this).SourceBackupInstanceId = (string) content.GetValueForProperty("SourceBackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParametersInternal)this).SourceBackupInstanceId, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal FetchSecondaryRPsRequestParameters(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("SourceRegion")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParametersInternal)this).SourceRegion = (string) content.GetValueForProperty("SourceRegion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParametersInternal)this).SourceRegion, global::System.Convert.ToString); + } + if (content.Contains("SourceBackupInstanceId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParametersInternal)this).SourceBackupInstanceId = (string) content.GetValueForProperty("SourceBackupInstanceId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParametersInternal)this).SourceBackupInstanceId, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// + /// an instance of the model class. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Information about BI whose secondary RecoveryPoints are requested + /// Source region and + /// BI ARM path + [System.ComponentModel.TypeConverter(typeof(FetchSecondaryRPsRequestParametersTypeConverter))] + public partial interface IFetchSecondaryRPsRequestParameters + + { + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FetchSecondaryRPsRequestParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FetchSecondaryRPsRequestParameters.TypeConverter.cs new file mode 100644 index 000000000000..88be0d7b8249 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FetchSecondaryRPsRequestParameters.TypeConverter.cs @@ -0,0 +1,149 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class FetchSecondaryRPsRequestParametersTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise + /// false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return FetchSecondaryRPsRequestParameters.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return FetchSecondaryRPsRequestParameters.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return FetchSecondaryRPsRequestParameters.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FetchSecondaryRPsRequestParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FetchSecondaryRPsRequestParameters.cs new file mode 100644 index 000000000000..aa41a553fbd2 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FetchSecondaryRPsRequestParameters.cs @@ -0,0 +1,76 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// + /// Information about BI whose secondary RecoveryPoints are requested + /// Source region and + /// BI ARM path + /// + public partial class FetchSecondaryRPsRequestParameters : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParametersInternal + { + + /// Backing field for property. + private string _sourceBackupInstanceId; + + /// ARM Path of BackupInstance + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string SourceBackupInstanceId { get => this._sourceBackupInstanceId; set => this._sourceBackupInstanceId = value; } + + /// Backing field for property. + private string _sourceRegion; + + /// Source region in which BackupInstance is located + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string SourceRegion { get => this._sourceRegion; set => this._sourceRegion = value; } + + /// Creates an new instance. + public FetchSecondaryRPsRequestParameters() + { + + } + } + /// Information about BI whose secondary RecoveryPoints are requested + /// Source region and + /// BI ARM path + public partial interface IFetchSecondaryRPsRequestParameters : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable + { + /// ARM Path of BackupInstance + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ARM Path of BackupInstance", + SerializedName = @"sourceBackupInstanceId", + PossibleTypes = new [] { typeof(string) })] + string SourceBackupInstanceId { get; set; } + /// Source region in which BackupInstance is located + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Source region in which BackupInstance is located", + SerializedName = @"sourceRegion", + PossibleTypes = new [] { typeof(string) })] + string SourceRegion { get; set; } + + } + /// Information about BI whose secondary RecoveryPoints are requested + /// Source region and + /// BI ARM path + internal partial interface IFetchSecondaryRPsRequestParametersInternal + + { + /// ARM Path of BackupInstance + string SourceBackupInstanceId { get; set; } + /// Source region in which BackupInstance is located + string SourceRegion { get; set; } + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FetchSecondaryRPsRequestParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FetchSecondaryRPsRequestParameters.json.cs new file mode 100644 index 000000000000..4cfd4f354eab --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/FetchSecondaryRPsRequestParameters.json.cs @@ -0,0 +1,115 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// + /// Information about BI whose secondary RecoveryPoints are requested + /// Source region and + /// BI ARM path + /// + public partial class FetchSecondaryRPsRequestParameters + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject instance to deserialize from. + internal FetchSecondaryRPsRequestParameters(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_sourceRegion = If( json?.PropertyT("sourceRegion"), out var __jsonSourceRegion) ? (string)__jsonSourceRegion : (string)SourceRegion;} + {_sourceBackupInstanceId = If( json?.PropertyT("sourceBackupInstanceId"), out var __jsonSourceBackupInstanceId) ? (string)__jsonSourceBackupInstanceId : (string)SourceBackupInstanceId;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new FetchSecondaryRPsRequestParameters(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._sourceRegion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._sourceRegion.ToString()) : null, "sourceRegion" ,container.Add ); + AddIf( null != (((object)this._sourceBackupInstanceId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._sourceBackupInstanceId.ToString()) : null, "sourceBackupInstanceId" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/IdentityDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/IdentityDetails.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/IdentityDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/IdentityDetails.PowerShell.cs index cce92c9b5cf1..4f4d3b5f9596 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/IdentityDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/IdentityDetails.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -54,27 +54,27 @@ public partial class IdentityDetails partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new IdentityDetails(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new IdentityDetails(content); } @@ -84,10 +84,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -102,17 +102,17 @@ internal IdentityDetails(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("UseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetailsInternal)this).UseSystemAssignedIdentity = (bool?) content.GetValueForProperty("UseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetailsInternal)this).UseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetailsInternal)this).UseSystemAssignedIdentity = (bool?) content.GetValueForProperty("UseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetailsInternal)this).UseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("UserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetailsInternal)this).UserAssignedIdentityArmUrl = (string) content.GetValueForProperty("UserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetailsInternal)this).UserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetailsInternal)this).UserAssignedIdentityArmUrl = (string) content.GetValueForProperty("UserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetailsInternal)this).UserAssignedIdentityArmUrl, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -127,11 +127,11 @@ internal IdentityDetails(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("UseSystemAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetailsInternal)this).UseSystemAssignedIdentity = (bool?) content.GetValueForProperty("UseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetailsInternal)this).UseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetailsInternal)this).UseSystemAssignedIdentity = (bool?) content.GetValueForProperty("UseSystemAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetailsInternal)this).UseSystemAssignedIdentity, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("UserAssignedIdentityArmUrl")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetailsInternal)this).UserAssignedIdentityArmUrl = (string) content.GetValueForProperty("UserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetailsInternal)this).UserAssignedIdentityArmUrl, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetailsInternal)this).UserAssignedIdentityArmUrl = (string) content.GetValueForProperty("UserAssignedIdentityArmUrl",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetailsInternal)this).UserAssignedIdentityArmUrl, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/IdentityDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/IdentityDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/IdentityDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/IdentityDetails.TypeConverter.cs index ba8a0f399f11..a6fab1223439 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/IdentityDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/IdentityDetails.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/IdentityDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/IdentityDetails.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/IdentityDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/IdentityDetails.cs index d80843ef6452..af37ca2930e5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/IdentityDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/IdentityDetails.cs @@ -3,13 +3,13 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class IdentityDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetailsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/IdentityDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/IdentityDetails.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/IdentityDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/IdentityDetails.json.cs index 3920eb123761..28b7a6a205b2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/IdentityDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/IdentityDetails.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -53,13 +53,13 @@ public partial class IdentityDetails partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IIdentityDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IIdentityDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new IdentityDetails(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmediateCopyOption.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmediateCopyOption.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmediateCopyOption.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmediateCopyOption.PowerShell.cs index ecc2f6fb1c38..4e569c645f04 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmediateCopyOption.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmediateCopyOption.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class ImmediateCopyOption partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmediateCopyOption DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmediateCopyOption DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ImmediateCopyOption(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmediateCopyOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmediateCopyOption DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ImmediateCopyOption(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmediateCopyOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmediateCopyOption FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,13 +103,13 @@ internal ImmediateCopyOption(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -124,7 +124,7 @@ internal ImmediateCopyOption(global::System.Management.Automation.PSObject conte // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmediateCopyOption.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmediateCopyOption.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmediateCopyOption.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmediateCopyOption.TypeConverter.cs index 4cc6b689328f..c9dd5bb6e92a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmediateCopyOption.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmediateCopyOption.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmediateCopyOption ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmediateCopyOption ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmediateCopyOption).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmediateCopyOption).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmediateCopyOption.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmediateCopyOption.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmediateCopyOption.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmediateCopyOption.cs index 1697a08758d5..5af425a8c721 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmediateCopyOption.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmediateCopyOption.cs @@ -3,25 +3,25 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Immediate copy Option public partial class ImmediateCopyOption : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmediateCopyOption, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmediateCopyOptionInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmediateCopyOption, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmediateCopyOptionInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CopyOption(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CopyOption(); /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)__copyOption).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)__copyOption).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)__copyOption).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)__copyOption).ObjectType = value ; } /// Creates an new instance. public ImmediateCopyOption() @@ -44,13 +44,13 @@ public ImmediateCopyOption() /// Immediate copy Option public partial interface IImmediateCopyOption : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption { } /// Immediate copy Option internal partial interface IImmediateCopyOptionInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal { } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmediateCopyOption.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmediateCopyOption.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmediateCopyOption.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmediateCopyOption.json.cs index c4b51c11777d..f92ab62c9e75 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmediateCopyOption.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmediateCopyOption.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ImmediateCopyOption partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmediateCopyOption. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmediateCopyOption. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmediateCopyOption. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmediateCopyOption. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmediateCopyOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmediateCopyOption FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ImmediateCopyOption(json) : null; } @@ -77,7 +77,7 @@ internal ImmediateCopyOption(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.R { return; } - __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CopyOption(json); + __copyOption = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CopyOption(json); AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmutabilitySettings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmutabilitySettings.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmutabilitySettings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmutabilitySettings.PowerShell.cs index 12e9265bc1c7..ef7c57fb96b0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmutabilitySettings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmutabilitySettings.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class ImmutabilitySettings partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ImmutabilitySettings(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ImmutabilitySettings(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,13 +105,13 @@ internal ImmutabilitySettings(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("State")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -126,7 +126,7 @@ internal ImmutabilitySettings(global::System.Management.Automation.PSObject cont // actually deserialize if (content.Contains("State")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmutabilitySettings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmutabilitySettings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmutabilitySettings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmutabilitySettings.TypeConverter.cs index a2fd1eb35863..56d091f8e4c4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmutabilitySettings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmutabilitySettings.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmutabilitySettings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmutabilitySettings.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmutabilitySettings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmutabilitySettings.cs index 108c430be3c2..56479552a31d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmutabilitySettings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmutabilitySettings.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Immutability Settings at vault level public partial class ImmutabilitySettings : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettingsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmutabilitySettings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmutabilitySettings.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmutabilitySettings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmutabilitySettings.json.cs index 9e8a920d5464..348acc887a3d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ImmutabilitySettings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ImmutabilitySettings.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ImmutabilitySettings partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ImmutabilitySettings(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerError.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerError.PowerShell.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerError.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerError.PowerShell.cs index dacb1762ff0f..bf64d9def361 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerError.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerError.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class InnerError partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new InnerError(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new InnerError(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,21 +103,21 @@ internal InnerError(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("AdditionalInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorAdditionalInfo) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorInternal)this).AdditionalInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.InnerErrorAdditionalInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorAdditionalInfo) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorInternal)this).AdditionalInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.InnerErrorAdditionalInfoTypeConverter.ConvertFrom); } if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("EmbeddedInnerError")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorInternal)this).EmbeddedInnerError = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError) content.GetValueForProperty("EmbeddedInnerError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorInternal)this).EmbeddedInnerError, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.InnerErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorInternal)this).EmbeddedInnerError = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError) content.GetValueForProperty("EmbeddedInnerError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorInternal)this).EmbeddedInnerError, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.InnerErrorTypeConverter.ConvertFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -132,15 +132,15 @@ internal InnerError(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("AdditionalInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorAdditionalInfo) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorInternal)this).AdditionalInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.InnerErrorAdditionalInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorAdditionalInfo) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorInternal)this).AdditionalInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.InnerErrorAdditionalInfoTypeConverter.ConvertFrom); } if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("EmbeddedInnerError")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorInternal)this).EmbeddedInnerError = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError) content.GetValueForProperty("EmbeddedInnerError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorInternal)this).EmbeddedInnerError, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.InnerErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorInternal)this).EmbeddedInnerError = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError) content.GetValueForProperty("EmbeddedInnerError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorInternal)this).EmbeddedInnerError, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.InnerErrorTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerError.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerError.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerError.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerError.TypeConverter.cs index 72ec0b039d85..b006929124a0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerError.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerError.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerError.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerError.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerError.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerError.cs index 6b34b024593b..2f1212723672 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerError.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerError.cs @@ -3,24 +3,24 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Inner Error public partial class InnerError : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorAdditionalInfo _additionalInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorAdditionalInfo _additionalInfo; /// /// Any Key value pairs that can be provided to the client for additional verbose information. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorAdditionalInfo AdditionalInfo { get => (this._additionalInfo = this._additionalInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.InnerErrorAdditionalInfo()); set => this._additionalInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorAdditionalInfo AdditionalInfo { get => (this._additionalInfo = this._additionalInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.InnerErrorAdditionalInfo()); set => this._additionalInfo = value; } /// Backing field for property. private string _code; @@ -30,11 +30,11 @@ public partial class InnerError : public string Code { get => this._code; set => this._code = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError _embeddedInnerError; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError _embeddedInnerError; /// Child Inner Error, to allow Nesting. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError EmbeddedInnerError { get => (this._embeddedInnerError = this._embeddedInnerError ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.InnerError()); set => this._embeddedInnerError = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError EmbeddedInnerError { get => (this._embeddedInnerError = this._embeddedInnerError ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.InnerError()); set => this._embeddedInnerError = value; } /// Creates an new instance. public InnerError() @@ -54,8 +54,8 @@ public partial interface IInnerError : ReadOnly = false, Description = @"Any Key value pairs that can be provided to the client for additional verbose information.", SerializedName = @"additionalInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorAdditionalInfo) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorAdditionalInfo AdditionalInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorAdditionalInfo) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorAdditionalInfo AdditionalInfo { get; set; } /// Unique code for this error [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -70,8 +70,8 @@ public partial interface IInnerError : ReadOnly = false, Description = @"Child Inner Error, to allow Nesting.", SerializedName = @"embeddedInnerError", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError EmbeddedInnerError { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError EmbeddedInnerError { get; set; } } /// Inner Error @@ -81,11 +81,11 @@ internal partial interface IInnerErrorInternal /// /// Any Key value pairs that can be provided to the client for additional verbose information. /// - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorAdditionalInfo AdditionalInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorAdditionalInfo AdditionalInfo { get; set; } /// Unique code for this error string Code { get; set; } /// Child Inner Error, to allow Nesting. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError EmbeddedInnerError { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError EmbeddedInnerError { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerError.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerError.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerError.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerError.json.cs index 59738be6ad27..2e501eb56a62 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerError.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerError.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class InnerError partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new InnerError(json) : null; } @@ -77,9 +77,9 @@ internal InnerError(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Js { return; } - {_additionalInfo = If( json?.PropertyT("additionalInfo"), out var __jsonAdditionalInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.InnerErrorAdditionalInfo.FromJson(__jsonAdditionalInfo) : AdditionalInfo;} + {_additionalInfo = If( json?.PropertyT("additionalInfo"), out var __jsonAdditionalInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.InnerErrorAdditionalInfo.FromJson(__jsonAdditionalInfo) : AdditionalInfo;} {_code = If( json?.PropertyT("code"), out var __jsonCode) ? (string)__jsonCode : (string)Code;} - {_embeddedInnerError = If( json?.PropertyT("embeddedInnerError"), out var __jsonEmbeddedInnerError) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.InnerError.FromJson(__jsonEmbeddedInnerError) : EmbeddedInnerError;} + {_embeddedInnerError = If( json?.PropertyT("embeddedInnerError"), out var __jsonEmbeddedInnerError) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.InnerError.FromJson(__jsonEmbeddedInnerError) : EmbeddedInnerError;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerErrorAdditionalInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerErrorAdditionalInfo.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerErrorAdditionalInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerErrorAdditionalInfo.PowerShell.cs index 77fb69ee3ae7..57e2961f85fc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerErrorAdditionalInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerErrorAdditionalInfo.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -57,29 +57,29 @@ public partial class InnerErrorAdditionalInfo partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorAdditionalInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorAdditionalInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new InnerErrorAdditionalInfo(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorAdditionalInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorAdditionalInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new InnerErrorAdditionalInfo(content); } @@ -89,10 +89,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorAdditionalInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorAdditionalInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,7 +111,7 @@ internal InnerErrorAdditionalInfo(global::System.Collections.IDictionary content } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerErrorAdditionalInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerErrorAdditionalInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerErrorAdditionalInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerErrorAdditionalInfo.TypeConverter.cs index ed4fb370cb41..e5fd37c6d659 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerErrorAdditionalInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerErrorAdditionalInfo.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorAdditionalInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorAdditionalInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorAdditionalInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorAdditionalInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerErrorAdditionalInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerErrorAdditionalInfo.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerErrorAdditionalInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerErrorAdditionalInfo.cs index 06251bf86bfa..86e8e5d46a71 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerErrorAdditionalInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerErrorAdditionalInfo.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 /// Any Key value pairs that can be provided to the client for additional verbose information. /// public partial class InnerErrorAdditionalInfo : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorAdditionalInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorAdditionalInfoInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorAdditionalInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorAdditionalInfoInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerErrorAdditionalInfo.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerErrorAdditionalInfo.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerErrorAdditionalInfo.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerErrorAdditionalInfo.dictionary.cs index f4a46ae2bd02..19c646053156 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerErrorAdditionalInfo.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerErrorAdditionalInfo.dictionary.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,6 +70,6 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) /// - public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.InnerErrorAdditionalInfo source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.InnerErrorAdditionalInfo source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerErrorAdditionalInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerErrorAdditionalInfo.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerErrorAdditionalInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerErrorAdditionalInfo.json.cs index 91239fc8818e..3de32ed10c98 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/InnerErrorAdditionalInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/InnerErrorAdditionalInfo.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -56,13 +56,13 @@ public partial class InnerErrorAdditionalInfo partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorAdditionalInfo. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorAdditionalInfo. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorAdditionalInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorAdditionalInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerErrorAdditionalInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerErrorAdditionalInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new InnerErrorAdditionalInfo(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreCriteria.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreCriteria.PowerShell.cs index 75574a215efd..03eea45316f4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreCriteria.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class ItemLevelRestoreCriteria partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ItemLevelRestoreCriteria(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ItemLevelRestoreCriteria(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,13 +105,13 @@ internal ItemLevelRestoreCriteria(global::System.Collections.IDictionary content // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -126,7 +126,7 @@ internal ItemLevelRestoreCriteria(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreCriteria.TypeConverter.cs index 9de862f60636..b1f4fba1f6b5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreCriteria.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreCriteria.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreCriteria.cs index 06a42207f343..ccb0d648f443 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreCriteria.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Class to contain criteria for item level restore public partial class ItemLevelRestoreCriteria : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreCriteria.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreCriteria.json.cs index 52c528ac0e83..3e4211367033 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreCriteria.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,15 +54,15 @@ public partial class ItemLevelRestoreCriteria partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria interface is + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria interface is /// polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { @@ -92,6 +92,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 { return new KubernetesClusterRestoreCriteria(json); } + case "KubernetesClusterVaultTierRestoreCriteria": + { + return new KubernetesClusterVaultTierRestoreCriteria(json); + } } return new ItemLevelRestoreCriteria(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreTargetInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreTargetInfo.PowerShell.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreTargetInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreTargetInfo.PowerShell.cs index 99d863bad453..4e5a3c77619f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreTargetInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreTargetInfo.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class ItemLevelRestoreTargetInfo partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ItemLevelRestoreTargetInfo(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ItemLevelRestoreTargetInfo(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,37 +105,37 @@ internal ItemLevelRestoreTargetInfo(global::System.Collections.IDictionary conte // actually deserialize if (content.Contains("RestoreCriterion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfoInternal)this).RestoreCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria[]) content.GetValueForProperty("RestoreCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfoInternal)this).RestoreCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreCriteriaTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfoInternal)this).RestoreCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria[]) content.GetValueForProperty("RestoreCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfoInternal)this).RestoreCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreCriteriaTypeConverter.ConvertFrom)); } if (content.Contains("DatasourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfoInternal)this).DatasourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource) content.GetValueForProperty("DatasourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfoInternal)this).DatasourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfoInternal)this).DatasourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource) content.GetValueForProperty("DatasourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfoInternal)this).DatasourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DatasourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfoInternal)this).DatasourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet) content.GetValueForProperty("DatasourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfoInternal)this).DatasourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfoInternal)this).DatasourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet) content.GetValueForProperty("DatasourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfoInternal)this).DatasourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfoInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfoInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfoInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfoInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RecoveryOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); } if (content.Contains("RestoreLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -150,31 +150,31 @@ internal ItemLevelRestoreTargetInfo(global::System.Management.Automation.PSObjec // actually deserialize if (content.Contains("RestoreCriterion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfoInternal)this).RestoreCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria[]) content.GetValueForProperty("RestoreCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfoInternal)this).RestoreCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreCriteriaTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfoInternal)this).RestoreCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria[]) content.GetValueForProperty("RestoreCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfoInternal)this).RestoreCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreCriteriaTypeConverter.ConvertFrom)); } if (content.Contains("DatasourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfoInternal)this).DatasourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource) content.GetValueForProperty("DatasourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfoInternal)this).DatasourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfoInternal)this).DatasourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource) content.GetValueForProperty("DatasourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfoInternal)this).DatasourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DatasourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfoInternal)this).DatasourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet) content.GetValueForProperty("DatasourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfoInternal)this).DatasourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfoInternal)this).DatasourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet) content.GetValueForProperty("DatasourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfoInternal)this).DatasourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfoInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfoInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfoInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfoInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RecoveryOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); } if (content.Contains("RestoreLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreTargetInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreTargetInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreTargetInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreTargetInfo.TypeConverter.cs index 21ff45b9b845..681b358e5eb4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreTargetInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreTargetInfo.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreTargetInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreTargetInfo.cs similarity index 78% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreTargetInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreTargetInfo.cs index aa80a12c1a30..da2868e1b263 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreTargetInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreTargetInfo.cs @@ -3,64 +3,64 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Restore target info for Item level restore operation public partial class ItemLevelRestoreTargetInfo : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfoInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfoInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBase(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBase(); /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials _datasourceAuthCredentials; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials _datasourceAuthCredentials; /// Credentials to use to authenticate with data source provider. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials DatasourceAuthCredentials { get => (this._datasourceAuthCredentials = this._datasourceAuthCredentials ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentials()); set => this._datasourceAuthCredentials = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials DatasourceAuthCredentials { get => (this._datasourceAuthCredentials = this._datasourceAuthCredentials ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentials()); set => this._datasourceAuthCredentials = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource _datasourceInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource _datasourceInfo; /// Information of target DS [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource DatasourceInfo { get => (this._datasourceInfo = this._datasourceInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Datasource()); set => this._datasourceInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource DatasourceInfo { get => (this._datasourceInfo = this._datasourceInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Datasource()); set => this._datasourceInfo = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet _datasourceSetInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet _datasourceSetInfo; /// Information of target DS Set [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet DatasourceSetInfo { get => (this._datasourceSetInfo = this._datasourceSetInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSet()); set => this._datasourceSetInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet DatasourceSetInfo { get => (this._datasourceSetInfo = this._datasourceSetInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSet()); set => this._datasourceSetInfo = value; } /// Internal Acessors for RecoveryOption - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal.RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal.RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption = value; } /// Type of Datasource object, used to initialize the right inherited type [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType = value ; } /// Recovery Option [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; } + public string RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria[] _restoreCriterion; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria[] _restoreCriterion; /// Restore Criteria [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria[] RestoreCriterion { get => this._restoreCriterion; set => this._restoreCriterion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria[] RestoreCriterion { get => this._restoreCriterion; set => this._restoreCriterion = value; } /// Target Restore region [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string RestoreLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation = value ?? null; } + public string RestoreLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation = value ?? null; } /// Creates an new instance. public ItemLevelRestoreTargetInfo() @@ -83,7 +83,7 @@ public ItemLevelRestoreTargetInfo() /// Restore target info for Item level restore operation public partial interface IItemLevelRestoreTargetInfo : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase { /// Credentials to use to authenticate with data source provider. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -91,46 +91,46 @@ public partial interface IItemLevelRestoreTargetInfo : ReadOnly = false, Description = @"Credentials to use to authenticate with data source provider.", SerializedName = @"datasourceAuthCredentials", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials DatasourceAuthCredentials { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials DatasourceAuthCredentials { get; set; } /// Information of target DS [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = true, ReadOnly = false, Description = @"Information of target DS", SerializedName = @"datasourceInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource DatasourceInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource DatasourceInfo { get; set; } /// Information of target DS Set [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, ReadOnly = false, Description = @"Information of target DS Set", SerializedName = @"datasourceSetInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet DatasourceSetInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet DatasourceSetInfo { get; set; } /// Restore Criteria [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = true, ReadOnly = false, Description = @"Restore Criteria", SerializedName = @"restoreCriteria", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria[] RestoreCriterion { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria[] RestoreCriterion { get; set; } } /// Restore target info for Item level restore operation internal partial interface IItemLevelRestoreTargetInfoInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal { /// Credentials to use to authenticate with data source provider. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials DatasourceAuthCredentials { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials DatasourceAuthCredentials { get; set; } /// Information of target DS - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource DatasourceInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource DatasourceInfo { get; set; } /// Information of target DS Set - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet DatasourceSetInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet DatasourceSetInfo { get; set; } /// Restore Criteria - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria[] RestoreCriterion { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria[] RestoreCriterion { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreTargetInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreTargetInfo.json.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreTargetInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreTargetInfo.json.cs index cde2ff340cc5..0ad35fb32497 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemLevelRestoreTargetInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemLevelRestoreTargetInfo.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ItemLevelRestoreTargetInfo partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfo. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfo. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreTargetInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreTargetInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ItemLevelRestoreTargetInfo(json) : null; } @@ -77,11 +77,11 @@ internal ItemLevelRestoreTargetInfo(Microsoft.Azure.PowerShell.Cmdlets.DataProte { return; } - __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBase(json); - {_restoreCriterion = If( json?.PropertyT("restoreCriteria"), out var __jsonRestoreCriteria) ? If( __jsonRestoreCriteria as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreCriteria.FromJson(__u) )) ))() : null : RestoreCriterion;} - {_datasourceInfo = If( json?.PropertyT("datasourceInfo"), out var __jsonDatasourceInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Datasource.FromJson(__jsonDatasourceInfo) : DatasourceInfo;} - {_datasourceSetInfo = If( json?.PropertyT("datasourceSetInfo"), out var __jsonDatasourceSetInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSet.FromJson(__jsonDatasourceSetInfo) : DatasourceSetInfo;} - {_datasourceAuthCredentials = If( json?.PropertyT("datasourceAuthCredentials"), out var __jsonDatasourceAuthCredentials) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentials.FromJson(__jsonDatasourceAuthCredentials) : DatasourceAuthCredentials;} + __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBase(json); + {_restoreCriterion = If( json?.PropertyT("restoreCriteria"), out var __jsonRestoreCriteria) ? If( __jsonRestoreCriteria as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreCriteria.FromJson(__u) )) ))() : null : RestoreCriterion;} + {_datasourceInfo = If( json?.PropertyT("datasourceInfo"), out var __jsonDatasourceInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Datasource.FromJson(__jsonDatasourceInfo) : DatasourceInfo;} + {_datasourceSetInfo = If( json?.PropertyT("datasourceSetInfo"), out var __jsonDatasourceSetInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSet.FromJson(__jsonDatasourceSetInfo) : DatasourceSetInfo;} + {_datasourceAuthCredentials = If( json?.PropertyT("datasourceAuthCredentials"), out var __jsonDatasourceAuthCredentials) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentials.FromJson(__jsonDatasourceAuthCredentials) : DatasourceAuthCredentials;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemPathBasedRestoreCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemPathBasedRestoreCriteria.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemPathBasedRestoreCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemPathBasedRestoreCriteria.PowerShell.cs index c5903917f5ac..01beddb15f29 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemPathBasedRestoreCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemPathBasedRestoreCriteria.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class ItemPathBasedRestoreCriteria partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ItemPathBasedRestoreCriteria(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ItemPathBasedRestoreCriteria(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,25 +105,25 @@ internal ItemPathBasedRestoreCriteria(global::System.Collections.IDictionary con // actually deserialize if (content.Contains("ItemPath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteriaInternal)this).ItemPath = (string) content.GetValueForProperty("ItemPath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteriaInternal)this).ItemPath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteriaInternal)this).ItemPath = (string) content.GetValueForProperty("ItemPath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteriaInternal)this).ItemPath, global::System.Convert.ToString); } if (content.Contains("IsPathRelativeToBackupItem")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteriaInternal)this).IsPathRelativeToBackupItem = (bool) content.GetValueForProperty("IsPathRelativeToBackupItem",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteriaInternal)this).IsPathRelativeToBackupItem, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteriaInternal)this).IsPathRelativeToBackupItem = (bool) content.GetValueForProperty("IsPathRelativeToBackupItem",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteriaInternal)this).IsPathRelativeToBackupItem, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("SubItemPathPrefix")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteriaInternal)this).SubItemPathPrefix = (string[]) content.GetValueForProperty("SubItemPathPrefix",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteriaInternal)this).SubItemPathPrefix, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteriaInternal)this).SubItemPathPrefix = (string[]) content.GetValueForProperty("SubItemPathPrefix",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteriaInternal)this).SubItemPathPrefix, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -138,19 +138,19 @@ internal ItemPathBasedRestoreCriteria(global::System.Management.Automation.PSObj // actually deserialize if (content.Contains("ItemPath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteriaInternal)this).ItemPath = (string) content.GetValueForProperty("ItemPath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteriaInternal)this).ItemPath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteriaInternal)this).ItemPath = (string) content.GetValueForProperty("ItemPath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteriaInternal)this).ItemPath, global::System.Convert.ToString); } if (content.Contains("IsPathRelativeToBackupItem")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteriaInternal)this).IsPathRelativeToBackupItem = (bool) content.GetValueForProperty("IsPathRelativeToBackupItem",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteriaInternal)this).IsPathRelativeToBackupItem, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteriaInternal)this).IsPathRelativeToBackupItem = (bool) content.GetValueForProperty("IsPathRelativeToBackupItem",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteriaInternal)this).IsPathRelativeToBackupItem, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("SubItemPathPrefix")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteriaInternal)this).SubItemPathPrefix = (string[]) content.GetValueForProperty("SubItemPathPrefix",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteriaInternal)this).SubItemPathPrefix, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteriaInternal)this).SubItemPathPrefix = (string[]) content.GetValueForProperty("SubItemPathPrefix",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteriaInternal)this).SubItemPathPrefix, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemPathBasedRestoreCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemPathBasedRestoreCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemPathBasedRestoreCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemPathBasedRestoreCriteria.TypeConverter.cs index 8dd80923f0bd..aca4d1edc9df 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemPathBasedRestoreCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemPathBasedRestoreCriteria.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemPathBasedRestoreCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemPathBasedRestoreCriteria.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemPathBasedRestoreCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemPathBasedRestoreCriteria.cs index de1dd50a776a..13bb64a94982 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemPathBasedRestoreCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemPathBasedRestoreCriteria.cs @@ -3,21 +3,21 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Prefix criteria to be used to during restore public partial class ItemPathBasedRestoreCriteria : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteriaInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteriaInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreCriteria(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreCriteria(); /// Backing field for property. private bool _isPathRelativeToBackupItem; @@ -37,7 +37,7 @@ public partial class ItemPathBasedRestoreCriteria : /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } /// Backing field for property. private string[] _subItemPathPrefix; @@ -69,7 +69,7 @@ public ItemPathBasedRestoreCriteria() /// Prefix criteria to be used to during restore public partial interface IItemPathBasedRestoreCriteria : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria { /// Flag to specify if the path is relative to backup item or full path [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -103,7 +103,7 @@ public partial interface IItemPathBasedRestoreCriteria : } /// Prefix criteria to be used to during restore internal partial interface IItemPathBasedRestoreCriteriaInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal { /// Flag to specify if the path is relative to backup item or full path bool IsPathRelativeToBackupItem { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemPathBasedRestoreCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemPathBasedRestoreCriteria.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemPathBasedRestoreCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemPathBasedRestoreCriteria.json.cs index eb74bddc42a2..5ddf7e7eeb38 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ItemPathBasedRestoreCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ItemPathBasedRestoreCriteria.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ItemPathBasedRestoreCriteria partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteria. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteria. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemPathBasedRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemPathBasedRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ItemPathBasedRestoreCriteria(json) : null; } @@ -77,7 +77,7 @@ internal ItemPathBasedRestoreCriteria(Microsoft.Azure.PowerShell.Cmdlets.DataPro { return; } - __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreCriteria(json); + __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreCriteria(json); {_itemPath = If( json?.PropertyT("itemPath"), out var __jsonItemPath) ? (string)__jsonItemPath : (string)ItemPath;} {_isPathRelativeToBackupItem = If( json?.PropertyT("isPathRelativeToBackupItem"), out var __jsonIsPathRelativeToBackupItem) ? (bool)__jsonIsPathRelativeToBackupItem : IsPathRelativeToBackupItem;} {_subItemPathPrefix = If( json?.PropertyT("subItemPathPrefix"), out var __jsonSubItemPathPrefix) ? If( __jsonSubItemPathPrefix as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : SubItemPathPrefix;} diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfo.PowerShell.cs similarity index 72% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfo.PowerShell.cs index 5b411e54e2bf..18e5fa77136c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfo.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class JobExtendedInfo partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new JobExtendedInfo(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobExtendedInfo(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,53 +103,57 @@ internal JobExtendedInfo(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("SourceRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).SourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("SourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).SourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).SourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("SourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).SourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("TargetRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).TargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("TargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).TargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).TargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("TargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).TargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("AdditionalDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).AdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("AdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).AdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).AdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("AdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).AdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); } if (content.Contains("BackupInstanceState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).BackupInstanceState = (string) content.GetValueForProperty("BackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).BackupInstanceState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).BackupInstanceState = (string) content.GetValueForProperty("BackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).BackupInstanceState, global::System.Convert.ToString); } if (content.Contains("DataTransferredInByte")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).DataTransferredInByte = (double?) content.GetValueForProperty("DataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).DataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).DataTransferredInByte = (double?) content.GetValueForProperty("DataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).DataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("RecoveryDestination")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).RecoveryDestination = (string) content.GetValueForProperty("RecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).RecoveryDestination, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).RecoveryDestination = (string) content.GetValueForProperty("RecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).RecoveryDestination, global::System.Convert.ToString); } if (content.Contains("SubTask")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).SubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[]) content.GetValueForProperty("SubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).SubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobSubTaskTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).SubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[]) content.GetValueForProperty("SubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).SubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobSubTaskTypeConverter.ConvertFrom)); + } + if (content.Contains("WarningDetail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).WarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[]) content.GetValueForProperty("WarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).WarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingWarningDetailTypeConverter.ConvertFrom)); } if (content.Contains("SourceRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("SourceRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("TargetRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("TargetRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -164,47 +168,51 @@ internal JobExtendedInfo(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("SourceRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).SourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("SourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).SourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).SourceRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("SourceRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).SourceRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("TargetRecoverPoint")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).TargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("TargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).TargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).TargetRecoverPoint = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails) content.GetValueForProperty("TargetRecoverPoint",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).TargetRecoverPoint, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetailsTypeConverter.ConvertFrom); } if (content.Contains("AdditionalDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).AdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("AdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).AdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).AdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails) content.GetValueForProperty("AdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).AdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfoAdditionalDetailsTypeConverter.ConvertFrom); } if (content.Contains("BackupInstanceState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).BackupInstanceState = (string) content.GetValueForProperty("BackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).BackupInstanceState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).BackupInstanceState = (string) content.GetValueForProperty("BackupInstanceState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).BackupInstanceState, global::System.Convert.ToString); } if (content.Contains("DataTransferredInByte")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).DataTransferredInByte = (double?) content.GetValueForProperty("DataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).DataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).DataTransferredInByte = (double?) content.GetValueForProperty("DataTransferredInByte",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).DataTransferredInByte, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("RecoveryDestination")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).RecoveryDestination = (string) content.GetValueForProperty("RecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).RecoveryDestination, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).RecoveryDestination = (string) content.GetValueForProperty("RecoveryDestination",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).RecoveryDestination, global::System.Convert.ToString); } if (content.Contains("SubTask")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).SubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[]) content.GetValueForProperty("SubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).SubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobSubTaskTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).SubTask = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[]) content.GetValueForProperty("SubTask",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).SubTask, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobSubTaskTypeConverter.ConvertFrom)); + } + if (content.Contains("WarningDetail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).WarningDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[]) content.GetValueForProperty("WarningDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).WarningDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingWarningDetailTypeConverter.ConvertFrom)); } if (content.Contains("SourceRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointId = (string) content.GetValueForProperty("SourceRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("SourceRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("SourceRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).SourceRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("TargetRecoverPointRecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointId = (string) content.GetValueForProperty("TargetRecoverPointRecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointId, global::System.Convert.ToString); } if (content.Contains("TargetRecoverPointRecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("TargetRecoverPointRecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal)this).TargetRecoverPointRecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfo.TypeConverter.cs index 9c1f448c130b..b49c86ad869f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfo.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfo.cs similarity index 74% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfo.cs index 9a34dbe5c2e5..cbe4206d9557 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfo.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Extended Information about the job public partial class JobExtendedInfo : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails _additionalDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails _additionalDetail; /// Job's Additional Details [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails AdditionalDetail { get => (this._additionalDetail = this._additionalDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfoAdditionalDetails()); set => this._additionalDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails AdditionalDetail { get => (this._additionalDetail = this._additionalDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfoAdditionalDetails()); set => this._additionalDetail = value; } /// Backing field for property. private string _backupInstanceState; @@ -35,22 +35,25 @@ public partial class JobExtendedInfo : public double? DataTransferredInByte { get => this._dataTransferredInByte; } /// Internal Acessors for BackupInstanceState - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal.BackupInstanceState { get => this._backupInstanceState; set { {_backupInstanceState = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal.BackupInstanceState { get => this._backupInstanceState; set { {_backupInstanceState = value;} } } /// Internal Acessors for DataTransferredInByte - double? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal.DataTransferredInByte { get => this._dataTransferredInByte; set { {_dataTransferredInByte = value;} } } + double? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal.DataTransferredInByte { get => this._dataTransferredInByte; set { {_dataTransferredInByte = value;} } } /// Internal Acessors for RecoveryDestination - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal.RecoveryDestination { get => this._recoveryDestination; set { {_recoveryDestination = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal.RecoveryDestination { get => this._recoveryDestination; set { {_recoveryDestination = value;} } } /// Internal Acessors for SourceRecoverPoint - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal.SourceRecoverPoint { get => (this._sourceRecoverPoint = this._sourceRecoverPoint ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetails()); set { {_sourceRecoverPoint = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal.SourceRecoverPoint { get => (this._sourceRecoverPoint = this._sourceRecoverPoint ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetails()); set { {_sourceRecoverPoint = value;} } } /// Internal Acessors for SubTask - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal.SubTask { get => this._subTask; set { {_subTask = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal.SubTask { get => this._subTask; set { {_subTask = value;} } } /// Internal Acessors for TargetRecoverPoint - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoInternal.TargetRecoverPoint { get => (this._targetRecoverPoint = this._targetRecoverPoint ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetails()); set { {_targetRecoverPoint = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal.TargetRecoverPoint { get => (this._targetRecoverPoint = this._targetRecoverPoint ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetails()); set { {_targetRecoverPoint = value;} } } + + /// Internal Acessors for WarningDetail + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoInternal.WarningDetail { get => this._warningDetail; set { {_warningDetail = value;} } } /// Backing field for property. private string _recoveryDestination; @@ -60,37 +63,44 @@ public partial class JobExtendedInfo : public string RecoveryDestination { get => this._recoveryDestination; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails _sourceRecoverPoint; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails _sourceRecoverPoint; /// Details of the Source Recovery Point [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails SourceRecoverPoint { get => (this._sourceRecoverPoint = this._sourceRecoverPoint ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetails()); } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails SourceRecoverPoint { get => (this._sourceRecoverPoint = this._sourceRecoverPoint ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetails()); } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string SourceRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetailsInternal)SourceRecoverPoint).RecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetailsInternal)SourceRecoverPoint).RecoveryPointId = value ?? null; } + public string SourceRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetailsInternal)SourceRecoverPoint).RecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetailsInternal)SourceRecoverPoint).RecoveryPointId = value ?? null; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public global::System.DateTime? SourceRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetailsInternal)SourceRecoverPoint).RecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetailsInternal)SourceRecoverPoint).RecoveryPointTime = value ?? default(global::System.DateTime); } + public global::System.DateTime? SourceRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetailsInternal)SourceRecoverPoint).RecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetailsInternal)SourceRecoverPoint).RecoveryPointTime = value ?? default(global::System.DateTime); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[] _subTask; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[] _subTask; /// List of Sub Tasks of the job [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[] SubTask { get => this._subTask; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[] SubTask { get => this._subTask; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails _targetRecoverPoint; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails _targetRecoverPoint; /// Details of the Target Recovery Point [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails TargetRecoverPoint { get => (this._targetRecoverPoint = this._targetRecoverPoint ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetails()); } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails TargetRecoverPoint { get => (this._targetRecoverPoint = this._targetRecoverPoint ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetails()); } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string TargetRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetailsInternal)TargetRecoverPoint).RecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetailsInternal)TargetRecoverPoint).RecoveryPointId = value ?? null; } + public string TargetRecoverPointRecoveryPointId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetailsInternal)TargetRecoverPoint).RecoveryPointId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetailsInternal)TargetRecoverPoint).RecoveryPointId = value ?? null; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public global::System.DateTime? TargetRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetailsInternal)TargetRecoverPoint).RecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetailsInternal)TargetRecoverPoint).RecoveryPointTime = value ?? default(global::System.DateTime); } + public global::System.DateTime? TargetRecoverPointRecoveryPointTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetailsInternal)TargetRecoverPoint).RecoveryPointTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetailsInternal)TargetRecoverPoint).RecoveryPointTime = value ?? default(global::System.DateTime); } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[] _warningDetail; + + /// A List, detailing the warnings related to the job + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[] WarningDetail { get => this._warningDetail; } /// Creates an new instance. public JobExtendedInfo() @@ -108,8 +118,8 @@ public partial interface IJobExtendedInfo : ReadOnly = false, Description = @"Job's Additional Details", SerializedName = @"additionalDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails AdditionalDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails AdditionalDetail { get; set; } /// State of the Backup Instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -156,8 +166,8 @@ public partial interface IJobExtendedInfo : ReadOnly = true, Description = @"List of Sub Tasks of the job", SerializedName = @"subTasks", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[] SubTask { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[] SubTask { get; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -174,6 +184,14 @@ public partial interface IJobExtendedInfo : SerializedName = @"recoveryPointTime", PossibleTypes = new [] { typeof(global::System.DateTime) })] global::System.DateTime? TargetRecoverPointRecoveryPointTime { get; set; } + /// A List, detailing the warnings related to the job + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"A List, detailing the warnings related to the job", + SerializedName = @"warningDetails", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[] WarningDetail { get; } } /// Extended Information about the job @@ -181,7 +199,7 @@ internal partial interface IJobExtendedInfoInternal { /// Job's Additional Details - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails AdditionalDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails AdditionalDetail { get; set; } /// State of the Backup Instance string BackupInstanceState { get; set; } /// Number of bytes transferred @@ -189,19 +207,21 @@ internal partial interface IJobExtendedInfoInternal /// Destination where restore is done string RecoveryDestination { get; set; } /// Details of the Source Recovery Point - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails SourceRecoverPoint { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails SourceRecoverPoint { get; set; } string SourceRecoverPointRecoveryPointId { get; set; } global::System.DateTime? SourceRecoverPointRecoveryPointTime { get; set; } /// List of Sub Tasks of the job - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask[] SubTask { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask[] SubTask { get; set; } /// Details of the Target Recovery Point - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails TargetRecoverPoint { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails TargetRecoverPoint { get; set; } string TargetRecoverPointRecoveryPointId { get; set; } global::System.DateTime? TargetRecoverPointRecoveryPointTime { get; set; } + /// A List, detailing the warnings related to the job + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail[] WarningDetail { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfo.json.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfo.json.cs index 5272ee38993a..bb10151c6abf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfo.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class JobExtendedInfo partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new JobExtendedInfo(json) : null; } @@ -77,13 +77,14 @@ internal JobExtendedInfo(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runti { return; } - {_sourceRecoverPoint = If( json?.PropertyT("sourceRecoverPoint"), out var __jsonSourceRecoverPoint) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetails.FromJson(__jsonSourceRecoverPoint) : SourceRecoverPoint;} - {_targetRecoverPoint = If( json?.PropertyT("targetRecoverPoint"), out var __jsonTargetRecoverPoint) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreJobRecoveryPointDetails.FromJson(__jsonTargetRecoverPoint) : TargetRecoverPoint;} - {_additionalDetail = If( json?.PropertyT("additionalDetails"), out var __jsonAdditionalDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfoAdditionalDetails.FromJson(__jsonAdditionalDetails) : AdditionalDetail;} + {_sourceRecoverPoint = If( json?.PropertyT("sourceRecoverPoint"), out var __jsonSourceRecoverPoint) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetails.FromJson(__jsonSourceRecoverPoint) : SourceRecoverPoint;} + {_targetRecoverPoint = If( json?.PropertyT("targetRecoverPoint"), out var __jsonTargetRecoverPoint) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreJobRecoveryPointDetails.FromJson(__jsonTargetRecoverPoint) : TargetRecoverPoint;} + {_additionalDetail = If( json?.PropertyT("additionalDetails"), out var __jsonAdditionalDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfoAdditionalDetails.FromJson(__jsonAdditionalDetails) : AdditionalDetail;} {_backupInstanceState = If( json?.PropertyT("backupInstanceState"), out var __jsonBackupInstanceState) ? (string)__jsonBackupInstanceState : (string)BackupInstanceState;} {_dataTransferredInByte = If( json?.PropertyT("dataTransferredInBytes"), out var __jsonDataTransferredInBytes) ? (double?)__jsonDataTransferredInBytes : DataTransferredInByte;} {_recoveryDestination = If( json?.PropertyT("recoveryDestination"), out var __jsonRecoveryDestination) ? (string)__jsonRecoveryDestination : (string)RecoveryDestination;} - {_subTask = If( json?.PropertyT("subTasks"), out var __jsonSubTasks) ? If( __jsonSubTasks as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobSubTask.FromJson(__u) )) ))() : null : SubTask;} + {_subTask = If( json?.PropertyT("subTasks"), out var __jsonSubTasks) ? If( __jsonSubTasks as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobSubTask.FromJson(__u) )) ))() : null : SubTask;} + {_warningDetail = If( json?.PropertyT("warningDetails"), out var __jsonWarningDetails) ? If( __jsonWarningDetails as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingWarningDetail.FromJson(__p) )) ))() : null : WarningDetail;} AfterFromJson(json); } @@ -139,6 +140,18 @@ public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode T container.Add("subTasks",__w); } } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeReadOnly)) + { + if (null != this._warningDetail) + { + var __r = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.XNodeArray(); + foreach( var __s in this._warningDetail ) + { + AddIf(__s?.ToJson(null, serializationMode) ,__r.Add); + } + container.Add("warningDetails",__r); + } + } AfterToJson(ref container); return container; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfoAdditionalDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfoAdditionalDetails.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfoAdditionalDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfoAdditionalDetails.PowerShell.cs index f27f5573308a..c9335be6b4bd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfoAdditionalDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfoAdditionalDetails.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class JobExtendedInfoAdditionalDetails partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new JobExtendedInfoAdditionalDetails(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobExtendedInfoAdditionalDetails(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -109,7 +109,7 @@ internal JobExtendedInfoAdditionalDetails(global::System.Collections.IDictionary } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfoAdditionalDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfoAdditionalDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfoAdditionalDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfoAdditionalDetails.TypeConverter.cs index 47909e4aec84..32ccda577a97 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfoAdditionalDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfoAdditionalDetails.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfoAdditionalDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfoAdditionalDetails.cs similarity index 91% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfoAdditionalDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfoAdditionalDetails.cs index 4024501e8ad2..ca4e61fbb3a6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfoAdditionalDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfoAdditionalDetails.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Job's Additional Details public partial class JobExtendedInfoAdditionalDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetailsInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfoAdditionalDetails.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfoAdditionalDetails.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfoAdditionalDetails.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfoAdditionalDetails.dictionary.cs index 21d17c8e7571..2a09fea8a015 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfoAdditionalDetails.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfoAdditionalDetails.dictionary.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,6 +70,6 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) /// - public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobExtendedInfoAdditionalDetails source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobExtendedInfoAdditionalDetails source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfoAdditionalDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfoAdditionalDetails.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfoAdditionalDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfoAdditionalDetails.json.cs index 0c87c321b2b5..f0a89d1e10e7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobExtendedInfoAdditionalDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobExtendedInfoAdditionalDetails.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class JobExtendedInfoAdditionalDetails partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobExtendedInfoAdditionalDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobExtendedInfoAdditionalDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new JobExtendedInfoAdditionalDetails(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTask.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTask.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTask.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTask.PowerShell.cs index c2c2fff2f839..bbf1ca1b0dd2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTask.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTask.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class JobSubTask partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new JobSubTask(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobSubTask(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,29 +103,29 @@ internal JobSubTask(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("AdditionalDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).AdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskAdditionalDetails) content.GetValueForProperty("AdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).AdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobSubTaskAdditionalDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).AdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskAdditionalDetails) content.GetValueForProperty("AdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).AdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobSubTaskAdditionalDetailsTypeConverter.ConvertFrom); } if (content.Contains("TaskId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).TaskId = (int) content.GetValueForProperty("TaskId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).TaskId, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).TaskId = (int) content.GetValueForProperty("TaskId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).TaskId, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } if (content.Contains("TaskName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).TaskName = (string) content.GetValueForProperty("TaskName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).TaskName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).TaskName = (string) content.GetValueForProperty("TaskName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).TaskName, global::System.Convert.ToString); } if (content.Contains("TaskProgress")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).TaskProgress = (string) content.GetValueForProperty("TaskProgress",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).TaskProgress, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).TaskProgress = (string) content.GetValueForProperty("TaskProgress",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).TaskProgress, global::System.Convert.ToString); } if (content.Contains("TaskStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).TaskStatus = (string) content.GetValueForProperty("TaskStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).TaskStatus, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).TaskStatus = (string) content.GetValueForProperty("TaskStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).TaskStatus, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -140,23 +140,23 @@ internal JobSubTask(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("AdditionalDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).AdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskAdditionalDetails) content.GetValueForProperty("AdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).AdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobSubTaskAdditionalDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).AdditionalDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskAdditionalDetails) content.GetValueForProperty("AdditionalDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).AdditionalDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobSubTaskAdditionalDetailsTypeConverter.ConvertFrom); } if (content.Contains("TaskId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).TaskId = (int) content.GetValueForProperty("TaskId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).TaskId, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).TaskId = (int) content.GetValueForProperty("TaskId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).TaskId, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); } if (content.Contains("TaskName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).TaskName = (string) content.GetValueForProperty("TaskName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).TaskName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).TaskName = (string) content.GetValueForProperty("TaskName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).TaskName, global::System.Convert.ToString); } if (content.Contains("TaskProgress")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).TaskProgress = (string) content.GetValueForProperty("TaskProgress",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).TaskProgress, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).TaskProgress = (string) content.GetValueForProperty("TaskProgress",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).TaskProgress, global::System.Convert.ToString); } if (content.Contains("TaskStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).TaskStatus = (string) content.GetValueForProperty("TaskStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal)this).TaskStatus, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).TaskStatus = (string) content.GetValueForProperty("TaskStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal)this).TaskStatus, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTask.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTask.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTask.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTask.TypeConverter.cs index f9c3dfe66284..029647ed074d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTask.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTask.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTask.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTask.cs similarity index 91% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTask.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTask.cs index cb5c4d4f0c6e..070df07e364c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTask.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTask.cs @@ -3,25 +3,25 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Details of Job's Sub Task public partial class JobSubTask : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskAdditionalDetails _additionalDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskAdditionalDetails _additionalDetail; /// Additional details of Sub Tasks [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskAdditionalDetails AdditionalDetail { get => (this._additionalDetail = this._additionalDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobSubTaskAdditionalDetails()); set => this._additionalDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskAdditionalDetails AdditionalDetail { get => (this._additionalDetail = this._additionalDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobSubTaskAdditionalDetails()); set => this._additionalDetail = value; } /// Internal Acessors for TaskProgress - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskInternal.TaskProgress { get => this._taskProgress; set { {_taskProgress = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskInternal.TaskProgress { get => this._taskProgress; set { {_taskProgress = value;} } } /// Backing field for property. private int _taskId; @@ -67,8 +67,8 @@ public partial interface IJobSubTask : ReadOnly = false, Description = @"Additional details of Sub Tasks", SerializedName = @"additionalDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskAdditionalDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskAdditionalDetails AdditionalDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskAdditionalDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskAdditionalDetails AdditionalDetail { get; set; } /// Task Id of the Sub Task [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = true, @@ -108,7 +108,7 @@ internal partial interface IJobSubTaskInternal { /// Additional details of Sub Tasks - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskAdditionalDetails AdditionalDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskAdditionalDetails AdditionalDetail { get; set; } /// Task Id of the Sub Task int TaskId { get; set; } /// Name of the Sub Task diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTask.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTask.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTask.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTask.json.cs index 7aa80601ac8c..50ebe38822fc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTask.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTask.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class JobSubTask partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTask FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTask FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new JobSubTask(json) : null; } @@ -77,7 +77,7 @@ internal JobSubTask(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Js { return; } - {_additionalDetail = If( json?.PropertyT("additionalDetails"), out var __jsonAdditionalDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobSubTaskAdditionalDetails.FromJson(__jsonAdditionalDetails) : AdditionalDetail;} + {_additionalDetail = If( json?.PropertyT("additionalDetails"), out var __jsonAdditionalDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobSubTaskAdditionalDetails.FromJson(__jsonAdditionalDetails) : AdditionalDetail;} {_taskId = If( json?.PropertyT("taskId"), out var __jsonTaskId) ? (int)__jsonTaskId : TaskId;} {_taskName = If( json?.PropertyT("taskName"), out var __jsonTaskName) ? (string)__jsonTaskName : (string)TaskName;} {_taskProgress = If( json?.PropertyT("taskProgress"), out var __jsonTaskProgress) ? (string)__jsonTaskProgress : (string)TaskProgress;} diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTaskAdditionalDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTaskAdditionalDetails.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTaskAdditionalDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTaskAdditionalDetails.PowerShell.cs index 92be31f01a4e..d08ea4334976 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTaskAdditionalDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTaskAdditionalDetails.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class JobSubTaskAdditionalDetails partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskAdditionalDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskAdditionalDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new JobSubTaskAdditionalDetails(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskAdditionalDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskAdditionalDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobSubTaskAdditionalDetails(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskAdditionalDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskAdditionalDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -109,7 +109,7 @@ internal JobSubTaskAdditionalDetails(global::System.Collections.IDictionary cont } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTaskAdditionalDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTaskAdditionalDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTaskAdditionalDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTaskAdditionalDetails.TypeConverter.cs index 111110250824..a1972d0be5d1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTaskAdditionalDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTaskAdditionalDetails.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskAdditionalDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskAdditionalDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskAdditionalDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskAdditionalDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTaskAdditionalDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTaskAdditionalDetails.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTaskAdditionalDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTaskAdditionalDetails.cs index a706e542e858..779c78875086 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTaskAdditionalDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTaskAdditionalDetails.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Additional details of Sub Tasks public partial class JobSubTaskAdditionalDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskAdditionalDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskAdditionalDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskAdditionalDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskAdditionalDetailsInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTaskAdditionalDetails.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTaskAdditionalDetails.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTaskAdditionalDetails.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTaskAdditionalDetails.dictionary.cs index bc26a20472a6..773b50c1100c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTaskAdditionalDetails.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTaskAdditionalDetails.dictionary.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,6 +70,6 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) /// - public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.JobSubTaskAdditionalDetails source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.JobSubTaskAdditionalDetails source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTaskAdditionalDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTaskAdditionalDetails.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTaskAdditionalDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTaskAdditionalDetails.json.cs index 2871f94f3e43..2c984a57028f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/JobSubTaskAdditionalDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/JobSubTaskAdditionalDetails.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class JobSubTaskAdditionalDetails partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskAdditionalDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskAdditionalDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskAdditionalDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskAdditionalDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IJobSubTaskAdditionalDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IJobSubTaskAdditionalDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new JobSubTaskAdditionalDetails(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterBackupDatasourceParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterBackupDatasourceParameters.PowerShell.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterBackupDatasourceParameters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterBackupDatasourceParameters.PowerShell.cs index 4765ee9afcd2..bab9979b56ff 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterBackupDatasourceParameters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterBackupDatasourceParameters.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class KubernetesClusterBackupDatasourceParameters partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new KubernetesClusterBackupDatasourceParameters(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new KubernetesClusterBackupDatasourceParameters(content); } @@ -90,10 +90,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -108,45 +108,45 @@ internal KubernetesClusterBackupDatasourceParameters(global::System.Collections. // actually deserialize if (content.Contains("SnapshotVolume")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).SnapshotVolume = (bool) content.GetValueForProperty("SnapshotVolume",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).SnapshotVolume, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).SnapshotVolume = (bool) content.GetValueForProperty("SnapshotVolume",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).SnapshotVolume, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IncludeClusterScopeResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IncludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("IncludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("LabelSelector")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("BackupHookReference")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).BackupHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource[]) content.GetValueForProperty("BackupHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).BackupHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.NamespacedNameResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).BackupHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[]) content.GetValueForProperty("BackupHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).BackupHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResourceTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -161,39 +161,39 @@ internal KubernetesClusterBackupDatasourceParameters(global::System.Management.A // actually deserialize if (content.Contains("SnapshotVolume")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).SnapshotVolume = (bool) content.GetValueForProperty("SnapshotVolume",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).SnapshotVolume, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).SnapshotVolume = (bool) content.GetValueForProperty("SnapshotVolume",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).SnapshotVolume, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IncludeClusterScopeResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IncludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("IncludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("LabelSelector")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("BackupHookReference")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).BackupHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource[]) content.GetValueForProperty("BackupHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal)this).BackupHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.NamespacedNameResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).BackupHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[]) content.GetValueForProperty("BackupHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal)this).BackupHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResourceTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterBackupDatasourceParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterBackupDatasourceParameters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterBackupDatasourceParameters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterBackupDatasourceParameters.TypeConverter.cs index 681355e27f03..b1672db8ff99 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterBackupDatasourceParameters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterBackupDatasourceParameters.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -110,14 +110,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterBackupDatasourceParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterBackupDatasourceParameters.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterBackupDatasourceParameters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterBackupDatasourceParameters.cs index c3122b82c32b..715ac1fa08a2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterBackupDatasourceParameters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterBackupDatasourceParameters.cs @@ -3,30 +3,30 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Parameters for Kubernetes Cluster Backup Datasource public partial class KubernetesClusterBackupDatasourceParameters : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParameters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParametersInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParametersInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters __backupDatasourceParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupDatasourceParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters __backupDatasourceParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupDatasourceParameters(); /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource[] _backupHookReference; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[] _backupHookReference; /// /// Gets or sets the backup hook references. This property sets the hook reference to be executed during backup. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource[] BackupHookReference { get => this._backupHookReference; set => this._backupHookReference = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[] BackupHookReference { get => this._backupHookReference; set => this._backupHookReference = value; } /// Backing field for property. private string[] _excludedNamespace; @@ -86,7 +86,7 @@ public partial class KubernetesClusterBackupDatasourceParameters : /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal)__backupDatasourceParameters).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal)__backupDatasourceParameters).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal)__backupDatasourceParameters).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal)__backupDatasourceParameters).ObjectType = value ; } /// Backing field for property. private bool _snapshotVolume; @@ -120,7 +120,7 @@ public KubernetesClusterBackupDatasourceParameters() /// Parameters for Kubernetes Cluster Backup Datasource public partial interface IKubernetesClusterBackupDatasourceParameters : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters { /// /// Gets or sets the backup hook references. This property sets the hook reference to be executed during backup. @@ -130,8 +130,8 @@ public partial interface IKubernetesClusterBackupDatasourceParameters : ReadOnly = false, Description = @"Gets or sets the backup hook references. This property sets the hook reference to be executed during backup.", SerializedName = @"backupHookReferences", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource[] BackupHookReference { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[] BackupHookReference { get; set; } /// /// Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup. /// @@ -208,12 +208,12 @@ public partial interface IKubernetesClusterBackupDatasourceParameters : } /// Parameters for Kubernetes Cluster Backup Datasource internal partial interface IKubernetesClusterBackupDatasourceParametersInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParametersInternal { /// /// Gets or sets the backup hook references. This property sets the hook reference to be executed during backup. /// - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource[] BackupHookReference { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[] BackupHookReference { get; set; } /// /// Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during backup. /// diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterBackupDatasourceParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterBackupDatasourceParameters.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterBackupDatasourceParameters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterBackupDatasourceParameters.json.cs index 9e4766af2ae8..d97f6ec190ba 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterBackupDatasourceParameters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterBackupDatasourceParameters.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class KubernetesClusterBackupDatasourceParameters partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParameters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParameters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterBackupDatasourceParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterBackupDatasourceParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new KubernetesClusterBackupDatasourceParameters(json) : null; } @@ -77,7 +77,7 @@ internal KubernetesClusterBackupDatasourceParameters(Microsoft.Azure.PowerShell. { return; } - __backupDatasourceParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupDatasourceParameters(json); + __backupDatasourceParameters = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupDatasourceParameters(json); {_snapshotVolume = If( json?.PropertyT("snapshotVolumes"), out var __jsonSnapshotVolumes) ? (bool)__jsonSnapshotVolumes : SnapshotVolume;} {_includeClusterScopeResource = If( json?.PropertyT("includeClusterScopeResources"), out var __jsonIncludeClusterScopeResources) ? (bool)__jsonIncludeClusterScopeResources : IncludeClusterScopeResource;} {_includedNamespace = If( json?.PropertyT("includedNamespaces"), out var __jsonIncludedNamespaces) ? If( __jsonIncludedNamespaces as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : IncludedNamespace;} @@ -85,7 +85,7 @@ internal KubernetesClusterBackupDatasourceParameters(Microsoft.Azure.PowerShell. {_includedResourceType = If( json?.PropertyT("includedResourceTypes"), out var __jsonIncludedResourceTypes) ? If( __jsonIncludedResourceTypes as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __l) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__l, (__k)=>(string) (__k is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __j ? (string)(__j.ToString()) : null)) ))() : null : IncludedResourceType;} {_excludedResourceType = If( json?.PropertyT("excludedResourceTypes"), out var __jsonExcludedResourceTypes) ? If( __jsonExcludedResourceTypes as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __g) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__g, (__f)=>(string) (__f is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __e ? (string)(__e.ToString()) : null)) ))() : null : ExcludedResourceType;} {_labelSelector = If( json?.PropertyT("labelSelectors"), out var __jsonLabelSelectors) ? If( __jsonLabelSelectors as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __b) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__b, (__a)=>(string) (__a is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString ___z ? (string)(___z.ToString()) : null)) ))() : null : LabelSelector;} - {_backupHookReference = If( json?.PropertyT("backupHookReferences"), out var __jsonBackupHookReferences) ? If( __jsonBackupHookReferences as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var ___w) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(___w, (___v)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.NamespacedNameResource.FromJson(___v) )) ))() : null : BackupHookReference;} + {_backupHookReference = If( json?.PropertyT("backupHookReferences"), out var __jsonBackupHookReferences) ? If( __jsonBackupHookReferences as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var ___w) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(___w, (___v)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResource.FromJson(___v) )) ))() : null : BackupHookReference;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteria.PowerShell.cs similarity index 80% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteria.PowerShell.cs index ca0e48eb9a6f..c711fb72ae74 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteria.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class KubernetesClusterRestoreCriteria partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new KubernetesClusterRestoreCriteria(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new KubernetesClusterRestoreCriteria(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,53 +105,53 @@ internal KubernetesClusterRestoreCriteria(global::System.Collections.IDictionary // actually deserialize if (content.Contains("IncludeClusterScopeResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IncludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("IncludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("LabelSelector")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("PersistentVolumeRestoreMode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).PersistentVolumeRestoreMode = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode?) content.GetValueForProperty("PersistentVolumeRestoreMode",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).PersistentVolumeRestoreMode, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).PersistentVolumeRestoreMode = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode?) content.GetValueForProperty("PersistentVolumeRestoreMode",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).PersistentVolumeRestoreMode, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode.CreateFrom); } if (content.Contains("ConflictPolicy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).ConflictPolicy = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy?) content.GetValueForProperty("ConflictPolicy",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).ConflictPolicy, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).ConflictPolicy = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy?) content.GetValueForProperty("ConflictPolicy",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).ConflictPolicy, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy.CreateFrom); } if (content.Contains("NamespaceMapping")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).NamespaceMapping = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaNamespaceMappings) content.GetValueForProperty("NamespaceMapping",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).NamespaceMapping, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteriaNamespaceMappingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).NamespaceMapping = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaNamespaceMappings) content.GetValueForProperty("NamespaceMapping",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).NamespaceMapping, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteriaNamespaceMappingsTypeConverter.ConvertFrom); } if (content.Contains("RestoreHookReference")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).RestoreHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource[]) content.GetValueForProperty("RestoreHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).RestoreHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.NamespacedNameResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).RestoreHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[]) content.GetValueForProperty("RestoreHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).RestoreHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResourceTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -166,47 +166,47 @@ internal KubernetesClusterRestoreCriteria(global::System.Management.Automation.P // actually deserialize if (content.Contains("IncludeClusterScopeResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IncludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedNamespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("IncludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ExcludedResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("LabelSelector")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("PersistentVolumeRestoreMode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).PersistentVolumeRestoreMode = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode?) content.GetValueForProperty("PersistentVolumeRestoreMode",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).PersistentVolumeRestoreMode, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).PersistentVolumeRestoreMode = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode?) content.GetValueForProperty("PersistentVolumeRestoreMode",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).PersistentVolumeRestoreMode, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode.CreateFrom); } if (content.Contains("ConflictPolicy")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).ConflictPolicy = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy?) content.GetValueForProperty("ConflictPolicy",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).ConflictPolicy, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).ConflictPolicy = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy?) content.GetValueForProperty("ConflictPolicy",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).ConflictPolicy, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy.CreateFrom); } if (content.Contains("NamespaceMapping")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).NamespaceMapping = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaNamespaceMappings) content.GetValueForProperty("NamespaceMapping",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).NamespaceMapping, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteriaNamespaceMappingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).NamespaceMapping = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaNamespaceMappings) content.GetValueForProperty("NamespaceMapping",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).NamespaceMapping, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteriaNamespaceMappingsTypeConverter.ConvertFrom); } if (content.Contains("RestoreHookReference")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).RestoreHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource[]) content.GetValueForProperty("RestoreHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal)this).RestoreHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.NamespacedNameResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).RestoreHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[]) content.GetValueForProperty("RestoreHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal)this).RestoreHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResourceTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteria.TypeConverter.cs index 22c7765ee222..62b9e201c5da 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteria.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteria.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteria.cs index d5283af2d6bc..be62f0254668 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteria.cs @@ -3,21 +3,21 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// kubernetes Cluster Backup target info for restore operation public partial class KubernetesClusterRestoreCriteria : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreCriteria(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreCriteria(); /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy? _conflictPolicy; @@ -85,17 +85,17 @@ public partial class KubernetesClusterRestoreCriteria : public string[] LabelSelector { get => this._labelSelector; set => this._labelSelector = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaNamespaceMappings _namespaceMapping; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaNamespaceMappings _namespaceMapping; /// /// Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaNamespaceMappings NamespaceMapping { get => (this._namespaceMapping = this._namespaceMapping ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteriaNamespaceMappings()); set => this._namespaceMapping = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaNamespaceMappings NamespaceMapping { get => (this._namespaceMapping = this._namespaceMapping ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteriaNamespaceMappings()); set => this._namespaceMapping = value; } /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode? _persistentVolumeRestoreMode; @@ -107,13 +107,13 @@ public partial class KubernetesClusterRestoreCriteria : public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode? PersistentVolumeRestoreMode { get => this._persistentVolumeRestoreMode; set => this._persistentVolumeRestoreMode = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource[] _restoreHookReference; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[] _restoreHookReference; /// /// Gets or sets the restore hook references. This property sets the hook reference to be executed during restore. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource[] RestoreHookReference { get => this._restoreHookReference; set => this._restoreHookReference = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[] RestoreHookReference { get => this._restoreHookReference; set => this._restoreHookReference = value; } /// Creates an new instance. public KubernetesClusterRestoreCriteria() @@ -136,7 +136,7 @@ public KubernetesClusterRestoreCriteria() /// kubernetes Cluster Backup target info for restore operation public partial interface IKubernetesClusterRestoreCriteria : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria { /// /// Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore. @@ -218,8 +218,8 @@ public partial interface IKubernetesClusterRestoreCriteria : ReadOnly = false, Description = @"Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore.", SerializedName = @"namespaceMappings", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaNamespaceMappings) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaNamespaceMappings NamespaceMapping { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaNamespaceMappings) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaNamespaceMappings NamespaceMapping { get; set; } /// /// Gets or sets the PV (Persistent Volume) Restore Mode property. This property sets whether volumes needs to be restored. /// @@ -238,13 +238,13 @@ public partial interface IKubernetesClusterRestoreCriteria : ReadOnly = false, Description = @"Gets or sets the restore hook references. This property sets the hook reference to be executed during restore.", SerializedName = @"restoreHookReferences", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource[] RestoreHookReference { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[] RestoreHookReference { get; set; } } /// kubernetes Cluster Backup target info for restore operation internal partial interface IKubernetesClusterRestoreCriteriaInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal { /// /// Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore. @@ -279,7 +279,7 @@ internal partial interface IKubernetesClusterRestoreCriteriaInternal : /// /// Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore. /// - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaNamespaceMappings NamespaceMapping { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaNamespaceMappings NamespaceMapping { get; set; } /// /// Gets or sets the PV (Persistent Volume) Restore Mode property. This property sets whether volumes needs to be restored. /// @@ -287,7 +287,7 @@ internal partial interface IKubernetesClusterRestoreCriteriaInternal : /// /// Gets or sets the restore hook references. This property sets the hook reference to be executed during restore. /// - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource[] RestoreHookReference { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[] RestoreHookReference { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteria.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteria.json.cs index f6ea81dba079..b0003cdf787c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteria.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class KubernetesClusterRestoreCriteria partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteria. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteria. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new KubernetesClusterRestoreCriteria(json) : null; } @@ -77,7 +77,7 @@ internal KubernetesClusterRestoreCriteria(Microsoft.Azure.PowerShell.Cmdlets.Dat { return; } - __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreCriteria(json); + __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreCriteria(json); {_includeClusterScopeResource = If( json?.PropertyT("includeClusterScopeResources"), out var __jsonIncludeClusterScopeResources) ? (bool)__jsonIncludeClusterScopeResources : IncludeClusterScopeResource;} {_includedNamespace = If( json?.PropertyT("includedNamespaces"), out var __jsonIncludedNamespaces) ? If( __jsonIncludedNamespaces as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : IncludedNamespace;} {_excludedNamespace = If( json?.PropertyT("excludedNamespaces"), out var __jsonExcludedNamespaces) ? If( __jsonExcludedNamespaces as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(string) (__p is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __o ? (string)(__o.ToString()) : null)) ))() : null : ExcludedNamespace;} @@ -86,8 +86,8 @@ internal KubernetesClusterRestoreCriteria(Microsoft.Azure.PowerShell.Cmdlets.Dat {_labelSelector = If( json?.PropertyT("labelSelectors"), out var __jsonLabelSelectors) ? If( __jsonLabelSelectors as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __b) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__b, (__a)=>(string) (__a is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString ___z ? (string)(___z.ToString()) : null)) ))() : null : LabelSelector;} {_persistentVolumeRestoreMode = If( json?.PropertyT("persistentVolumeRestoreMode"), out var __jsonPersistentVolumeRestoreMode) ? (string)__jsonPersistentVolumeRestoreMode : (string)PersistentVolumeRestoreMode;} {_conflictPolicy = If( json?.PropertyT("conflictPolicy"), out var __jsonConflictPolicy) ? (string)__jsonConflictPolicy : (string)ConflictPolicy;} - {_namespaceMapping = If( json?.PropertyT("namespaceMappings"), out var __jsonNamespaceMappings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteriaNamespaceMappings.FromJson(__jsonNamespaceMappings) : NamespaceMapping;} - {_restoreHookReference = If( json?.PropertyT("restoreHookReferences"), out var __jsonRestoreHookReferences) ? If( __jsonRestoreHookReferences as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var ___w) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(___w, (___v)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.NamespacedNameResource.FromJson(___v) )) ))() : null : RestoreHookReference;} + {_namespaceMapping = If( json?.PropertyT("namespaceMappings"), out var __jsonNamespaceMappings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteriaNamespaceMappings.FromJson(__jsonNamespaceMappings) : NamespaceMapping;} + {_restoreHookReference = If( json?.PropertyT("restoreHookReferences"), out var __jsonRestoreHookReferences) ? If( __jsonRestoreHookReferences as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var ___w) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(___w, (___v)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResource.FromJson(___v) )) ))() : null : RestoreHookReference;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteriaNamespaceMappings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteriaNamespaceMappings.PowerShell.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteriaNamespaceMappings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteriaNamespaceMappings.PowerShell.cs index 003b436c4475..d3dd8081d4fc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteriaNamespaceMappings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteriaNamespaceMappings.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -57,29 +57,29 @@ public partial class KubernetesClusterRestoreCriteriaNamespaceMappings partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaNamespaceMappings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaNamespaceMappings DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new KubernetesClusterRestoreCriteriaNamespaceMappings(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaNamespaceMappings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaNamespaceMappings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new KubernetesClusterRestoreCriteriaNamespaceMappings(content); } @@ -92,10 +92,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaNamespaceMappings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaNamespaceMappings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -114,7 +114,7 @@ internal KubernetesClusterRestoreCriteriaNamespaceMappings(global::System.Collec } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteriaNamespaceMappings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteriaNamespaceMappings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteriaNamespaceMappings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteriaNamespaceMappings.TypeConverter.cs index 8b41ad690ec4..9a1ee34e2973 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteriaNamespaceMappings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteriaNamespaceMappings.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -112,14 +112,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// an instance of , or null if there is no suitable /// conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaNamespaceMappings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaNamespaceMappings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaNamespaceMappings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaNamespaceMappings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteriaNamespaceMappings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteriaNamespaceMappings.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteriaNamespaceMappings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteriaNamespaceMappings.cs index 9e4a5504741f..e694e38763dd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteriaNamespaceMappings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteriaNamespaceMappings.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 /// Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore. /// public partial class KubernetesClusterRestoreCriteriaNamespaceMappings : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaNamespaceMappings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaNamespaceMappingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaNamespaceMappings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaNamespaceMappingsInternal { /// diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteriaNamespaceMappings.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteriaNamespaceMappings.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteriaNamespaceMappings.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteriaNamespaceMappings.dictionary.cs index 50bace20b087..c9c524482ab1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteriaNamespaceMappings.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteriaNamespaceMappings.dictionary.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,6 +70,6 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) /// - public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteriaNamespaceMappings source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteriaNamespaceMappings source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteriaNamespaceMappings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteriaNamespaceMappings.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteriaNamespaceMappings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteriaNamespaceMappings.json.cs index 2e9caf429840..10af6fce015e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesClusterRestoreCriteriaNamespaceMappings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterRestoreCriteriaNamespaceMappings.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -56,13 +56,13 @@ public partial class KubernetesClusterRestoreCriteriaNamespaceMappings partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaNamespaceMappings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaNamespaceMappings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaNamespaceMappings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaNamespaceMappings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesClusterRestoreCriteriaNamespaceMappings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterRestoreCriteriaNamespaceMappings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new KubernetesClusterRestoreCriteriaNamespaceMappings(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteria.PowerShell.cs new file mode 100644 index 000000000000..ef025094e6a2 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteria.PowerShell.cs @@ -0,0 +1,245 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// kubernetes Cluster Backup target info for restore operation from vault + [System.ComponentModel.TypeConverter(typeof(KubernetesClusterVaultTierRestoreCriteriaTypeConverter))] + public partial class KubernetesClusterVaultTierRestoreCriteria + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new KubernetesClusterVaultTierRestoreCriteria(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new KubernetesClusterVaultTierRestoreCriteria(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json + /// string. + /// + /// a string containing a JSON serialized instance of this model. + /// + /// an instance of the model class. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal KubernetesClusterVaultTierRestoreCriteria(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("IncludeClusterScopeResource")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("IncludedNamespace")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("ExcludedNamespace")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("IncludedResourceType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("ExcludedResourceType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("LabelSelector")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("PersistentVolumeRestoreMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).PersistentVolumeRestoreMode = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode?) content.GetValueForProperty("PersistentVolumeRestoreMode",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).PersistentVolumeRestoreMode, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode.CreateFrom); + } + if (content.Contains("ConflictPolicy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ConflictPolicy = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy?) content.GetValueForProperty("ConflictPolicy",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ConflictPolicy, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy.CreateFrom); + } + if (content.Contains("NamespaceMapping")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).NamespaceMapping = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings) content.GetValueForProperty("NamespaceMapping",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).NamespaceMapping, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappingsTypeConverter.ConvertFrom); + } + if (content.Contains("RestoreHookReference")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).RestoreHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[]) content.GetValueForProperty("RestoreHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).RestoreHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResourceTypeConverter.ConvertFrom)); + } + if (content.Contains("StagingResourceGroupId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingResourceGroupId = (string) content.GetValueForProperty("StagingResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingResourceGroupId, global::System.Convert.ToString); + } + if (content.Contains("StagingStorageAccountId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingStorageAccountId = (string) content.GetValueForProperty("StagingStorageAccountId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingStorageAccountId, global::System.Convert.ToString); + } + if (content.Contains("ObjectType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal KubernetesClusterVaultTierRestoreCriteria(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("IncludeClusterScopeResource")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludeClusterScopeResource = (bool) content.GetValueForProperty("IncludeClusterScopeResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludeClusterScopeResource, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + } + if (content.Contains("IncludedNamespace")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedNamespace = (string[]) content.GetValueForProperty("IncludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("ExcludedNamespace")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedNamespace = (string[]) content.GetValueForProperty("ExcludedNamespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedNamespace, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("IncludedResourceType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedResourceType = (string[]) content.GetValueForProperty("IncludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).IncludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("ExcludedResourceType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedResourceType = (string[]) content.GetValueForProperty("ExcludedResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ExcludedResourceType, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("LabelSelector")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).LabelSelector = (string[]) content.GetValueForProperty("LabelSelector",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).LabelSelector, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + } + if (content.Contains("PersistentVolumeRestoreMode")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).PersistentVolumeRestoreMode = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode?) content.GetValueForProperty("PersistentVolumeRestoreMode",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).PersistentVolumeRestoreMode, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode.CreateFrom); + } + if (content.Contains("ConflictPolicy")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ConflictPolicy = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy?) content.GetValueForProperty("ConflictPolicy",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).ConflictPolicy, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy.CreateFrom); + } + if (content.Contains("NamespaceMapping")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).NamespaceMapping = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings) content.GetValueForProperty("NamespaceMapping",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).NamespaceMapping, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappingsTypeConverter.ConvertFrom); + } + if (content.Contains("RestoreHookReference")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).RestoreHookReference = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[]) content.GetValueForProperty("RestoreHookReference",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).RestoreHookReference, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResourceTypeConverter.ConvertFrom)); + } + if (content.Contains("StagingResourceGroupId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingResourceGroupId = (string) content.GetValueForProperty("StagingResourceGroupId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingResourceGroupId, global::System.Convert.ToString); + } + if (content.Contains("StagingStorageAccountId")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingStorageAccountId = (string) content.GetValueForProperty("StagingStorageAccountId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal)this).StagingStorageAccountId, global::System.Convert.ToString); + } + if (content.Contains("ObjectType")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + } + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// kubernetes Cluster Backup target info for restore operation from vault + [System.ComponentModel.TypeConverter(typeof(KubernetesClusterVaultTierRestoreCriteriaTypeConverter))] + public partial interface IKubernetesClusterVaultTierRestoreCriteria + + { + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteria.TypeConverter.cs new file mode 100644 index 000000000000..a7f3db254909 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteria.TypeConverter.cs @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class KubernetesClusterVaultTierRestoreCriteriaTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise + /// false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteria ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteria).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return KubernetesClusterVaultTierRestoreCriteria.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return KubernetesClusterVaultTierRestoreCriteria.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return KubernetesClusterVaultTierRestoreCriteria.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteria.cs new file mode 100644 index 000000000000..f8c82eaba93a --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteria.cs @@ -0,0 +1,353 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// kubernetes Cluster Backup target info for restore operation from vault + public partial class KubernetesClusterVaultTierRestoreCriteria : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates + { + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreCriteria(); + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy? _conflictPolicy; + + /// + /// Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore from + /// vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy? ConflictPolicy { get => this._conflictPolicy; set => this._conflictPolicy = value; } + + /// Backing field for property. + private string[] _excludedNamespace; + + /// + /// Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string[] ExcludedNamespace { get => this._excludedNamespace; set => this._excludedNamespace = value; } + + /// Backing field for property. + private string[] _excludedResourceType; + + /// + /// Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore + /// from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string[] ExcludedResourceType { get => this._excludedResourceType; set => this._excludedResourceType = value; } + + /// Backing field for property. + private bool _includeClusterScopeResource; + + /// + /// Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during + /// restore from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public bool IncludeClusterScopeResource { get => this._includeClusterScopeResource; set => this._includeClusterScopeResource = value; } + + /// Backing field for property. + private string[] _includedNamespace; + + /// + /// Gets or sets the include namespaces property. This property sets the namespaces to be included during restore from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string[] IncludedNamespace { get => this._includedNamespace; set => this._includedNamespace = value; } + + /// Backing field for property. + private string[] _includedResourceType; + + /// + /// Gets or sets the include resource types property. This property sets the resource types to be included during restore + /// from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string[] IncludedResourceType { get => this._includedResourceType; set => this._includedResourceType = value; } + + /// Backing field for property. + private string[] _labelSelector; + + /// + /// Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during + /// restore from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string[] LabelSelector { get => this._labelSelector; set => this._labelSelector = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings _namespaceMapping; + + /// + /// Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings NamespaceMapping { get => (this._namespaceMapping = this._namespaceMapping ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings()); set => this._namespaceMapping = value; } + + /// Type of the specific object - used for deserializing + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode? _persistentVolumeRestoreMode; + + /// + /// Gets or sets the PV (Persistent Volume) Restore Mode property. This property sets whether volumes needs to be restored + /// from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode? PersistentVolumeRestoreMode { get => this._persistentVolumeRestoreMode; set => this._persistentVolumeRestoreMode = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[] _restoreHookReference; + + /// + /// Gets or sets the restore hook references. This property sets the hook reference to be executed during restore from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[] RestoreHookReference { get => this._restoreHookReference; set => this._restoreHookReference = value; } + + /// Backing field for property. + private string _stagingResourceGroupId; + + /// + /// Gets or sets the staging RG Id for creating staging disks and snapshots during restore from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string StagingResourceGroupId { get => this._stagingResourceGroupId; set => this._stagingResourceGroupId = value; } + + /// Backing field for property. + private string _stagingStorageAccountId; + + /// + /// Gets or sets the staging Storage Account Id for creating backup extension object store data during restore from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string StagingStorageAccountId { get => this._stagingStorageAccountId; set => this._stagingStorageAccountId = value; } + + /// + /// Creates an new instance. + /// + public KubernetesClusterVaultTierRestoreCriteria() + { + + } + + /// Validates that this object meets the validation criteria. + /// an instance that will receive validation + /// events. + /// + /// A that will be complete when validation is completed. + /// + public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener eventListener) + { + await eventListener.AssertNotNull(nameof(__itemLevelRestoreCriteria), __itemLevelRestoreCriteria); + await eventListener.AssertObjectIsValid(nameof(__itemLevelRestoreCriteria), __itemLevelRestoreCriteria); + } + } + /// kubernetes Cluster Backup target info for restore operation from vault + public partial interface IKubernetesClusterVaultTierRestoreCriteria : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria + { + /// + /// Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore from + /// vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore from vault.", + SerializedName = @"conflictPolicy", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy? ConflictPolicy { get; set; } + /// + /// Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore from vault.", + SerializedName = @"excludedNamespaces", + PossibleTypes = new [] { typeof(string) })] + string[] ExcludedNamespace { get; set; } + /// + /// Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore + /// from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore from vault.", + SerializedName = @"excludedResourceTypes", + PossibleTypes = new [] { typeof(string) })] + string[] ExcludedResourceType { get; set; } + /// + /// Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during + /// restore from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore from vault.", + SerializedName = @"includeClusterScopeResources", + PossibleTypes = new [] { typeof(bool) })] + bool IncludeClusterScopeResource { get; set; } + /// + /// Gets or sets the include namespaces property. This property sets the namespaces to be included during restore from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Gets or sets the include namespaces property. This property sets the namespaces to be included during restore from vault.", + SerializedName = @"includedNamespaces", + PossibleTypes = new [] { typeof(string) })] + string[] IncludedNamespace { get; set; } + /// + /// Gets or sets the include resource types property. This property sets the resource types to be included during restore + /// from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Gets or sets the include resource types property. This property sets the resource types to be included during restore from vault.", + SerializedName = @"includedResourceTypes", + PossibleTypes = new [] { typeof(string) })] + string[] IncludedResourceType { get; set; } + /// + /// Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during + /// restore from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore from vault.", + SerializedName = @"labelSelectors", + PossibleTypes = new [] { typeof(string) })] + string[] LabelSelector { get; set; } + /// + /// Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore from vault.", + SerializedName = @"namespaceMappings", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings NamespaceMapping { get; set; } + /// + /// Gets or sets the PV (Persistent Volume) Restore Mode property. This property sets whether volumes needs to be restored + /// from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Gets or sets the PV (Persistent Volume) Restore Mode property. This property sets whether volumes needs to be restored from vault.", + SerializedName = @"persistentVolumeRestoreMode", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode? PersistentVolumeRestoreMode { get; set; } + /// + /// Gets or sets the restore hook references. This property sets the hook reference to be executed during restore from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Gets or sets the restore hook references. This property sets the hook reference to be executed during restore from vault.", + SerializedName = @"restoreHookReferences", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[] RestoreHookReference { get; set; } + /// + /// Gets or sets the staging RG Id for creating staging disks and snapshots during restore from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Gets or sets the staging RG Id for creating staging disks and snapshots during restore from vault.", + SerializedName = @"stagingResourceGroupId", + PossibleTypes = new [] { typeof(string) })] + string StagingResourceGroupId { get; set; } + /// + /// Gets or sets the staging Storage Account Id for creating backup extension object store data during restore from vault. + /// + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Gets or sets the staging Storage Account Id for creating backup extension object store data during restore from vault.", + SerializedName = @"stagingStorageAccountId", + PossibleTypes = new [] { typeof(string) })] + string StagingStorageAccountId { get; set; } + + } + /// kubernetes Cluster Backup target info for restore operation from vault + internal partial interface IKubernetesClusterVaultTierRestoreCriteriaInternal : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal + { + /// + /// Gets or sets the Conflict Policy property. This property sets policy during conflict of resources during restore from + /// vault. + /// + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ExistingResourcePolicy? ConflictPolicy { get; set; } + /// + /// Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore from vault. + /// + string[] ExcludedNamespace { get; set; } + /// + /// Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore + /// from vault. + /// + string[] ExcludedResourceType { get; set; } + /// + /// Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during + /// restore from vault. + /// + bool IncludeClusterScopeResource { get; set; } + /// + /// Gets or sets the include namespaces property. This property sets the namespaces to be included during restore from vault. + /// + string[] IncludedNamespace { get; set; } + /// + /// Gets or sets the include resource types property. This property sets the resource types to be included during restore + /// from vault. + /// + string[] IncludedResourceType { get; set; } + /// + /// Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during + /// restore from vault. + /// + string[] LabelSelector { get; set; } + /// + /// Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore from vault. + /// + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings NamespaceMapping { get; set; } + /// + /// Gets or sets the PV (Persistent Volume) Restore Mode property. This property sets whether volumes needs to be restored + /// from vault. + /// + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.PersistentVolumeRestoreMode? PersistentVolumeRestoreMode { get; set; } + /// + /// Gets or sets the restore hook references. This property sets the hook reference to be executed during restore from vault. + /// + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource[] RestoreHookReference { get; set; } + /// + /// Gets or sets the staging RG Id for creating staging disks and snapshots during restore from vault. + /// + string StagingResourceGroupId { get; set; } + /// + /// Gets or sets the staging Storage Account Id for creating backup extension object store data during restore from vault. + /// + string StagingStorageAccountId { get; set; } + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteria.json.cs new file mode 100644 index 000000000000..e706298dc79b --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteria.json.cs @@ -0,0 +1,182 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// kubernetes Cluster Backup target info for restore operation from vault + public partial class KubernetesClusterVaultTierRestoreCriteria + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteria. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteria. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new KubernetesClusterVaultTierRestoreCriteria(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject instance to deserialize from. + internal KubernetesClusterVaultTierRestoreCriteria(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreCriteria(json); + {_includeClusterScopeResource = If( json?.PropertyT("includeClusterScopeResources"), out var __jsonIncludeClusterScopeResources) ? (bool)__jsonIncludeClusterScopeResources : IncludeClusterScopeResource;} + {_includedNamespace = If( json?.PropertyT("includedNamespaces"), out var __jsonIncludedNamespaces) ? If( __jsonIncludedNamespaces as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : IncludedNamespace;} + {_excludedNamespace = If( json?.PropertyT("excludedNamespaces"), out var __jsonExcludedNamespaces) ? If( __jsonExcludedNamespaces as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(string) (__p is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __o ? (string)(__o.ToString()) : null)) ))() : null : ExcludedNamespace;} + {_includedResourceType = If( json?.PropertyT("includedResourceTypes"), out var __jsonIncludedResourceTypes) ? If( __jsonIncludedResourceTypes as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __l) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__l, (__k)=>(string) (__k is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __j ? (string)(__j.ToString()) : null)) ))() : null : IncludedResourceType;} + {_excludedResourceType = If( json?.PropertyT("excludedResourceTypes"), out var __jsonExcludedResourceTypes) ? If( __jsonExcludedResourceTypes as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __g) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__g, (__f)=>(string) (__f is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __e ? (string)(__e.ToString()) : null)) ))() : null : ExcludedResourceType;} + {_labelSelector = If( json?.PropertyT("labelSelectors"), out var __jsonLabelSelectors) ? If( __jsonLabelSelectors as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __b) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__b, (__a)=>(string) (__a is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString ___z ? (string)(___z.ToString()) : null)) ))() : null : LabelSelector;} + {_persistentVolumeRestoreMode = If( json?.PropertyT("persistentVolumeRestoreMode"), out var __jsonPersistentVolumeRestoreMode) ? (string)__jsonPersistentVolumeRestoreMode : (string)PersistentVolumeRestoreMode;} + {_conflictPolicy = If( json?.PropertyT("conflictPolicy"), out var __jsonConflictPolicy) ? (string)__jsonConflictPolicy : (string)ConflictPolicy;} + {_namespaceMapping = If( json?.PropertyT("namespaceMappings"), out var __jsonNamespaceMappings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.FromJson(__jsonNamespaceMappings) : NamespaceMapping;} + {_restoreHookReference = If( json?.PropertyT("restoreHookReferences"), out var __jsonRestoreHookReferences) ? If( __jsonRestoreHookReferences as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var ___w) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(___w, (___v)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResource.FromJson(___v) )) ))() : null : RestoreHookReference;} + {_stagingResourceGroupId = If( json?.PropertyT("stagingResourceGroupId"), out var __jsonStagingResourceGroupId) ? (string)__jsonStagingResourceGroupId : (string)StagingResourceGroupId;} + {_stagingStorageAccountId = If( json?.PropertyT("stagingStorageAccountId"), out var __jsonStagingStorageAccountId) ? (string)__jsonStagingStorageAccountId : (string)StagingStorageAccountId;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + __itemLevelRestoreCriteria?.ToJson(container, serializationMode); + AddIf( (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonBoolean(this._includeClusterScopeResource), "includeClusterScopeResources" ,container.Add ); + if (null != this._includedNamespace) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.XNodeArray(); + foreach( var __x in this._includedNamespace ) + { + AddIf(null != (((object)__x)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(__x.ToString()) : null ,__w.Add); + } + container.Add("includedNamespaces",__w); + } + if (null != this._excludedNamespace) + { + var __r = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.XNodeArray(); + foreach( var __s in this._excludedNamespace ) + { + AddIf(null != (((object)__s)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(__s.ToString()) : null ,__r.Add); + } + container.Add("excludedNamespaces",__r); + } + if (null != this._includedResourceType) + { + var __m = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.XNodeArray(); + foreach( var __n in this._includedResourceType ) + { + AddIf(null != (((object)__n)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(__n.ToString()) : null ,__m.Add); + } + container.Add("includedResourceTypes",__m); + } + if (null != this._excludedResourceType) + { + var __h = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.XNodeArray(); + foreach( var __i in this._excludedResourceType ) + { + AddIf(null != (((object)__i)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(__i.ToString()) : null ,__h.Add); + } + container.Add("excludedResourceTypes",__h); + } + if (null != this._labelSelector) + { + var __c = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.XNodeArray(); + foreach( var __d in this._labelSelector ) + { + AddIf(null != (((object)__d)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(__d.ToString()) : null ,__c.Add); + } + container.Add("labelSelectors",__c); + } + AddIf( null != (((object)this._persistentVolumeRestoreMode)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._persistentVolumeRestoreMode.ToString()) : null, "persistentVolumeRestoreMode" ,container.Add ); + AddIf( null != (((object)this._conflictPolicy)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._conflictPolicy.ToString()) : null, "conflictPolicy" ,container.Add ); + AddIf( null != this._namespaceMapping ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._namespaceMapping.ToJson(null,serializationMode) : null, "namespaceMappings" ,container.Add ); + if (null != this._restoreHookReference) + { + var ___x = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.XNodeArray(); + foreach( var ___y in this._restoreHookReference ) + { + AddIf(___y?.ToJson(null, serializationMode) ,___x.Add); + } + container.Add("restoreHookReferences",___x); + } + AddIf( null != (((object)this._stagingResourceGroupId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._stagingResourceGroupId.ToString()) : null, "stagingResourceGroupId" ,container.Add ); + AddIf( null != (((object)this._stagingStorageAccountId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._stagingStorageAccountId.ToString()) : null, "stagingStorageAccountId" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.PowerShell.cs new file mode 100644 index 000000000000..b0e7deb982ca --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.PowerShell.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore from vault. + /// + [System.ComponentModel.TypeConverter(typeof(KubernetesClusterVaultTierRestoreCriteriaNamespaceMappingsTypeConverter))] + public partial class KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings(content); + } + + /// + /// Creates a new instance of , deserializing the + /// content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// + /// an instance of the model class. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + // this type is a dictionary; copy elements from source to here. + CopyFrom(content); + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + // this type is a dictionary; copy elements from source to here. + CopyFrom(content); + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore from vault. + [System.ComponentModel.TypeConverter(typeof(KubernetesClusterVaultTierRestoreCriteriaNamespaceMappingsTypeConverter))] + public partial interface IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings + + { + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.TypeConverter.cs new file mode 100644 index 000000000000..b8d3cd1fc1f0 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.TypeConverter.cs @@ -0,0 +1,153 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class KubernetesClusterVaultTierRestoreCriteriaNamespaceMappingsTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no + /// suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no + /// suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.cs new file mode 100644 index 000000000000..402602e4fcd1 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.cs @@ -0,0 +1,39 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// + /// Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore from vault. + /// + public partial class KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappingsInternal + { + + /// + /// Creates an new instance. + /// + public KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings() + { + + } + } + /// Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore from vault. + public partial interface IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IAssociativeArray + { + + } + /// Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore from vault. + internal partial interface IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappingsInternal + + { + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.dictionary.cs new file mode 100644 index 000000000000..7909af94121c --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.dictionary.cs @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + public partial class KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IAssociativeArray + { + protected global::System.Collections.Generic.Dictionary __additionalProperties = new global::System.Collections.Generic.Dictionary(); + + global::System.Collections.Generic.IDictionary Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IAssociativeArray.AdditionalProperties { get => __additionalProperties; } + + int Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IAssociativeArray.Count { get => __additionalProperties.Count; } + + global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IAssociativeArray.Keys { get => __additionalProperties.Keys; } + + global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IAssociativeArray.Values { get => __additionalProperties.Values; } + + public string this[global::System.String index] { get => __additionalProperties[index]; set => __additionalProperties[index] = value; } + + /// + /// + public void Add(global::System.String key, string value) => __additionalProperties.Add( key, value); + + public void Clear() => __additionalProperties.Clear(); + + /// + public bool ContainsKey(global::System.String key) => __additionalProperties.ContainsKey( key); + + /// + public void CopyFrom(global::System.Collections.IDictionary source) + { + if (null != source) + { + foreach( var property in Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.TypeConverterExtensions.GetFilteredProperties(source, new global::System.Collections.Generic.HashSet() { } ) ) + { + if ((null != property.Key && null != property.Value)) + { + this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value)); + } + } + } + } + + /// + public void CopyFrom(global::System.Management.Automation.PSObject source) + { + if (null != source) + { + foreach( var property in Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.TypeConverterExtensions.GetFilteredProperties(source, new global::System.Collections.Generic.HashSet() { } ) ) + { + if ((null != property.Key && null != property.Value)) + { + this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value)); + } + } + } + } + + /// + public bool Remove(global::System.String key) => __additionalProperties.Remove( key); + + /// + /// + public bool TryGetValue(global::System.String key, out string value) => __additionalProperties.TryGetValue( key, out value); + + /// + + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings source) => source.__additionalProperties; + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.json.cs new file mode 100644 index 000000000000..a7efb645c18a --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings.json.cs @@ -0,0 +1,114 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// + /// Gets or sets the Namespace Mappings property. This property sets if namespace needs to be change during restore from vault. + /// + public partial class KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesClusterVaultTierRestoreCriteriaNamespaceMappings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject instance to deserialize from. + /// + internal KubernetesClusterVaultTierRestoreCriteriaNamespaceMappings(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json, global::System.Collections.Generic.HashSet exclusions = null) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.JsonSerializable.FromJson( json, ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IAssociativeArray)this).AdditionalProperties, null ,exclusions ); + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.JsonSerializable.ToJson( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IAssociativeArray)this).AdditionalProperties, container); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesPvRestoreCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesPvRestoreCriteria.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesPvRestoreCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesPvRestoreCriteria.PowerShell.cs index bf42384bf5bd..d41d84dce945 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesPvRestoreCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesPvRestoreCriteria.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class KubernetesPvRestoreCriteria partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new KubernetesPvRestoreCriteria(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new KubernetesPvRestoreCriteria(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,21 +105,21 @@ internal KubernetesPvRestoreCriteria(global::System.Collections.IDictionary cont // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteriaInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteriaInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteriaInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteriaInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("StorageClassName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteriaInternal)this).StorageClassName = (string) content.GetValueForProperty("StorageClassName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteriaInternal)this).StorageClassName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteriaInternal)this).StorageClassName = (string) content.GetValueForProperty("StorageClassName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteriaInternal)this).StorageClassName, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -134,15 +134,15 @@ internal KubernetesPvRestoreCriteria(global::System.Management.Automation.PSObje // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteriaInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteriaInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteriaInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteriaInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("StorageClassName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteriaInternal)this).StorageClassName = (string) content.GetValueForProperty("StorageClassName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteriaInternal)this).StorageClassName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteriaInternal)this).StorageClassName = (string) content.GetValueForProperty("StorageClassName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteriaInternal)this).StorageClassName, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesPvRestoreCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesPvRestoreCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesPvRestoreCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesPvRestoreCriteria.TypeConverter.cs index 9757dc3ef7c2..4d2d854318cf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesPvRestoreCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesPvRestoreCriteria.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesPvRestoreCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesPvRestoreCriteria.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesPvRestoreCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesPvRestoreCriteria.cs index 9cb5b230dee8..34230c4c29b1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesPvRestoreCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesPvRestoreCriteria.cs @@ -3,21 +3,21 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Item Level kubernetes persistent volume target info for restore operation public partial class KubernetesPvRestoreCriteria : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteriaInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteriaInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreCriteria(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreCriteria(); /// Backing field for property. private string _name; @@ -28,7 +28,7 @@ public partial class KubernetesPvRestoreCriteria : /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } /// Backing field for property. private string _storageClassName; @@ -58,7 +58,7 @@ public KubernetesPvRestoreCriteria() /// Item Level kubernetes persistent volume target info for restore operation public partial interface IKubernetesPvRestoreCriteria : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria { /// Selected persistent volume claim name [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -80,7 +80,7 @@ public partial interface IKubernetesPvRestoreCriteria : } /// Item Level kubernetes persistent volume target info for restore operation internal partial interface IKubernetesPvRestoreCriteriaInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal { /// Selected persistent volume claim name string Name { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesPvRestoreCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesPvRestoreCriteria.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesPvRestoreCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesPvRestoreCriteria.json.cs index f4f3eee1fc86..36bd633336ea 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesPvRestoreCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesPvRestoreCriteria.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class KubernetesPvRestoreCriteria partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteria. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteria. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesPvRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesPvRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new KubernetesPvRestoreCriteria(json) : null; } @@ -77,7 +77,7 @@ internal KubernetesPvRestoreCriteria(Microsoft.Azure.PowerShell.Cmdlets.DataProt { return; } - __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreCriteria(json); + __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreCriteria(json); {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} {_storageClassName = If( json?.PropertyT("storageClassName"), out var __jsonStorageClassName) ? (string)__jsonStorageClassName : (string)StorageClassName;} AfterFromJson(json); diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesStorageClassRestoreCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesStorageClassRestoreCriteria.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesStorageClassRestoreCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesStorageClassRestoreCriteria.PowerShell.cs index 64a7f63f18a5..96aaad1679ff 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesStorageClassRestoreCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesStorageClassRestoreCriteria.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class KubernetesStorageClassRestoreCriteria partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new KubernetesStorageClassRestoreCriteria(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new KubernetesStorageClassRestoreCriteria(content); } @@ -90,10 +90,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -108,21 +108,21 @@ internal KubernetesStorageClassRestoreCriteria(global::System.Collections.IDicti // actually deserialize if (content.Contains("SelectedStorageClassName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteriaInternal)this).SelectedStorageClassName = (string) content.GetValueForProperty("SelectedStorageClassName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteriaInternal)this).SelectedStorageClassName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteriaInternal)this).SelectedStorageClassName = (string) content.GetValueForProperty("SelectedStorageClassName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteriaInternal)this).SelectedStorageClassName, global::System.Convert.ToString); } if (content.Contains("Provisioner")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteriaInternal)this).Provisioner = (string) content.GetValueForProperty("Provisioner",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteriaInternal)this).Provisioner, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteriaInternal)this).Provisioner = (string) content.GetValueForProperty("Provisioner",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteriaInternal)this).Provisioner, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -137,15 +137,15 @@ internal KubernetesStorageClassRestoreCriteria(global::System.Management.Automat // actually deserialize if (content.Contains("SelectedStorageClassName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteriaInternal)this).SelectedStorageClassName = (string) content.GetValueForProperty("SelectedStorageClassName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteriaInternal)this).SelectedStorageClassName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteriaInternal)this).SelectedStorageClassName = (string) content.GetValueForProperty("SelectedStorageClassName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteriaInternal)this).SelectedStorageClassName, global::System.Convert.ToString); } if (content.Contains("Provisioner")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteriaInternal)this).Provisioner = (string) content.GetValueForProperty("Provisioner",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteriaInternal)this).Provisioner, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteriaInternal)this).Provisioner = (string) content.GetValueForProperty("Provisioner",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteriaInternal)this).Provisioner, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesStorageClassRestoreCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesStorageClassRestoreCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesStorageClassRestoreCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesStorageClassRestoreCriteria.TypeConverter.cs index 6a20e3af9b82..4fe8f21c964f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesStorageClassRestoreCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesStorageClassRestoreCriteria.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -109,14 +109,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesStorageClassRestoreCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesStorageClassRestoreCriteria.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesStorageClassRestoreCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesStorageClassRestoreCriteria.cs index a1512cee1753..768c5f890e0b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesStorageClassRestoreCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesStorageClassRestoreCriteria.cs @@ -3,25 +3,25 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Item Level kubernetes storage class target info for restore operation public partial class KubernetesStorageClassRestoreCriteria : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteriaInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteriaInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreCriteria(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreCriteria(); /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } /// Backing field for property. private string _provisioner; @@ -58,7 +58,7 @@ public KubernetesStorageClassRestoreCriteria() /// Item Level kubernetes storage class target info for restore operation public partial interface IKubernetesStorageClassRestoreCriteria : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria { /// Provisioner of the storage class [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -80,7 +80,7 @@ public partial interface IKubernetesStorageClassRestoreCriteria : } /// Item Level kubernetes storage class target info for restore operation internal partial interface IKubernetesStorageClassRestoreCriteriaInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal { /// Provisioner of the storage class string Provisioner { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesStorageClassRestoreCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesStorageClassRestoreCriteria.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesStorageClassRestoreCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesStorageClassRestoreCriteria.json.cs index b8de101762b2..34f64474ee29 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/KubernetesStorageClassRestoreCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/KubernetesStorageClassRestoreCriteria.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class KubernetesStorageClassRestoreCriteria partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteria. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteria. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IKubernetesStorageClassRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IKubernetesStorageClassRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new KubernetesStorageClassRestoreCriteria(json) : null; } @@ -77,7 +77,7 @@ internal KubernetesStorageClassRestoreCriteria(Microsoft.Azure.PowerShell.Cmdlet { return; } - __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreCriteria(json); + __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreCriteria(json); {_selectedStorageClassName = If( json?.PropertyT("selectedStorageClassName"), out var __jsonSelectedStorageClassName) ? (string)__jsonSelectedStorageClassName : (string)SelectedStorageClassName;} {_provisioner = If( json?.PropertyT("provisioner"), out var __jsonProvisioner) ? (string)__jsonProvisioner : (string)Provisioner;} AfterFromJson(json); diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/MonitoringSettings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/MonitoringSettings.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/MonitoringSettings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/MonitoringSettings.PowerShell.cs index 138dff3e529b..248e5bd65013 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/MonitoringSettings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/MonitoringSettings.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class MonitoringSettings partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new MonitoringSettings(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new MonitoringSettings(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,17 +103,17 @@ internal MonitoringSettings(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("AzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal)this).AzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings) content.GetValueForProperty("AzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal)this).AzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal)this).AzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings) content.GetValueForProperty("AzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal)this).AzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -128,11 +128,11 @@ internal MonitoringSettings(global::System.Management.Automation.PSObject conten // actually deserialize if (content.Contains("AzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal)this).AzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings) content.GetValueForProperty("AzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal)this).AzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal)this).AzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings) content.GetValueForProperty("AzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal)this).AzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/MonitoringSettings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/MonitoringSettings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/MonitoringSettings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/MonitoringSettings.TypeConverter.cs index 1cdb83a9fe31..be5b6195963e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/MonitoringSettings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/MonitoringSettings.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/MonitoringSettings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/MonitoringSettings.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/MonitoringSettings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/MonitoringSettings.cs index c7be001ea891..d579a22f1766 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/MonitoringSettings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/MonitoringSettings.cs @@ -3,28 +3,28 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Monitoring Settings public partial class MonitoringSettings : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings _azureMonitorAlertSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings _azureMonitorAlertSetting; /// Settings for Azure Monitor based alerts [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings AzureMonitorAlertSetting { get => (this._azureMonitorAlertSetting = this._azureMonitorAlertSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureMonitorAlertSettings()); set => this._azureMonitorAlertSetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings AzureMonitorAlertSetting { get => (this._azureMonitorAlertSetting = this._azureMonitorAlertSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureMonitorAlertSettings()); set => this._azureMonitorAlertSetting = value; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState? AzureMonitorAlertsForAllJobFailure { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettingsInternal)AzureMonitorAlertSetting).AlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettingsInternal)AzureMonitorAlertSetting).AlertsForAllJobFailure = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState? AzureMonitorAlertsForAllJobFailure { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettingsInternal)AzureMonitorAlertSetting).AlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettingsInternal)AzureMonitorAlertSetting).AlertsForAllJobFailure = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState)""); } /// Internal Acessors for AzureMonitorAlertSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal.AzureMonitorAlertSetting { get => (this._azureMonitorAlertSetting = this._azureMonitorAlertSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureMonitorAlertSettings()); set { {_azureMonitorAlertSetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal.AzureMonitorAlertSetting { get => (this._azureMonitorAlertSetting = this._azureMonitorAlertSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureMonitorAlertSettings()); set { {_azureMonitorAlertSetting = value;} } } /// Creates an new instance. public MonitoringSettings() @@ -50,7 +50,7 @@ internal partial interface IMonitoringSettingsInternal { /// Settings for Azure Monitor based alerts - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings AzureMonitorAlertSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings AzureMonitorAlertSetting { get; set; } Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState? AzureMonitorAlertsForAllJobFailure { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/MonitoringSettings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/MonitoringSettings.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/MonitoringSettings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/MonitoringSettings.json.cs index 458988952944..d7b4076772f8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/MonitoringSettings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/MonitoringSettings.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class MonitoringSettings partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new MonitoringSettings(json) : null; } @@ -77,7 +77,7 @@ internal MonitoringSettings(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Ru { return; } - {_azureMonitorAlertSetting = If( json?.PropertyT("azureMonitorAlertSettings"), out var __jsonAzureMonitorAlertSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureMonitorAlertSettings.FromJson(__jsonAzureMonitorAlertSettings) : AzureMonitorAlertSetting;} + {_azureMonitorAlertSetting = If( json?.PropertyT("azureMonitorAlertSettings"), out var __jsonAzureMonitorAlertSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureMonitorAlertSettings.FromJson(__jsonAzureMonitorAlertSettings) : AzureMonitorAlertSetting;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/NamespacedNameResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/NamespacedNameResource.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/NamespacedNameResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/NamespacedNameResource.PowerShell.cs index 5a05ced71164..d8582baeb3e4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/NamespacedNameResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/NamespacedNameResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class NamespacedNameResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new NamespacedNameResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new NamespacedNameResource(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,17 +105,17 @@ internal NamespacedNameResource(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Namespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResourceInternal)this).Namespace = (string) content.GetValueForProperty("Namespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResourceInternal)this).Namespace, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResourceInternal)this).Namespace = (string) content.GetValueForProperty("Namespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResourceInternal)this).Namespace, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -130,11 +130,11 @@ internal NamespacedNameResource(global::System.Management.Automation.PSObject co // actually deserialize if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Namespace")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResourceInternal)this).Namespace = (string) content.GetValueForProperty("Namespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResourceInternal)this).Namespace, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResourceInternal)this).Namespace = (string) content.GetValueForProperty("Namespace",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResourceInternal)this).Namespace, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/NamespacedNameResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/NamespacedNameResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/NamespacedNameResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/NamespacedNameResource.TypeConverter.cs index 487471256637..606088566d86 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/NamespacedNameResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/NamespacedNameResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/NamespacedNameResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/NamespacedNameResource.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/NamespacedNameResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/NamespacedNameResource.cs index 3884264861b1..7c4a2ed05082 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/NamespacedNameResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/NamespacedNameResource.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Class to refer resources which contains namespace and name public partial class NamespacedNameResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResourceInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/NamespacedNameResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/NamespacedNameResource.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/NamespacedNameResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/NamespacedNameResource.json.cs index 7b6f608935a7..013705ec7c77 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/NamespacedNameResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/NamespacedNameResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class NamespacedNameResource partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.INamespacedNameResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.INamespacedNameResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new NamespacedNameResource(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationExtendedInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationExtendedInfo.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationExtendedInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationExtendedInfo.PowerShell.cs index ac7c267564ba..c146de4a8a64 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationExtendedInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationExtendedInfo.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class OperationExtendedInfo partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new OperationExtendedInfo(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new OperationExtendedInfo(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,13 +105,13 @@ internal OperationExtendedInfo(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfoInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfoInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfoInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfoInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -126,7 +126,7 @@ internal OperationExtendedInfo(global::System.Management.Automation.PSObject con // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfoInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfoInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfoInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfoInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationExtendedInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationExtendedInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationExtendedInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationExtendedInfo.TypeConverter.cs index 7395b2b2ec22..160b0a55affa 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationExtendedInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationExtendedInfo.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationExtendedInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationExtendedInfo.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationExtendedInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationExtendedInfo.cs index 8747e98f7cb5..f50f49c3df51 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationExtendedInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationExtendedInfo.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Operation Extended Info public partial class OperationExtendedInfo : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfoInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfoInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationExtendedInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationExtendedInfo.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationExtendedInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationExtendedInfo.json.cs index 73b51a4f931d..896d9490721f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationExtendedInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationExtendedInfo.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,15 +54,15 @@ public partial class OperationExtendedInfo partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo interface is polymorphic, /// and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationJobExtendedInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationJobExtendedInfo.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationJobExtendedInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationJobExtendedInfo.PowerShell.cs index 879bfaa6012f..7b1fcfa0b0fb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationJobExtendedInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationJobExtendedInfo.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class OperationJobExtendedInfo partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new OperationJobExtendedInfo(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new OperationJobExtendedInfo(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,17 +105,17 @@ internal OperationJobExtendedInfo(global::System.Collections.IDictionary content // actually deserialize if (content.Contains("JobId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfoInternal)this).JobId = (string) content.GetValueForProperty("JobId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfoInternal)this).JobId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfoInternal)this).JobId = (string) content.GetValueForProperty("JobId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfoInternal)this).JobId, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfoInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfoInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfoInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfoInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -130,11 +130,11 @@ internal OperationJobExtendedInfo(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("JobId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfoInternal)this).JobId = (string) content.GetValueForProperty("JobId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfoInternal)this).JobId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfoInternal)this).JobId = (string) content.GetValueForProperty("JobId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfoInternal)this).JobId, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfoInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfoInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfoInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfoInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationJobExtendedInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationJobExtendedInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationJobExtendedInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationJobExtendedInfo.TypeConverter.cs index 0d4094e4a962..36461c371cce 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationJobExtendedInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationJobExtendedInfo.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationJobExtendedInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationJobExtendedInfo.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationJobExtendedInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationJobExtendedInfo.cs index 62ec33c7dfcc..c2ac5a39f3f8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationJobExtendedInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationJobExtendedInfo.cs @@ -3,26 +3,26 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Operation Job Extended Info public partial class OperationJobExtendedInfo : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfoInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfoInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo __operationExtendedInfo = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationExtendedInfo(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo __operationExtendedInfo = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationExtendedInfo(); /// Backing field for property. private string _jobId; - /// Arm Id of the job created for this operation. + /// Name or Arm Id of the job created for this operation. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] public string JobId { get => this._jobId; set => this._jobId = value; } @@ -30,7 +30,7 @@ public partial class OperationJobExtendedInfo : /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfoInternal)__operationExtendedInfo).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfoInternal)__operationExtendedInfo).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfoInternal)__operationExtendedInfo).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfoInternal)__operationExtendedInfo).ObjectType = value ; } /// Creates an new instance. public OperationJobExtendedInfo() @@ -53,13 +53,13 @@ public OperationJobExtendedInfo() /// Operation Job Extended Info public partial interface IOperationJobExtendedInfo : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo { - /// Arm Id of the job created for this operation. + /// Name or Arm Id of the job created for this operation. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, ReadOnly = false, - Description = @"Arm Id of the job created for this operation.", + Description = @"Name or Arm Id of the job created for this operation.", SerializedName = @"jobId", PossibleTypes = new [] { typeof(string) })] string JobId { get; set; } @@ -67,9 +67,9 @@ public partial interface IOperationJobExtendedInfo : } /// Operation Job Extended Info internal partial interface IOperationJobExtendedInfoInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfoInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfoInternal { - /// Arm Id of the job created for this operation. + /// Name or Arm Id of the job created for this operation. string JobId { get; set; } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationJobExtendedInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationJobExtendedInfo.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationJobExtendedInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationJobExtendedInfo.json.cs index b4b7fc62ee15..7a4b4489dd05 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationJobExtendedInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationJobExtendedInfo.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class OperationJobExtendedInfo partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new OperationJobExtendedInfo(json) : null; } @@ -77,7 +77,7 @@ internal OperationJobExtendedInfo(Microsoft.Azure.PowerShell.Cmdlets.DataProtect { return; } - __operationExtendedInfo = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationExtendedInfo(json); + __operationExtendedInfo = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationExtendedInfo(json); {_jobId = If( json?.PropertyT("jobId"), out var __jsonJobId) ? (string)__jsonJobId : (string)JobId;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationResource.PowerShell.cs similarity index 72% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationResource.PowerShell.cs index 9f202de35867..f4000d5b4d8a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class OperationResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new OperationResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new OperationResource(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,61 +103,61 @@ internal OperationResource(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Error")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ErrorTypeConverter.ConvertFrom); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationExtendedInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationExtendedInfoTypeConverter.ConvertFrom); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).EndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).EndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).StartTime = (global::System.DateTime?) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).StartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).StartTime = (global::System.DateTime?) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).StartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Status, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Status, global::System.Convert.ToString); } if (content.Contains("AdditionalInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfoTypeConverter.ConvertFrom)); } if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Detail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ErrorTypeConverter.ConvertFrom)); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Target, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -172,55 +172,55 @@ internal OperationResource(global::System.Management.Automation.PSObject content // actually deserialize if (content.Contains("Error")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ErrorTypeConverter.ConvertFrom); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationExtendedInfoTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationExtendedInfoTypeConverter.ConvertFrom); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).EndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).EndTime = (global::System.DateTime?) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).EndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).StartTime = (global::System.DateTime?) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).StartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).StartTime = (global::System.DateTime?) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).StartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Status, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Status = (string) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Status, global::System.Convert.ToString); } if (content.Contains("AdditionalInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfoTypeConverter.ConvertFrom)); } if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Detail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ErrorTypeConverter.ConvertFrom)); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).Target, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationResource.TypeConverter.cs index 5916cc9973ef..8344b160af0c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationResource.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationResource.cs index ca28962a210d..ded3094b414d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationResource.cs @@ -3,27 +3,27 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Operation Resource public partial class OperationResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal { /// The error additional info. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[] AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).AdditionalInfo; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).AdditionalInfo; } /// The error code. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Code; } + public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Code; } /// The error details. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[] Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Detail; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[] Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Detail; } /// Backing field for property. private global::System.DateTime? _endTime; @@ -33,7 +33,7 @@ public partial class OperationResource : public global::System.DateTime? EndTime { get => this._endTime; set => this._endTime = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError _error; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError _error; /// /// Required if status == failed or status == canceled. This is the OData v4 error format, used by the RPC and will go into @@ -41,7 +41,7 @@ public partial class OperationResource : /// The full set of optional properties (e.g. inner errors / details) can be found in the "Error Response" section. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Error()); set => this._error = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Error()); set => this._error = value; } /// Backing field for property. private string _id; @@ -52,28 +52,28 @@ public partial class OperationResource : /// The error message. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Message; } + public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Message; } /// Internal Acessors for AdditionalInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).AdditionalInfo = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).AdditionalInfo = value; } /// Internal Acessors for Code - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Code = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Code = value; } /// Internal Acessors for Detail - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Detail = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Detail = value; } /// Internal Acessors for Error - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Error()); set { {_error = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Error()); set { {_error = value;} } } /// Internal Acessors for Message - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Message = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Message = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationExtendedInfo()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationExtendedInfo()); set { {_property = value;} } } /// Internal Acessors for Target - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResourceInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Target = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResourceInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Target = value; } /// Backing field for property. private string _name; @@ -88,14 +88,14 @@ public partial class OperationResource : /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfoInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfoInternal)Property).ObjectType = value ?? null; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfoInternal)Property).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfoInternal)Property).ObjectType = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo _property; /// End time of the operation [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationExtendedInfo()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationExtendedInfo()); set => this._property = value; } /// Backing field for property. private global::System.DateTime? _startTime; @@ -112,7 +112,7 @@ public partial class OperationResource : /// The error target. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorInternal)Error).Target; } + public string Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IErrorInternal)Error).Target; } /// Creates an new instance. public OperationResource() @@ -130,8 +130,8 @@ public partial interface IOperationResource : ReadOnly = true, Description = @"The error additional info.", SerializedName = @"additionalInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[] AdditionalInfo { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] AdditionalInfo { get; } /// The error code. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -146,8 +146,8 @@ public partial interface IOperationResource : ReadOnly = true, Description = @"The error details.", SerializedName = @"details", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[] Detail { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[] Detail { get; } /// End time of the operation [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -223,11 +223,11 @@ internal partial interface IOperationResourceInternal { /// The error additional info. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo[] AdditionalInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] AdditionalInfo { get; set; } /// The error code. string Code { get; set; } /// The error details. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError[] Detail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError[] Detail { get; set; } /// End time of the operation global::System.DateTime? EndTime { get; set; } /// @@ -235,7 +235,7 @@ internal partial interface IOperationResourceInternal /// the v2.2 Azure REST API guidelines. /// The full set of optional properties (e.g. inner errors / details) can be found in the "Error Response" section. /// - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IError Error { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IError Error { get; set; } /// It should match what is used to GET the operation result string Id { get; set; } /// The error message. @@ -249,7 +249,7 @@ internal partial interface IOperationResourceInternal /// string ObjectType { get; set; } /// End time of the operation - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationExtendedInfo Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationExtendedInfo Property { get; set; } /// Start time of the operation global::System.DateTime? StartTime { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationResource.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationResource.json.cs index 00e91a17ccfc..2dbb11824530 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/OperationResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/OperationResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class OperationResource partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new OperationResource(json) : null; } @@ -77,8 +77,8 @@ internal OperationResource(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Run { return; } - {_error = If( json?.PropertyT("error"), out var __jsonError) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Error.FromJson(__jsonError) : Error;} - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.OperationExtendedInfo.FromJson(__jsonProperties) : Property;} + {_error = If( json?.PropertyT("error"), out var __jsonError) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Error.FromJson(__jsonError) : Error;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.OperationExtendedInfo.FromJson(__jsonProperties) : Property;} {_endTime = If( json?.PropertyT("endTime"), out var __jsonEndTime) ? global::System.DateTime.TryParse((string)__jsonEndTime, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonEndTimeValue) ? __jsonEndTimeValue : EndTime : EndTime;} {_id = If( json?.PropertyT("id"), out var __jsonId) ? (string)__jsonId : (string)Id;} {_name = If( json?.PropertyT("name"), out var __jsonName) ? (string)__jsonName : (string)Name;} diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchBackupVaultInput.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchBackupVaultInput.PowerShell.cs similarity index 75% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchBackupVaultInput.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchBackupVaultInput.PowerShell.cs index 57e010999677..10baa1958f08 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchBackupVaultInput.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchBackupVaultInput.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class PatchBackupVaultInput partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInput DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInput DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new PatchBackupVaultInput(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInput DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInput DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PatchBackupVaultInput(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInput FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInput FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,65 +105,65 @@ internal PatchBackupVaultInput(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("MonitoringSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.MonitoringSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.MonitoringSettingsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecuritySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecuritySettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureSettingsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySettingImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ImmutabilitySettingsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSettingAzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -178,59 +178,59 @@ internal PatchBackupVaultInput(global::System.Management.Automation.PSObject con // actually deserialize if (content.Contains("MonitoringSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.MonitoringSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.MonitoringSettingsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecuritySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecuritySettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureSettingsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySettingImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ImmutabilitySettingsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSettingAzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchBackupVaultInput.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchBackupVaultInput.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchBackupVaultInput.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchBackupVaultInput.TypeConverter.cs index a7c41533187d..3f11ce996c9d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchBackupVaultInput.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchBackupVaultInput.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInput ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInput ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInput).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInput).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchBackupVaultInput.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchBackupVaultInput.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchBackupVaultInput.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchBackupVaultInput.cs index 7a6b46398cf9..afdc5fb59209 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchBackupVaultInput.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchBackupVaultInput.cs @@ -3,83 +3,83 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Backup Vault Contract for Patch Backup Vault API. public partial class PatchBackupVaultInput : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInput, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInput, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal { [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState? AzureMonitorAlertsForAllJobFailure { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertsForAllJobFailure = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState? AzureMonitorAlertsForAllJobFailure { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertsForAllJobFailure = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState)""); } /// CrossRegionRestore state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState? CrossRegionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState? CrossRegionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState)""); } /// CrossSubscriptionRestore state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState)""); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings _featureSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings _featureSetting; /// Feature Settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings FeatureSetting { get => (this._featureSetting = this._featureSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureSettings()); set => this._featureSetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings FeatureSetting { get => (this._featureSetting = this._featureSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureSettings()); set => this._featureSetting = value; } /// Immutability state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).ImmutabilityState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).ImmutabilityState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).ImmutabilityState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).ImmutabilityState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState)""); } /// Internal Acessors for FeatureSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal.FeatureSetting { get => (this._featureSetting = this._featureSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureSettings()); set { {_featureSetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal.FeatureSetting { get => (this._featureSetting = this._featureSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureSettings()); set { {_featureSetting = value;} } } /// Internal Acessors for FeatureSettingCrossRegionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal.FeatureSettingCrossRegionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal.FeatureSettingCrossRegionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)FeatureSetting).CrossRegionRestoreSetting = value; } /// Internal Acessors for FeatureSettingCrossSubscriptionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal.FeatureSettingCrossSubscriptionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal.FeatureSettingCrossSubscriptionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettingsInternal)FeatureSetting).CrossSubscriptionRestoreSetting = value; } /// Internal Acessors for MonitoringSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal.MonitoringSetting { get => (this._monitoringSetting = this._monitoringSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.MonitoringSettings()); set { {_monitoringSetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal.MonitoringSetting { get => (this._monitoringSetting = this._monitoringSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.MonitoringSettings()); set { {_monitoringSetting = value;} } } /// Internal Acessors for MonitoringSettingAzureMonitorAlertSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal.MonitoringSettingAzureMonitorAlertSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal.MonitoringSettingAzureMonitorAlertSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettingsInternal)MonitoringSetting).AzureMonitorAlertSetting = value; } /// Internal Acessors for SecuritySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal.SecuritySetting { get => (this._securitySetting = this._securitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecuritySettings()); set { {_securitySetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal.SecuritySetting { get => (this._securitySetting = this._securitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecuritySettings()); set { {_securitySetting = value;} } } /// Internal Acessors for SecuritySettingImmutabilitySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal.SecuritySettingImmutabilitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).ImmutabilitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).ImmutabilitySetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal.SecuritySettingImmutabilitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).ImmutabilitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).ImmutabilitySetting = value; } /// Internal Acessors for SoftDeleteSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal.SoftDeleteSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).SoftDeleteSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).SoftDeleteSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal.SoftDeleteSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).SoftDeleteSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).SoftDeleteSetting = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings _monitoringSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings _monitoringSetting; /// Monitoring Settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings MonitoringSetting { get => (this._monitoringSetting = this._monitoringSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.MonitoringSettings()); set => this._monitoringSetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings MonitoringSetting { get => (this._monitoringSetting = this._monitoringSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.MonitoringSettings()); set => this._monitoringSetting = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings _securitySetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings _securitySetting; /// Security Settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings SecuritySetting { get => (this._securitySetting = this._securitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecuritySettings()); set => this._securitySetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings SecuritySetting { get => (this._securitySetting = this._securitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecuritySettings()); set => this._securitySetting = value; } /// Soft delete retention duration [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public double? SoftDeleteRetentionDurationInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).SoftDeleteRetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).SoftDeleteRetentionDurationInDay = value ?? default(double); } + public double? SoftDeleteRetentionDurationInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).SoftDeleteRetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).SoftDeleteRetentionDurationInDay = value ?? default(double); } /// State of soft delete [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState? SoftDeleteState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).SoftDeleteState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)SecuritySetting).SoftDeleteState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState? SoftDeleteState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).SoftDeleteState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)SecuritySetting).SoftDeleteState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState)""); } /// Creates an new instance. public PatchBackupVaultInput() @@ -150,25 +150,25 @@ internal partial interface IPatchBackupVaultInputInternal /// CrossSubscriptionRestore state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get; set; } /// Feature Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings FeatureSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings FeatureSetting { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings FeatureSettingCrossRegionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings FeatureSettingCrossRegionRestoreSetting { get; set; } /// CrossSubscriptionRestore Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings FeatureSettingCrossSubscriptionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings FeatureSettingCrossSubscriptionRestoreSetting { get; set; } /// Immutability state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get; set; } /// Monitoring Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings MonitoringSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings MonitoringSetting { get; set; } /// Settings for Azure Monitor based alerts - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings MonitoringSettingAzureMonitorAlertSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings MonitoringSettingAzureMonitorAlertSetting { get; set; } /// Security Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings SecuritySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings SecuritySetting { get; set; } /// Immutability Settings at vault level - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings SecuritySettingImmutabilitySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings SecuritySettingImmutabilitySetting { get; set; } /// Soft delete retention duration double? SoftDeleteRetentionDurationInDay { get; set; } /// Soft delete related settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings SoftDeleteSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings SoftDeleteSetting { get; set; } /// State of soft delete Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState? SoftDeleteState { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchBackupVaultInput.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchBackupVaultInput.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchBackupVaultInput.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchBackupVaultInput.json.cs index 32e632857578..d1651616a66c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchBackupVaultInput.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchBackupVaultInput.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class PatchBackupVaultInput partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInput. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInput. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInput. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInput. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInput FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInput FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new PatchBackupVaultInput(json) : null; } @@ -77,9 +77,9 @@ internal PatchBackupVaultInput(Microsoft.Azure.PowerShell.Cmdlets.DataProtection { return; } - {_monitoringSetting = If( json?.PropertyT("monitoringSettings"), out var __jsonMonitoringSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.MonitoringSettings.FromJson(__jsonMonitoringSettings) : MonitoringSetting;} - {_securitySetting = If( json?.PropertyT("securitySettings"), out var __jsonSecuritySettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecuritySettings.FromJson(__jsonSecuritySettings) : SecuritySetting;} - {_featureSetting = If( json?.PropertyT("featureSettings"), out var __jsonFeatureSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureSettings.FromJson(__jsonFeatureSettings) : FeatureSetting;} + {_monitoringSetting = If( json?.PropertyT("monitoringSettings"), out var __jsonMonitoringSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.MonitoringSettings.FromJson(__jsonMonitoringSettings) : MonitoringSetting;} + {_securitySetting = If( json?.PropertyT("securitySettings"), out var __jsonSecuritySettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecuritySettings.FromJson(__jsonSecuritySettings) : SecuritySetting;} + {_featureSetting = If( json?.PropertyT("featureSettings"), out var __jsonFeatureSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureSettings.FromJson(__jsonFeatureSettings) : FeatureSetting;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInput.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInput.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInput.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInput.PowerShell.cs index c10da724f93a..da51a8361e3d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInput.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInput.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class PatchResourceGuardInput partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInput DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInput DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new PatchResourceGuardInput(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInput DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInput DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PatchResourceGuardInput(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInput FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInput FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,13 +105,13 @@ internal PatchResourceGuardInput(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchResourceGuardInputTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchResourceGuardInputTagsTypeConverter.ConvertFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -126,7 +126,7 @@ internal PatchResourceGuardInput(global::System.Management.Automation.PSObject c // actually deserialize if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchResourceGuardInputTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchResourceGuardInputTagsTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInput.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInput.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInput.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInput.TypeConverter.cs index 095b73fd3611..f0c0290352a6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInput.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInput.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInput ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInput ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInput).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInput).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInput.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInput.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInput.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInput.cs index 06606b83dbae..117409027baa 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInput.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInput.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Patch Request content for Microsoft.DataProtection Resource Guard resources public partial class PatchResourceGuardInput : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInput, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInput, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputTags _tag; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputTags _tag; /// Resource Guard tags. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchResourceGuardInputTags()); set => this._tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchResourceGuardInputTags()); set => this._tag = value; } /// Creates an new instance. public PatchResourceGuardInput() @@ -36,8 +36,8 @@ public partial interface IPatchResourceGuardInput : ReadOnly = false, Description = @"Resource Guard tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputTags) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputTags Tag { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputTags) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputTags Tag { get; set; } } /// Patch Request content for Microsoft.DataProtection Resource Guard resources @@ -45,7 +45,7 @@ internal partial interface IPatchResourceGuardInputInternal { /// Resource Guard tags. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputTags Tag { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputTags Tag { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInput.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInput.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInput.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInput.json.cs index dbcf46e69faf..d04a576a5415 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInput.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInput.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class PatchResourceGuardInput partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInput. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInput. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInput. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInput. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInput FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInput FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new PatchResourceGuardInput(json) : null; } @@ -77,7 +77,7 @@ internal PatchResourceGuardInput(Microsoft.Azure.PowerShell.Cmdlets.DataProtecti { return; } - {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchResourceGuardInputTags.FromJson(__jsonTags) : Tag;} + {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchResourceGuardInputTags.FromJson(__jsonTags) : Tag;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInputTags.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInputTags.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInputTags.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInputTags.PowerShell.cs index 5960fa7dcf2d..49bb0cf01458 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInputTags.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInputTags.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class PatchResourceGuardInputTags partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputTags DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputTags DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new PatchResourceGuardInputTags(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PatchResourceGuardInputTags(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -109,7 +109,7 @@ internal PatchResourceGuardInputTags(global::System.Collections.IDictionary cont } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInputTags.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInputTags.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInputTags.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInputTags.TypeConverter.cs index ae31bcdff547..a64f04347da4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInputTags.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInputTags.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputTags ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputTags ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputTags).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputTags).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInputTags.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInputTags.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInputTags.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInputTags.cs index cfb95ded35e8..c985ae6ec056 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInputTags.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInputTags.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Resource Guard tags. public partial class PatchResourceGuardInputTags : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputTags, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputTagsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputTags, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputTagsInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInputTags.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInputTags.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInputTags.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInputTags.dictionary.cs index 737e97669168..1607b0ebf03a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInputTags.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInputTags.dictionary.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,6 +70,6 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) /// - public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchResourceGuardInputTags source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchResourceGuardInputTags source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInputTags.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInputTags.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInputTags.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInputTags.json.cs index 8b6809b4fcd0..4f44a8f118ae 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceGuardInputTags.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceGuardInputTags.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class PatchResourceGuardInputTags partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputTags. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputTags. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputTags. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputTags. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceGuardInputTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceGuardInputTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new PatchResourceGuardInputTags(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInput.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInput.PowerShell.cs similarity index 73% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInput.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInput.PowerShell.cs index 8c35ec470085..e932a6ef7b1a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInput.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInput.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class PatchResourceRequestInput partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInput DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInput DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new PatchResourceRequestInput(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInput DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInput DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PatchResourceRequestInput(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInput FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInput FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,93 +105,93 @@ internal PatchResourceRequestInput(global::System.Collections.IDictionary conten // actually deserialize if (content.Contains("Identity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppIdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppIdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInput) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchBackupVaultInputTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInput) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchBackupVaultInputTypeConverter.ConvertFrom); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchResourceRequestInputTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchResourceRequestInputTagsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.MonitoringSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.MonitoringSettingsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecuritySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecuritySettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureSettingsTypeConverter.ConvertFrom); } if (content.Contains("IdentityPrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).IdentityPrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).IdentityPrincipalId, global::System.Convert.ToString); } if (content.Contains("IdentityTenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).IdentityTenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).IdentityTenantId, global::System.Convert.ToString); } if (content.Contains("IdentityType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).IdentityType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).IdentityType, global::System.Convert.ToString); } if (content.Contains("IdentityUserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); } if (content.Contains("SecuritySettingImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ImmutabilitySettingsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSettingAzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -206,87 +206,87 @@ internal PatchResourceRequestInput(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("Identity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppIdentityDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).Identity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails) content.GetValueForProperty("Identity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).Identity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppIdentityDetailsTypeConverter.ConvertFrom); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInput) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchBackupVaultInputTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInput) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchBackupVaultInputTypeConverter.ConvertFrom); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchResourceRequestInputTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchResourceRequestInputTagsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.MonitoringSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).MonitoringSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings) content.GetValueForProperty("MonitoringSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).MonitoringSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.MonitoringSettingsTypeConverter.ConvertFrom); } if (content.Contains("SecuritySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecuritySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SecuritySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings) content.GetValueForProperty("SecuritySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SecuritySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecuritySettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.FeatureSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).FeatureSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings) content.GetValueForProperty("FeatureSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).FeatureSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FeatureSettingsTypeConverter.ConvertFrom); } if (content.Contains("IdentityPrincipalId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).IdentityPrincipalId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).IdentityPrincipalId = (string) content.GetValueForProperty("IdentityPrincipalId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).IdentityPrincipalId, global::System.Convert.ToString); } if (content.Contains("IdentityTenantId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).IdentityTenantId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).IdentityTenantId = (string) content.GetValueForProperty("IdentityTenantId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).IdentityTenantId, global::System.Convert.ToString); } if (content.Contains("IdentityType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).IdentityType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).IdentityType = (string) content.GetValueForProperty("IdentityType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).IdentityType, global::System.Convert.ToString); } if (content.Contains("IdentityUserAssignedIdentity")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).IdentityUserAssignedIdentity = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities) content.GetValueForProperty("IdentityUserAssignedIdentity",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).IdentityUserAssignedIdentity, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.DppIdentityDetailsUserAssignedIdentitiesTypeConverter.ConvertFrom); } if (content.Contains("SecuritySettingImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SecuritySettingImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings) content.GetValueForProperty("SecuritySettingImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SecuritySettingImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ImmutabilitySettingsTypeConverter.ConvertFrom); } if (content.Contains("MonitoringSettingAzureMonitorAlertSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).MonitoringSettingAzureMonitorAlertSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings) content.GetValueForProperty("MonitoringSettingAzureMonitorAlertSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).MonitoringSettingAzureMonitorAlertSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureMonitorAlertSettingsTypeConverter.ConvertFrom); } if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossSubscriptionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossSubscriptionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).FeatureSettingCrossSubscriptionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossSubscriptionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("FeatureSettingCrossRegionRestoreSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).FeatureSettingCrossRegionRestoreSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings) content.GetValueForProperty("FeatureSettingCrossRegionRestoreSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).FeatureSettingCrossRegionRestoreSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreSettingsTypeConverter.ConvertFrom); } if (content.Contains("AzureMonitorAlertsForAllJobFailure")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).AzureMonitorAlertsForAllJobFailure = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState?) content.GetValueForProperty("AzureMonitorAlertsForAllJobFailure",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).AzureMonitorAlertsForAllJobFailure, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState.CreateFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } if (content.Contains("CrossSubscriptionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).CrossSubscriptionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState?) content.GetValueForProperty("CrossSubscriptionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).CrossSubscriptionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState.CreateFrom); } if (content.Contains("CrossRegionRestoreState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).CrossRegionRestoreState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState?) content.GetValueForProperty("CrossRegionRestoreState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal)this).CrossRegionRestoreState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInput.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInput.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInput.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInput.TypeConverter.cs index d1998bb1208c..10317cd8e324 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInput.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInput.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInput ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInput ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInput).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInput).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInput.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInput.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInput.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInput.cs index 0d91f9af25f9..20a142004279 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInput.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInput.cs @@ -3,118 +3,118 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Patch Request content for Microsoft.DataProtection resources public partial class PatchResourceRequestInput : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInput, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInput, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal { [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState? AzureMonitorAlertsForAllJobFailure { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).AzureMonitorAlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).AzureMonitorAlertsForAllJobFailure = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState? AzureMonitorAlertsForAllJobFailure { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).AzureMonitorAlertsForAllJobFailure; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).AzureMonitorAlertsForAllJobFailure = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState)""); } /// CrossRegionRestore state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState? CrossRegionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).CrossRegionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).CrossRegionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState? CrossRegionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).CrossRegionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).CrossRegionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState)""); } /// CrossSubscriptionRestore state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).CrossSubscriptionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).CrossSubscriptionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).CrossSubscriptionRestoreState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).CrossSubscriptionRestoreState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState)""); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails _identity; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails _identity; /// Input Managed Identity Details [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppIdentityDetails()); set => this._identity = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppIdentityDetails()); set => this._identity = value; } /// /// The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure /// resource. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).PrincipalId; } + public string IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).PrincipalId; } /// /// A Globally Unique Identifier (GUID) that represents the Azure AD tenant where the resource is now a member. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).TenantId; } + public string IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).TenantId; } /// /// The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).Type = value ?? null; } + public string IdentityType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).Type = value ?? null; } /// Gets or sets the user assigned identities. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).UserAssignedIdentity = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities IdentityUserAssignedIdentity { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).UserAssignedIdentity; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).UserAssignedIdentity = value ?? null /* model class */; } /// Immutability state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).ImmutabilityState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).ImmutabilityState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).ImmutabilityState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).ImmutabilityState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState)""); } /// Internal Acessors for FeatureSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal.FeatureSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).FeatureSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).FeatureSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal.FeatureSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).FeatureSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).FeatureSetting = value; } /// Internal Acessors for FeatureSettingCrossRegionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal.FeatureSettingCrossRegionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).FeatureSettingCrossRegionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).FeatureSettingCrossRegionRestoreSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal.FeatureSettingCrossRegionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).FeatureSettingCrossRegionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).FeatureSettingCrossRegionRestoreSetting = value; } /// Internal Acessors for FeatureSettingCrossSubscriptionRestoreSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal.FeatureSettingCrossSubscriptionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).FeatureSettingCrossSubscriptionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).FeatureSettingCrossSubscriptionRestoreSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal.FeatureSettingCrossSubscriptionRestoreSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).FeatureSettingCrossSubscriptionRestoreSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).FeatureSettingCrossSubscriptionRestoreSetting = value; } /// Internal Acessors for Identity - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppIdentityDetails()); set { {_identity = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal.Identity { get => (this._identity = this._identity ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppIdentityDetails()); set { {_identity = value;} } } /// Internal Acessors for IdentityPrincipalId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).PrincipalId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal.IdentityPrincipalId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).PrincipalId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).PrincipalId = value; } /// Internal Acessors for IdentityTenantId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetailsInternal)Identity).TenantId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal.IdentityTenantId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).TenantId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetailsInternal)Identity).TenantId = value; } /// Internal Acessors for MonitoringSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal.MonitoringSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).MonitoringSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).MonitoringSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal.MonitoringSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).MonitoringSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).MonitoringSetting = value; } /// Internal Acessors for MonitoringSettingAzureMonitorAlertSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal.MonitoringSettingAzureMonitorAlertSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).MonitoringSettingAzureMonitorAlertSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).MonitoringSettingAzureMonitorAlertSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal.MonitoringSettingAzureMonitorAlertSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).MonitoringSettingAzureMonitorAlertSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).MonitoringSettingAzureMonitorAlertSetting = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInput Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchBackupVaultInput()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInput Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchBackupVaultInput()); set { {_property = value;} } } /// Internal Acessors for SecuritySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal.SecuritySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).SecuritySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).SecuritySetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal.SecuritySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).SecuritySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).SecuritySetting = value; } /// Internal Acessors for SecuritySettingImmutabilitySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal.SecuritySettingImmutabilitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).SecuritySettingImmutabilitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).SecuritySettingImmutabilitySetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal.SecuritySettingImmutabilitySetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).SecuritySettingImmutabilitySetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).SecuritySettingImmutabilitySetting = value; } /// Internal Acessors for SoftDeleteSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputInternal.SoftDeleteSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).SoftDeleteSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).SoftDeleteSetting = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputInternal.SoftDeleteSetting { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).SoftDeleteSetting; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).SoftDeleteSetting = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInput _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInput _property; /// Resource properties. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInput Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchBackupVaultInput()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInput Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchBackupVaultInput()); set => this._property = value; } /// Soft delete retention duration [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public double? SoftDeleteRetentionDurationInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).SoftDeleteRetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).SoftDeleteRetentionDurationInDay = value ?? default(double); } + public double? SoftDeleteRetentionDurationInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).SoftDeleteRetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).SoftDeleteRetentionDurationInDay = value ?? default(double); } /// State of soft delete [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState? SoftDeleteState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).SoftDeleteState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInputInternal)Property).SoftDeleteState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState? SoftDeleteState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).SoftDeleteState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInputInternal)Property).SoftDeleteState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState)""); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags _tag; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags _tag; /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchResourceRequestInputTags()); set => this._tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchResourceRequestInputTags()); set => this._tag = value; } /// Creates an new instance. public PatchResourceRequestInput() @@ -218,8 +218,8 @@ public partial interface IPatchResourceRequestInput : ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags Tag { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags Tag { get; set; } } /// Patch Request content for Microsoft.DataProtection resources @@ -232,13 +232,13 @@ internal partial interface IPatchResourceRequestInputInternal /// CrossSubscriptionRestore state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState? CrossSubscriptionRestoreState { get; set; } /// Feature Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IFeatureSettings FeatureSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFeatureSettings FeatureSetting { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossRegionRestoreSettings FeatureSettingCrossRegionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreSettings FeatureSettingCrossRegionRestoreSetting { get; set; } /// CrossSubscriptionRestore Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICrossSubscriptionRestoreSettings FeatureSettingCrossSubscriptionRestoreSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossSubscriptionRestoreSettings FeatureSettingCrossSubscriptionRestoreSetting { get; set; } /// Input Managed Identity Details - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppIdentityDetails Identity { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppIdentityDetails Identity { get; set; } /// /// The object ID of the service principal object for the managed identity that is used to grant role-based access to an Azure /// resource. @@ -257,23 +257,23 @@ internal partial interface IPatchResourceRequestInputInternal /// Immutability state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get; set; } /// Monitoring Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IMonitoringSettings MonitoringSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IMonitoringSettings MonitoringSetting { get; set; } /// Settings for Azure Monitor based alerts - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureMonitorAlertSettings MonitoringSettingAzureMonitorAlertSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureMonitorAlertSettings MonitoringSettingAzureMonitorAlertSetting { get; set; } /// Resource properties. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchBackupVaultInput Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchBackupVaultInput Property { get; set; } /// Security Settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings SecuritySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings SecuritySetting { get; set; } /// Immutability Settings at vault level - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings SecuritySettingImmutabilitySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings SecuritySettingImmutabilitySetting { get; set; } /// Soft delete retention duration double? SoftDeleteRetentionDurationInDay { get; set; } /// Soft delete related settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings SoftDeleteSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings SoftDeleteSetting { get; set; } /// State of soft delete Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState? SoftDeleteState { get; set; } /// Resource tags. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags Tag { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags Tag { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInput.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInput.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInput.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInput.json.cs index 67bb20c07db9..57d0753c45ed 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInput.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInput.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class PatchResourceRequestInput partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInput. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInput. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInput. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInput. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInput FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInput FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new PatchResourceRequestInput(json) : null; } @@ -77,9 +77,9 @@ internal PatchResourceRequestInput(Microsoft.Azure.PowerShell.Cmdlets.DataProtec { return; } - {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppIdentityDetails.FromJson(__jsonIdentity) : Identity;} - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchBackupVaultInput.FromJson(__jsonProperties) : Property;} - {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchResourceRequestInputTags.FromJson(__jsonTags) : Tag;} + {_identity = If( json?.PropertyT("identity"), out var __jsonIdentity) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppIdentityDetails.FromJson(__jsonIdentity) : Identity;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchBackupVaultInput.FromJson(__jsonProperties) : Property;} + {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchResourceRequestInputTags.FromJson(__jsonTags) : Tag;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInputTags.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInputTags.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInputTags.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInputTags.PowerShell.cs index 6cc751caf7fc..95520ae1fe4b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInputTags.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInputTags.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class PatchResourceRequestInputTags partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new PatchResourceRequestInputTags(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PatchResourceRequestInputTags(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -109,7 +109,7 @@ internal PatchResourceRequestInputTags(global::System.Collections.IDictionary co } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInputTags.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInputTags.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInputTags.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInputTags.TypeConverter.cs index d01b190f63bd..642bf88cf3a5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInputTags.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInputTags.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInputTags.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInputTags.cs similarity index 91% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInputTags.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInputTags.cs index cd3a358fdf9f..b64052940f9d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInputTags.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInputTags.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Resource tags. public partial class PatchResourceRequestInputTags : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTagsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTagsInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInputTags.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInputTags.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInputTags.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInputTags.dictionary.cs index f8466bf48f87..ee3295a9a410 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInputTags.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInputTags.dictionary.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,6 +70,6 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) /// - public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchResourceRequestInputTags source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchResourceRequestInputTags source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInputTags.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInputTags.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInputTags.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInputTags.json.cs index c56091811cff..62474bf756dd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PatchResourceRequestInputTags.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PatchResourceRequestInputTags.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class PatchResourceRequestInputTags partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new PatchResourceRequestInputTags(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyInfo.PowerShell.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyInfo.PowerShell.cs index 374d49713706..1cc1024250f8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyInfo.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class PolicyInfo partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new PolicyInfo(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PolicyInfo(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,21 +103,21 @@ internal PolicyInfo(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("PolicyId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfoInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfoInternal)this).PolicyId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfoInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfoInternal)this).PolicyId, global::System.Convert.ToString); } if (content.Contains("PolicyVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfoInternal)this).PolicyVersion = (string) content.GetValueForProperty("PolicyVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfoInternal)this).PolicyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfoInternal)this).PolicyVersion = (string) content.GetValueForProperty("PolicyVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfoInternal)this).PolicyVersion, global::System.Convert.ToString); } if (content.Contains("PolicyParameter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfoInternal)this).PolicyParameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParameters) content.GetValueForProperty("PolicyParameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfoInternal)this).PolicyParameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PolicyParametersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfoInternal)this).PolicyParameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParameters) content.GetValueForProperty("PolicyParameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfoInternal)this).PolicyParameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PolicyParametersTypeConverter.ConvertFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -132,15 +132,15 @@ internal PolicyInfo(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("PolicyId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfoInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfoInternal)this).PolicyId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfoInternal)this).PolicyId = (string) content.GetValueForProperty("PolicyId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfoInternal)this).PolicyId, global::System.Convert.ToString); } if (content.Contains("PolicyVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfoInternal)this).PolicyVersion = (string) content.GetValueForProperty("PolicyVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfoInternal)this).PolicyVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfoInternal)this).PolicyVersion = (string) content.GetValueForProperty("PolicyVersion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfoInternal)this).PolicyVersion, global::System.Convert.ToString); } if (content.Contains("PolicyParameter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfoInternal)this).PolicyParameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParameters) content.GetValueForProperty("PolicyParameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfoInternal)this).PolicyParameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PolicyParametersTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfoInternal)this).PolicyParameter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParameters) content.GetValueForProperty("PolicyParameter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfoInternal)this).PolicyParameter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PolicyParametersTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyInfo.TypeConverter.cs index 066660d2b066..8fe692e48151 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyInfo.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyInfo.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyInfo.cs index 4b8944d9f908..975457db56de 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyInfo.cs @@ -3,18 +3,18 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Policy Info in backupInstance public partial class PolicyInfo : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfoInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfoInternal { /// Internal Acessors for PolicyVersion - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfoInternal.PolicyVersion { get => this._policyVersion; set { {_policyVersion = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfoInternal.PolicyVersion { get => this._policyVersion; set { {_policyVersion = value;} } } /// Backing field for property. private string _policyId; @@ -23,11 +23,11 @@ public partial class PolicyInfo : public string PolicyId { get => this._policyId; set => this._policyId = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParameters _policyParameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParameters _policyParameter; /// Policy parameters for the backup instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParameters PolicyParameter { get => (this._policyParameter = this._policyParameter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PolicyParameters()); set => this._policyParameter = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParameters PolicyParameter { get => (this._policyParameter = this._policyParameter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PolicyParameters()); set => this._policyParameter = value; } /// Backing field for property. private string _policyVersion; @@ -58,8 +58,8 @@ public partial interface IPolicyInfo : ReadOnly = false, Description = @"Policy parameters for the backup instance", SerializedName = @"policyParameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParameters) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParameters PolicyParameter { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParameters) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParameters PolicyParameter { get; set; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -76,7 +76,7 @@ internal partial interface IPolicyInfoInternal { string PolicyId { get; set; } /// Policy parameters for the backup instance - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParameters PolicyParameter { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParameters PolicyParameter { get; set; } string PolicyVersion { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyInfo.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyInfo.json.cs index 75c00840bb41..79e311c7fc22 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyInfo.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class PolicyInfo partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new PolicyInfo(json) : null; } @@ -79,7 +79,7 @@ internal PolicyInfo(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Js } {_policyId = If( json?.PropertyT("policyId"), out var __jsonPolicyId) ? (string)__jsonPolicyId : (string)PolicyId;} {_policyVersion = If( json?.PropertyT("policyVersion"), out var __jsonPolicyVersion) ? (string)__jsonPolicyVersion : (string)PolicyVersion;} - {_policyParameter = If( json?.PropertyT("policyParameters"), out var __jsonPolicyParameters) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PolicyParameters.FromJson(__jsonPolicyParameters) : PolicyParameter;} + {_policyParameter = If( json?.PropertyT("policyParameters"), out var __jsonPolicyParameters) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PolicyParameters.FromJson(__jsonPolicyParameters) : PolicyParameter;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyParameters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyParameters.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyParameters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyParameters.PowerShell.cs index 97ff15dd50f6..676977fee5b1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyParameters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyParameters.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class PolicyParameters partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new PolicyParameters(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new PolicyParameters(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,17 +103,17 @@ internal PolicyParameters(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("DataStoreParametersList")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParametersInternal)this).DataStoreParametersList = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters[]) content.GetValueForProperty("DataStoreParametersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParametersInternal)this).DataStoreParametersList, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreParametersTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParametersInternal)this).DataStoreParametersList = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters[]) content.GetValueForProperty("DataStoreParametersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParametersInternal)this).DataStoreParametersList, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreParametersTypeConverter.ConvertFrom)); } if (content.Contains("BackupDatasourceParametersList")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParametersInternal)this).BackupDatasourceParametersList = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters[]) content.GetValueForProperty("BackupDatasourceParametersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParametersInternal)this).BackupDatasourceParametersList, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupDatasourceParametersTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParametersInternal)this).BackupDatasourceParametersList = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters[]) content.GetValueForProperty("BackupDatasourceParametersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParametersInternal)this).BackupDatasourceParametersList, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupDatasourceParametersTypeConverter.ConvertFrom)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -128,11 +128,11 @@ internal PolicyParameters(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("DataStoreParametersList")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParametersInternal)this).DataStoreParametersList = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters[]) content.GetValueForProperty("DataStoreParametersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParametersInternal)this).DataStoreParametersList, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreParametersTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParametersInternal)this).DataStoreParametersList = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters[]) content.GetValueForProperty("DataStoreParametersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParametersInternal)this).DataStoreParametersList, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreParametersTypeConverter.ConvertFrom)); } if (content.Contains("BackupDatasourceParametersList")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParametersInternal)this).BackupDatasourceParametersList = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters[]) content.GetValueForProperty("BackupDatasourceParametersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParametersInternal)this).BackupDatasourceParametersList, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupDatasourceParametersTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParametersInternal)this).BackupDatasourceParametersList = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters[]) content.GetValueForProperty("BackupDatasourceParametersList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParametersInternal)this).BackupDatasourceParametersList, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupDatasourceParametersTypeConverter.ConvertFrom)); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyParameters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyParameters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyParameters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyParameters.TypeConverter.cs index c54ff447c097..ff0b1b7cc513 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyParameters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyParameters.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyParameters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyParameters.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyParameters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyParameters.cs index 09ff233f4d97..1258e1fc30d2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyParameters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyParameters.cs @@ -3,29 +3,29 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Parameters in Policy public partial class PolicyParameters : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParameters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParameters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParametersInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters[] _backupDatasourceParametersList; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters[] _backupDatasourceParametersList; /// Gets or sets the Backup Data Source Parameters [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters[] BackupDatasourceParametersList { get => this._backupDatasourceParametersList; set => this._backupDatasourceParametersList = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters[] BackupDatasourceParametersList { get => this._backupDatasourceParametersList; set => this._backupDatasourceParametersList = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters[] _dataStoreParametersList; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters[] _dataStoreParametersList; /// Gets or sets the DataStore Parameters [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters[] DataStoreParametersList { get => this._dataStoreParametersList; set => this._dataStoreParametersList = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters[] DataStoreParametersList { get => this._dataStoreParametersList; set => this._dataStoreParametersList = value; } /// Creates an new instance. public PolicyParameters() @@ -43,16 +43,16 @@ public partial interface IPolicyParameters : ReadOnly = false, Description = @"Gets or sets the Backup Data Source Parameters", SerializedName = @"backupDatasourceParametersList", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters[] BackupDatasourceParametersList { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters[] BackupDatasourceParametersList { get; set; } /// Gets or sets the DataStore Parameters [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, ReadOnly = false, Description = @"Gets or sets the DataStore Parameters", SerializedName = @"dataStoreParametersList", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters[] DataStoreParametersList { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters[] DataStoreParametersList { get; set; } } /// Parameters in Policy @@ -60,9 +60,9 @@ internal partial interface IPolicyParametersInternal { /// Gets or sets the Backup Data Source Parameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters[] BackupDatasourceParametersList { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters[] BackupDatasourceParametersList { get; set; } /// Gets or sets the DataStore Parameters - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters[] DataStoreParametersList { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters[] DataStoreParametersList { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyParameters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyParameters.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyParameters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyParameters.json.cs index 385d347cfea2..3452366def21 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/PolicyParameters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/PolicyParameters.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class PolicyParameters partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParameters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParameters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPolicyParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPolicyParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new PolicyParameters(json) : null; } @@ -77,8 +77,8 @@ internal PolicyParameters(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runt { return; } - {_dataStoreParametersList = If( json?.PropertyT("dataStoreParametersList"), out var __jsonDataStoreParametersList) ? If( __jsonDataStoreParametersList as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreParameters) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreParameters.FromJson(__u) )) ))() : null : DataStoreParametersList;} - {_backupDatasourceParametersList = If( json?.PropertyT("backupDatasourceParametersList"), out var __jsonBackupDatasourceParametersList) ? If( __jsonBackupDatasourceParametersList as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupDatasourceParameters.FromJson(__p) )) ))() : null : BackupDatasourceParametersList;} + {_dataStoreParametersList = If( json?.PropertyT("dataStoreParametersList"), out var __jsonDataStoreParametersList) ? If( __jsonDataStoreParametersList as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreParameters) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreParameters.FromJson(__u) )) ))() : null : DataStoreParametersList;} + {_backupDatasourceParametersList = If( json?.PropertyT("backupDatasourceParametersList"), out var __jsonBackupDatasourceParametersList) ? If( __jsonBackupDatasourceParametersList as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupDatasourceParameters.FromJson(__p) )) ))() : null : BackupDatasourceParametersList;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ProtectionStatusDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ProtectionStatusDetails.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ProtectionStatusDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ProtectionStatusDetails.PowerShell.cs index be733ec7b161..89a398f4093b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ProtectionStatusDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ProtectionStatusDetails.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class ProtectionStatusDetails partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ProtectionStatusDetails(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ProtectionStatusDetails(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,17 +105,17 @@ internal ProtectionStatusDetails(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetailsInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetailsInternal)this).ErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetailsInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetailsInternal)this).ErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorTypeConverter.ConvertFrom); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetailsInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Status?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetailsInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Status.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetailsInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Status?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetailsInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Status.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -130,11 +130,11 @@ internal ProtectionStatusDetails(global::System.Management.Automation.PSObject c // actually deserialize if (content.Contains("ErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetailsInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetailsInternal)this).ErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetailsInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetailsInternal)this).ErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorTypeConverter.ConvertFrom); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetailsInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Status?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetailsInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Status.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetailsInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Status?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetailsInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Status.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ProtectionStatusDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ProtectionStatusDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ProtectionStatusDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ProtectionStatusDetails.TypeConverter.cs index dc6e7978367d..d7da81f0b5c3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ProtectionStatusDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ProtectionStatusDetails.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ProtectionStatusDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ProtectionStatusDetails.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ProtectionStatusDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ProtectionStatusDetails.cs index 9492ff9f8440..bacc2ab1699d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ProtectionStatusDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ProtectionStatusDetails.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Protection status details public partial class ProtectionStatusDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetailsInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError _errorDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError _errorDetail; /// Specifies the protection status error of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError ErrorDetail { get => (this._errorDetail = this._errorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingError()); set => this._errorDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError ErrorDetail { get => (this._errorDetail = this._errorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingError()); set => this._errorDetail = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Status? _status; @@ -43,8 +43,8 @@ public partial interface IProtectionStatusDetails : ReadOnly = false, Description = @"Specifies the protection status error of the resource", SerializedName = @"errorDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError ErrorDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError ErrorDetail { get; set; } /// Specifies the protection status of the resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -60,7 +60,7 @@ internal partial interface IProtectionStatusDetailsInternal { /// Specifies the protection status error of the resource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError ErrorDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError ErrorDetail { get; set; } /// Specifies the protection status of the resource Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Status? Status { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ProtectionStatusDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ProtectionStatusDetails.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ProtectionStatusDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ProtectionStatusDetails.json.cs index 4eba6e08ddf3..18c8f5526b93 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ProtectionStatusDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ProtectionStatusDetails.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ProtectionStatusDetails partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IProtectionStatusDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IProtectionStatusDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ProtectionStatusDetails(json) : null; } @@ -77,7 +77,7 @@ internal ProtectionStatusDetails(Microsoft.Azure.PowerShell.Cmdlets.DataProtecti { return; } - {_errorDetail = If( json?.PropertyT("errorDetails"), out var __jsonErrorDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingError.FromJson(__jsonErrorDetails) : ErrorDetail;} + {_errorDetail = If( json?.PropertyT("errorDetails"), out var __jsonErrorDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingError.FromJson(__jsonErrorDetails) : ErrorDetail;} {_status = If( json?.PropertyT("status"), out var __jsonStatus) ? (string)__jsonStatus : (string)Status;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RangeBasedItemLevelRestoreCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RangeBasedItemLevelRestoreCriteria.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RangeBasedItemLevelRestoreCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RangeBasedItemLevelRestoreCriteria.PowerShell.cs index a529bec8346f..c13f05d5daf1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RangeBasedItemLevelRestoreCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RangeBasedItemLevelRestoreCriteria.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class RangeBasedItemLevelRestoreCriteria partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new RangeBasedItemLevelRestoreCriteria(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RangeBasedItemLevelRestoreCriteria(content); } @@ -89,10 +89,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -107,21 +107,21 @@ internal RangeBasedItemLevelRestoreCriteria(global::System.Collections.IDictiona // actually deserialize if (content.Contains("MinMatchingValue")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteriaInternal)this).MinMatchingValue = (string) content.GetValueForProperty("MinMatchingValue",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteriaInternal)this).MinMatchingValue, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteriaInternal)this).MinMatchingValue = (string) content.GetValueForProperty("MinMatchingValue",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteriaInternal)this).MinMatchingValue, global::System.Convert.ToString); } if (content.Contains("MaxMatchingValue")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteriaInternal)this).MaxMatchingValue = (string) content.GetValueForProperty("MaxMatchingValue",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteriaInternal)this).MaxMatchingValue, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteriaInternal)this).MaxMatchingValue = (string) content.GetValueForProperty("MaxMatchingValue",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteriaInternal)this).MaxMatchingValue, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -136,15 +136,15 @@ internal RangeBasedItemLevelRestoreCriteria(global::System.Management.Automation // actually deserialize if (content.Contains("MinMatchingValue")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteriaInternal)this).MinMatchingValue = (string) content.GetValueForProperty("MinMatchingValue",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteriaInternal)this).MinMatchingValue, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteriaInternal)this).MinMatchingValue = (string) content.GetValueForProperty("MinMatchingValue",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteriaInternal)this).MinMatchingValue, global::System.Convert.ToString); } if (content.Contains("MaxMatchingValue")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteriaInternal)this).MaxMatchingValue = (string) content.GetValueForProperty("MaxMatchingValue",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteriaInternal)this).MaxMatchingValue, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteriaInternal)this).MaxMatchingValue = (string) content.GetValueForProperty("MaxMatchingValue",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteriaInternal)this).MaxMatchingValue, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RangeBasedItemLevelRestoreCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RangeBasedItemLevelRestoreCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RangeBasedItemLevelRestoreCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RangeBasedItemLevelRestoreCriteria.TypeConverter.cs index d000878b3b22..05354484dd8f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RangeBasedItemLevelRestoreCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RangeBasedItemLevelRestoreCriteria.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -108,14 +108,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RangeBasedItemLevelRestoreCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RangeBasedItemLevelRestoreCriteria.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RangeBasedItemLevelRestoreCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RangeBasedItemLevelRestoreCriteria.cs index 4e1e9c6ce0b6..6a1ed31a3f79 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RangeBasedItemLevelRestoreCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RangeBasedItemLevelRestoreCriteria.cs @@ -3,21 +3,21 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Item Level target info for restore operation public partial class RangeBasedItemLevelRestoreCriteria : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteriaInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteriaInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreCriteria(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreCriteria(); /// Backing field for property. private string _maxMatchingValue; @@ -35,7 +35,7 @@ public partial class RangeBasedItemLevelRestoreCriteria : /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal)__itemLevelRestoreCriteria).ObjectType = value ; } /// Creates an new instance. public RangeBasedItemLevelRestoreCriteria() @@ -58,7 +58,7 @@ public RangeBasedItemLevelRestoreCriteria() /// Item Level target info for restore operation public partial interface IRangeBasedItemLevelRestoreCriteria : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteria { /// maximum value for range prefix match [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -80,7 +80,7 @@ public partial interface IRangeBasedItemLevelRestoreCriteria : } /// Item Level target info for restore operation internal partial interface IRangeBasedItemLevelRestoreCriteriaInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IItemLevelRestoreCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IItemLevelRestoreCriteriaInternal { /// maximum value for range prefix match string MaxMatchingValue { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RangeBasedItemLevelRestoreCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RangeBasedItemLevelRestoreCriteria.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RangeBasedItemLevelRestoreCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RangeBasedItemLevelRestoreCriteria.json.cs index cc2236e560a6..a187439d0b5c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RangeBasedItemLevelRestoreCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RangeBasedItemLevelRestoreCriteria.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class RangeBasedItemLevelRestoreCriteria partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteria. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteria. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRangeBasedItemLevelRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRangeBasedItemLevelRestoreCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new RangeBasedItemLevelRestoreCriteria(json) : null; } @@ -77,7 +77,7 @@ internal RangeBasedItemLevelRestoreCriteria(Microsoft.Azure.PowerShell.Cmdlets.D { return; } - __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ItemLevelRestoreCriteria(json); + __itemLevelRestoreCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ItemLevelRestoreCriteria(json); {_minMatchingValue = If( json?.PropertyT("minMatchingValue"), out var __jsonMinMatchingValue) ? (string)__jsonMinMatchingValue : (string)MinMatchingValue;} {_maxMatchingValue = If( json?.PropertyT("maxMatchingValue"), out var __jsonMaxMatchingValue) ? (string)__jsonMaxMatchingValue : (string)MaxMatchingValue;} AfterFromJson(json); diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointDataStoreDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointDataStoreDetails.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointDataStoreDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointDataStoreDetails.PowerShell.cs index 060d5a926cd7..fd5f968742e4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointDataStoreDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointDataStoreDetails.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class RecoveryPointDataStoreDetails partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new RecoveryPointDataStoreDetails(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RecoveryPointDataStoreDetails(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,45 +105,45 @@ internal RecoveryPointDataStoreDetails(global::System.Collections.IDictionary co // actually deserialize if (content.Contains("CreationTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).CreationTime = (global::System.DateTime?) content.GetValueForProperty("CreationTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).CreationTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).CreationTime = (global::System.DateTime?) content.GetValueForProperty("CreationTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).CreationTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ExpiryTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).ExpiryTime = (global::System.DateTime?) content.GetValueForProperty("ExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).ExpiryTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).ExpiryTime = (global::System.DateTime?) content.GetValueForProperty("ExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).ExpiryTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("MetaData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).MetaData = (string) content.GetValueForProperty("MetaData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).MetaData, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).MetaData = (string) content.GetValueForProperty("MetaData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).MetaData, global::System.Convert.ToString); } if (content.Contains("State")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).State = (string) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).State, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).State = (string) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).State, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("Visible")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).Visible = (bool?) content.GetValueForProperty("Visible",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).Visible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).Visible = (bool?) content.GetValueForProperty("Visible",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).Visible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("RehydrationExpiryTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).RehydrationExpiryTime = (global::System.DateTime?) content.GetValueForProperty("RehydrationExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).RehydrationExpiryTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).RehydrationExpiryTime = (global::System.DateTime?) content.GetValueForProperty("RehydrationExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).RehydrationExpiryTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("RehydrationStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).RehydrationStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus?) content.GetValueForProperty("RehydrationStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).RehydrationStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).RehydrationStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus?) content.GetValueForProperty("RehydrationStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).RehydrationStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -158,39 +158,39 @@ internal RecoveryPointDataStoreDetails(global::System.Management.Automation.PSOb // actually deserialize if (content.Contains("CreationTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).CreationTime = (global::System.DateTime?) content.GetValueForProperty("CreationTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).CreationTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).CreationTime = (global::System.DateTime?) content.GetValueForProperty("CreationTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).CreationTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ExpiryTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).ExpiryTime = (global::System.DateTime?) content.GetValueForProperty("ExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).ExpiryTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).ExpiryTime = (global::System.DateTime?) content.GetValueForProperty("ExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).ExpiryTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("MetaData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).MetaData = (string) content.GetValueForProperty("MetaData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).MetaData, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).MetaData = (string) content.GetValueForProperty("MetaData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).MetaData, global::System.Convert.ToString); } if (content.Contains("State")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).State = (string) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).State, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).State = (string) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).State, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("Visible")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).Visible = (bool?) content.GetValueForProperty("Visible",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).Visible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).Visible = (bool?) content.GetValueForProperty("Visible",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).Visible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("RehydrationExpiryTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).RehydrationExpiryTime = (global::System.DateTime?) content.GetValueForProperty("RehydrationExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).RehydrationExpiryTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).RehydrationExpiryTime = (global::System.DateTime?) content.GetValueForProperty("RehydrationExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).RehydrationExpiryTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("RehydrationStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).RehydrationStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus?) content.GetValueForProperty("RehydrationStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal)this).RehydrationStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).RehydrationStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus?) content.GetValueForProperty("RehydrationStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal)this).RehydrationStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointDataStoreDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointDataStoreDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointDataStoreDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointDataStoreDetails.TypeConverter.cs index c09be5d7111f..31bab2cf3477 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointDataStoreDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointDataStoreDetails.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointDataStoreDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointDataStoreDetails.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointDataStoreDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointDataStoreDetails.cs index 1409cc72059b..a9c66d09560d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointDataStoreDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointDataStoreDetails.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// RecoveryPoint datastore details public partial class RecoveryPointDataStoreDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal { /// Backing field for property. @@ -38,10 +38,10 @@ public partial class RecoveryPointDataStoreDetails : public string MetaData { get => this._metaData; set => this._metaData = value; } /// Internal Acessors for RehydrationExpiryTime - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal.RehydrationExpiryTime { get => this._rehydrationExpiryTime; set { {_rehydrationExpiryTime = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal.RehydrationExpiryTime { get => this._rehydrationExpiryTime; set { {_rehydrationExpiryTime = value;} } } /// Internal Acessors for RehydrationStatus - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetailsInternal.RehydrationStatus { get => this._rehydrationStatus; set { {_rehydrationStatus = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RehydrationStatus? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetailsInternal.RehydrationStatus { get => this._rehydrationStatus; set { {_rehydrationStatus = value;} } } /// Backing field for property. private global::System.DateTime? _rehydrationExpiryTime; diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointDataStoreDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointDataStoreDetails.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointDataStoreDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointDataStoreDetails.json.cs index 6a9afa79147b..5a245ab271fc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointDataStoreDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointDataStoreDetails.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class RecoveryPointDataStoreDetails partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointDataStoreDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointDataStoreDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new RecoveryPointDataStoreDetails(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointsFilters.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointsFilters.PowerShell.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointsFilters.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointsFilters.PowerShell.cs index 091a2db404c5..02c5bf617d1c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointsFilters.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointsFilters.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -54,29 +54,29 @@ public partial class RecoveryPointsFilters partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFilters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFilters DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new RecoveryPointsFilters(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFilters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFilters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RecoveryPointsFilters(content); } @@ -86,10 +86,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFilters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFilters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -104,33 +104,33 @@ internal RecoveryPointsFilters(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("RestorePointDataStoreId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).RestorePointDataStoreId = (string) content.GetValueForProperty("RestorePointDataStoreId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).RestorePointDataStoreId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).RestorePointDataStoreId = (string) content.GetValueForProperty("RestorePointDataStoreId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).RestorePointDataStoreId, global::System.Convert.ToString); } if (content.Contains("IsVisible")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).IsVisible = (bool?) content.GetValueForProperty("IsVisible",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).IsVisible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).IsVisible = (bool?) content.GetValueForProperty("IsVisible",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).IsVisible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("StartDate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).StartDate = (string) content.GetValueForProperty("StartDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).StartDate, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).StartDate = (string) content.GetValueForProperty("StartDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).StartDate, global::System.Convert.ToString); } if (content.Contains("EndDate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).EndDate = (string) content.GetValueForProperty("EndDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).EndDate, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).EndDate = (string) content.GetValueForProperty("EndDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).EndDate, global::System.Convert.ToString); } if (content.Contains("ExtendedInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).ExtendedInfo = (bool?) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).ExtendedInfo, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).ExtendedInfo = (bool?) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).ExtendedInfo, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("RestorePointState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).RestorePointState = (string) content.GetValueForProperty("RestorePointState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).RestorePointState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).RestorePointState = (string) content.GetValueForProperty("RestorePointState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).RestorePointState, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -145,27 +145,27 @@ internal RecoveryPointsFilters(global::System.Management.Automation.PSObject con // actually deserialize if (content.Contains("RestorePointDataStoreId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).RestorePointDataStoreId = (string) content.GetValueForProperty("RestorePointDataStoreId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).RestorePointDataStoreId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).RestorePointDataStoreId = (string) content.GetValueForProperty("RestorePointDataStoreId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).RestorePointDataStoreId, global::System.Convert.ToString); } if (content.Contains("IsVisible")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).IsVisible = (bool?) content.GetValueForProperty("IsVisible",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).IsVisible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).IsVisible = (bool?) content.GetValueForProperty("IsVisible",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).IsVisible, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("StartDate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).StartDate = (string) content.GetValueForProperty("StartDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).StartDate, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).StartDate = (string) content.GetValueForProperty("StartDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).StartDate, global::System.Convert.ToString); } if (content.Contains("EndDate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).EndDate = (string) content.GetValueForProperty("EndDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).EndDate, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).EndDate = (string) content.GetValueForProperty("EndDate",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).EndDate, global::System.Convert.ToString); } if (content.Contains("ExtendedInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).ExtendedInfo = (bool?) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).ExtendedInfo, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).ExtendedInfo = (bool?) content.GetValueForProperty("ExtendedInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).ExtendedInfo, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("RestorePointState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).RestorePointState = (string) content.GetValueForProperty("RestorePointState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal)this).RestorePointState, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).RestorePointState = (string) content.GetValueForProperty("RestorePointState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal)this).RestorePointState, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointsFilters.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointsFilters.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointsFilters.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointsFilters.TypeConverter.cs index bb95e3335c75..fe5374778645 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointsFilters.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointsFilters.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFilters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFilters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFilters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFilters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointsFilters.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointsFilters.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointsFilters.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointsFilters.cs index da8b15bc44f7..1c5507dc65f8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointsFilters.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointsFilters.cs @@ -3,13 +3,13 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class RecoveryPointsFilters : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFilters, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFiltersInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFilters, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFiltersInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointsFilters.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointsFilters.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointsFilters.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointsFilters.json.cs index 7e4bdab60e49..a2ee912d9d26 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RecoveryPointsFilters.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RecoveryPointsFilters.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -53,13 +53,13 @@ public partial class RecoveryPointsFilters partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFilters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFilters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFilters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFilters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRecoveryPointsFilters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRecoveryPointsFilters FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new RecoveryPointsFilters(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuard.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuard.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuard.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuard.PowerShell.cs index c3670435cf6f..59935851b985 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuard.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuard.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -54,27 +54,27 @@ public partial class ResourceGuard partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuard DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuard DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ResourceGuard(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuard DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuard DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceGuard(content); } @@ -84,10 +84,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuard FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuard FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -102,29 +102,29 @@ internal ResourceGuard(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); } if (content.Contains("AllowAutoApproval")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).AllowAutoApproval = (bool?) content.GetValueForProperty("AllowAutoApproval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).AllowAutoApproval, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).AllowAutoApproval = (bool?) content.GetValueForProperty("AllowAutoApproval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).AllowAutoApproval, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).Operation = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation[]) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).Operation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).Operation = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation[]) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).Operation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationTypeConverter.ConvertFrom)); } if (content.Contains("CriticalOperationExclusionList")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).CriticalOperationExclusionList = (string[]) content.GetValueForProperty("CriticalOperationExclusionList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).CriticalOperationExclusionList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).CriticalOperationExclusionList = (string[]) content.GetValueForProperty("CriticalOperationExclusionList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).CriticalOperationExclusionList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -139,23 +139,23 @@ internal ResourceGuard(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); } if (content.Contains("AllowAutoApproval")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).AllowAutoApproval = (bool?) content.GetValueForProperty("AllowAutoApproval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).AllowAutoApproval, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).AllowAutoApproval = (bool?) content.GetValueForProperty("AllowAutoApproval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).AllowAutoApproval, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Operation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).Operation = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation[]) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).Operation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).Operation = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation[]) content.GetValueForProperty("Operation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).Operation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationTypeConverter.ConvertFrom)); } if (content.Contains("CriticalOperationExclusionList")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).CriticalOperationExclusionList = (string[]) content.GetValueForProperty("CriticalOperationExclusionList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).CriticalOperationExclusionList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).CriticalOperationExclusionList = (string[]) content.GetValueForProperty("CriticalOperationExclusionList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).CriticalOperationExclusionList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuard.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuard.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuard.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuard.TypeConverter.cs index 258597310c01..37cf33d85eff 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuard.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuard.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuard ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuard ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuard).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuard).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuard.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuard.cs similarity index 91% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuard.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuard.cs index 02e271f74316..aa34285f6cf6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuard.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuard.cs @@ -3,13 +3,13 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class ResourceGuard : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuard, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuard, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal { /// Backing field for property. @@ -34,25 +34,25 @@ public partial class ResourceGuard : public string Description { get => this._description; } /// Internal Acessors for AllowAutoApproval - bool? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal.AllowAutoApproval { get => this._allowAutoApproval; set { {_allowAutoApproval = value;} } } + bool? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal.AllowAutoApproval { get => this._allowAutoApproval; set { {_allowAutoApproval = value;} } } /// Internal Acessors for Description - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal.Description { get => this._description; set { {_description = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal.Description { get => this._description; set { {_description = value;} } } /// Internal Acessors for Operation - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal.Operation { get => this._operation; set { {_operation = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal.Operation { get => this._operation; set { {_operation = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation[] _operation; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation[] _operation; /// /// {readonly} List of operation details those are protected by the ResourceGuard resource /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation[] Operation { get => this._operation; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation[] Operation { get => this._operation; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? _provisioningState; @@ -102,8 +102,8 @@ public partial interface IResourceGuard : ReadOnly = true, Description = @"{readonly} List of operation details those are protected by the ResourceGuard resource", SerializedName = @"resourceGuardOperations", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation[] Operation { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation[] Operation { get; } /// Provisioning state of the BackupVault resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -126,7 +126,7 @@ internal partial interface IResourceGuardInternal /// /// {readonly} List of operation details those are protected by the ResourceGuard resource /// - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation[] Operation { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation[] Operation { get; set; } /// Provisioning state of the BackupVault resource Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? ProvisioningState { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuard.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuard.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuard.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuard.json.cs index 4fcb5be5c792..19503f6956b3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuard.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuard.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -53,13 +53,13 @@ public partial class ResourceGuard partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuard. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuard. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuard. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuard. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuard FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuard FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ResourceGuard(json) : null; } @@ -78,7 +78,7 @@ internal ResourceGuard(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime } {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;} {_allowAutoApproval = If( json?.PropertyT("allowAutoApprovals"), out var __jsonAllowAutoApprovals) ? (bool?)__jsonAllowAutoApprovals : AllowAutoApproval;} - {_operation = If( json?.PropertyT("resourceGuardOperations"), out var __jsonResourceGuardOperations) ? If( __jsonResourceGuardOperations as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperation.FromJson(__u) )) ))() : null : Operation;} + {_operation = If( json?.PropertyT("resourceGuardOperations"), out var __jsonResourceGuardOperations) ? If( __jsonResourceGuardOperations as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperation.FromJson(__u) )) ))() : null : Operation;} {_criticalOperationExclusionList = If( json?.PropertyT("vaultCriticalOperationExclusionList"), out var __jsonVaultCriticalOperationExclusionList) ? If( __jsonVaultCriticalOperationExclusionList as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(string) (__p is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __o ? (string)(__o.ToString()) : null)) ))() : null : CriticalOperationExclusionList;} {_description = If( json?.PropertyT("description"), out var __jsonDescription) ? (string)__jsonDescription : (string)Description;} AfterFromJson(json); diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperation.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperation.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperation.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperation.PowerShell.cs index dbd9aa225028..9cf019ad1fd2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperation.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperation.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class ResourceGuardOperation partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ResourceGuardOperation(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceGuardOperation(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,17 +105,17 @@ internal ResourceGuardOperation(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("VaultCriticalOperation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationInternal)this).VaultCriticalOperation = (string) content.GetValueForProperty("VaultCriticalOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationInternal)this).VaultCriticalOperation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationInternal)this).VaultCriticalOperation = (string) content.GetValueForProperty("VaultCriticalOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationInternal)this).VaultCriticalOperation, global::System.Convert.ToString); } if (content.Contains("RequestResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationInternal)this).RequestResourceType = (string) content.GetValueForProperty("RequestResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationInternal)this).RequestResourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationInternal)this).RequestResourceType = (string) content.GetValueForProperty("RequestResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationInternal)this).RequestResourceType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -130,11 +130,11 @@ internal ResourceGuardOperation(global::System.Management.Automation.PSObject co // actually deserialize if (content.Contains("VaultCriticalOperation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationInternal)this).VaultCriticalOperation = (string) content.GetValueForProperty("VaultCriticalOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationInternal)this).VaultCriticalOperation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationInternal)this).VaultCriticalOperation = (string) content.GetValueForProperty("VaultCriticalOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationInternal)this).VaultCriticalOperation, global::System.Convert.ToString); } if (content.Contains("RequestResourceType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationInternal)this).RequestResourceType = (string) content.GetValueForProperty("RequestResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationInternal)this).RequestResourceType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationInternal)this).RequestResourceType = (string) content.GetValueForProperty("RequestResourceType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationInternal)this).RequestResourceType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperation.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperation.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperation.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperation.TypeConverter.cs index 76bc619b156c..0d09e1df3bac 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperation.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperation.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperation.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperation.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperation.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperation.cs index 09e87b1fde43..f93e473d7a41 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperation.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperation.cs @@ -3,21 +3,21 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// This class contains all the details about a critical operation. public partial class ResourceGuardOperation : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationInternal { /// Internal Acessors for RequestResourceType - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationInternal.RequestResourceType { get => this._requestResourceType; set { {_requestResourceType = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationInternal.RequestResourceType { get => this._requestResourceType; set { {_requestResourceType = value;} } } /// Internal Acessors for VaultCriticalOperation - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationInternal.VaultCriticalOperation { get => this._vaultCriticalOperation; set { {_vaultCriticalOperation = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationInternal.VaultCriticalOperation { get => this._vaultCriticalOperation; set { {_vaultCriticalOperation = value;} } } /// Backing field for property. private string _requestResourceType; diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperation.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperation.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperation.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperation.json.cs index 88801b53f899..f3f51659efed 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperation.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperation.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ResourceGuardOperation partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ResourceGuardOperation(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperationDetail.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperationDetail.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperationDetail.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperationDetail.PowerShell.cs index 8fc9fbbcb7be..dd5c399676fe 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperationDetail.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperationDetail.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class ResourceGuardOperationDetail partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ResourceGuardOperationDetail(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceGuardOperationDetail(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,17 +105,17 @@ internal ResourceGuardOperationDetail(global::System.Collections.IDictionary con // actually deserialize if (content.Contains("VaultCriticalOperation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetailInternal)this).VaultCriticalOperation = (string) content.GetValueForProperty("VaultCriticalOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetailInternal)this).VaultCriticalOperation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetailInternal)this).VaultCriticalOperation = (string) content.GetValueForProperty("VaultCriticalOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetailInternal)this).VaultCriticalOperation, global::System.Convert.ToString); } if (content.Contains("DefaultResourceRequest")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetailInternal)this).DefaultResourceRequest = (string) content.GetValueForProperty("DefaultResourceRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetailInternal)this).DefaultResourceRequest, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetailInternal)this).DefaultResourceRequest = (string) content.GetValueForProperty("DefaultResourceRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetailInternal)this).DefaultResourceRequest, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -130,11 +130,11 @@ internal ResourceGuardOperationDetail(global::System.Management.Automation.PSObj // actually deserialize if (content.Contains("VaultCriticalOperation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetailInternal)this).VaultCriticalOperation = (string) content.GetValueForProperty("VaultCriticalOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetailInternal)this).VaultCriticalOperation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetailInternal)this).VaultCriticalOperation = (string) content.GetValueForProperty("VaultCriticalOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetailInternal)this).VaultCriticalOperation, global::System.Convert.ToString); } if (content.Contains("DefaultResourceRequest")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetailInternal)this).DefaultResourceRequest = (string) content.GetValueForProperty("DefaultResourceRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetailInternal)this).DefaultResourceRequest, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetailInternal)this).DefaultResourceRequest = (string) content.GetValueForProperty("DefaultResourceRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetailInternal)this).DefaultResourceRequest, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperationDetail.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperationDetail.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperationDetail.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperationDetail.TypeConverter.cs index 024b7b1e14d1..faefa55b3856 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperationDetail.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperationDetail.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperationDetail.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperationDetail.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperationDetail.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperationDetail.cs index 6b2835c366c6..a625a5d920ef 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperationDetail.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperationDetail.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// VaultCritical Operation protected by a resource guard public partial class ResourceGuardOperationDetail : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetailInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetailInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperationDetail.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperationDetail.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperationDetail.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperationDetail.json.cs index 5ba3aff6dd4a..7e88856ee452 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardOperationDetail.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardOperationDetail.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ResourceGuardOperationDetail partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ResourceGuardOperationDetail(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBase.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBase.PowerShell.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBase.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBase.PowerShell.cs index 8c9108d65557..3301b3225f38 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBase.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBase.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class ResourceGuardProxyBase partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBase DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBase DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ResourceGuardProxyBase(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceGuardProxyBase(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,25 +105,25 @@ internal ResourceGuardProxyBase(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ResourceGuardId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)this).ResourceGuardId = (string) content.GetValueForProperty("ResourceGuardId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)this).ResourceGuardId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)this).ResourceGuardId = (string) content.GetValueForProperty("ResourceGuardId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)this).ResourceGuardId, global::System.Convert.ToString); } if (content.Contains("ResourceGuardOperationDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)this).ResourceGuardOperationDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail[]) content.GetValueForProperty("ResourceGuardOperationDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)this).ResourceGuardOperationDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperationDetailTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)this).ResourceGuardOperationDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail[]) content.GetValueForProperty("ResourceGuardOperationDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)this).ResourceGuardOperationDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationDetailTypeConverter.ConvertFrom)); } if (content.Contains("LastUpdatedTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)this).LastUpdatedTime = (string) content.GetValueForProperty("LastUpdatedTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)this).LastUpdatedTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)this).LastUpdatedTime = (string) content.GetValueForProperty("LastUpdatedTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)this).LastUpdatedTime, global::System.Convert.ToString); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -138,19 +138,19 @@ internal ResourceGuardProxyBase(global::System.Management.Automation.PSObject co // actually deserialize if (content.Contains("ResourceGuardId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)this).ResourceGuardId = (string) content.GetValueForProperty("ResourceGuardId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)this).ResourceGuardId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)this).ResourceGuardId = (string) content.GetValueForProperty("ResourceGuardId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)this).ResourceGuardId, global::System.Convert.ToString); } if (content.Contains("ResourceGuardOperationDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)this).ResourceGuardOperationDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail[]) content.GetValueForProperty("ResourceGuardOperationDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)this).ResourceGuardOperationDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperationDetailTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)this).ResourceGuardOperationDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail[]) content.GetValueForProperty("ResourceGuardOperationDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)this).ResourceGuardOperationDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationDetailTypeConverter.ConvertFrom)); } if (content.Contains("LastUpdatedTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)this).LastUpdatedTime = (string) content.GetValueForProperty("LastUpdatedTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)this).LastUpdatedTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)this).LastUpdatedTime = (string) content.GetValueForProperty("LastUpdatedTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)this).LastUpdatedTime, global::System.Convert.ToString); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBase.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBase.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBase.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBase.TypeConverter.cs index 8e504708e208..4b4db3a23d8c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBase.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBase.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBase ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBase ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBase).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBase).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBase.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBase.cs similarity index 91% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBase.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBase.cs index e6607bbcf70b..d1093bd66713 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBase.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBase.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// ResourceGuardProxyBase object, used in ResourceGuardProxyBaseResource public partial class ResourceGuardProxyBase : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBase, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBase, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal { /// Backing field for property. @@ -32,10 +32,10 @@ public partial class ResourceGuardProxyBase : public string ResourceGuardId { get => this._resourceGuardId; set => this._resourceGuardId = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail[] _resourceGuardOperationDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail[] _resourceGuardOperationDetail; [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get => this._resourceGuardOperationDetail; set => this._resourceGuardOperationDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get => this._resourceGuardOperationDetail; set => this._resourceGuardOperationDetail = value; } /// Creates an new instance. public ResourceGuardProxyBase() @@ -76,8 +76,8 @@ public partial interface IResourceGuardProxyBase : ReadOnly = false, Description = @"", SerializedName = @"resourceGuardOperationDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get; set; } } /// ResourceGuardProxyBase object, used in ResourceGuardProxyBaseResource @@ -90,7 +90,7 @@ internal partial interface IResourceGuardProxyBaseInternal string ResourceGuardId { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBase.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBase.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBase.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBase.json.cs index 2ad097fa98ce..9e511fa1b9c1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBase.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBase.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ResourceGuardProxyBase partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBase. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBase. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBase. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBase. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBase FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBase FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ResourceGuardProxyBase(json) : null; } @@ -78,7 +78,7 @@ internal ResourceGuardProxyBase(Microsoft.Azure.PowerShell.Cmdlets.DataProtectio return; } {_resourceGuardId = If( json?.PropertyT("resourceGuardResourceId"), out var __jsonResourceGuardResourceId) ? (string)__jsonResourceGuardResourceId : (string)ResourceGuardId;} - {_resourceGuardOperationDetail = If( json?.PropertyT("resourceGuardOperationDetails"), out var __jsonResourceGuardOperationDetails) ? If( __jsonResourceGuardOperationDetails as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperationDetail.FromJson(__u) )) ))() : null : ResourceGuardOperationDetail;} + {_resourceGuardOperationDetail = If( json?.PropertyT("resourceGuardOperationDetails"), out var __jsonResourceGuardOperationDetails) ? If( __jsonResourceGuardOperationDetails as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationDetail.FromJson(__u) )) ))() : null : ResourceGuardOperationDetail;} {_lastUpdatedTime = If( json?.PropertyT("lastUpdatedTime"), out var __jsonLastUpdatedTime) ? (string)__jsonLastUpdatedTime : (string)LastUpdatedTime;} {_description = If( json?.PropertyT("description"), out var __jsonDescription) ? (string)__jsonDescription : (string)Description;} AfterFromJson(json); diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResource.PowerShell.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResource.PowerShell.cs index d17b87c98d85..8506fff0589f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -57,29 +57,29 @@ public partial class ResourceGuardProxyBaseResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ResourceGuardProxyBaseResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceGuardProxyBaseResource(content); } @@ -89,10 +89,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -107,45 +107,45 @@ internal ResourceGuardProxyBaseResource(global::System.Collections.IDictionary c // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBase) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBase) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBaseTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("ResourceGuardId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardId = (string) content.GetValueForProperty("ResourceGuardId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardId = (string) content.GetValueForProperty("ResourceGuardId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardId, global::System.Convert.ToString); } if (content.Contains("ResourceGuardOperationDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardOperationDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail[]) content.GetValueForProperty("ResourceGuardOperationDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardOperationDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperationDetailTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardOperationDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail[]) content.GetValueForProperty("ResourceGuardOperationDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardOperationDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationDetailTypeConverter.ConvertFrom)); } if (content.Contains("LastUpdatedTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).LastUpdatedTime = (string) content.GetValueForProperty("LastUpdatedTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).LastUpdatedTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).LastUpdatedTime = (string) content.GetValueForProperty("LastUpdatedTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).LastUpdatedTime, global::System.Convert.ToString); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -160,39 +160,39 @@ internal ResourceGuardProxyBaseResource(global::System.Management.Automation.PSO // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBase) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBase) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBaseTypeConverter.ConvertFrom); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("ResourceGuardId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardId = (string) content.GetValueForProperty("ResourceGuardId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardId = (string) content.GetValueForProperty("ResourceGuardId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardId, global::System.Convert.ToString); } if (content.Contains("ResourceGuardOperationDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardOperationDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail[]) content.GetValueForProperty("ResourceGuardOperationDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardOperationDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperationDetailTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardOperationDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail[]) content.GetValueForProperty("ResourceGuardOperationDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).ResourceGuardOperationDetail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationDetailTypeConverter.ConvertFrom)); } if (content.Contains("LastUpdatedTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).LastUpdatedTime = (string) content.GetValueForProperty("LastUpdatedTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).LastUpdatedTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).LastUpdatedTime = (string) content.GetValueForProperty("LastUpdatedTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).LastUpdatedTime, global::System.Convert.ToString); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResource.TypeConverter.cs index dfa67e155c05..bd1639582c08 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResource.cs similarity index 78% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResource.cs index 57dfef4f5394..e72987230031 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResource.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -11,67 +11,67 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 /// ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs /// public partial class ResourceGuardProxyBaseResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResource(); [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)Property).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)Property).Description = value ?? null; } /// Resource Id represents the complete path to the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string LastUpdatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)Property).LastUpdatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)Property).LastUpdatedTime = value ?? null; } + public string LastUpdatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)Property).LastUpdatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)Property).LastUpdatedTime = value ?? null; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBase Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBase()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBase Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBase()); set { {_property = value;} } } /// Resource name associated with the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBase _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBase _property; /// ResourceGuardProxyBaseResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBase Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBase()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBase Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBase()); set => this._property = value; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ResourceGuardId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)Property).ResourceGuardId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)Property).ResourceGuardId = value ?? null; } + public string ResourceGuardId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)Property).ResourceGuardId; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)Property).ResourceGuardId = value ?? null; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)Property).ResourceGuardOperationDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseInternal)Property).ResourceGuardOperationDetail = value ?? null /* arrayOf */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)Property).ResourceGuardOperationDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseInternal)Property).ResourceGuardOperationDetail = value ?? null /* arrayOf */; } /// Metadata pertaining to creation and last modification of the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).SystemData; } /// /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal)__dppResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal)__dppResource).Type; } /// Creates an new instance. public ResourceGuardProxyBaseResource() @@ -94,7 +94,7 @@ public ResourceGuardProxyBaseResource() /// ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs public partial interface IResourceGuardProxyBaseResource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResource { [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -125,23 +125,23 @@ public partial interface IResourceGuardProxyBaseResource : ReadOnly = false, Description = @"", SerializedName = @"resourceGuardOperationDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get; set; } } /// ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs internal partial interface IResourceGuardProxyBaseResourceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceInternal { string Description { get; set; } string LastUpdatedTime { get; set; } /// ResourceGuardProxyBaseResource properties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBase Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBase Property { get; set; } string ResourceGuardId { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResource.json.cs index 4515877e7d4c..8864a7051501 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -56,13 +56,13 @@ public partial class ResourceGuardProxyBaseResource partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ResourceGuardProxyBaseResource(json) : null; } @@ -79,8 +79,8 @@ internal ResourceGuardProxyBaseResource(Microsoft.Azure.PowerShell.Cmdlets.DataP { return; } - __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBase.FromJson(__jsonProperties) : Property;} + __dppResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBase.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResourceList.PowerShell.cs index 975f80238525..e15136a42884 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResourceList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class ResourceGuardProxyBaseResourceList partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ResourceGuardProxyBaseResourceList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceGuardProxyBaseResourceList(content); } @@ -89,10 +89,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -107,17 +107,17 @@ internal ResourceGuardProxyBaseResourceList(global::System.Collections.IDictiona // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBaseResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBaseResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -132,11 +132,11 @@ internal ResourceGuardProxyBaseResourceList(global::System.Management.Automation // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBaseResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBaseResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResourceList.TypeConverter.cs index f7671019d0f3..064228c29b0f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResourceList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -108,14 +108,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResourceList.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResourceList.cs index 70ba3bc74d05..13074bfce797 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResourceList.cs @@ -3,34 +3,34 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List of ResourceGuardProxyBase resources public partial class ResourceGuardProxyBaseResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceListInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceListInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResourceList(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResourceList(); /// /// The uri to fetch the next page of resources. Call ListNext() fetches next page of resources. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } + public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)__dppResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal)__dppResourceList).NextLink = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource[] _value; /// List of resources. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public ResourceGuardProxyBaseResourceList() @@ -53,7 +53,7 @@ public ResourceGuardProxyBaseResourceList() /// List of ResourceGuardProxyBase resources public partial interface IResourceGuardProxyBaseResourceList : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceList { /// List of resources. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -61,16 +61,16 @@ public partial interface IResourceGuardProxyBaseResourceList : ReadOnly = false, Description = @"List of resources.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource[] Value { get; set; } } /// List of ResourceGuardProxyBase resources internal partial interface IResourceGuardProxyBaseResourceListInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppResourceListInternal { /// List of resources. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResourceList.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResourceList.json.cs index f01c2a547110..11f278d6cfe4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardProxyBaseResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardProxyBaseResourceList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ResourceGuardProxyBaseResourceList partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ResourceGuardProxyBaseResourceList(json) : null; } @@ -77,8 +77,8 @@ internal ResourceGuardProxyBaseResourceList(Microsoft.Azure.PowerShell.Cmdlets.D { return; } - __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppResourceList(json); - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBaseResource.FromJson(__u) )) ))() : null : Value;} + __dppResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppResourceList(json); + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBaseResource.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResource.PowerShell.cs similarity index 75% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResource.PowerShell.cs index 63afa1a4df36..17801bfcefdc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -54,29 +54,29 @@ public partial class ResourceGuardResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ResourceGuardResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceGuardResource(content); } @@ -86,10 +86,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -104,61 +104,61 @@ internal ResourceGuardResource(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuard) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuard) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardTypeConverter.ConvertFrom); } if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); } if (content.Contains("AllowAutoApproval")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).AllowAutoApproval = (bool?) content.GetValueForProperty("AllowAutoApproval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).AllowAutoApproval, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).AllowAutoApproval = (bool?) content.GetValueForProperty("AllowAutoApproval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).AllowAutoApproval, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("ResourceGuardOperation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).ResourceGuardOperation = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation[]) content.GetValueForProperty("ResourceGuardOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).ResourceGuardOperation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).ResourceGuardOperation = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation[]) content.GetValueForProperty("ResourceGuardOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).ResourceGuardOperation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationTypeConverter.ConvertFrom)); } if (content.Contains("CriticalOperationExclusionList")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).CriticalOperationExclusionList = (string[]) content.GetValueForProperty("CriticalOperationExclusionList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).CriticalOperationExclusionList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).CriticalOperationExclusionList = (string[]) content.GetValueForProperty("CriticalOperationExclusionList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).CriticalOperationExclusionList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -173,55 +173,55 @@ internal ResourceGuardResource(global::System.Management.Automation.PSObject con // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuard) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuard) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardTypeConverter.ConvertFrom); } if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("Location")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Location = (string) content.GetValueForProperty("Location",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Location, global::System.Convert.ToString); } if (content.Contains("Name")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Name = (string) content.GetValueForProperty("Name",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Name, global::System.Convert.ToString); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResourceTagsTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).Type, global::System.Convert.ToString); } if (content.Contains("SystemData")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).SystemData = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData) content.GetValueForProperty("SystemData",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)this).SystemData, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemDataTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState.CreateFrom); } if (content.Contains("AllowAutoApproval")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).AllowAutoApproval = (bool?) content.GetValueForProperty("AllowAutoApproval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).AllowAutoApproval, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).AllowAutoApproval = (bool?) content.GetValueForProperty("AllowAutoApproval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).AllowAutoApproval, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("ResourceGuardOperation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).ResourceGuardOperation = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation[]) content.GetValueForProperty("ResourceGuardOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).ResourceGuardOperation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardOperationTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).ResourceGuardOperation = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation[]) content.GetValueForProperty("ResourceGuardOperation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).ResourceGuardOperation, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationTypeConverter.ConvertFrom)); } if (content.Contains("CriticalOperationExclusionList")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).CriticalOperationExclusionList = (string[]) content.GetValueForProperty("CriticalOperationExclusionList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).CriticalOperationExclusionList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).CriticalOperationExclusionList = (string[]) content.GetValueForProperty("CriticalOperationExclusionList",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).CriticalOperationExclusionList, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResource.TypeConverter.cs index 8b926b566e83..c1193fe8d2f6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResource.cs similarity index 78% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResource.cs index c747090f2e31..010109335163 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResource.cs @@ -3,106 +3,106 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class ResourceGuardResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResource __dppBaseTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResource __dppBaseTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResource(); /// This flag indicates whether auto approval is allowed or not. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public bool? AllowAutoApproval { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)Property).AllowAutoApproval; } + public bool? AllowAutoApproval { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)Property).AllowAutoApproval; } /// List of critical operations which are not protected by this resourceGuard [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string[] CriticalOperationExclusionList { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)Property).CriticalOperationExclusionList; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)Property).CriticalOperationExclusionList = value ?? null /* arrayOf */; } + public string[] CriticalOperationExclusionList { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)Property).CriticalOperationExclusionList; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)Property).CriticalOperationExclusionList = value ?? null /* arrayOf */; } /// Description about the pre-req steps to perform all the critical operations. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)Property).Description; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)Property).Description; } /// Optional ETag. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).ETag = value ?? null; } + public string ETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).ETag = value ?? null; } /// Resource Id represents the complete path to the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id; } + public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id; } /// Resource location. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Location = value ?? null; } + public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Location = value ?? null; } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Id = value; } /// Internal Acessors for Name - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal.Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name = value; } /// Internal Acessors for SystemData - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal.SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData = value; } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type = value; } /// Internal Acessors for AllowAutoApproval - bool? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal.AllowAutoApproval { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)Property).AllowAutoApproval; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)Property).AllowAutoApproval = value; } + bool? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal.AllowAutoApproval { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)Property).AllowAutoApproval; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)Property).AllowAutoApproval = value; } /// Internal Acessors for Description - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal.Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)Property).Description = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal.Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)Property).Description = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuard Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuard()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuard Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuard()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)Property).ProvisioningState = value; } /// Internal Acessors for ResourceGuardOperation - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceInternal.ResourceGuardOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)Property).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)Property).Operation = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceInternal.ResourceGuardOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)Property).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)Property).Operation = value; } /// Resource name associated with the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name; } + public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuard _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuard _property; /// ResourceGuardResource properties [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuard Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuard()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuard Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuard()); set => this._property = value; } /// Provisioning state of the BackupVault resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)Property).ProvisioningState; } /// /// {readonly} List of operation details those are protected by the ResourceGuard resource /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation[] ResourceGuardOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardInternal)Property).Operation; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation[] ResourceGuardOperation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardInternal)Property).Operation; } /// Metadata pertaining to creation and last modification of the resource. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ISystemData SystemData { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).SystemData; } /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Tag = value ?? null /* model class */; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags Tag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Tag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Tag = value ?? null /* model class */; } /// /// Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal)__dppBaseTrackedResource).Type; } /// Creates an new instance. public ResourceGuardResource() @@ -124,7 +124,7 @@ public ResourceGuardResource() } public partial interface IResourceGuardResource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResource + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResource { /// This flag indicates whether auto approval is allowed or not. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -166,12 +166,12 @@ public partial interface IResourceGuardResource : ReadOnly = true, Description = @"{readonly} List of operation details those are protected by the ResourceGuard resource", SerializedName = @"resourceGuardOperations", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation[] ResourceGuardOperation { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation[] ResourceGuardOperation { get; } } internal partial interface IResourceGuardResourceInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceInternal { /// This flag indicates whether auto approval is allowed or not. bool? AllowAutoApproval { get; set; } @@ -180,13 +180,13 @@ internal partial interface IResourceGuardResourceInternal : /// Description about the pre-req steps to perform all the critical operations. string Description { get; set; } /// ResourceGuardResource properties - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuard Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuard Property { get; set; } /// Provisioning state of the BackupVault resource Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProvisioningState? ProvisioningState { get; set; } /// /// {readonly} List of operation details those are protected by the ResourceGuard resource /// - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperation[] ResourceGuardOperation { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperation[] ResourceGuardOperation { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResource.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResource.json.cs index 4f2bfc76714a..1f292c609fde 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -53,13 +53,13 @@ public partial class ResourceGuardResource partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ResourceGuardResource(json) : null; } @@ -76,8 +76,8 @@ internal ResourceGuardResource(Microsoft.Azure.PowerShell.Cmdlets.DataProtection { return; } - __dppBaseTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppBaseTrackedResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuard.FromJson(__jsonProperties) : Property;} + __dppBaseTrackedResource = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppBaseTrackedResource(json); + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuard.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResourceList.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResourceList.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResourceList.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResourceList.PowerShell.cs index 26f0839d3786..a7888cf29409 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResourceList.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResourceList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class ResourceGuardResourceList partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ResourceGuardResourceList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceGuardResourceList(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,17 +105,17 @@ internal ResourceGuardResourceList(global::System.Collections.IDictionary conten // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -130,11 +130,11 @@ internal ResourceGuardResourceList(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardResourceTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardResourceTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResourceList.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResourceList.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResourceList.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResourceList.TypeConverter.cs index d3acfd7c1956..fa6bec232668 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResourceList.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResourceList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResourceList.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResourceList.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResourceList.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResourceList.cs index 18fcb067c005..022ac6ae7253 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResourceList.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResourceList.cs @@ -3,34 +3,34 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// List of ResourceGuard resources public partial class ResourceGuardResourceList : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceList, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceListInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceList, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceListInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceList __dppTrackedResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppTrackedResourceList(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceList __dppTrackedResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppTrackedResourceList(); /// /// The uri to fetch the next page of resources. Call ListNext() fetches next page of resources. /// [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceListInternal)__dppTrackedResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceListInternal)__dppTrackedResourceList).NextLink = value ?? null; } + public string NextLink { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceListInternal)__dppTrackedResourceList).NextLink; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceListInternal)__dppTrackedResourceList).NextLink = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource[] _value; /// List of resources. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource[] Value { get => this._value; set => this._value = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource[] Value { get => this._value; set => this._value = value; } /// Creates an new instance. public ResourceGuardResourceList() @@ -53,7 +53,7 @@ public ResourceGuardResourceList() /// List of ResourceGuard resources public partial interface IResourceGuardResourceList : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceList + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceList { /// List of resources. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -61,16 +61,16 @@ public partial interface IResourceGuardResourceList : ReadOnly = false, Description = @"List of resources.", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource[] Value { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource[] Value { get; set; } } /// List of ResourceGuard resources internal partial interface IResourceGuardResourceListInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppTrackedResourceListInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppTrackedResourceListInternal { /// List of resources. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource[] Value { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResourceList.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResourceList.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResourceList.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResourceList.json.cs index dd17fc73e8f4..056d57ae3632 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceGuardResourceList.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceGuardResourceList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ResourceGuardResourceList partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceList FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ResourceGuardResourceList(json) : null; } @@ -77,8 +77,8 @@ internal ResourceGuardResourceList(Microsoft.Azure.PowerShell.Cmdlets.DataProtec { return; } - __dppTrackedResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DppTrackedResourceList(json); - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardResource.FromJson(__u) )) ))() : null : Value;} + __dppTrackedResourceList = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DppTrackedResourceList(json); + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardResource.FromJson(__u) )) ))() : null : Value;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceMoveDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceMoveDetails.PowerShell.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceMoveDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceMoveDetails.PowerShell.cs index 22876b74b44c..c0937ac392ea 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceMoveDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceMoveDetails.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class ResourceMoveDetails partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ResourceMoveDetails(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ResourceMoveDetails(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,29 +103,29 @@ internal ResourceMoveDetails(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("OperationId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).OperationId = (string) content.GetValueForProperty("OperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).OperationId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).OperationId = (string) content.GetValueForProperty("OperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).OperationId, global::System.Convert.ToString); } if (content.Contains("StartTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).StartTimeUtc = (string) content.GetValueForProperty("StartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).StartTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).StartTimeUtc = (string) content.GetValueForProperty("StartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).StartTimeUtc, global::System.Convert.ToString); } if (content.Contains("CompletionTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).CompletionTimeUtc = (string) content.GetValueForProperty("CompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).CompletionTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).CompletionTimeUtc = (string) content.GetValueForProperty("CompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).CompletionTimeUtc, global::System.Convert.ToString); } if (content.Contains("SourceResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).SourceResourcePath = (string) content.GetValueForProperty("SourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).SourceResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).SourceResourcePath = (string) content.GetValueForProperty("SourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).SourceResourcePath, global::System.Convert.ToString); } if (content.Contains("TargetResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).TargetResourcePath = (string) content.GetValueForProperty("TargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).TargetResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).TargetResourcePath = (string) content.GetValueForProperty("TargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).TargetResourcePath, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -140,23 +140,23 @@ internal ResourceMoveDetails(global::System.Management.Automation.PSObject conte // actually deserialize if (content.Contains("OperationId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).OperationId = (string) content.GetValueForProperty("OperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).OperationId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).OperationId = (string) content.GetValueForProperty("OperationId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).OperationId, global::System.Convert.ToString); } if (content.Contains("StartTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).StartTimeUtc = (string) content.GetValueForProperty("StartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).StartTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).StartTimeUtc = (string) content.GetValueForProperty("StartTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).StartTimeUtc, global::System.Convert.ToString); } if (content.Contains("CompletionTimeUtc")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).CompletionTimeUtc = (string) content.GetValueForProperty("CompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).CompletionTimeUtc, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).CompletionTimeUtc = (string) content.GetValueForProperty("CompletionTimeUtc",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).CompletionTimeUtc, global::System.Convert.ToString); } if (content.Contains("SourceResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).SourceResourcePath = (string) content.GetValueForProperty("SourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).SourceResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).SourceResourcePath = (string) content.GetValueForProperty("SourceResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).SourceResourcePath, global::System.Convert.ToString); } if (content.Contains("TargetResourcePath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).TargetResourcePath = (string) content.GetValueForProperty("TargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal)this).TargetResourcePath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).TargetResourcePath = (string) content.GetValueForProperty("TargetResourcePath",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal)this).TargetResourcePath, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceMoveDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceMoveDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceMoveDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceMoveDetails.TypeConverter.cs index b4c9cad636e9..cd6e2e049b99 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceMoveDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceMoveDetails.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceMoveDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceMoveDetails.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceMoveDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceMoveDetails.cs index 6816d9f63100..ebeaf4878e9c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceMoveDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceMoveDetails.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// ResourceMoveDetails will be returned in response to GetResource call from ARM public partial class ResourceMoveDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetailsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceMoveDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceMoveDetails.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceMoveDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceMoveDetails.json.cs index 778e9c55e42d..83bb41d97baf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ResourceMoveDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ResourceMoveDetails.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ResourceMoveDetails partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceMoveDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceMoveDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ResourceMoveDetails(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestorableTimeRange.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestorableTimeRange.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestorableTimeRange.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestorableTimeRange.PowerShell.cs index cfe47b0e68a6..8a78d725f5fd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestorableTimeRange.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestorableTimeRange.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -54,27 +54,27 @@ public partial class RestorableTimeRange partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new RestorableTimeRange(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RestorableTimeRange(content); } @@ -84,10 +84,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -102,21 +102,21 @@ internal RestorableTimeRange(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRangeInternal)this).StartTime = (string) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRangeInternal)this).StartTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRangeInternal)this).StartTime = (string) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRangeInternal)this).StartTime, global::System.Convert.ToString); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRangeInternal)this).EndTime = (string) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRangeInternal)this).EndTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRangeInternal)this).EndTime = (string) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRangeInternal)this).EndTime, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRangeInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRangeInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRangeInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRangeInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -131,15 +131,15 @@ internal RestorableTimeRange(global::System.Management.Automation.PSObject conte // actually deserialize if (content.Contains("StartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRangeInternal)this).StartTime = (string) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRangeInternal)this).StartTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRangeInternal)this).StartTime = (string) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRangeInternal)this).StartTime, global::System.Convert.ToString); } if (content.Contains("EndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRangeInternal)this).EndTime = (string) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRangeInternal)this).EndTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRangeInternal)this).EndTime = (string) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRangeInternal)this).EndTime, global::System.Convert.ToString); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRangeInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRangeInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRangeInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRangeInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestorableTimeRange.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestorableTimeRange.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestorableTimeRange.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestorableTimeRange.TypeConverter.cs index 33f5b3bb9763..76a41a9700a7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestorableTimeRange.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestorableTimeRange.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestorableTimeRange.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestorableTimeRange.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestorableTimeRange.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestorableTimeRange.cs index 02f1ae020519..a4ba47fe039a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestorableTimeRange.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestorableTimeRange.cs @@ -3,13 +3,13 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class RestorableTimeRange : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRangeInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRangeInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestorableTimeRange.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestorableTimeRange.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestorableTimeRange.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestorableTimeRange.json.cs index 39d2abca5166..ee7929be4efa 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestorableTimeRange.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestorableTimeRange.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -53,13 +53,13 @@ public partial class RestorableTimeRange partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestorableTimeRange FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestorableTimeRange FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new RestorableTimeRange(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreFilesTargetInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreFilesTargetInfo.PowerShell.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreFilesTargetInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreFilesTargetInfo.PowerShell.cs index 28f589bfeff9..cc28bbad5ea2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreFilesTargetInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreFilesTargetInfo.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class RestoreFilesTargetInfo partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreFilesTargetInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreFilesTargetInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new RestoreFilesTargetInfo(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreFilesTargetInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreFilesTargetInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RestoreFilesTargetInfo(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreFilesTargetInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreFilesTargetInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,25 +105,25 @@ internal RestoreFilesTargetInfo(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("TargetDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreFilesTargetInfoInternal)this).TargetDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetails) content.GetValueForProperty("TargetDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreFilesTargetInfoInternal)this).TargetDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TargetDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreFilesTargetInfoInternal)this).TargetDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetails) content.GetValueForProperty("TargetDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreFilesTargetInfoInternal)this).TargetDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TargetDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RecoveryOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); } if (content.Contains("RestoreLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -138,19 +138,19 @@ internal RestoreFilesTargetInfo(global::System.Management.Automation.PSObject co // actually deserialize if (content.Contains("TargetDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreFilesTargetInfoInternal)this).TargetDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetails) content.GetValueForProperty("TargetDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreFilesTargetInfoInternal)this).TargetDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TargetDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreFilesTargetInfoInternal)this).TargetDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetails) content.GetValueForProperty("TargetDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreFilesTargetInfoInternal)this).TargetDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TargetDetailsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RecoveryOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); } if (content.Contains("RestoreLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreFilesTargetInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreFilesTargetInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreFilesTargetInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreFilesTargetInfo.TypeConverter.cs index 112c6184431e..741c77310281 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreFilesTargetInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreFilesTargetInfo.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreFilesTargetInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreFilesTargetInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreFilesTargetInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreFilesTargetInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreFilesTargetInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreFilesTargetInfo.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreFilesTargetInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreFilesTargetInfo.cs index d1746cc4c831..7f27fa539f3a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreFilesTargetInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreFilesTargetInfo.cs @@ -3,43 +3,43 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Class encapsulating restore as files target parameters public partial class RestoreFilesTargetInfo : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreFilesTargetInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreFilesTargetInfoInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreFilesTargetInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreFilesTargetInfoInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBase(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBase(); /// Internal Acessors for RecoveryOption - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal.RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal.RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption = value; } /// Type of Datasource object, used to initialize the right inherited type [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType = value ; } /// Recovery Option [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; } + public string RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; } /// Target Restore region [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string RestoreLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation = value ?? null; } + public string RestoreLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetails _targetDetail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetails _targetDetail; /// Destination of RestoreAsFiles operation, when destination is not a datasource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetails TargetDetail { get => (this._targetDetail = this._targetDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TargetDetails()); set => this._targetDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetails TargetDetail { get => (this._targetDetail = this._targetDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TargetDetails()); set => this._targetDetail = value; } /// Creates an new instance. public RestoreFilesTargetInfo() @@ -62,7 +62,7 @@ public RestoreFilesTargetInfo() /// Class encapsulating restore as files target parameters public partial interface IRestoreFilesTargetInfo : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase { /// Destination of RestoreAsFiles operation, when destination is not a datasource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -70,16 +70,16 @@ public partial interface IRestoreFilesTargetInfo : ReadOnly = false, Description = @"Destination of RestoreAsFiles operation, when destination is not a datasource", SerializedName = @"targetDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetails) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetails TargetDetail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetails TargetDetail { get; set; } } /// Class encapsulating restore as files target parameters internal partial interface IRestoreFilesTargetInfoInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal { /// Destination of RestoreAsFiles operation, when destination is not a datasource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetails TargetDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetails TargetDetail { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreFilesTargetInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreFilesTargetInfo.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreFilesTargetInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreFilesTargetInfo.json.cs index d5e2dc8c357d..b9b60a5b8feb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreFilesTargetInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreFilesTargetInfo.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class RestoreFilesTargetInfo partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreFilesTargetInfo. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreFilesTargetInfo. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreFilesTargetInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreFilesTargetInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreFilesTargetInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreFilesTargetInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new RestoreFilesTargetInfo(json) : null; } @@ -77,8 +77,8 @@ internal RestoreFilesTargetInfo(Microsoft.Azure.PowerShell.Cmdlets.DataProtectio { return; } - __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBase(json); - {_targetDetail = If( json?.PropertyT("targetDetails"), out var __jsonTargetDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TargetDetails.FromJson(__jsonTargetDetails) : TargetDetail;} + __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBase(json); + {_targetDetail = If( json?.PropertyT("targetDetails"), out var __jsonTargetDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TargetDetails.FromJson(__jsonTargetDetails) : TargetDetail;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreJobRecoveryPointDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreJobRecoveryPointDetails.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreJobRecoveryPointDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreJobRecoveryPointDetails.PowerShell.cs index 9932e0b16d36..b6c979d40dc5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreJobRecoveryPointDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreJobRecoveryPointDetails.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -54,29 +54,29 @@ public partial class RestoreJobRecoveryPointDetails partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new RestoreJobRecoveryPointDetails(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RestoreJobRecoveryPointDetails(content); } @@ -86,10 +86,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -104,17 +104,17 @@ internal RestoreJobRecoveryPointDetails(global::System.Collections.IDictionary c // actually deserialize if (content.Contains("RecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointId, global::System.Convert.ToString); } if (content.Contains("RecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -129,11 +129,11 @@ internal RestoreJobRecoveryPointDetails(global::System.Management.Automation.PSO // actually deserialize if (content.Contains("RecoveryPointId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointId = (string) content.GetValueForProperty("RecoveryPointId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointId, global::System.Convert.ToString); } if (content.Contains("RecoveryPointTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointTime = (global::System.DateTime?) content.GetValueForProperty("RecoveryPointTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetailsInternal)this).RecoveryPointTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreJobRecoveryPointDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreJobRecoveryPointDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreJobRecoveryPointDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreJobRecoveryPointDetails.TypeConverter.cs index 4ed4883e1971..23b538fdcee4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreJobRecoveryPointDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreJobRecoveryPointDetails.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreJobRecoveryPointDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreJobRecoveryPointDetails.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreJobRecoveryPointDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreJobRecoveryPointDetails.cs index 6afab091f7f1..8c0c4cc3db2a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreJobRecoveryPointDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreJobRecoveryPointDetails.cs @@ -3,13 +3,13 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; public partial class RestoreJobRecoveryPointDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetailsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreJobRecoveryPointDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreJobRecoveryPointDetails.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreJobRecoveryPointDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreJobRecoveryPointDetails.json.cs index e277cafcdcb3..0e725d1b389f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreJobRecoveryPointDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreJobRecoveryPointDetails.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -53,13 +53,13 @@ public partial class RestoreJobRecoveryPointDetails partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreJobRecoveryPointDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreJobRecoveryPointDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new RestoreJobRecoveryPointDetails(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfo.PowerShell.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfo.PowerShell.cs index 3d6fbca4b17e..fdceb0ef7cfd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfo.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class RestoreTargetInfo partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new RestoreTargetInfo(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RestoreTargetInfo(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,33 +103,33 @@ internal RestoreTargetInfo(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("DatasourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoInternal)this).DatasourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource) content.GetValueForProperty("DatasourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoInternal)this).DatasourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoInternal)this).DatasourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource) content.GetValueForProperty("DatasourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoInternal)this).DatasourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DatasourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoInternal)this).DatasourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet) content.GetValueForProperty("DatasourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoInternal)this).DatasourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoInternal)this).DatasourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet) content.GetValueForProperty("DatasourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoInternal)this).DatasourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RecoveryOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); } if (content.Contains("RestoreLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -144,27 +144,27 @@ internal RestoreTargetInfo(global::System.Management.Automation.PSObject content // actually deserialize if (content.Contains("DatasourceInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoInternal)this).DatasourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource) content.GetValueForProperty("DatasourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoInternal)this).DatasourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoInternal)this).DatasourceInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource) content.GetValueForProperty("DatasourceInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoInternal)this).DatasourceInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceTypeConverter.ConvertFrom); } if (content.Contains("DatasourceSetInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoInternal)this).DatasourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet) content.GetValueForProperty("DatasourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoInternal)this).DatasourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSetTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoInternal)this).DatasourceSetInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet) content.GetValueForProperty("DatasourceSetInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoInternal)this).DatasourceSetInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSetTypeConverter.ConvertFrom); } if (content.Contains("DatasourceAuthCredentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoInternal)this).DatasourceAuthCredentials = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials) content.GetValueForProperty("DatasourceAuthCredentials",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoInternal)this).DatasourceAuthCredentials, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentialsTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RecoveryOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); } if (content.Contains("RestoreLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfo.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfo.TypeConverter.cs index 420b5b9e554c..7dc212d920d6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfo.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfo.cs similarity index 79% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfo.cs index 0557ac27039a..9e2889a914e8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfo.cs @@ -3,57 +3,57 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Class encapsulating restore target parameters public partial class RestoreTargetInfo : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBase(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBase(); /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials _datasourceAuthCredentials; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials _datasourceAuthCredentials; /// Credentials to use to authenticate with data source provider. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials DatasourceAuthCredentials { get => (this._datasourceAuthCredentials = this._datasourceAuthCredentials ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentials()); set => this._datasourceAuthCredentials = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials DatasourceAuthCredentials { get => (this._datasourceAuthCredentials = this._datasourceAuthCredentials ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentials()); set => this._datasourceAuthCredentials = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource _datasourceInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource _datasourceInfo; /// Information of target DS [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource DatasourceInfo { get => (this._datasourceInfo = this._datasourceInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Datasource()); set => this._datasourceInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource DatasourceInfo { get => (this._datasourceInfo = this._datasourceInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Datasource()); set => this._datasourceInfo = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet _datasourceSetInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet _datasourceSetInfo; /// Information of target DS Set [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet DatasourceSetInfo { get => (this._datasourceSetInfo = this._datasourceSetInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSet()); set => this._datasourceSetInfo = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet DatasourceSetInfo { get => (this._datasourceSetInfo = this._datasourceSetInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSet()); set => this._datasourceSetInfo = value; } /// Internal Acessors for RecoveryOption - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal.RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal.RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption = value; } /// Type of Datasource object, used to initialize the right inherited type [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).ObjectType = value ; } /// Recovery Option [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; } + public string RecoveryOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RecoveryOption; } /// Target Restore region [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string RestoreLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation = value ?? null; } + public string RestoreLocation { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)__restoreTargetInfoBase).RestoreLocation = value ?? null; } /// Creates an new instance. public RestoreTargetInfo() @@ -76,7 +76,7 @@ public RestoreTargetInfo() /// Class encapsulating restore target parameters public partial interface IRestoreTargetInfo : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase { /// Credentials to use to authenticate with data source provider. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -84,36 +84,36 @@ public partial interface IRestoreTargetInfo : ReadOnly = false, Description = @"Credentials to use to authenticate with data source provider.", SerializedName = @"datasourceAuthCredentials", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials DatasourceAuthCredentials { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials DatasourceAuthCredentials { get; set; } /// Information of target DS [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = true, ReadOnly = false, Description = @"Information of target DS", SerializedName = @"datasourceInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource DatasourceInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource DatasourceInfo { get; set; } /// Information of target DS Set [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, ReadOnly = false, Description = @"Information of target DS Set", SerializedName = @"datasourceSetInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet DatasourceSetInfo { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet DatasourceSetInfo { get; set; } } /// Class encapsulating restore target parameters internal partial interface IRestoreTargetInfoInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal { /// Credentials to use to authenticate with data source provider. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials DatasourceAuthCredentials { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials DatasourceAuthCredentials { get; set; } /// Information of target DS - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasource DatasourceInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasource DatasourceInfo { get; set; } /// Information of target DS Set - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDatasourceSet DatasourceSetInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDatasourceSet DatasourceSetInfo { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfo.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfo.json.cs index 44d9e31c2b84..ea5fc30359a0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfo.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class RestoreTargetInfo partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfo. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfo. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new RestoreTargetInfo(json) : null; } @@ -77,10 +77,10 @@ internal RestoreTargetInfo(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Run { return; } - __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RestoreTargetInfoBase(json); - {_datasourceInfo = If( json?.PropertyT("datasourceInfo"), out var __jsonDatasourceInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Datasource.FromJson(__jsonDatasourceInfo) : DatasourceInfo;} - {_datasourceSetInfo = If( json?.PropertyT("datasourceSetInfo"), out var __jsonDatasourceSetInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DatasourceSet.FromJson(__jsonDatasourceSetInfo) : DatasourceSetInfo;} - {_datasourceAuthCredentials = If( json?.PropertyT("datasourceAuthCredentials"), out var __jsonDatasourceAuthCredentials) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentials.FromJson(__jsonDatasourceAuthCredentials) : DatasourceAuthCredentials;} + __restoreTargetInfoBase = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RestoreTargetInfoBase(json); + {_datasourceInfo = If( json?.PropertyT("datasourceInfo"), out var __jsonDatasourceInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Datasource.FromJson(__jsonDatasourceInfo) : DatasourceInfo;} + {_datasourceSetInfo = If( json?.PropertyT("datasourceSetInfo"), out var __jsonDatasourceSetInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DatasourceSet.FromJson(__jsonDatasourceSetInfo) : DatasourceSetInfo;} + {_datasourceAuthCredentials = If( json?.PropertyT("datasourceAuthCredentials"), out var __jsonDatasourceAuthCredentials) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentials.FromJson(__jsonDatasourceAuthCredentials) : DatasourceAuthCredentials;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfoBase.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfoBase.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfoBase.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfoBase.PowerShell.cs index 994f36fe5b9d..2b90d8a70621 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfoBase.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfoBase.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class RestoreTargetInfoBase partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new RestoreTargetInfoBase(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RestoreTargetInfoBase(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,21 +105,21 @@ internal RestoreTargetInfoBase(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RecoveryOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); } if (content.Contains("RestoreLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -134,15 +134,15 @@ internal RestoreTargetInfoBase(global::System.Management.Automation.PSObject con // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("RecoveryOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RecoveryOption = (string) content.GetValueForProperty("RecoveryOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RecoveryOption, global::System.Convert.ToString); } if (content.Contains("RestoreLocation")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RestoreLocation = (string) content.GetValueForProperty("RestoreLocation",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal)this).RestoreLocation, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfoBase.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfoBase.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfoBase.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfoBase.TypeConverter.cs index 131b7ae755f3..38c7fb2c7998 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfoBase.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfoBase.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfoBase.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfoBase.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfoBase.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfoBase.cs index 122635870ce8..eb3f9b6e5def 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfoBase.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfoBase.cs @@ -3,18 +3,18 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Base class common to RestoreTargetInfo and RestoreFilesTargetInfo public partial class RestoreTargetInfoBase : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal { /// Internal Acessors for RecoveryOption - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBaseInternal.RecoveryOption { get => this._recoveryOption; set { {_recoveryOption = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBaseInternal.RecoveryOption { get => this._recoveryOption; set { {_recoveryOption = value;} } } /// Backing field for property. private string _objectType; diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfoBase.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfoBase.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfoBase.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfoBase.json.cs index 56dab230595f..e682a65daeb7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RestoreTargetInfoBase.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RestoreTargetInfoBase.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,15 +54,15 @@ public partial class RestoreTargetInfoBase partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase interface is polymorphic, /// and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RetentionTag.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RetentionTag.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RetentionTag.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RetentionTag.PowerShell.cs index 45912610e5ea..46e3af86882f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RetentionTag.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RetentionTag.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class RetentionTag partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new RetentionTag(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new RetentionTag(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,21 +103,21 @@ internal RetentionTag(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("TagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)this).TagName = (string) content.GetValueForProperty("TagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)this).TagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)this).TagName = (string) content.GetValueForProperty("TagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)this).TagName, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -132,15 +132,15 @@ internal RetentionTag(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("ETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)this).ETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)this).ETag = (string) content.GetValueForProperty("ETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)this).ETag, global::System.Convert.ToString); } if (content.Contains("Id")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)this).Id, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)this).Id = (string) content.GetValueForProperty("Id",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)this).Id, global::System.Convert.ToString); } if (content.Contains("TagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)this).TagName = (string) content.GetValueForProperty("TagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)this).TagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)this).TagName = (string) content.GetValueForProperty("TagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)this).TagName, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RetentionTag.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RetentionTag.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RetentionTag.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RetentionTag.TypeConverter.cs index ae9010838bf2..f1c7669beeea 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RetentionTag.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RetentionTag.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RetentionTag.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RetentionTag.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RetentionTag.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RetentionTag.cs index d5ac3a9f8258..368b95f036d8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RetentionTag.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RetentionTag.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Retention tag public partial class RetentionTag : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal { /// Backing field for property. @@ -28,10 +28,10 @@ public partial class RetentionTag : public string Id { get => this._id; } /// Internal Acessors for ETag - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal.ETag { get => this._eTag; set { {_eTag = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal.ETag { get => this._eTag; set { {_eTag = value;} } } /// Internal Acessors for Id - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal.Id { get => this._id; set { {_id = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal.Id { get => this._id; set { {_id = value;} } } /// Backing field for property. private string _tagName; diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RetentionTag.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RetentionTag.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RetentionTag.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RetentionTag.json.cs index c40867d99377..485a04e6f072 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/RetentionTag.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/RetentionTag.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class RetentionTag partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new RetentionTag(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedBackupCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedBackupCriteria.PowerShell.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedBackupCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedBackupCriteria.PowerShell.cs index 778fd10ab3ee..5945173330c1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedBackupCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedBackupCriteria.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class ScheduleBasedBackupCriteria partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ScheduleBasedBackupCriteria(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ScheduleBasedBackupCriteria(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,37 +105,37 @@ internal ScheduleBasedBackupCriteria(global::System.Collections.IDictionary cont // actually deserialize if (content.Contains("AbsoluteCriterion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).AbsoluteCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker[]) content.GetValueForProperty("AbsoluteCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).AbsoluteCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).AbsoluteCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker[]) content.GetValueForProperty("AbsoluteCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).AbsoluteCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker.CreateFrom)); } if (content.Contains("DaysOfMonth")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).DaysOfMonth = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDay[]) content.GetValueForProperty("DaysOfMonth",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).DaysOfMonth, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DayTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).DaysOfMonth = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDay[]) content.GetValueForProperty("DaysOfMonth",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).DaysOfMonth, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DayTypeConverter.ConvertFrom)); } if (content.Contains("DaysOfTheWeek")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).DaysOfTheWeek = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek[]) content.GetValueForProperty("DaysOfTheWeek",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).DaysOfTheWeek, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).DaysOfTheWeek = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek[]) content.GetValueForProperty("DaysOfTheWeek",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).DaysOfTheWeek, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek.CreateFrom)); } if (content.Contains("MonthsOfYear")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).MonthsOfYear = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Month[]) content.GetValueForProperty("MonthsOfYear",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).MonthsOfYear, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Month.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).MonthsOfYear = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Month[]) content.GetValueForProperty("MonthsOfYear",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).MonthsOfYear, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Month.CreateFrom)); } if (content.Contains("ScheduleTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).ScheduleTime = (global::System.DateTime[]) content.GetValueForProperty("ScheduleTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).ScheduleTime, __y => TypeConverterExtensions.SelectToArray(__y, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).ScheduleTime = (global::System.DateTime[]) content.GetValueForProperty("ScheduleTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).ScheduleTime, __y => TypeConverterExtensions.SelectToArray(__y, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified))); } if (content.Contains("WeeksOfTheMonth")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).WeeksOfTheMonth = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeekNumber[]) content.GetValueForProperty("WeeksOfTheMonth",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).WeeksOfTheMonth, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeekNumber.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).WeeksOfTheMonth = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeekNumber[]) content.GetValueForProperty("WeeksOfTheMonth",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).WeeksOfTheMonth, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeekNumber.CreateFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -150,31 +150,31 @@ internal ScheduleBasedBackupCriteria(global::System.Management.Automation.PSObje // actually deserialize if (content.Contains("AbsoluteCriterion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).AbsoluteCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker[]) content.GetValueForProperty("AbsoluteCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).AbsoluteCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).AbsoluteCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker[]) content.GetValueForProperty("AbsoluteCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).AbsoluteCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker.CreateFrom)); } if (content.Contains("DaysOfMonth")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).DaysOfMonth = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDay[]) content.GetValueForProperty("DaysOfMonth",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).DaysOfMonth, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DayTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).DaysOfMonth = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDay[]) content.GetValueForProperty("DaysOfMonth",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).DaysOfMonth, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DayTypeConverter.ConvertFrom)); } if (content.Contains("DaysOfTheWeek")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).DaysOfTheWeek = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek[]) content.GetValueForProperty("DaysOfTheWeek",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).DaysOfTheWeek, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).DaysOfTheWeek = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek[]) content.GetValueForProperty("DaysOfTheWeek",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).DaysOfTheWeek, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek.CreateFrom)); } if (content.Contains("MonthsOfYear")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).MonthsOfYear = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Month[]) content.GetValueForProperty("MonthsOfYear",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).MonthsOfYear, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Month.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).MonthsOfYear = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Month[]) content.GetValueForProperty("MonthsOfYear",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).MonthsOfYear, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Month.CreateFrom)); } if (content.Contains("ScheduleTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).ScheduleTime = (global::System.DateTime[]) content.GetValueForProperty("ScheduleTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).ScheduleTime, __y => TypeConverterExtensions.SelectToArray(__y, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).ScheduleTime = (global::System.DateTime[]) content.GetValueForProperty("ScheduleTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).ScheduleTime, __y => TypeConverterExtensions.SelectToArray(__y, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified))); } if (content.Contains("WeeksOfTheMonth")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).WeeksOfTheMonth = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeekNumber[]) content.GetValueForProperty("WeeksOfTheMonth",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal)this).WeeksOfTheMonth, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeekNumber.CreateFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).WeeksOfTheMonth = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeekNumber[]) content.GetValueForProperty("WeeksOfTheMonth",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal)this).WeeksOfTheMonth, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeekNumber.CreateFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteriaInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteriaInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteriaInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedBackupCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedBackupCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedBackupCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedBackupCriteria.TypeConverter.cs index ce731772997f..2a5b02672ac8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedBackupCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedBackupCriteria.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedBackupCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedBackupCriteria.cs similarity index 93% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedBackupCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedBackupCriteria.cs index 1006ae7bfaae..53cd4812e75b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedBackupCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedBackupCriteria.cs @@ -3,21 +3,21 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Schedule based backup criteria public partial class ScheduleBasedBackupCriteria : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteriaInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteriaInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria __backupCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupCriteria(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria __backupCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupCriteria(); /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker[] _absoluteCriterion; @@ -30,11 +30,11 @@ public partial class ScheduleBasedBackupCriteria : public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker[] AbsoluteCriterion { get => this._absoluteCriterion; set => this._absoluteCriterion = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDay[] _daysOfMonth; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDay[] _daysOfMonth; /// This is day of the month from 1 to 28 other wise last of month [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDay[] DaysOfMonth { get => this._daysOfMonth; set => this._daysOfMonth = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDay[] DaysOfMonth { get => this._daysOfMonth; set => this._daysOfMonth = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek[] _daysOfTheWeek; @@ -52,7 +52,7 @@ public partial class ScheduleBasedBackupCriteria : /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteriaInternal)__backupCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteriaInternal)__backupCriteria).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteriaInternal)__backupCriteria).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteriaInternal)__backupCriteria).ObjectType = value ; } /// Backing field for property. private global::System.DateTime[] _scheduleTime; @@ -89,7 +89,7 @@ public ScheduleBasedBackupCriteria() /// Schedule based backup criteria public partial interface IScheduleBasedBackupCriteria : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria { /// /// it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" @@ -109,8 +109,8 @@ public partial interface IScheduleBasedBackupCriteria : ReadOnly = false, Description = @"This is day of the month from 1 to 28 other wise last of month", SerializedName = @"daysOfMonth", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDay) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDay[] DaysOfMonth { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDay) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDay[] DaysOfMonth { get; set; } /// It should be Sunday/Monday/T..../Saturday [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -147,7 +147,7 @@ public partial interface IScheduleBasedBackupCriteria : } /// Schedule based backup criteria internal partial interface IScheduleBasedBackupCriteriaInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteriaInternal { /// /// it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" @@ -155,7 +155,7 @@ internal partial interface IScheduleBasedBackupCriteriaInternal : /// Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker[] AbsoluteCriterion { get; set; } /// This is day of the month from 1 to 28 other wise last of month - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDay[] DaysOfMonth { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDay[] DaysOfMonth { get; set; } /// It should be Sunday/Monday/T..../Saturday Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek[] DaysOfTheWeek { get; set; } /// It should be January/February/....../December diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedBackupCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedBackupCriteria.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedBackupCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedBackupCriteria.json.cs index 8ee8993584f9..ea075bc69dd4 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedBackupCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedBackupCriteria.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ScheduleBasedBackupCriteria partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteria. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ScheduleBasedBackupCriteria(json) : null; } @@ -77,9 +77,9 @@ internal ScheduleBasedBackupCriteria(Microsoft.Azure.PowerShell.Cmdlets.DataProt { return; } - __backupCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupCriteria(json); + __backupCriteria = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupCriteria(json); {_absoluteCriterion = If( json?.PropertyT("absoluteCriteria"), out var __jsonAbsoluteCriteria) ? If( __jsonAbsoluteCriteria as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker) (__u is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __t ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker)(__t.ToString()) : ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteMarker)""))) ))() : null : AbsoluteCriterion;} - {_daysOfMonth = If( json?.PropertyT("daysOfMonth"), out var __jsonDaysOfMonth) ? If( __jsonDaysOfMonth as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDay) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.Day.FromJson(__p) )) ))() : null : DaysOfMonth;} + {_daysOfMonth = If( json?.PropertyT("daysOfMonth"), out var __jsonDaysOfMonth) ? If( __jsonDaysOfMonth as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDay) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.Day.FromJson(__p) )) ))() : null : DaysOfMonth;} {_daysOfTheWeek = If( json?.PropertyT("daysOfTheWeek"), out var __jsonDaysOfTheWeek) ? If( __jsonDaysOfTheWeek as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __l) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__l, (__k)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek) (__k is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __j ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek)(__j.ToString()) : ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DayOfWeek)""))) ))() : null : DaysOfTheWeek;} {_monthsOfYear = If( json?.PropertyT("monthsOfYear"), out var __jsonMonthsOfYear) ? If( __jsonMonthsOfYear as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __g) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__g, (__f)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Month) (__f is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __e ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Month)(__e.ToString()) : ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.Month)""))) ))() : null : MonthsOfYear;} {_scheduleTime = If( json?.PropertyT("scheduleTimes"), out var __jsonScheduleTimes) ? If( __jsonScheduleTimes as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __b) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__b, (__a)=>(global::System.DateTime) (__a is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString ___z ? global::System.DateTime.TryParse((string)___z, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var ___zValue) ? ___zValue : default(global::System.DateTime) : default(global::System.DateTime))) ))() : null : ScheduleTime;} diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedTriggerContext.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedTriggerContext.PowerShell.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedTriggerContext.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedTriggerContext.PowerShell.cs index de1663ecc0b8..29e9352ac6c8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedTriggerContext.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedTriggerContext.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class ScheduleBasedTriggerContext partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContext DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContext DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ScheduleBasedTriggerContext(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContext DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContext DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ScheduleBasedTriggerContext(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContext FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContext FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,29 +105,29 @@ internal ScheduleBasedTriggerContext(global::System.Collections.IDictionary cont // actually deserialize if (content.Contains("Schedule")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal)this).Schedule = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupSchedule) content.GetValueForProperty("Schedule",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal)this).Schedule, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupScheduleTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal)this).Schedule = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupSchedule) content.GetValueForProperty("Schedule",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal)this).Schedule, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupScheduleTypeConverter.ConvertFrom); } if (content.Contains("TaggingCriterion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal)this).TaggingCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteria[]) content.GetValueForProperty("TaggingCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal)this).TaggingCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TaggingCriteriaTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal)this).TaggingCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteria[]) content.GetValueForProperty("TaggingCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal)this).TaggingCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TaggingCriteriaTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("ScheduleRepeatingTimeInterval")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal)this).ScheduleRepeatingTimeInterval = (string[]) content.GetValueForProperty("ScheduleRepeatingTimeInterval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal)this).ScheduleRepeatingTimeInterval, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal)this).ScheduleRepeatingTimeInterval = (string[]) content.GetValueForProperty("ScheduleRepeatingTimeInterval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal)this).ScheduleRepeatingTimeInterval, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ScheduleTimeZone")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal)this).ScheduleTimeZone = (string) content.GetValueForProperty("ScheduleTimeZone",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal)this).ScheduleTimeZone, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal)this).ScheduleTimeZone = (string) content.GetValueForProperty("ScheduleTimeZone",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal)this).ScheduleTimeZone, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -142,23 +142,23 @@ internal ScheduleBasedTriggerContext(global::System.Management.Automation.PSObje // actually deserialize if (content.Contains("Schedule")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal)this).Schedule = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupSchedule) content.GetValueForProperty("Schedule",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal)this).Schedule, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupScheduleTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal)this).Schedule = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupSchedule) content.GetValueForProperty("Schedule",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal)this).Schedule, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupScheduleTypeConverter.ConvertFrom); } if (content.Contains("TaggingCriterion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal)this).TaggingCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteria[]) content.GetValueForProperty("TaggingCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal)this).TaggingCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TaggingCriteriaTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal)this).TaggingCriterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteria[]) content.GetValueForProperty("TaggingCriterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal)this).TaggingCriterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TaggingCriteriaTypeConverter.ConvertFrom)); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); } if (content.Contains("ScheduleRepeatingTimeInterval")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal)this).ScheduleRepeatingTimeInterval = (string[]) content.GetValueForProperty("ScheduleRepeatingTimeInterval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal)this).ScheduleRepeatingTimeInterval, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal)this).ScheduleRepeatingTimeInterval = (string[]) content.GetValueForProperty("ScheduleRepeatingTimeInterval",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal)this).ScheduleRepeatingTimeInterval, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ScheduleTimeZone")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal)this).ScheduleTimeZone = (string) content.GetValueForProperty("ScheduleTimeZone",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal)this).ScheduleTimeZone, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal)this).ScheduleTimeZone = (string) content.GetValueForProperty("ScheduleTimeZone",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal)this).ScheduleTimeZone, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedTriggerContext.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedTriggerContext.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedTriggerContext.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedTriggerContext.TypeConverter.cs index 96a429aba6be..75af7f4bd7cc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedTriggerContext.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedTriggerContext.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContext ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContext ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContext).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContext).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedTriggerContext.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedTriggerContext.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedTriggerContext.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedTriggerContext.cs index bc0f420f4583..9b6c96de8b80 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedTriggerContext.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedTriggerContext.cs @@ -3,50 +3,50 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Schedule based trigger context public partial class ScheduleBasedTriggerContext : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContext, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContext, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext __triggerContext = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TriggerContext(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext __triggerContext = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TriggerContext(); /// Internal Acessors for Schedule - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupSchedule Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContextInternal.Schedule { get => (this._schedule = this._schedule ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupSchedule()); set { {_schedule = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupSchedule Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContextInternal.Schedule { get => (this._schedule = this._schedule ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupSchedule()); set { {_schedule = value;} } } /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)__triggerContext).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)__triggerContext).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)__triggerContext).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)__triggerContext).ObjectType = value ; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupSchedule _schedule; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupSchedule _schedule; /// Schedule for this backup [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupSchedule Schedule { get => (this._schedule = this._schedule ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupSchedule()); set => this._schedule = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupSchedule Schedule { get => (this._schedule = this._schedule ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupSchedule()); set => this._schedule = value; } /// ISO 8601 repeating time interval format [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string[] ScheduleRepeatingTimeInterval { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupScheduleInternal)Schedule).RepeatingTimeInterval; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupScheduleInternal)Schedule).RepeatingTimeInterval = value ; } + public string[] ScheduleRepeatingTimeInterval { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupScheduleInternal)Schedule).RepeatingTimeInterval; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupScheduleInternal)Schedule).RepeatingTimeInterval = value ; } /// Time zone for a schedule. Example: Pacific Standard Time [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string ScheduleTimeZone { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupScheduleInternal)Schedule).TimeZone; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupScheduleInternal)Schedule).TimeZone = value ?? null; } + public string ScheduleTimeZone { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupScheduleInternal)Schedule).TimeZone; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupScheduleInternal)Schedule).TimeZone = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteria[] _taggingCriterion; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteria[] _taggingCriterion; /// List of tags that can be applicable for given schedule. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteria[] TaggingCriterion { get => this._taggingCriterion; set => this._taggingCriterion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteria[] TaggingCriterion { get => this._taggingCriterion; set => this._taggingCriterion = value; } /// Creates an new instance. public ScheduleBasedTriggerContext() @@ -69,7 +69,7 @@ public ScheduleBasedTriggerContext() /// Schedule based trigger context public partial interface IScheduleBasedTriggerContext : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext { /// ISO 8601 repeating time interval format [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -93,22 +93,22 @@ public partial interface IScheduleBasedTriggerContext : ReadOnly = false, Description = @"List of tags that can be applicable for given schedule.", SerializedName = @"taggingCriteria", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteria) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteria[] TaggingCriterion { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteria) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteria[] TaggingCriterion { get; set; } } /// Schedule based trigger context internal partial interface IScheduleBasedTriggerContextInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal { /// Schedule for this backup - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupSchedule Schedule { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupSchedule Schedule { get; set; } /// ISO 8601 repeating time interval format string[] ScheduleRepeatingTimeInterval { get; set; } /// Time zone for a schedule. Example: Pacific Standard Time string ScheduleTimeZone { get; set; } /// List of tags that can be applicable for given schedule. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteria[] TaggingCriterion { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteria[] TaggingCriterion { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedTriggerContext.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedTriggerContext.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedTriggerContext.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedTriggerContext.json.cs index 8dd2cdc7f1d6..f66a2b272cc7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ScheduleBasedTriggerContext.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ScheduleBasedTriggerContext.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ScheduleBasedTriggerContext partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContext. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContext. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContext. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContext. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedTriggerContext FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedTriggerContext FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ScheduleBasedTriggerContext(json) : null; } @@ -77,9 +77,9 @@ internal ScheduleBasedTriggerContext(Microsoft.Azure.PowerShell.Cmdlets.DataProt { return; } - __triggerContext = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TriggerContext(json); - {_schedule = If( json?.PropertyT("schedule"), out var __jsonSchedule) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupSchedule.FromJson(__jsonSchedule) : Schedule;} - {_taggingCriterion = If( json?.PropertyT("taggingCriteria"), out var __jsonTaggingCriteria) ? If( __jsonTaggingCriteria as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteria) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TaggingCriteria.FromJson(__u) )) ))() : null : TaggingCriterion;} + __triggerContext = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TriggerContext(json); + {_schedule = If( json?.PropertyT("schedule"), out var __jsonSchedule) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupSchedule.FromJson(__jsonSchedule) : Schedule;} + {_taggingCriterion = If( json?.PropertyT("taggingCriteria"), out var __jsonTaggingCriteria) ? If( __jsonTaggingCriteria as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteria) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TaggingCriteria.FromJson(__u) )) ))() : null : TaggingCriterion;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreBasedAuthCredentials.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreBasedAuthCredentials.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreBasedAuthCredentials.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreBasedAuthCredentials.PowerShell.cs index 8d859dc28bdf..f01972b8d296 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreBasedAuthCredentials.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreBasedAuthCredentials.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class SecretStoreBasedAuthCredentials partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreBasedAuthCredentials DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreBasedAuthCredentials DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new SecretStoreBasedAuthCredentials(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreBasedAuthCredentials DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreBasedAuthCredentials DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SecretStoreBasedAuthCredentials(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreBasedAuthCredentials FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreBasedAuthCredentials FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,17 +105,17 @@ internal SecretStoreBasedAuthCredentials(global::System.Collections.IDictionary // actually deserialize if (content.Contains("SecretStoreResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreBasedAuthCredentialsInternal)this).SecretStoreResource = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResource) content.GetValueForProperty("SecretStoreResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreBasedAuthCredentialsInternal)this).SecretStoreResource, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecretStoreResourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreBasedAuthCredentialsInternal)this).SecretStoreResource = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResource) content.GetValueForProperty("SecretStoreResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreBasedAuthCredentialsInternal)this).SecretStoreResource, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecretStoreResourceTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentialsInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentialsInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentialsInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentialsInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -130,11 +130,11 @@ internal SecretStoreBasedAuthCredentials(global::System.Management.Automation.PS // actually deserialize if (content.Contains("SecretStoreResource")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreBasedAuthCredentialsInternal)this).SecretStoreResource = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResource) content.GetValueForProperty("SecretStoreResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreBasedAuthCredentialsInternal)this).SecretStoreResource, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecretStoreResourceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreBasedAuthCredentialsInternal)this).SecretStoreResource = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResource) content.GetValueForProperty("SecretStoreResource",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreBasedAuthCredentialsInternal)this).SecretStoreResource, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecretStoreResourceTypeConverter.ConvertFrom); } if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentialsInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentialsInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentialsInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentialsInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreBasedAuthCredentials.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreBasedAuthCredentials.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreBasedAuthCredentials.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreBasedAuthCredentials.TypeConverter.cs index df67a08dd54e..066d870b9132 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreBasedAuthCredentials.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreBasedAuthCredentials.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreBasedAuthCredentials ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreBasedAuthCredentials ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreBasedAuthCredentials).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreBasedAuthCredentials).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreBasedAuthCredentials.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreBasedAuthCredentials.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreBasedAuthCredentials.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreBasedAuthCredentials.cs index 290f0dad2ec9..7334650aa7b1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreBasedAuthCredentials.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreBasedAuthCredentials.cs @@ -3,32 +3,32 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Secret store based authentication credentials. public partial class SecretStoreBasedAuthCredentials : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreBasedAuthCredentials, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreBasedAuthCredentialsInternal, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreBasedAuthCredentials, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreBasedAuthCredentialsInternal, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials __authCredentials = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentials(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials __authCredentials = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentials(); /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inherited)] - public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentialsInternal)__authCredentials).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentialsInternal)__authCredentials).ObjectType = value ; } + public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentialsInternal)__authCredentials).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentialsInternal)__authCredentials).ObjectType = value ; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResource _secretStoreResource; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResource _secretStoreResource; /// Secret store resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResource SecretStoreResource { get => (this._secretStoreResource = this._secretStoreResource ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecretStoreResource()); set => this._secretStoreResource = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResource SecretStoreResource { get => (this._secretStoreResource = this._secretStoreResource ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecretStoreResource()); set => this._secretStoreResource = value; } /// Creates an new instance. public SecretStoreBasedAuthCredentials() @@ -51,7 +51,7 @@ public SecretStoreBasedAuthCredentials() /// Secret store based authentication credentials. public partial interface ISecretStoreBasedAuthCredentials : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentials + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentials { /// Secret store resource [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -59,16 +59,16 @@ public partial interface ISecretStoreBasedAuthCredentials : ReadOnly = false, Description = @"Secret store resource", SerializedName = @"secretStoreResource", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResource) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResource SecretStoreResource { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResource) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResource SecretStoreResource { get; set; } } /// Secret store based authentication credentials. internal partial interface ISecretStoreBasedAuthCredentialsInternal : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAuthCredentialsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAuthCredentialsInternal { /// Secret store resource - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResource SecretStoreResource { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResource SecretStoreResource { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreBasedAuthCredentials.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreBasedAuthCredentials.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreBasedAuthCredentials.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreBasedAuthCredentials.json.cs index 68b632c54eb3..85443d4548a7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreBasedAuthCredentials.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreBasedAuthCredentials.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class SecretStoreBasedAuthCredentials partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreBasedAuthCredentials. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreBasedAuthCredentials. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreBasedAuthCredentials. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreBasedAuthCredentials. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreBasedAuthCredentials FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreBasedAuthCredentials FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new SecretStoreBasedAuthCredentials(json) : null; } @@ -77,8 +77,8 @@ internal SecretStoreBasedAuthCredentials(Microsoft.Azure.PowerShell.Cmdlets.Data { return; } - __authCredentials = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AuthCredentials(json); - {_secretStoreResource = If( json?.PropertyT("secretStoreResource"), out var __jsonSecretStoreResource) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SecretStoreResource.FromJson(__jsonSecretStoreResource) : SecretStoreResource;} + __authCredentials = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AuthCredentials(json); + {_secretStoreResource = If( json?.PropertyT("secretStoreResource"), out var __jsonSecretStoreResource) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SecretStoreResource.FromJson(__jsonSecretStoreResource) : SecretStoreResource;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreResource.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreResource.PowerShell.cs similarity index 86% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreResource.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreResource.PowerShell.cs index 3ea6be5c3fe7..5da2d39d1544 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreResource.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreResource.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class SecretStoreResource partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResource DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResource DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new SecretStoreResource(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResource DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SecretStoreResource(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResource FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,21 +103,21 @@ internal SecretStoreResource(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Uri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResourceInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResourceInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResourceInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResourceInternal)this).Uri, global::System.Convert.ToString); } if (content.Contains("SecretStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResourceInternal)this).SecretStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreType) content.GetValueForProperty("SecretStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResourceInternal)this).SecretStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResourceInternal)this).SecretStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreType) content.GetValueForProperty("SecretStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResourceInternal)this).SecretStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreType.CreateFrom); } if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResourceInternal)this).Value = (string) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResourceInternal)this).Value, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResourceInternal)this).Value = (string) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResourceInternal)this).Value, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -132,15 +132,15 @@ internal SecretStoreResource(global::System.Management.Automation.PSObject conte // actually deserialize if (content.Contains("Uri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResourceInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResourceInternal)this).Uri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResourceInternal)this).Uri = (string) content.GetValueForProperty("Uri",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResourceInternal)this).Uri, global::System.Convert.ToString); } if (content.Contains("SecretStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResourceInternal)this).SecretStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreType) content.GetValueForProperty("SecretStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResourceInternal)this).SecretStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResourceInternal)this).SecretStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreType) content.GetValueForProperty("SecretStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResourceInternal)this).SecretStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreType.CreateFrom); } if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResourceInternal)this).Value = (string) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResourceInternal)this).Value, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResourceInternal)this).Value = (string) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResourceInternal)this).Value, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreResource.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreResource.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreResource.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreResource.TypeConverter.cs index 174bf22376ab..53b657ca1e51 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreResource.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreResource.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResource ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResource ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResource).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResource).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreResource.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreResource.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreResource.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreResource.cs index a6f972cac097..5080eecefb6a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreResource.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreResource.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Class representing a secret store resource. public partial class SecretStoreResource : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResource, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResourceInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResource, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResourceInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreResource.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreResource.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreResource.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreResource.json.cs index 7eee670268b5..0985b260af52 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecretStoreResource.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecretStoreResource.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class SecretStoreResource partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResource. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResource. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResource. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResource. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecretStoreResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecretStoreResource FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new SecretStoreResource(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecuritySettings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecuritySettings.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecuritySettings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecuritySettings.PowerShell.cs index 1211069e8e9b..fe617d6e4834 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecuritySettings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecuritySettings.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class SecuritySettings partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new SecuritySettings(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SecuritySettings(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,29 +103,29 @@ internal SecuritySettings(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("ImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).ImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings) content.GetValueForProperty("ImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).ImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).ImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings) content.GetValueForProperty("ImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).ImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ImmutabilitySettingsTypeConverter.ConvertFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -140,23 +140,23 @@ internal SecuritySettings(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("SoftDeleteSetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SoftDeleteSettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).SoftDeleteSetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings) content.GetValueForProperty("SoftDeleteSetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).SoftDeleteSetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SoftDeleteSettingsTypeConverter.ConvertFrom); } if (content.Contains("ImmutabilitySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).ImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings) content.GetValueForProperty("ImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).ImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ImmutabilitySettingsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).ImmutabilitySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings) content.GetValueForProperty("ImmutabilitySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).ImmutabilitySetting, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ImmutabilitySettingsTypeConverter.ConvertFrom); } if (content.Contains("SoftDeleteState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).SoftDeleteState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("SoftDeleteState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).SoftDeleteState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("SoftDeleteRetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).SoftDeleteRetentionDurationInDay = (double?) content.GetValueForProperty("SoftDeleteRetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).SoftDeleteRetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } if (content.Contains("ImmutabilityState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).ImmutabilityState = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState?) content.GetValueForProperty("ImmutabilityState",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal)this).ImmutabilityState, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecuritySettings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecuritySettings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecuritySettings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecuritySettings.TypeConverter.cs index 965eb99d7cec..873df6cdcd80 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecuritySettings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecuritySettings.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecuritySettings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecuritySettings.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecuritySettings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecuritySettings.cs index c9d39629b5e4..5de64041b4b6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecuritySettings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecuritySettings.cs @@ -3,47 +3,47 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Class containing security settings of vault public partial class SecuritySettings : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings _immutabilitySetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings _immutabilitySetting; /// Immutability Settings at vault level [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings ImmutabilitySetting { get => (this._immutabilitySetting = this._immutabilitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ImmutabilitySettings()); set => this._immutabilitySetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings ImmutabilitySetting { get => (this._immutabilitySetting = this._immutabilitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ImmutabilitySettings()); set => this._immutabilitySetting = value; } /// Immutability state [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettingsInternal)ImmutabilitySetting).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettingsInternal)ImmutabilitySetting).State = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettingsInternal)ImmutabilitySetting).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettingsInternal)ImmutabilitySetting).State = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState)""); } /// Internal Acessors for ImmutabilitySetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal.ImmutabilitySetting { get => (this._immutabilitySetting = this._immutabilitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ImmutabilitySettings()); set { {_immutabilitySetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal.ImmutabilitySetting { get => (this._immutabilitySetting = this._immutabilitySetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ImmutabilitySettings()); set { {_immutabilitySetting = value;} } } /// Internal Acessors for SoftDeleteSetting - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettingsInternal.SoftDeleteSetting { get => (this._softDeleteSetting = this._softDeleteSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SoftDeleteSettings()); set { {_softDeleteSetting = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettingsInternal.SoftDeleteSetting { get => (this._softDeleteSetting = this._softDeleteSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SoftDeleteSettings()); set { {_softDeleteSetting = value;} } } /// Soft delete retention duration [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public double? SoftDeleteRetentionDurationInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettingsInternal)SoftDeleteSetting).RetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettingsInternal)SoftDeleteSetting).RetentionDurationInDay = value ?? default(double); } + public double? SoftDeleteRetentionDurationInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettingsInternal)SoftDeleteSetting).RetentionDurationInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettingsInternal)SoftDeleteSetting).RetentionDurationInDay = value ?? default(double); } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings _softDeleteSetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings _softDeleteSetting; /// Soft delete related settings [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings SoftDeleteSetting { get => (this._softDeleteSetting = this._softDeleteSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SoftDeleteSettings()); set => this._softDeleteSetting = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings SoftDeleteSetting { get => (this._softDeleteSetting = this._softDeleteSetting ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SoftDeleteSettings()); set => this._softDeleteSetting = value; } /// State of soft delete [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState? SoftDeleteState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettingsInternal)SoftDeleteSetting).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettingsInternal)SoftDeleteSetting).State = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState)""); } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState? SoftDeleteState { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettingsInternal)SoftDeleteSetting).State; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettingsInternal)SoftDeleteSetting).State = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState)""); } /// Creates an new instance. public SecuritySettings() @@ -86,13 +86,13 @@ internal partial interface ISecuritySettingsInternal { /// Immutability Settings at vault level - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IImmutabilitySettings ImmutabilitySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IImmutabilitySettings ImmutabilitySetting { get; set; } /// Immutability state Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState? ImmutabilityState { get; set; } /// Soft delete retention duration double? SoftDeleteRetentionDurationInDay { get; set; } /// Soft delete related settings - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings SoftDeleteSetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings SoftDeleteSetting { get; set; } /// State of soft delete Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState? SoftDeleteState { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecuritySettings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecuritySettings.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecuritySettings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecuritySettings.json.cs index 9a78db75f2b1..3abf43f7fcaf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SecuritySettings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SecuritySettings.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class SecuritySettings partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISecuritySettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISecuritySettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new SecuritySettings(json) : null; } @@ -77,8 +77,8 @@ internal SecuritySettings(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runt { return; } - {_softDeleteSetting = If( json?.PropertyT("softDeleteSettings"), out var __jsonSoftDeleteSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SoftDeleteSettings.FromJson(__jsonSoftDeleteSettings) : SoftDeleteSetting;} - {_immutabilitySetting = If( json?.PropertyT("immutabilitySettings"), out var __jsonImmutabilitySettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ImmutabilitySettings.FromJson(__jsonImmutabilitySettings) : ImmutabilitySetting;} + {_softDeleteSetting = If( json?.PropertyT("softDeleteSettings"), out var __jsonSoftDeleteSettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SoftDeleteSettings.FromJson(__jsonSoftDeleteSettings) : SoftDeleteSetting;} + {_immutabilitySetting = If( json?.PropertyT("immutabilitySettings"), out var __jsonImmutabilitySettings) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ImmutabilitySettings.FromJson(__jsonImmutabilitySettings) : ImmutabilitySetting;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SoftDeleteSettings.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SoftDeleteSettings.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SoftDeleteSettings.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SoftDeleteSettings.PowerShell.cs index 4b6cb35bee81..e40793966c74 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SoftDeleteSettings.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SoftDeleteSettings.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class SoftDeleteSettings partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new SoftDeleteSettings(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SoftDeleteSettings(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,17 +103,17 @@ internal SoftDeleteSettings(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("State")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("RetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettingsInternal)this).RetentionDurationInDay = (double?) content.GetValueForProperty("RetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettingsInternal)this).RetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettingsInternal)this).RetentionDurationInDay = (double?) content.GetValueForProperty("RetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettingsInternal)this).RetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -128,11 +128,11 @@ internal SoftDeleteSettings(global::System.Management.Automation.PSObject conten // actually deserialize if (content.Contains("State")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettingsInternal)this).State = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState?) content.GetValueForProperty("State",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettingsInternal)this).State, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState.CreateFrom); } if (content.Contains("RetentionDurationInDay")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettingsInternal)this).RetentionDurationInDay = (double?) content.GetValueForProperty("RetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettingsInternal)this).RetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettingsInternal)this).RetentionDurationInDay = (double?) content.GetValueForProperty("RetentionDurationInDay",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettingsInternal)this).RetentionDurationInDay, (__y)=> (double) global::System.Convert.ChangeType(__y, typeof(double))); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SoftDeleteSettings.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SoftDeleteSettings.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SoftDeleteSettings.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SoftDeleteSettings.TypeConverter.cs index 62ad46080db7..e8c8f39d6e91 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SoftDeleteSettings.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SoftDeleteSettings.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SoftDeleteSettings.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SoftDeleteSettings.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SoftDeleteSettings.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SoftDeleteSettings.cs index b543a0b4f290..d4e1b300a3bb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SoftDeleteSettings.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SoftDeleteSettings.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Soft delete related settings public partial class SoftDeleteSettings : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettingsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettingsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SoftDeleteSettings.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SoftDeleteSettings.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SoftDeleteSettings.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SoftDeleteSettings.json.cs index 383d899fb1c3..f6827499e038 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SoftDeleteSettings.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SoftDeleteSettings.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class SoftDeleteSettings partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISoftDeleteSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISoftDeleteSettings FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new SoftDeleteSettings(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SourceLifeCycle.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SourceLifeCycle.PowerShell.cs similarity index 78% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SourceLifeCycle.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SourceLifeCycle.PowerShell.cs index dd1a561a1922..a7dd1e8eb097 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SourceLifeCycle.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SourceLifeCycle.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class SourceLifeCycle partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new SourceLifeCycle(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SourceLifeCycle(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,37 +103,37 @@ internal SourceLifeCycle(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("DeleteAfter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).DeleteAfter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption) content.GetValueForProperty("DeleteAfter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).DeleteAfter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeleteOptionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).DeleteAfter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption) content.GetValueForProperty("DeleteAfter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).DeleteAfter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeleteOptionTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).SourceDataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase) content.GetValueForProperty("SourceDataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).SourceDataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).SourceDataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase) content.GetValueForProperty("SourceDataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).SourceDataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("TargetDataStoreCopySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).TargetDataStoreCopySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySetting[]) content.GetValueForProperty("TargetDataStoreCopySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).TargetDataStoreCopySetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TargetCopySettingTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).TargetDataStoreCopySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySetting[]) content.GetValueForProperty("TargetDataStoreCopySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).TargetDataStoreCopySetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TargetCopySettingTypeConverter.ConvertFrom)); } if (content.Contains("DeleteAfterDuration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).DeleteAfterDuration = (string) content.GetValueForProperty("DeleteAfterDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).DeleteAfterDuration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).DeleteAfterDuration = (string) content.GetValueForProperty("DeleteAfterDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).DeleteAfterDuration, global::System.Convert.ToString); } if (content.Contains("DeleteAfterObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).DeleteAfterObjectType = (string) content.GetValueForProperty("DeleteAfterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).DeleteAfterObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).DeleteAfterObjectType = (string) content.GetValueForProperty("DeleteAfterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).DeleteAfterObjectType, global::System.Convert.ToString); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } if (content.Contains("SourceDataStoreObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).SourceDataStoreObjectType = (string) content.GetValueForProperty("SourceDataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).SourceDataStoreObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).SourceDataStoreObjectType = (string) content.GetValueForProperty("SourceDataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).SourceDataStoreObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -148,31 +148,31 @@ internal SourceLifeCycle(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("DeleteAfter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).DeleteAfter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption) content.GetValueForProperty("DeleteAfter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).DeleteAfter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeleteOptionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).DeleteAfter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption) content.GetValueForProperty("DeleteAfter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).DeleteAfter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeleteOptionTypeConverter.ConvertFrom); } if (content.Contains("SourceDataStore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).SourceDataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase) content.GetValueForProperty("SourceDataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).SourceDataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).SourceDataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase) content.GetValueForProperty("SourceDataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).SourceDataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("TargetDataStoreCopySetting")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).TargetDataStoreCopySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySetting[]) content.GetValueForProperty("TargetDataStoreCopySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).TargetDataStoreCopySetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TargetCopySettingTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).TargetDataStoreCopySetting = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySetting[]) content.GetValueForProperty("TargetDataStoreCopySetting",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).TargetDataStoreCopySetting, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TargetCopySettingTypeConverter.ConvertFrom)); } if (content.Contains("DeleteAfterDuration")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).DeleteAfterDuration = (string) content.GetValueForProperty("DeleteAfterDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).DeleteAfterDuration, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).DeleteAfterDuration = (string) content.GetValueForProperty("DeleteAfterDuration",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).DeleteAfterDuration, global::System.Convert.ToString); } if (content.Contains("DeleteAfterObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).DeleteAfterObjectType = (string) content.GetValueForProperty("DeleteAfterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).DeleteAfterObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).DeleteAfterObjectType = (string) content.GetValueForProperty("DeleteAfterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).DeleteAfterObjectType, global::System.Convert.ToString); } if (content.Contains("SourceDataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).SourceDataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("SourceDataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).SourceDataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } if (content.Contains("SourceDataStoreObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).SourceDataStoreObjectType = (string) content.GetValueForProperty("SourceDataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal)this).SourceDataStoreObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).SourceDataStoreObjectType = (string) content.GetValueForProperty("SourceDataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal)this).SourceDataStoreObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SourceLifeCycle.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SourceLifeCycle.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SourceLifeCycle.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SourceLifeCycle.TypeConverter.cs index df616e99a892..1e35d470b2e7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SourceLifeCycle.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SourceLifeCycle.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SourceLifeCycle.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SourceLifeCycle.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SourceLifeCycle.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SourceLifeCycle.cs index 83dd23de1c87..21d7cc0c3e93 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SourceLifeCycle.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SourceLifeCycle.cs @@ -3,57 +3,57 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Source LifeCycle public partial class SourceLifeCycle : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption _deleteAfter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption _deleteAfter; /// Delete Option [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption DeleteAfter { get => (this._deleteAfter = this._deleteAfter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeleteOption()); set => this._deleteAfter = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption DeleteAfter { get => (this._deleteAfter = this._deleteAfter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeleteOption()); set => this._deleteAfter = value; } /// Duration of deletion after given timespan [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string DeleteAfterDuration { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)DeleteAfter).Duration; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)DeleteAfter).Duration = value ; } + public string DeleteAfterDuration { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)DeleteAfter).Duration; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)DeleteAfter).Duration = value ; } /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string DeleteAfterObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)DeleteAfter).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOptionInternal)DeleteAfter).ObjectType = value ; } + public string DeleteAfterObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)DeleteAfter).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOptionInternal)DeleteAfter).ObjectType = value ; } /// Internal Acessors for DeleteAfter - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal.DeleteAfter { get => (this._deleteAfter = this._deleteAfter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeleteOption()); set { {_deleteAfter = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal.DeleteAfter { get => (this._deleteAfter = this._deleteAfter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeleteOption()); set { {_deleteAfter = value;} } } /// Internal Acessors for SourceDataStore - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycleInternal.SourceDataStore { get => (this._sourceDataStore = this._sourceDataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreInfoBase()); set { {_sourceDataStore = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycleInternal.SourceDataStore { get => (this._sourceDataStore = this._sourceDataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreInfoBase()); set { {_sourceDataStore = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase _sourceDataStore; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase _sourceDataStore; /// DataStoreInfo base [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase SourceDataStore { get => (this._sourceDataStore = this._sourceDataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreInfoBase()); set => this._sourceDataStore = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase SourceDataStore { get => (this._sourceDataStore = this._sourceDataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreInfoBase()); set => this._sourceDataStore = value; } /// Type of Datasource object, used to initialize the right inherited type [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string SourceDataStoreObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)SourceDataStore).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)SourceDataStore).ObjectType = value ; } + public string SourceDataStoreObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)SourceDataStore).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)SourceDataStore).ObjectType = value ; } /// type of datastore; Operational/Vault/Archive [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes SourceDataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)SourceDataStore).DataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)SourceDataStore).DataStoreType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes SourceDataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)SourceDataStore).DataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)SourceDataStore).DataStoreType = value ; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySetting[] _targetDataStoreCopySetting; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySetting[] _targetDataStoreCopySetting; [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySetting[] TargetDataStoreCopySetting { get => this._targetDataStoreCopySetting; set => this._targetDataStoreCopySetting = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySetting[] TargetDataStoreCopySetting { get => this._targetDataStoreCopySetting; set => this._targetDataStoreCopySetting = value; } /// Creates an new instance. public SourceLifeCycle() @@ -103,8 +103,8 @@ public partial interface ISourceLifeCycle : ReadOnly = false, Description = @"", SerializedName = @"targetDataStoreCopySettings", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySetting) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySetting[] TargetDataStoreCopySetting { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySetting) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySetting[] TargetDataStoreCopySetting { get; set; } } /// Source LifeCycle @@ -112,19 +112,19 @@ internal partial interface ISourceLifeCycleInternal { /// Delete Option - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeleteOption DeleteAfter { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeleteOption DeleteAfter { get; set; } /// Duration of deletion after given timespan string DeleteAfterDuration { get; set; } /// Type of the specific object - used for deserializing string DeleteAfterObjectType { get; set; } /// DataStoreInfo base - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase SourceDataStore { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase SourceDataStore { get; set; } /// Type of Datasource object, used to initialize the right inherited type string SourceDataStoreObjectType { get; set; } /// type of datastore; Operational/Vault/Archive Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes SourceDataStoreType { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySetting[] TargetDataStoreCopySetting { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySetting[] TargetDataStoreCopySetting { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SourceLifeCycle.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SourceLifeCycle.json.cs similarity index 94% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SourceLifeCycle.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SourceLifeCycle.json.cs index ab5fbb005255..e64a4c2bd99c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SourceLifeCycle.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SourceLifeCycle.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class SourceLifeCycle partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new SourceLifeCycle(json) : null; } @@ -77,9 +77,9 @@ internal SourceLifeCycle(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runti { return; } - {_deleteAfter = If( json?.PropertyT("deleteAfter"), out var __jsonDeleteAfter) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DeleteOption.FromJson(__jsonDeleteAfter) : DeleteAfter;} - {_sourceDataStore = If( json?.PropertyT("sourceDataStore"), out var __jsonSourceDataStore) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreInfoBase.FromJson(__jsonSourceDataStore) : SourceDataStore;} - {_targetDataStoreCopySetting = If( json?.PropertyT("targetDataStoreCopySettings"), out var __jsonTargetDataStoreCopySettings) ? If( __jsonTargetDataStoreCopySettings as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySetting) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TargetCopySetting.FromJson(__u) )) ))() : null : TargetDataStoreCopySetting;} + {_deleteAfter = If( json?.PropertyT("deleteAfter"), out var __jsonDeleteAfter) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DeleteOption.FromJson(__jsonDeleteAfter) : DeleteAfter;} + {_sourceDataStore = If( json?.PropertyT("sourceDataStore"), out var __jsonSourceDataStore) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreInfoBase.FromJson(__jsonSourceDataStore) : SourceDataStore;} + {_targetDataStoreCopySetting = If( json?.PropertyT("targetDataStoreCopySettings"), out var __jsonTargetDataStoreCopySettings) ? If( __jsonTargetDataStoreCopySettings as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySetting) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TargetCopySetting.FromJson(__u) )) ))() : null : TargetDataStoreCopySetting;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/StorageSetting.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/StorageSetting.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/StorageSetting.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/StorageSetting.PowerShell.cs index 6d3525757539..63d06b6f7888 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/StorageSetting.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/StorageSetting.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class StorageSetting partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new StorageSetting(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new StorageSetting(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,17 +103,17 @@ internal StorageSetting(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("DatastoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSettingInternal)this).DatastoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingStoreTypes?) content.GetValueForProperty("DatastoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSettingInternal)this).DatastoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSettingInternal)this).DatastoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingStoreTypes?) content.GetValueForProperty("DatastoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSettingInternal)this).DatastoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingStoreTypes.CreateFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSettingInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingTypes?) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSettingInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSettingInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingTypes?) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSettingInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingTypes.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -128,11 +128,11 @@ internal StorageSetting(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("DatastoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSettingInternal)this).DatastoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingStoreTypes?) content.GetValueForProperty("DatastoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSettingInternal)this).DatastoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSettingInternal)this).DatastoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingStoreTypes?) content.GetValueForProperty("DatastoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSettingInternal)this).DatastoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingStoreTypes.CreateFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSettingInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingTypes?) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSettingInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSettingInternal)this).Type = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingTypes?) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSettingInternal)this).Type, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingTypes.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/StorageSetting.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/StorageSetting.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/StorageSetting.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/StorageSetting.TypeConverter.cs index 35385c3f817c..e05112388159 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/StorageSetting.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/StorageSetting.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/StorageSetting.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/StorageSetting.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/StorageSetting.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/StorageSetting.cs index ee8cb2caaab9..75f0cf3b5aaf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/StorageSetting.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/StorageSetting.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Storage setting public partial class StorageSetting : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSettingInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSettingInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/StorageSetting.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/StorageSetting.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/StorageSetting.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/StorageSetting.json.cs index b2f983fc964b..62322457125f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/StorageSetting.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/StorageSetting.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class StorageSetting partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new StorageSetting(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SupportedFeature.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SupportedFeature.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SupportedFeature.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SupportedFeature.PowerShell.cs index 2e7adcb71b62..cccafd23a430 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SupportedFeature.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SupportedFeature.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class SupportedFeature partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeature DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeature DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new SupportedFeature(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeature DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeature DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SupportedFeature(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeature FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeature FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,21 +103,21 @@ internal SupportedFeature(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("FeatureName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeatureInternal)this).FeatureName = (string) content.GetValueForProperty("FeatureName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeatureInternal)this).FeatureName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeatureInternal)this).FeatureName = (string) content.GetValueForProperty("FeatureName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeatureInternal)this).FeatureName, global::System.Convert.ToString); } if (content.Contains("SupportStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeatureInternal)this).SupportStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureSupportStatus?) content.GetValueForProperty("SupportStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeatureInternal)this).SupportStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureSupportStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeatureInternal)this).SupportStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureSupportStatus?) content.GetValueForProperty("SupportStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeatureInternal)this).SupportStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureSupportStatus.CreateFrom); } if (content.Contains("ExposureControlledFeature")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeatureInternal)this).ExposureControlledFeature = (string[]) content.GetValueForProperty("ExposureControlledFeature",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeatureInternal)this).ExposureControlledFeature, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeatureInternal)this).ExposureControlledFeature = (string[]) content.GetValueForProperty("ExposureControlledFeature",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeatureInternal)this).ExposureControlledFeature, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -132,15 +132,15 @@ internal SupportedFeature(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("FeatureName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeatureInternal)this).FeatureName = (string) content.GetValueForProperty("FeatureName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeatureInternal)this).FeatureName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeatureInternal)this).FeatureName = (string) content.GetValueForProperty("FeatureName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeatureInternal)this).FeatureName, global::System.Convert.ToString); } if (content.Contains("SupportStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeatureInternal)this).SupportStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureSupportStatus?) content.GetValueForProperty("SupportStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeatureInternal)this).SupportStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureSupportStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeatureInternal)this).SupportStatus = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureSupportStatus?) content.GetValueForProperty("SupportStatus",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeatureInternal)this).SupportStatus, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.FeatureSupportStatus.CreateFrom); } if (content.Contains("ExposureControlledFeature")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeatureInternal)this).ExposureControlledFeature = (string[]) content.GetValueForProperty("ExposureControlledFeature",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeatureInternal)this).ExposureControlledFeature, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeatureInternal)this).ExposureControlledFeature = (string[]) content.GetValueForProperty("ExposureControlledFeature",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeatureInternal)this).ExposureControlledFeature, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SupportedFeature.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SupportedFeature.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SupportedFeature.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SupportedFeature.TypeConverter.cs index 9bfeac3e2409..939e93102c5a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SupportedFeature.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SupportedFeature.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeature ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeature ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeature).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeature).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SupportedFeature.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SupportedFeature.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SupportedFeature.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SupportedFeature.cs index 4020a5a18ecb..a3b3601925b7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SupportedFeature.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SupportedFeature.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Elements class for feature request public partial class SupportedFeature : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeature, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeatureInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeature, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeatureInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SupportedFeature.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SupportedFeature.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SupportedFeature.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SupportedFeature.json.cs index 5d62e158e72e..3be66ba8c9c8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SupportedFeature.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SupportedFeature.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class SupportedFeature partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeature. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeature. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeature. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeature. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISupportedFeature FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISupportedFeature FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new SupportedFeature(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SyncBackupInstanceRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SyncBackupInstanceRequest.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SyncBackupInstanceRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SyncBackupInstanceRequest.PowerShell.cs index d876101f582a..97c1ebfbe095 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SyncBackupInstanceRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SyncBackupInstanceRequest.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class SyncBackupInstanceRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new SyncBackupInstanceRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SyncBackupInstanceRequest(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,13 +105,13 @@ internal SyncBackupInstanceRequest(global::System.Collections.IDictionary conten // actually deserialize if (content.Contains("SyncType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequestInternal)this).SyncType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType?) content.GetValueForProperty("SyncType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequestInternal)this).SyncType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequestInternal)this).SyncType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType?) content.GetValueForProperty("SyncType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequestInternal)this).SyncType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -126,7 +126,7 @@ internal SyncBackupInstanceRequest(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("SyncType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequestInternal)this).SyncType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType?) content.GetValueForProperty("SyncType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequestInternal)this).SyncType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequestInternal)this).SyncType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType?) content.GetValueForProperty("SyncType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequestInternal)this).SyncType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SyncBackupInstanceRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SyncBackupInstanceRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SyncBackupInstanceRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SyncBackupInstanceRequest.TypeConverter.cs index 8a863bc98be3..64b9587d3b7e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SyncBackupInstanceRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SyncBackupInstanceRequest.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SyncBackupInstanceRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SyncBackupInstanceRequest.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SyncBackupInstanceRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SyncBackupInstanceRequest.cs index f5f91a0d8bbe..68b29dcf5393 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SyncBackupInstanceRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SyncBackupInstanceRequest.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Sync BackupInstance Request public partial class SyncBackupInstanceRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequestInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SyncBackupInstanceRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SyncBackupInstanceRequest.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SyncBackupInstanceRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SyncBackupInstanceRequest.json.cs index 5f39b0986527..d41c9e89d1e2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/SyncBackupInstanceRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/SyncBackupInstanceRequest.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class SyncBackupInstanceRequest partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new SyncBackupInstanceRequest(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TaggingCriteria.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TaggingCriteria.PowerShell.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TaggingCriteria.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TaggingCriteria.PowerShell.cs index 2e650c865d97..b01b078c42b6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TaggingCriteria.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TaggingCriteria.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class TaggingCriteria partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteria DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new TaggingCriteria(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteria DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new TaggingCriteria(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteria FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,37 +103,37 @@ internal TaggingCriteria(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("TagInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag) content.GetValueForProperty("TagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RetentionTagTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag) content.GetValueForProperty("TagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RetentionTagTypeConverter.ConvertFrom); } if (content.Contains("Criterion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).Criterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria[]) content.GetValueForProperty("Criterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).Criterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupCriteriaTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).Criterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria[]) content.GetValueForProperty("Criterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).Criterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupCriteriaTypeConverter.ConvertFrom)); } if (content.Contains("IsDefault")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).IsDefault = (bool) content.GetValueForProperty("IsDefault",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).IsDefault, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).IsDefault = (bool) content.GetValueForProperty("IsDefault",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).IsDefault, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("TaggingPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TaggingPriority = (long) content.GetValueForProperty("TaggingPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TaggingPriority, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TaggingPriority = (long) content.GetValueForProperty("TaggingPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TaggingPriority, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("TagInfoETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TagInfoETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TagInfoETag, global::System.Convert.ToString); } if (content.Contains("TagInfoId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TagInfoId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TagInfoId, global::System.Convert.ToString); } if (content.Contains("TagInfoTagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TagInfoTagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TagInfoTagName, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -148,31 +148,31 @@ internal TaggingCriteria(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("TagInfo")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag) content.GetValueForProperty("TagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RetentionTagTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TagInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag) content.GetValueForProperty("TagInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TagInfo, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RetentionTagTypeConverter.ConvertFrom); } if (content.Contains("Criterion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).Criterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria[]) content.GetValueForProperty("Criterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).Criterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupCriteriaTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).Criterion = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria[]) content.GetValueForProperty("Criterion",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).Criterion, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupCriteriaTypeConverter.ConvertFrom)); } if (content.Contains("IsDefault")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).IsDefault = (bool) content.GetValueForProperty("IsDefault",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).IsDefault, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).IsDefault = (bool) content.GetValueForProperty("IsDefault",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).IsDefault, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("TaggingPriority")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TaggingPriority = (long) content.GetValueForProperty("TaggingPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TaggingPriority, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TaggingPriority = (long) content.GetValueForProperty("TaggingPriority",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TaggingPriority, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("TagInfoETag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TagInfoETag, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TagInfoETag = (string) content.GetValueForProperty("TagInfoETag",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TagInfoETag, global::System.Convert.ToString); } if (content.Contains("TagInfoId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TagInfoId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TagInfoId = (string) content.GetValueForProperty("TagInfoId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TagInfoId, global::System.Convert.ToString); } if (content.Contains("TagInfoTagName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal)this).TagInfoTagName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TagInfoTagName = (string) content.GetValueForProperty("TagInfoTagName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal)this).TagInfoTagName, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TaggingCriteria.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TaggingCriteria.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TaggingCriteria.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TaggingCriteria.TypeConverter.cs index b5295fe29c04..f0ea3719f15b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TaggingCriteria.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TaggingCriteria.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteria ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteria ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteria).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteria).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TaggingCriteria.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TaggingCriteria.cs similarity index 84% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TaggingCriteria.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TaggingCriteria.cs index 56cb6ffec77b..65c4f68bf87d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TaggingCriteria.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TaggingCriteria.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Tagging criteria public partial class TaggingCriteria : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteria, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteria, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria[] _criterion; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria[] _criterion; /// Criteria which decides whether the tag can be applied to a triggered backup. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria[] Criterion { get => this._criterion; set => this._criterion = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria[] Criterion { get => this._criterion; set => this._criterion = value; } /// Backing field for property. private bool _isDefault; @@ -28,32 +28,32 @@ public partial class TaggingCriteria : public bool IsDefault { get => this._isDefault; set => this._isDefault = value; } /// Internal Acessors for TagInfo - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal.TagInfo { get => (this._tagInfo = this._tagInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RetentionTag()); set { {_tagInfo = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal.TagInfo { get => (this._tagInfo = this._tagInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RetentionTag()); set { {_tagInfo = value;} } } /// Internal Acessors for TagInfoETag - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal.TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)TagInfo).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)TagInfo).ETag = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal.TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)TagInfo).ETag; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)TagInfo).ETag = value; } /// Internal Acessors for TagInfoId - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteriaInternal.TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)TagInfo).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)TagInfo).Id = value; } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteriaInternal.TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)TagInfo).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)TagInfo).Id = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag _tagInfo; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag _tagInfo; /// Retention tag information [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag TagInfo { get => (this._tagInfo = this._tagInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RetentionTag()); set => this._tagInfo = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag TagInfo { get => (this._tagInfo = this._tagInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RetentionTag()); set => this._tagInfo = value; } /// Retention Tag version. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)TagInfo).ETag; } + public string TagInfoETag { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)TagInfo).ETag; } /// Retention Tag version. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)TagInfo).Id; } + public string TagInfoId { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)TagInfo).Id; } /// Retention Tag Name to relate it to retention rule. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string TagInfoTagName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)TagInfo).TagName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTagInternal)TagInfo).TagName = value ; } + public string TagInfoTagName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)TagInfo).TagName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTagInternal)TagInfo).TagName = value ; } /// Backing field for property. private long _taggingPriority; @@ -78,8 +78,8 @@ public partial interface ITaggingCriteria : ReadOnly = false, Description = @"Criteria which decides whether the tag can be applied to a triggered backup.", SerializedName = @"criteria", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria),typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteria) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria[] Criterion { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria),typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria[] Criterion { get; set; } /// Specifies if tag is default. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = true, @@ -127,11 +127,11 @@ internal partial interface ITaggingCriteriaInternal { /// Criteria which decides whether the tag can be applied to a triggered backup. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria[] Criterion { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria[] Criterion { get; set; } /// Specifies if tag is default. bool IsDefault { get; set; } /// Retention tag information - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRetentionTag TagInfo { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRetentionTag TagInfo { get; set; } /// Retention Tag version. string TagInfoETag { get; set; } /// Retention Tag version. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TaggingCriteria.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TaggingCriteria.json.cs similarity index 95% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TaggingCriteria.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TaggingCriteria.json.cs index 4c75383b2bab..2cf6e6d9d042 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TaggingCriteria.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TaggingCriteria.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class TaggingCriteria partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteria. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteria. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteria. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteria. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITaggingCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITaggingCriteria FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new TaggingCriteria(json) : null; } @@ -77,8 +77,8 @@ internal TaggingCriteria(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runti { return; } - {_tagInfo = If( json?.PropertyT("tagInfo"), out var __jsonTagInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.RetentionTag.FromJson(__jsonTagInfo) : TagInfo;} - {_criterion = If( json?.PropertyT("criteria"), out var __jsonCriteria) ? If( __jsonCriteria as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupCriteria) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupCriteria.FromJson(__u) )) ))() : null : Criterion;} + {_tagInfo = If( json?.PropertyT("tagInfo"), out var __jsonTagInfo) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.RetentionTag.FromJson(__jsonTagInfo) : TagInfo;} + {_criterion = If( json?.PropertyT("criteria"), out var __jsonCriteria) ? If( __jsonCriteria as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupCriteria) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupCriteria.FromJson(__u) )) ))() : null : Criterion;} {_isDefault = If( json?.PropertyT("isDefault"), out var __jsonIsDefault) ? (bool)__jsonIsDefault : IsDefault;} {_taggingPriority = If( json?.PropertyT("taggingPriority"), out var __jsonTaggingPriority) ? (long)__jsonTaggingPriority : TaggingPriority;} AfterFromJson(json); diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetCopySetting.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetCopySetting.PowerShell.cs similarity index 81% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetCopySetting.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetCopySetting.PowerShell.cs index e1f6f98ef035..51d5dbae91c7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetCopySetting.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetCopySetting.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class TargetCopySetting partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySetting DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySetting DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new TargetCopySetting(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySetting DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySetting DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new TargetCopySetting(content); } @@ -85,10 +85,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySetting FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySetting FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -103,29 +103,29 @@ internal TargetCopySetting(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("CopyAfter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).CopyAfter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption) content.GetValueForProperty("CopyAfter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).CopyAfter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CopyOptionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).CopyAfter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption) content.GetValueForProperty("CopyAfter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).CopyAfter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CopyOptionTypeConverter.ConvertFrom); } if (content.Contains("DataStore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).DataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase) content.GetValueForProperty("DataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).DataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).DataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase) content.GetValueForProperty("DataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).DataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("CopyAfterObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).CopyAfterObjectType = (string) content.GetValueForProperty("CopyAfterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).CopyAfterObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).CopyAfterObjectType = (string) content.GetValueForProperty("CopyAfterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).CopyAfterObjectType, global::System.Convert.ToString); } if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } if (content.Contains("DataStoreObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).DataStoreObjectType = (string) content.GetValueForProperty("DataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).DataStoreObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).DataStoreObjectType = (string) content.GetValueForProperty("DataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).DataStoreObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -140,23 +140,23 @@ internal TargetCopySetting(global::System.Management.Automation.PSObject content // actually deserialize if (content.Contains("CopyAfter")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).CopyAfter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption) content.GetValueForProperty("CopyAfter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).CopyAfter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CopyOptionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).CopyAfter = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption) content.GetValueForProperty("CopyAfter",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).CopyAfter, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CopyOptionTypeConverter.ConvertFrom); } if (content.Contains("DataStore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).DataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase) content.GetValueForProperty("DataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).DataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreInfoBaseTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).DataStore = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase) content.GetValueForProperty("DataStore",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).DataStore, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreInfoBaseTypeConverter.ConvertFrom); } if (content.Contains("CopyAfterObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).CopyAfterObjectType = (string) content.GetValueForProperty("CopyAfterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).CopyAfterObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).CopyAfterObjectType = (string) content.GetValueForProperty("CopyAfterObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).CopyAfterObjectType, global::System.Convert.ToString); } if (content.Contains("DataStoreType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).DataStoreType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes) content.GetValueForProperty("DataStoreType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).DataStoreType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes.CreateFrom); } if (content.Contains("DataStoreObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).DataStoreObjectType = (string) content.GetValueForProperty("DataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal)this).DataStoreObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).DataStoreObjectType = (string) content.GetValueForProperty("DataStoreObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal)this).DataStoreObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetCopySetting.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetCopySetting.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetCopySetting.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetCopySetting.TypeConverter.cs index 28c348c9a452..643b012778c6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetCopySetting.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetCopySetting.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySetting ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySetting ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySetting).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySetting).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetCopySetting.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetCopySetting.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetCopySetting.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetCopySetting.cs index d7507a0ae2e0..597ee740f9b8 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetCopySetting.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetCopySetting.cs @@ -3,47 +3,47 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Target copy settings public partial class TargetCopySetting : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySetting, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySetting, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption _copyAfter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption _copyAfter; /// It can be CustomCopyOption or ImmediateCopyOption. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption CopyAfter { get => (this._copyAfter = this._copyAfter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CopyOption()); set => this._copyAfter = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption CopyAfter { get => (this._copyAfter = this._copyAfter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CopyOption()); set => this._copyAfter = value; } /// Type of the specific object - used for deserializing [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string CopyAfterObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)CopyAfter).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOptionInternal)CopyAfter).ObjectType = value ; } + public string CopyAfterObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)CopyAfter).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOptionInternal)CopyAfter).ObjectType = value ; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase _dataStore; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase _dataStore; /// Info of target datastore [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase DataStore { get => (this._dataStore = this._dataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreInfoBase()); set => this._dataStore = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase DataStore { get => (this._dataStore = this._dataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreInfoBase()); set => this._dataStore = value; } /// Type of Datasource object, used to initialize the right inherited type [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string DataStoreObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)DataStore).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)DataStore).ObjectType = value ; } + public string DataStoreObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)DataStore).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)DataStore).ObjectType = value ; } /// type of datastore; Operational/Vault/Archive [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes DataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)DataStore).DataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBaseInternal)DataStore).DataStoreType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreTypes DataStoreType { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)DataStore).DataStoreType; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBaseInternal)DataStore).DataStoreType = value ; } /// Internal Acessors for CopyAfter - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal.CopyAfter { get => (this._copyAfter = this._copyAfter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CopyOption()); set { {_copyAfter = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal.CopyAfter { get => (this._copyAfter = this._copyAfter ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CopyOption()); set { {_copyAfter = value;} } } /// Internal Acessors for DataStore - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySettingInternal.DataStore { get => (this._dataStore = this._dataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreInfoBase()); set { {_dataStore = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySettingInternal.DataStore { get => (this._dataStore = this._dataStore ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreInfoBase()); set { {_dataStore = value;} } } /// Creates an new instance. public TargetCopySetting() @@ -86,11 +86,11 @@ internal partial interface ITargetCopySettingInternal { /// It can be CustomCopyOption or ImmediateCopyOption. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICopyOption CopyAfter { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICopyOption CopyAfter { get; set; } /// Type of the specific object - used for deserializing string CopyAfterObjectType { get; set; } /// Info of target datastore - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDataStoreInfoBase DataStore { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDataStoreInfoBase DataStore { get; set; } /// Type of Datasource object, used to initialize the right inherited type string DataStoreObjectType { get; set; } /// type of datastore; Operational/Vault/Archive diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetCopySetting.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetCopySetting.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetCopySetting.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetCopySetting.json.cs index 31d76b41d5ce..256092c3e945 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetCopySetting.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetCopySetting.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class TargetCopySetting partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySetting. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySetting. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySetting. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySetting. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetCopySetting FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetCopySetting FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new TargetCopySetting(json) : null; } @@ -77,8 +77,8 @@ internal TargetCopySetting(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Run { return; } - {_copyAfter = If( json?.PropertyT("copyAfter"), out var __jsonCopyAfter) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.CopyOption.FromJson(__jsonCopyAfter) : CopyAfter;} - {_dataStore = If( json?.PropertyT("dataStore"), out var __jsonDataStore) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.DataStoreInfoBase.FromJson(__jsonDataStore) : DataStore;} + {_copyAfter = If( json?.PropertyT("copyAfter"), out var __jsonCopyAfter) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CopyOption.FromJson(__jsonCopyAfter) : CopyAfter;} + {_dataStore = If( json?.PropertyT("dataStore"), out var __jsonDataStore) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.DataStoreInfoBase.FromJson(__jsonDataStore) : DataStore;} AfterFromJson(json); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetDetails.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetDetails.PowerShell.cs similarity index 85% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetDetails.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetDetails.PowerShell.cs index c1d6a98103eb..e45d59998e7e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetDetails.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetDetails.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -57,27 +57,27 @@ public partial class TargetDetails partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new TargetDetails(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new TargetDetails(content); } @@ -87,10 +87,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -105,25 +105,25 @@ internal TargetDetails(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("FilePrefix")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetailsInternal)this).FilePrefix = (string) content.GetValueForProperty("FilePrefix",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetailsInternal)this).FilePrefix, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetailsInternal)this).FilePrefix = (string) content.GetValueForProperty("FilePrefix",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetailsInternal)this).FilePrefix, global::System.Convert.ToString); } if (content.Contains("RestoreTargetLocationType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetailsInternal)this).RestoreTargetLocationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetLocationType) content.GetValueForProperty("RestoreTargetLocationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetailsInternal)this).RestoreTargetLocationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetLocationType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetailsInternal)this).RestoreTargetLocationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetLocationType) content.GetValueForProperty("RestoreTargetLocationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetailsInternal)this).RestoreTargetLocationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetLocationType.CreateFrom); } if (content.Contains("Url")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetailsInternal)this).Url = (string) content.GetValueForProperty("Url",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetailsInternal)this).Url, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetailsInternal)this).Url = (string) content.GetValueForProperty("Url",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetailsInternal)this).Url, global::System.Convert.ToString); } if (content.Contains("TargetResourceArmId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetailsInternal)this).TargetResourceArmId = (string) content.GetValueForProperty("TargetResourceArmId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetailsInternal)this).TargetResourceArmId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetailsInternal)this).TargetResourceArmId = (string) content.GetValueForProperty("TargetResourceArmId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetailsInternal)this).TargetResourceArmId, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -138,19 +138,19 @@ internal TargetDetails(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("FilePrefix")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetailsInternal)this).FilePrefix = (string) content.GetValueForProperty("FilePrefix",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetailsInternal)this).FilePrefix, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetailsInternal)this).FilePrefix = (string) content.GetValueForProperty("FilePrefix",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetailsInternal)this).FilePrefix, global::System.Convert.ToString); } if (content.Contains("RestoreTargetLocationType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetailsInternal)this).RestoreTargetLocationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetLocationType) content.GetValueForProperty("RestoreTargetLocationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetailsInternal)this).RestoreTargetLocationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetLocationType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetailsInternal)this).RestoreTargetLocationType = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetLocationType) content.GetValueForProperty("RestoreTargetLocationType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetailsInternal)this).RestoreTargetLocationType, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetLocationType.CreateFrom); } if (content.Contains("Url")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetailsInternal)this).Url = (string) content.GetValueForProperty("Url",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetailsInternal)this).Url, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetailsInternal)this).Url = (string) content.GetValueForProperty("Url",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetailsInternal)this).Url, global::System.Convert.ToString); } if (content.Contains("TargetResourceArmId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetailsInternal)this).TargetResourceArmId = (string) content.GetValueForProperty("TargetResourceArmId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetailsInternal)this).TargetResourceArmId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetailsInternal)this).TargetResourceArmId = (string) content.GetValueForProperty("TargetResourceArmId",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetailsInternal)this).TargetResourceArmId, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetDetails.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetDetails.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetDetails.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetDetails.TypeConverter.cs index 6b5f5de2a23e..227185f8ea49 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetDetails.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetDetails.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetDetails.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetDetails.cs similarity index 99% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetDetails.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetDetails.cs index 1a412aaeac4b..9f66cd2f512c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetDetails.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetDetails.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 /// Class encapsulating target details, used where the destination is not a datasource /// public partial class TargetDetails : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetails, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetails, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetailsInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetDetails.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetDetails.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetDetails.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetDetails.json.cs index afe37594f81f..10d533ec6b52 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TargetDetails.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TargetDetails.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -56,13 +56,13 @@ public partial class TargetDetails partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITargetDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITargetDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new TargetDetails(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerBackupRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerBackupRequest.PowerShell.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerBackupRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerBackupRequest.PowerShell.cs index 42356f837b8e..d605fd0fe59b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerBackupRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerBackupRequest.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class TriggerBackupRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new TriggerBackupRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new TriggerBackupRequest(content); } @@ -87,7 +87,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -95,7 +95,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -110,25 +110,25 @@ internal TriggerBackupRequest(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("BackupRuleOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal)this).BackupRuleOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptions) content.GetValueForProperty("BackupRuleOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal)this).BackupRuleOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdHocBackupRuleOptionsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal)this).BackupRuleOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptions) content.GetValueForProperty("BackupRuleOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal)this).BackupRuleOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdHocBackupRuleOptionsTypeConverter.ConvertFrom); } if (content.Contains("BackupRuleOptionTriggerOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal)this).BackupRuleOptionTriggerOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption) content.GetValueForProperty("BackupRuleOptionTriggerOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal)this).BackupRuleOptionTriggerOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdhocBackupTriggerOptionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal)this).BackupRuleOptionTriggerOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption) content.GetValueForProperty("BackupRuleOptionTriggerOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal)this).BackupRuleOptionTriggerOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdhocBackupTriggerOptionTypeConverter.ConvertFrom); } if (content.Contains("BackupRuleOptionRuleName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal)this).BackupRuleOptionRuleName = (string) content.GetValueForProperty("BackupRuleOptionRuleName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal)this).BackupRuleOptionRuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal)this).BackupRuleOptionRuleName = (string) content.GetValueForProperty("BackupRuleOptionRuleName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal)this).BackupRuleOptionRuleName, global::System.Convert.ToString); } if (content.Contains("TriggerOptionRetentionTagOverride")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal)this).TriggerOptionRetentionTagOverride = (string) content.GetValueForProperty("TriggerOptionRetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal)this).TriggerOptionRetentionTagOverride, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal)this).TriggerOptionRetentionTagOverride = (string) content.GetValueForProperty("TriggerOptionRetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal)this).TriggerOptionRetentionTagOverride, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -143,19 +143,19 @@ internal TriggerBackupRequest(global::System.Management.Automation.PSObject cont // actually deserialize if (content.Contains("BackupRuleOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal)this).BackupRuleOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptions) content.GetValueForProperty("BackupRuleOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal)this).BackupRuleOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdHocBackupRuleOptionsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal)this).BackupRuleOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptions) content.GetValueForProperty("BackupRuleOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal)this).BackupRuleOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdHocBackupRuleOptionsTypeConverter.ConvertFrom); } if (content.Contains("BackupRuleOptionTriggerOption")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal)this).BackupRuleOptionTriggerOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption) content.GetValueForProperty("BackupRuleOptionTriggerOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal)this).BackupRuleOptionTriggerOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdhocBackupTriggerOptionTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal)this).BackupRuleOptionTriggerOption = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption) content.GetValueForProperty("BackupRuleOptionTriggerOption",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal)this).BackupRuleOptionTriggerOption, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdhocBackupTriggerOptionTypeConverter.ConvertFrom); } if (content.Contains("BackupRuleOptionRuleName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal)this).BackupRuleOptionRuleName = (string) content.GetValueForProperty("BackupRuleOptionRuleName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal)this).BackupRuleOptionRuleName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal)this).BackupRuleOptionRuleName = (string) content.GetValueForProperty("BackupRuleOptionRuleName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal)this).BackupRuleOptionRuleName, global::System.Convert.ToString); } if (content.Contains("TriggerOptionRetentionTagOverride")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal)this).TriggerOptionRetentionTagOverride = (string) content.GetValueForProperty("TriggerOptionRetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal)this).TriggerOptionRetentionTagOverride, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal)this).TriggerOptionRetentionTagOverride = (string) content.GetValueForProperty("TriggerOptionRetentionTagOverride",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal)this).TriggerOptionRetentionTagOverride, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerBackupRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerBackupRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerBackupRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerBackupRequest.TypeConverter.cs index 18d3e0ab8569..e95a2fd827e1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerBackupRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerBackupRequest.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerBackupRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerBackupRequest.cs similarity index 78% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerBackupRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerBackupRequest.cs index b694ec951017..bbf741edffd2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerBackupRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerBackupRequest.cs @@ -3,34 +3,34 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Trigger backup request public partial class TriggerBackupRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptions _backupRuleOption; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptions _backupRuleOption; /// Name for the Rule of the Policy which needs to be applied for this backup [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptions BackupRuleOption { get => (this._backupRuleOption = this._backupRuleOption ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdHocBackupRuleOptions()); set => this._backupRuleOption = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptions BackupRuleOption { get => (this._backupRuleOption = this._backupRuleOption ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdHocBackupRuleOptions()); set => this._backupRuleOption = value; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string BackupRuleOptionRuleName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)BackupRuleOption).RuleName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)BackupRuleOption).RuleName = value ; } + public string BackupRuleOptionRuleName { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)BackupRuleOption).RuleName; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)BackupRuleOption).RuleName = value ; } /// Internal Acessors for BackupRuleOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptions Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal.BackupRuleOption { get => (this._backupRuleOption = this._backupRuleOption ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdHocBackupRuleOptions()); set { {_backupRuleOption = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptions Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal.BackupRuleOption { get => (this._backupRuleOption = this._backupRuleOption ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdHocBackupRuleOptions()); set { {_backupRuleOption = value;} } } /// Internal Acessors for BackupRuleOptionTriggerOption - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequestInternal.BackupRuleOptionTriggerOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)BackupRuleOption).TriggerOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)BackupRuleOption).TriggerOption = value; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequestInternal.BackupRuleOptionTriggerOption { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)BackupRuleOption).TriggerOption; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)BackupRuleOption).TriggerOption = value; } [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] - public string TriggerOptionRetentionTagOverride { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)BackupRuleOption).TriggerOptionRetentionTagOverride; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptionsInternal)BackupRuleOption).TriggerOptionRetentionTagOverride = value ?? null; } + public string TriggerOptionRetentionTagOverride { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)BackupRuleOption).TriggerOptionRetentionTagOverride; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptionsInternal)BackupRuleOption).TriggerOptionRetentionTagOverride = value ?? null; } /// Creates an new instance. public TriggerBackupRequest() @@ -64,11 +64,11 @@ internal partial interface ITriggerBackupRequestInternal { /// Name for the Rule of the Policy which needs to be applied for this backup - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdHocBackupRuleOptions BackupRuleOption { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdHocBackupRuleOptions BackupRuleOption { get; set; } string BackupRuleOptionRuleName { get; set; } /// Adhoc backup trigger option - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAdhocBackupTriggerOption BackupRuleOptionTriggerOption { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAdhocBackupTriggerOption BackupRuleOptionTriggerOption { get; set; } string TriggerOptionRetentionTagOverride { get; set; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerBackupRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerBackupRequest.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerBackupRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerBackupRequest.json.cs index 696eea4eca02..a7c0d9ed647d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerBackupRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerBackupRequest.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class TriggerBackupRequest partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new TriggerBackupRequest(json) : null; } @@ -101,7 +101,7 @@ internal TriggerBackupRequest(Microsoft.Azure.PowerShell.Cmdlets.DataProtection. { return; } - {_backupRuleOption = If( json?.PropertyT("backupRuleOptions"), out var __jsonBackupRuleOptions) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AdHocBackupRuleOptions.FromJson(__jsonBackupRuleOptions) : BackupRuleOption;} + {_backupRuleOption = If( json?.PropertyT("backupRuleOptions"), out var __jsonBackupRuleOptions) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AdHocBackupRuleOptions.FromJson(__jsonBackupRuleOptions) : BackupRuleOption;} AfterFromJson(json); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerContext.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerContext.PowerShell.cs similarity index 89% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerContext.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerContext.PowerShell.cs index 5de62e9dbc8a..3ddf6000fc55 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerContext.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerContext.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class TriggerContext partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new TriggerContext(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new TriggerContext(content); } @@ -85,7 +85,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -93,7 +93,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -108,13 +108,13 @@ internal TriggerContext(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -129,7 +129,7 @@ internal TriggerContext(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("ObjectType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)this).ObjectType = (string) content.GetValueForProperty("ObjectType",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal)this).ObjectType, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerContext.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerContext.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerContext.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerContext.TypeConverter.cs index 2c69fb59045a..ad9f1f588d5f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerContext.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerContext.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerContext.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerContext.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerContext.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerContext.cs index 53d2206b3b29..6c2261c894ae 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerContext.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerContext.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Trigger context public partial class TriggerContext : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContextInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContextInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerContext.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerContext.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerContext.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerContext.json.cs index 6529680ca74c..04a7765c1919 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/TriggerContext.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/TriggerContext.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,15 +54,15 @@ public partial class TriggerContext partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext interface is polymorphic, /// and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerContext FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerContext FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json)) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteRequest.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteRequest.PowerShell.cs index aadef7d75bd9..07698be4aa5b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteRequest.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,27 +55,27 @@ public partial class UnlockDeleteRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new UnlockDeleteRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new UnlockDeleteRequest(content); } @@ -85,7 +85,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -93,7 +93,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -108,17 +108,17 @@ internal UnlockDeleteRequest(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("ResourceGuardOperationRequest")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ResourceToBeDeleted")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequestInternal)this).ResourceToBeDeleted = (string) content.GetValueForProperty("ResourceToBeDeleted",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequestInternal)this).ResourceToBeDeleted, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequestInternal)this).ResourceToBeDeleted = (string) content.GetValueForProperty("ResourceToBeDeleted",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequestInternal)this).ResourceToBeDeleted, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -133,11 +133,11 @@ internal UnlockDeleteRequest(global::System.Management.Automation.PSObject conte // actually deserialize if (content.Contains("ResourceGuardOperationRequest")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequestInternal)this).ResourceGuardOperationRequest = (string[]) content.GetValueForProperty("ResourceGuardOperationRequest",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequestInternal)this).ResourceGuardOperationRequest, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("ResourceToBeDeleted")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequestInternal)this).ResourceToBeDeleted = (string) content.GetValueForProperty("ResourceToBeDeleted",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequestInternal)this).ResourceToBeDeleted, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequestInternal)this).ResourceToBeDeleted = (string) content.GetValueForProperty("ResourceToBeDeleted",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequestInternal)this).ResourceToBeDeleted, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteRequest.TypeConverter.cs index b95a148d565a..73a679e0b948 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteRequest.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteRequest.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteRequest.cs index d69a1d90b711..a6f3b8e7e5e0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteRequest.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Request body of unlock delete API. public partial class UnlockDeleteRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequestInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteRequest.json.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteRequest.json.cs index dfdbb65d4646..ade559d4c61b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteRequest.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class UnlockDeleteRequest partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new UnlockDeleteRequest(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteResponse.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteResponse.PowerShell.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteResponse.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteResponse.PowerShell.cs index a92cac4acea0..cd1e52d5089a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteResponse.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteResponse.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class UnlockDeleteResponse partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteResponse DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteResponse DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new UnlockDeleteResponse(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteResponse DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteResponse DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new UnlockDeleteResponse(content); } @@ -87,7 +87,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -95,7 +95,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -110,13 +110,13 @@ internal UnlockDeleteResponse(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("UnlockDeleteExpiryTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteResponseInternal)this).UnlockDeleteExpiryTime = (string) content.GetValueForProperty("UnlockDeleteExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteResponseInternal)this).UnlockDeleteExpiryTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteResponseInternal)this).UnlockDeleteExpiryTime = (string) content.GetValueForProperty("UnlockDeleteExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteResponseInternal)this).UnlockDeleteExpiryTime, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -131,7 +131,7 @@ internal UnlockDeleteResponse(global::System.Management.Automation.PSObject cont // actually deserialize if (content.Contains("UnlockDeleteExpiryTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteResponseInternal)this).UnlockDeleteExpiryTime = (string) content.GetValueForProperty("UnlockDeleteExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteResponseInternal)this).UnlockDeleteExpiryTime, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteResponseInternal)this).UnlockDeleteExpiryTime = (string) content.GetValueForProperty("UnlockDeleteExpiryTime",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteResponseInternal)this).UnlockDeleteExpiryTime, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteResponse.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteResponse.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteResponse.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteResponse.TypeConverter.cs index 38b7b1b53394..7824ccbfcb78 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteResponse.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteResponse.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteResponse ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteResponse ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteResponse).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteResponse).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteResponse.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteResponse.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteResponse.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteResponse.cs index ecf6bfac9c12..c374faab334f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteResponse.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteResponse.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Response of Unlock Delete API. public partial class UnlockDeleteResponse : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteResponse, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteResponseInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteResponse, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteResponseInternal { /// Backing field for property. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteResponse.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteResponse.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteResponse.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteResponse.json.cs index c1d28cb275d1..8ac00918c754 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UnlockDeleteResponse.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UnlockDeleteResponse.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class UnlockDeleteResponse partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteResponse. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteResponse. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteResponse. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteResponse. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteResponse FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteResponse FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new UnlockDeleteResponse(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingError.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingError.PowerShell.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingError.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingError.PowerShell.cs index f5d8b4b08289..179851d57c2b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingError.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingError.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -57,27 +57,27 @@ public partial class UserFacingError partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new UserFacingError(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new UserFacingError(content); } @@ -87,7 +87,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -95,7 +95,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -110,45 +110,45 @@ internal UserFacingError(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Detail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorTypeConverter.ConvertFrom)); } if (content.Contains("InnerError")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).InnerError = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError) content.GetValueForProperty("InnerError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).InnerError, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.InnerErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).InnerError = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError) content.GetValueForProperty("InnerError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).InnerError, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.InnerErrorTypeConverter.ConvertFrom); } if (content.Contains("IsRetryable")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).IsRetryable = (bool?) content.GetValueForProperty("IsRetryable",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).IsRetryable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).IsRetryable = (bool?) content.GetValueForProperty("IsRetryable",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).IsRetryable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IsUserError")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).IsUserError = (bool?) content.GetValueForProperty("IsUserError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).IsUserError, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).IsUserError = (bool?) content.GetValueForProperty("IsUserError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).IsUserError, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorPropertiesTypeConverter.ConvertFrom); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("RecommendedAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).RecommendedAction = (string[]) content.GetValueForProperty("RecommendedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).RecommendedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).RecommendedAction = (string[]) content.GetValueForProperty("RecommendedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).RecommendedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Target, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -163,39 +163,39 @@ internal UserFacingError(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Detail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorTypeConverter.ConvertFrom)); } if (content.Contains("InnerError")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).InnerError = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError) content.GetValueForProperty("InnerError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).InnerError, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.InnerErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).InnerError = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError) content.GetValueForProperty("InnerError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).InnerError, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.InnerErrorTypeConverter.ConvertFrom); } if (content.Contains("IsRetryable")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).IsRetryable = (bool?) content.GetValueForProperty("IsRetryable",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).IsRetryable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).IsRetryable = (bool?) content.GetValueForProperty("IsRetryable",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).IsRetryable, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("IsUserError")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).IsUserError = (bool?) content.GetValueForProperty("IsUserError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).IsUserError, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).IsUserError = (bool?) content.GetValueForProperty("IsUserError",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).IsUserError, (__y)=> (bool) global::System.Convert.ChangeType(__y, typeof(bool))); } if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorPropertiesTypeConverter.ConvertFrom); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("RecommendedAction")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).RecommendedAction = (string[]) content.GetValueForProperty("RecommendedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).RecommendedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).RecommendedAction = (string[]) content.GetValueForProperty("RecommendedAction",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).RecommendedAction, __y => TypeConverterExtensions.SelectToArray(__y, global::System.Convert.ToString)); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal)this).Target, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingError.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingError.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingError.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingError.TypeConverter.cs index 42ba255f9c46..b36e5f7dfb8e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingError.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingError.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingError.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingError.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingError.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingError.cs index 8a0c43351388..90e9cfaa67df 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingError.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingError.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -11,8 +11,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 /// Error object used by layers that have access to localized content, and propagate that to user /// public partial class UserFacingError : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorInternal { /// Backing field for property. @@ -23,18 +23,18 @@ public partial class UserFacingError : public string Code { get => this._code; set => this._code = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[] _detail; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[] _detail; /// Additional related Errors [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[] Detail { get => this._detail; set => this._detail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[] Detail { get => this._detail; set => this._detail = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError _innerError; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError _innerError; /// Inner Error [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError InnerError { get => (this._innerError = this._innerError ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.InnerError()); set => this._innerError = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError InnerError { get => (this._innerError = this._innerError ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.InnerError()); set => this._innerError = value; } /// Backing field for property. private bool? _isRetryable; @@ -57,11 +57,11 @@ public partial class UserFacingError : public string Message { get => this._message; set => this._message = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorProperties _property; /// Any key value pairs that can be injected inside error object [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorProperties()); set => this._property = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorProperties()); set => this._property = value; } /// Backing field for property. private string[] _recommendedAction; @@ -101,16 +101,16 @@ public partial interface IUserFacingError : ReadOnly = false, Description = @"Additional related Errors", SerializedName = @"details", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[] Detail { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[] Detail { get; set; } /// Inner Error [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, ReadOnly = false, Description = @"Inner Error", SerializedName = @"innerError", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError InnerError { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError InnerError { get; set; } /// Whether the operation will be retryable or not [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -141,8 +141,8 @@ public partial interface IUserFacingError : ReadOnly = false, Description = @"Any key value pairs that can be injected inside error object", SerializedName = @"properties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorProperties) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorProperties Property { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorProperties) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorProperties Property { get; set; } /// RecommendedAction � localized. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( Required = false, @@ -168,9 +168,9 @@ internal partial interface IUserFacingErrorInternal /// Unique code for this error string Code { get; set; } /// Additional related Errors - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError[] Detail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError[] Detail { get; set; } /// Inner Error - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IInnerError InnerError { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IInnerError InnerError { get; set; } /// Whether the operation will be retryable or not bool? IsRetryable { get; set; } /// Whether the operation is due to a user error or service error @@ -178,7 +178,7 @@ internal partial interface IUserFacingErrorInternal string Message { get; set; } /// Any key value pairs that can be injected inside error object - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorProperties Property { get; set; } /// RecommendedAction � localized. string[] RecommendedAction { get; set; } /// Target of the error. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingError.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingError.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingError.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingError.json.cs index 630aee74f210..c9a0c173f79e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingError.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingError.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -56,13 +56,13 @@ public partial class UserFacingError partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new UserFacingError(json) : null; } @@ -128,11 +128,11 @@ internal UserFacingError(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runti return; } {_code = If( json?.PropertyT("code"), out var __jsonCode) ? (string)__jsonCode : (string)Code;} - {_detail = If( json?.PropertyT("details"), out var __jsonDetails) ? If( __jsonDetails as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingError) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingError.FromJson(__u) )) ))() : null : Detail;} - {_innerError = If( json?.PropertyT("innerError"), out var __jsonInnerError) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.InnerError.FromJson(__jsonInnerError) : InnerError;} + {_detail = If( json?.PropertyT("details"), out var __jsonDetails) ? If( __jsonDetails as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingError.FromJson(__u) )) ))() : null : Detail;} + {_innerError = If( json?.PropertyT("innerError"), out var __jsonInnerError) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.InnerError.FromJson(__jsonInnerError) : InnerError;} {_isRetryable = If( json?.PropertyT("isRetryable"), out var __jsonIsRetryable) ? (bool?)__jsonIsRetryable : IsRetryable;} {_isUserError = If( json?.PropertyT("isUserError"), out var __jsonIsUserError) ? (bool?)__jsonIsUserError : IsUserError;} - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorProperties.FromJson(__jsonProperties) : Property;} {_message = If( json?.PropertyT("message"), out var __jsonMessage) ? (string)__jsonMessage : (string)Message;} {_recommendedAction = If( json?.PropertyT("recommendedAction"), out var __jsonRecommendedAction) ? If( __jsonRecommendedAction as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(string) (__p is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString __o ? (string)(__o.ToString()) : null)) ))() : null : RecommendedAction;} {_target = If( json?.PropertyT("target"), out var __jsonTarget) ? (string)__jsonTarget : (string)Target;} diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingErrorProperties.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingErrorProperties.PowerShell.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingErrorProperties.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingErrorProperties.PowerShell.cs index 4568c5f48cc3..76f021f2d3ea 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingErrorProperties.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingErrorProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class UserFacingErrorProperties partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new UserFacingErrorProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new UserFacingErrorProperties(content); } @@ -87,7 +87,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -95,7 +95,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -114,7 +114,7 @@ internal UserFacingErrorProperties(global::System.Collections.IDictionary conten } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingErrorProperties.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingErrorProperties.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingErrorProperties.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingErrorProperties.TypeConverter.cs index d998f9ee5f7e..67f260a99761 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingErrorProperties.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingErrorProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingErrorProperties.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingErrorProperties.cs similarity index 92% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingErrorProperties.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingErrorProperties.cs index 6f37ea9faeed..4c9853c4302d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingErrorProperties.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingErrorProperties.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Any key value pairs that can be injected inside error object public partial class UserFacingErrorProperties : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorProperties, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorProperties, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorPropertiesInternal { /// Creates an new instance. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingErrorProperties.dictionary.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingErrorProperties.dictionary.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingErrorProperties.dictionary.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingErrorProperties.dictionary.cs index 858b66fb509a..a6816e92bdb2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingErrorProperties.dictionary.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingErrorProperties.dictionary.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -70,6 +70,6 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) /// - public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UserFacingErrorProperties source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorProperties source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingErrorProperties.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingErrorProperties.json.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingErrorProperties.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingErrorProperties.json.cs index 2507ac4927b0..aedba8fd3374 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/UserFacingErrorProperties.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingErrorProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class UserFacingErrorProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUserFacingErrorProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingErrorProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new UserFacingErrorProperties(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingWarningDetail.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingWarningDetail.PowerShell.cs new file mode 100644 index 000000000000..2bebbf6e0982 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingWarningDetail.PowerShell.cs @@ -0,0 +1,156 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// Warning object used by layers that have access to localized content, and propagate that to user + /// + [System.ComponentModel.TypeConverter(typeof(UserFacingWarningDetailTypeConverter))] + public partial class UserFacingWarningDetail + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new UserFacingWarningDetail(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new UserFacingWarningDetail(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal UserFacingWarningDetail(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("ResourceName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetailInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetailInternal)this).ResourceName, global::System.Convert.ToString); + } + if (content.Contains("Warning")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetailInternal)this).Warning = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) content.GetValueForProperty("Warning",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetailInternal)this).Warning, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorTypeConverter.ConvertFrom); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal UserFacingWarningDetail(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("ResourceName")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetailInternal)this).ResourceName = (string) content.GetValueForProperty("ResourceName",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetailInternal)this).ResourceName, global::System.Convert.ToString); + } + if (content.Contains("Warning")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetailInternal)this).Warning = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) content.GetValueForProperty("Warning",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetailInternal)this).Warning, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingErrorTypeConverter.ConvertFrom); + } + AfterDeserializePSObject(content); + } + } + /// Warning object used by layers that have access to localized content, and propagate that to user + [System.ComponentModel.TypeConverter(typeof(UserFacingWarningDetailTypeConverter))] + public partial interface IUserFacingWarningDetail + + { + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingWarningDetail.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingWarningDetail.TypeConverter.cs new file mode 100644 index 000000000000..4b15ff6ba86a --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingWarningDetail.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class UserFacingWarningDetailTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return UserFacingWarningDetail.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return UserFacingWarningDetail.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return UserFacingWarningDetail.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingWarningDetail.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingWarningDetail.cs new file mode 100644 index 000000000000..163ab42724f1 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingWarningDetail.cs @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// + /// Warning object used by layers that have access to localized content, and propagate that to user + /// + public partial class UserFacingWarningDetail : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetailInternal + { + + /// Backing field for property. + private string _resourceName; + + /// Name of resource for which warning is raised. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string ResourceName { get => this._resourceName; set => this._resourceName = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError _warning; + + /// Error details for the warning. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError Warning { get => (this._warning = this._warning ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingError()); set => this._warning = value; } + + /// Creates an new instance. + public UserFacingWarningDetail() + { + + } + } + /// Warning object used by layers that have access to localized content, and propagate that to user + public partial interface IUserFacingWarningDetail : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable + { + /// Name of resource for which warning is raised. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Name of resource for which warning is raised.", + SerializedName = @"resourceName", + PossibleTypes = new [] { typeof(string) })] + string ResourceName { get; set; } + /// Error details for the warning. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Error details for the warning.", + SerializedName = @"warning", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError Warning { get; set; } + + } + /// Warning object used by layers that have access to localized content, and propagate that to user + internal partial interface IUserFacingWarningDetailInternal + + { + /// Name of resource for which warning is raised. + string ResourceName { get; set; } + /// Error details for the warning. + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingError Warning { get; set; } + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingWarningDetail.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingWarningDetail.json.cs new file mode 100644 index 000000000000..f641ddbf1dc7 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/UserFacingWarningDetail.json.cs @@ -0,0 +1,112 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// + /// Warning object used by layers that have access to localized content, and propagate that to user + /// + public partial class UserFacingWarningDetail + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUserFacingWarningDetail FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new UserFacingWarningDetail(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != (((object)this._resourceName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._resourceName.ToString()) : null, "resourceName" ,container.Add ); + AddIf( null != this._warning ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._warning.ToJson(null,serializationMode) : null, "warning" ,container.Add ); + AfterToJson(ref container); + return container; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject instance to deserialize from. + internal UserFacingWarningDetail(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_resourceName = If( json?.PropertyT("resourceName"), out var __jsonResourceName) ? (string)__jsonResourceName : (string)ResourceName;} + {_warning = If( json?.PropertyT("warning"), out var __jsonWarning) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UserFacingError.FromJson(__jsonWarning) : Warning;} + AfterFromJson(json); + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateCrossRegionRestoreRequestObject.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateCrossRegionRestoreRequestObject.PowerShell.cs new file mode 100644 index 000000000000..d4103c1c09f7 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateCrossRegionRestoreRequestObject.PowerShell.cs @@ -0,0 +1,157 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// Cross Region Restore Request Object + [System.ComponentModel.TypeConverter(typeof(ValidateCrossRegionRestoreRequestObjectTypeConverter))] + public partial class ValidateCrossRegionRestoreRequestObject + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ValidateCrossRegionRestoreRequestObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ValidateCrossRegionRestoreRequestObject(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json + /// string. + /// + /// a string containing a JSON serialized instance of this model. + /// + /// an instance of the model class. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ValidateCrossRegionRestoreRequestObject(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("RestoreRequestObject")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequestTypeConverter.ConvertFrom); + } + if (content.Contains("CrossRegionRestoreDetail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails) content.GetValueForProperty("CrossRegionRestoreDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreDetailsTypeConverter.ConvertFrom); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ValidateCrossRegionRestoreRequestObject(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("RestoreRequestObject")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequestTypeConverter.ConvertFrom); + } + if (content.Contains("CrossRegionRestoreDetail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails) content.GetValueForProperty("CrossRegionRestoreDetail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObjectInternal)this).CrossRegionRestoreDetail, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreDetailsTypeConverter.ConvertFrom); + } + AfterDeserializePSObject(content); + } + } + /// Cross Region Restore Request Object + [System.ComponentModel.TypeConverter(typeof(ValidateCrossRegionRestoreRequestObjectTypeConverter))] + public partial interface IValidateCrossRegionRestoreRequestObject + + { + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateCrossRegionRestoreRequestObject.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateCrossRegionRestoreRequestObject.TypeConverter.cs new file mode 100644 index 000000000000..549cd5ea04c6 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateCrossRegionRestoreRequestObject.TypeConverter.cs @@ -0,0 +1,151 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ValidateCrossRegionRestoreRequestObjectTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise + /// false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ValidateCrossRegionRestoreRequestObject.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ValidateCrossRegionRestoreRequestObject.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ValidateCrossRegionRestoreRequestObject.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateCrossRegionRestoreRequestObject.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateCrossRegionRestoreRequestObject.cs new file mode 100644 index 000000000000..e31d67ad5c40 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateCrossRegionRestoreRequestObject.cs @@ -0,0 +1,68 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// Cross Region Restore Request Object + public partial class ValidateCrossRegionRestoreRequestObject : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObjectInternal + { + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails _crossRegionRestoreDetail; + + /// Cross region restore details. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get => (this._crossRegionRestoreDetail = this._crossRegionRestoreDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreDetails()); set => this._crossRegionRestoreDetail = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest _restoreRequestObject; + + /// Gets or sets the restore request object. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest RestoreRequestObject { get => (this._restoreRequestObject = this._restoreRequestObject ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequest()); set => this._restoreRequestObject = value; } + + /// Creates an new instance. + public ValidateCrossRegionRestoreRequestObject() + { + + } + } + /// Cross Region Restore Request Object + public partial interface IValidateCrossRegionRestoreRequestObject : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable + { + /// Cross region restore details. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Cross region restore details.", + SerializedName = @"crossRegionRestoreDetails", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get; set; } + /// Gets or sets the restore request object. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Gets or sets the restore request object.", + SerializedName = @"restoreRequestObject", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } + + } + /// Cross Region Restore Request Object + internal partial interface IValidateCrossRegionRestoreRequestObjectInternal + + { + /// Cross region restore details. + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get; set; } + /// Gets or sets the restore request object. + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateCrossRegionRestoreRequestObject.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateCrossRegionRestoreRequestObject.json.cs new file mode 100644 index 000000000000..f2fa7523c3ce --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateCrossRegionRestoreRequestObject.json.cs @@ -0,0 +1,112 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// Cross Region Restore Request Object + public partial class ValidateCrossRegionRestoreRequestObject + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ValidateCrossRegionRestoreRequestObject(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != this._restoreRequestObject ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._restoreRequestObject.ToJson(null,serializationMode) : null, "restoreRequestObject" ,container.Add ); + AddIf( null != this._crossRegionRestoreDetail ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._crossRegionRestoreDetail.ToJson(null,serializationMode) : null, "crossRegionRestoreDetails" ,container.Add ); + AfterToJson(ref container); + return container; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject instance to deserialize from. + internal ValidateCrossRegionRestoreRequestObject(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_restoreRequestObject = If( json?.PropertyT("restoreRequestObject"), out var __jsonRestoreRequestObject) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequest.FromJson(__jsonRestoreRequestObject) : RestoreRequestObject;} + {_crossRegionRestoreDetail = If( json?.PropertyT("crossRegionRestoreDetails"), out var __jsonCrossRegionRestoreDetails) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreDetails.FromJson(__jsonCrossRegionRestoreDetails) : CrossRegionRestoreDetail;} + AfterFromJson(json); + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateForBackupRequest.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateForBackupRequest.PowerShell.cs similarity index 87% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateForBackupRequest.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateForBackupRequest.PowerShell.cs index c975dce18e79..a8a5262270fc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateForBackupRequest.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateForBackupRequest.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class ValidateForBackupRequest partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ValidateForBackupRequest(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ValidateForBackupRequest(content); } @@ -87,7 +87,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -95,7 +95,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -110,13 +110,13 @@ internal ValidateForBackupRequest(global::System.Collections.IDictionary content // actually deserialize if (content.Contains("BackupInstance")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequestInternal)this).BackupInstance = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance) content.GetValueForProperty("BackupInstance",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequestInternal)this).BackupInstance, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequestInternal)this).BackupInstance = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance) content.GetValueForProperty("BackupInstance",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequestInternal)this).BackupInstance, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceTypeConverter.ConvertFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -131,7 +131,7 @@ internal ValidateForBackupRequest(global::System.Management.Automation.PSObject // actually deserialize if (content.Contains("BackupInstance")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequestInternal)this).BackupInstance = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance) content.GetValueForProperty("BackupInstance",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequestInternal)this).BackupInstance, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequestInternal)this).BackupInstance = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance) content.GetValueForProperty("BackupInstance",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequestInternal)this).BackupInstance, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateForBackupRequest.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateForBackupRequest.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateForBackupRequest.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateForBackupRequest.TypeConverter.cs index 458efa1157cd..33619094d122 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateForBackupRequest.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateForBackupRequest.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateForBackupRequest.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateForBackupRequest.cs similarity index 82% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateForBackupRequest.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateForBackupRequest.cs index 8ad4ba1e3bdf..84f3d899c60f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateForBackupRequest.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateForBackupRequest.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Validate for backup request public partial class ValidateForBackupRequest : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequestInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequestInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance _backupInstance; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance _backupInstance; /// Backup Instance [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance BackupInstance { get => (this._backupInstance = this._backupInstance ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstance()); set => this._backupInstance = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance BackupInstance { get => (this._backupInstance = this._backupInstance ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstance()); set => this._backupInstance = value; } /// Creates an new instance. public ValidateForBackupRequest() @@ -36,8 +36,8 @@ public partial interface IValidateForBackupRequest : ReadOnly = false, Description = @"Backup Instance", SerializedName = @"backupInstance", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance BackupInstance { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance BackupInstance { get; set; } } /// Validate for backup request @@ -45,7 +45,7 @@ internal partial interface IValidateForBackupRequestInternal { /// Backup Instance - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance BackupInstance { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance BackupInstance { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateForBackupRequest.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateForBackupRequest.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateForBackupRequest.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateForBackupRequest.json.cs index a5f7a7101698..dace96998e84 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateForBackupRequest.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateForBackupRequest.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ValidateForBackupRequest partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ValidateForBackupRequest(json) : null; } @@ -101,7 +101,7 @@ internal ValidateForBackupRequest(Microsoft.Azure.PowerShell.Cmdlets.DataProtect { return; } - {_backupInstance = If( json?.PropertyT("backupInstance"), out var __jsonBackupInstance) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstance.FromJson(__jsonBackupInstance) : BackupInstance;} + {_backupInstance = If( json?.PropertyT("backupInstance"), out var __jsonBackupInstance) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstance.FromJson(__jsonBackupInstance) : BackupInstance;} AfterFromJson(json); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateRestoreRequestObject.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateRestoreRequestObject.PowerShell.cs similarity index 88% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateRestoreRequestObject.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateRestoreRequestObject.PowerShell.cs index ecee2177dddb..f8426572c997 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateRestoreRequestObject.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateRestoreRequestObject.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,29 +55,29 @@ public partial class ValidateRestoreRequestObject partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ValidateRestoreRequestObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ValidateRestoreRequestObject(content); } @@ -87,7 +87,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -95,7 +95,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api202305 public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -110,13 +110,13 @@ internal ValidateRestoreRequestObject(global::System.Collections.IDictionary con // actually deserialize if (content.Contains("RestoreRequestObject")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRestoreRequestTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequestTypeConverter.ConvertFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -131,7 +131,7 @@ internal ValidateRestoreRequestObject(global::System.Management.Automation.PSObj // actually deserialize if (content.Contains("RestoreRequestObject")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRestoreRequestTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObjectInternal)this).RestoreRequestObject = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest) content.GetValueForProperty("RestoreRequestObject",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObjectInternal)this).RestoreRequestObject, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequestTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateRestoreRequestObject.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateRestoreRequestObject.TypeConverter.cs similarity index 98% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateRestoreRequestObject.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateRestoreRequestObject.TypeConverter.cs index f194da595480..6e838b9aab25 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateRestoreRequestObject.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateRestoreRequestObject.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateRestoreRequestObject.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateRestoreRequestObject.cs similarity index 83% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateRestoreRequestObject.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateRestoreRequestObject.cs index 70b90f2d5be5..0af1a77240eb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateRestoreRequestObject.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateRestoreRequestObject.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// Validate restore request object public partial class ValidateRestoreRequestObject : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObjectInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObjectInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest _restoreRequestObject; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest _restoreRequestObject; /// Gets or sets the restore request object. [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest RestoreRequestObject { get => (this._restoreRequestObject = this._restoreRequestObject ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRestoreRequest()); set => this._restoreRequestObject = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest RestoreRequestObject { get => (this._restoreRequestObject = this._restoreRequestObject ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequest()); set => this._restoreRequestObject = value; } /// Creates an new instance. public ValidateRestoreRequestObject() @@ -36,8 +36,8 @@ public partial interface IValidateRestoreRequestObject : ReadOnly = false, Description = @"Gets or sets the restore request object.", SerializedName = @"restoreRequestObject", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest) })] - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } } /// Validate restore request object @@ -45,7 +45,7 @@ internal partial interface IValidateRestoreRequestObjectInternal { /// Gets or sets the restore request object. - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest RestoreRequestObject { get; set; } } } \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateRestoreRequestObject.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateRestoreRequestObject.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateRestoreRequestObject.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateRestoreRequestObject.json.cs index 240bba73b205..50f62e8695bb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ValidateRestoreRequestObject.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20231101/ValidateRestoreRequestObject.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ValidateRestoreRequestObject partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ValidateRestoreRequestObject(json) : null; } @@ -101,7 +101,7 @@ internal ValidateRestoreRequestObject(Microsoft.Azure.PowerShell.Cmdlets.DataPro { return; } - {_restoreRequestObject = If( json?.PropertyT("restoreRequestObject"), out var __jsonRestoreRequestObject) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRestoreRequest.FromJson(__jsonRestoreRequestObject) : RestoreRequestObject;} + {_restoreRequestObject = If( json?.PropertyT("restoreRequestObject"), out var __jsonRestoreRequestObject) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequest.FromJson(__jsonRestoreRequestObject) : RestoreRequestObject;} AfterFromJson(json); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ErrorAdditionalInfo.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorAdditionalInfo.PowerShell.cs similarity index 77% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ErrorAdditionalInfo.PowerShell.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorAdditionalInfo.PowerShell.cs index 225242de4aa6..3d79f3ea75e6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ErrorAdditionalInfo.PowerShell.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorAdditionalInfo.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -55,33 +55,33 @@ public partial class ErrorAdditionalInfo partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ErrorAdditionalInfo(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ErrorAdditionalInfo(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -96,17 +96,17 @@ internal ErrorAdditionalInfo(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Info")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfoInternal)this).Info = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IAny) content.GetValueForProperty("Info",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfoInternal)this).Info, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfoInternal)this).Info = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IAny) content.GetValueForProperty("Info",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfoInternal)this).Info, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.AnyTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfoInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfoInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfoInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfoInternal)this).Type, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -121,11 +121,11 @@ internal ErrorAdditionalInfo(global::System.Management.Automation.PSObject conte // actually deserialize if (content.Contains("Info")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfoInternal)this).Info = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IAny) content.GetValueForProperty("Info",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfoInternal)this).Info, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfoInternal)this).Info = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IAny) content.GetValueForProperty("Info",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfoInternal)this).Info, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.AnyTypeConverter.ConvertFrom); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfoInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfoInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfoInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfoInternal)this).Type, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -135,7 +135,7 @@ internal ErrorAdditionalInfo(global::System.Management.Automation.PSObject conte /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ErrorAdditionalInfo.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorAdditionalInfo.TypeConverter.cs similarity index 97% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ErrorAdditionalInfo.TypeConverter.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorAdditionalInfo.TypeConverter.cs index e9b23d7ea181..a3629352c5c3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ErrorAdditionalInfo.TypeConverter.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorAdditionalInfo.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40 { using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ErrorAdditionalInfo.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorAdditionalInfo.cs similarity index 90% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ErrorAdditionalInfo.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorAdditionalInfo.cs index 990c363d68fd..c6bc1fd78293 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ErrorAdditionalInfo.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorAdditionalInfo.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; /// The resource management error additional info. public partial class ErrorAdditionalInfo : - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo, - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfoInternal + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfoInternal { /// Backing field for property. @@ -21,10 +21,10 @@ public partial class ErrorAdditionalInfo : public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IAny Info { get => (this._info = this._info ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Any()); } /// Internal Acessors for Info - Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IAny Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfoInternal.Info { get => (this._info = this._info ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Any()); set { {_info = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IAny Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfoInternal.Info { get => (this._info = this._info ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Any()); set { {_info = value;} } } /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfoInternal.Type { get => this._type; set { {_type = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfoInternal.Type { get => this._type; set { {_type = value;} } } /// Backing field for property. private string _type; diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ErrorAdditionalInfo.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorAdditionalInfo.json.cs similarity index 96% rename from src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ErrorAdditionalInfo.json.cs rename to src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorAdditionalInfo.json.cs index 066660a85146..a46f6f457b8a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api20230501/ErrorAdditionalInfo.json.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorAdditionalInfo.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501 +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40 { using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; @@ -71,13 +71,13 @@ internal ErrorAdditionalInfo(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.R } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo. /// - public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IErrorAdditionalInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ErrorAdditionalInfo(json) : null; } diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorDetail.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorDetail.PowerShell.cs new file mode 100644 index 000000000000..bd953b354571 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorDetail.PowerShell.cs @@ -0,0 +1,176 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// The error detail. + [System.ComponentModel.TypeConverter(typeof(ErrorDetailTypeConverter))] + public partial class ErrorDetail + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ErrorDetail(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ErrorDetail(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ErrorDetail(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Code")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).Code, global::System.Convert.ToString); + } + if (content.Contains("Message")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).Message, global::System.Convert.ToString); + } + if (content.Contains("Target")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).Target, global::System.Convert.ToString); + } + if (content.Contains("Detail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorDetailTypeConverter.ConvertFrom)); + } + if (content.Contains("AdditionalInfo")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ErrorDetail(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Code")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).Code, global::System.Convert.ToString); + } + if (content.Contains("Message")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).Message, global::System.Convert.ToString); + } + if (content.Contains("Target")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).Target, global::System.Convert.ToString); + } + if (content.Contains("Detail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorDetailTypeConverter.ConvertFrom)); + } + if (content.Contains("AdditionalInfo")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + } + AfterDeserializePSObject(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// The error detail. + [System.ComponentModel.TypeConverter(typeof(ErrorDetailTypeConverter))] + public partial interface IErrorDetail + + { + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorDetail.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorDetail.TypeConverter.cs new file mode 100644 index 000000000000..171212771671 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorDetail.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ErrorDetailTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ErrorDetail.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ErrorDetail.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ErrorDetail.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorDetail.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorDetail.cs new file mode 100644 index 000000000000..b58fa8622a45 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorDetail.cs @@ -0,0 +1,134 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// The error detail. + public partial class ErrorDetail : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal + { + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] _additionalInfo; + + /// The error additional info. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] AdditionalInfo { get => this._additionalInfo; } + + /// Backing field for property. + private string _code; + + /// The error code. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string Code { get => this._code; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail[] _detail; + + /// The error details. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail[] Detail { get => this._detail; } + + /// Backing field for property. + private string _message; + + /// The error message. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string Message { get => this._message; } + + /// Internal Acessors for AdditionalInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal.AdditionalInfo { get => this._additionalInfo; set { {_additionalInfo = value;} } } + + /// Internal Acessors for Code + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal.Code { get => this._code; set { {_code = value;} } } + + /// Internal Acessors for Detail + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal.Detail { get => this._detail; set { {_detail = value;} } } + + /// Internal Acessors for Message + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal.Message { get => this._message; set { {_message = value;} } } + + /// Internal Acessors for Target + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal.Target { get => this._target; set { {_target = value;} } } + + /// Backing field for property. + private string _target; + + /// The error target. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + public string Target { get => this._target; } + + /// Creates an new instance. + public ErrorDetail() + { + + } + } + /// The error detail. + public partial interface IErrorDetail : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable + { + /// The error additional info. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error additional info.", + SerializedName = @"additionalInfo", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] AdditionalInfo { get; } + /// The error code. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error code.", + SerializedName = @"code", + PossibleTypes = new [] { typeof(string) })] + string Code { get; } + /// The error details. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error details.", + SerializedName = @"details", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail[] Detail { get; } + /// The error message. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error message.", + SerializedName = @"message", + PossibleTypes = new [] { typeof(string) })] + string Message { get; } + /// The error target. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error target.", + SerializedName = @"target", + PossibleTypes = new [] { typeof(string) })] + string Target { get; } + + } + /// The error detail. + internal partial interface IErrorDetailInternal + + { + /// The error additional info. + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] AdditionalInfo { get; set; } + /// The error code. + string Code { get; set; } + /// The error details. + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail[] Detail { get; set; } + /// The error message. + string Message { get; set; } + /// The error target. + string Target { get; set; } + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorDetail.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorDetail.json.cs new file mode 100644 index 000000000000..bd0733b1dadc --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorDetail.json.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// The error detail. + public partial class ErrorDetail + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject instance to deserialize from. + internal ErrorDetail(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_code = If( json?.PropertyT("code"), out var __jsonCode) ? (string)__jsonCode : (string)Code;} + {_message = If( json?.PropertyT("message"), out var __jsonMessage) ? (string)__jsonMessage : (string)Message;} + {_target = If( json?.PropertyT("target"), out var __jsonTarget) ? (string)__jsonTarget : (string)Target;} + {_detail = If( json?.PropertyT("details"), out var __jsonDetails) ? If( __jsonDetails as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorDetail.FromJson(__u) )) ))() : null : Detail;} + {_additionalInfo = If( json?.PropertyT("additionalInfo"), out var __jsonAdditionalInfo) ? If( __jsonAdditionalInfo as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo) (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfo.FromJson(__p) )) ))() : null : AdditionalInfo;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ErrorDetail(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != (((object)this._code)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._code.ToString()) : null, "code" ,container.Add ); + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != (((object)this._message)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._message.ToString()) : null, "message" ,container.Add ); + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != (((object)this._target)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonString(this._target.ToString()) : null, "target" ,container.Add ); + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeReadOnly)) + { + if (null != this._detail) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.XNodeArray(); + foreach( var __x in this._detail ) + { + AddIf(__x?.ToJson(null, serializationMode) ,__w.Add); + } + container.Add("details",__w); + } + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeReadOnly)) + { + if (null != this._additionalInfo) + { + var __r = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.XNodeArray(); + foreach( var __s in this._additionalInfo ) + { + AddIf(__s?.ToJson(null, serializationMode) ,__r.Add); + } + container.Add("additionalInfo",__r); + } + } + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorResponse.PowerShell.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorResponse.PowerShell.cs new file mode 100644 index 000000000000..55a0ebe424f2 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorResponse.PowerShell.cs @@ -0,0 +1,188 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows + /// the OData error response format.). + /// + [System.ComponentModel.TypeConverter(typeof(ErrorResponseTypeConverter))] + public partial class ErrorResponse + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new ErrorResponse(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new ErrorResponse(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal ErrorResponse(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Error")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorDetailTypeConverter.ConvertFrom); + } + if (content.Contains("Code")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Code, global::System.Convert.ToString); + } + if (content.Contains("Message")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Message, global::System.Convert.ToString); + } + if (content.Contains("Target")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Target, global::System.Convert.ToString); + } + if (content.Contains("Detail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorDetailTypeConverter.ConvertFrom)); + } + if (content.Contains("AdditionalInfo")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal ErrorResponse(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Error")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorDetailTypeConverter.ConvertFrom); + } + if (content.Contains("Code")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Code, global::System.Convert.ToString); + } + if (content.Contains("Message")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Message, global::System.Convert.ToString); + } + if (content.Contains("Target")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Target, global::System.Convert.ToString); + } + if (content.Contains("Detail")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Detail = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail[]) content.GetValueForProperty("Detail",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).Detail, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorDetailTypeConverter.ConvertFrom)); + } + if (content.Contains("AdditionalInfo")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).AdditionalInfo = (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[]) content.GetValueForProperty("AdditionalInfo",((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal)this).AdditionalInfo, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorAdditionalInfoTypeConverter.ConvertFrom)); + } + AfterDeserializePSObject(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode.IncludeAll)?.ToString(); + } + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows + /// the OData error response format.). + [System.ComponentModel.TypeConverter(typeof(ErrorResponseTypeConverter))] + public partial interface IErrorResponse + + { + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorResponse.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorResponse.TypeConverter.cs new file mode 100644 index 000000000000..9d2e438650fa --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorResponse.TypeConverter.cs @@ -0,0 +1,147 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40 +{ + using Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class ErrorResponseTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return ErrorResponse.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return ErrorResponse.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return ErrorResponse.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorResponse.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorResponse.cs new file mode 100644 index 000000000000..a2b70162b9d0 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorResponse.cs @@ -0,0 +1,136 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows + /// the OData error response format.). + /// + public partial class ErrorResponse : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal + { + + /// The error additional info. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)Error).AdditionalInfo; } + + /// The error code. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] + public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)Error).Code; } + + /// The error details. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail[] Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)Error).Detail; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail _error; + + /// The error object. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorDetail()); set => this._error = value; } + + /// The error message. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] + public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)Error).Message; } + + /// Internal Acessors for AdditionalInfo + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal.AdditionalInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)Error).AdditionalInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)Error).AdditionalInfo = value; } + + /// Internal Acessors for Code + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)Error).Code = value; } + + /// Internal Acessors for Detail + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail[] Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal.Detail { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)Error).Detail; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)Error).Detail = value; } + + /// Internal Acessors for Error + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorDetail()); set { {_error = value;} } } + + /// Internal Acessors for Message + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)Error).Message = value; } + + /// Internal Acessors for Target + string Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponseInternal.Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)Error).Target = value; } + + /// The error target. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Origin(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.PropertyOrigin.Inlined)] + public string Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetailInternal)Error).Target; } + + /// Creates an new instance. + public ErrorResponse() + { + + } + } + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows + /// the OData error response format.). + public partial interface IErrorResponse : + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IJsonSerializable + { + /// The error additional info. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error additional info.", + SerializedName = @"additionalInfo", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] AdditionalInfo { get; } + /// The error code. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error code.", + SerializedName = @"code", + PossibleTypes = new [] { typeof(string) })] + string Code { get; } + /// The error details. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error details.", + SerializedName = @"details", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail) })] + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail[] Detail { get; } + /// The error message. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error message.", + SerializedName = @"message", + PossibleTypes = new [] { typeof(string) })] + string Message { get; } + /// The error target. + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The error target.", + SerializedName = @"target", + PossibleTypes = new [] { typeof(string) })] + string Target { get; } + + } + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows + /// the OData error response format.). + internal partial interface IErrorResponseInternal + + { + /// The error additional info. + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorAdditionalInfo[] AdditionalInfo { get; set; } + /// The error code. + string Code { get; set; } + /// The error details. + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail[] Detail { get; set; } + /// The error object. + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorDetail Error { get; set; } + /// The error message. + string Message { get; set; } + /// The error target. + string Target { get; set; } + + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorResponse.json.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorResponse.json.cs new file mode 100644 index 000000000000..cd19e9d14e63 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Models/Api40/ErrorResponse.json.cs @@ -0,0 +1,111 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + + /// + /// Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows + /// the OData error response format.). + /// + public partial class ErrorResponse + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject instance to deserialize from. + internal ErrorResponse(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_error = If( json?.PropertyT("error"), out var __jsonError) ? Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.ErrorDetail.FromJson(__jsonError) : Error;} + AfterFromJson(json); + } + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse FromJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject json ? new ErrorResponse(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != this._error ? (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Json.JsonNode) this._error.ToJson(null,serializationMode) : null, "error" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Support/RecoveryPointCompletionState.Completer.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Support/RecoveryPointCompletionState.Completer.cs new file mode 100644 index 000000000000..53395621c166 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Support/RecoveryPointCompletionState.Completer.cs @@ -0,0 +1,42 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support +{ + + /// + /// Specifies recovery point completeness. Partial (i.e., only some of the intended items were backed up), or Completed (i.e., + /// ALL intended items were backed up). + /// + [System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionStateTypeConverter))] + public partial struct RecoveryPointCompletionState : + System.Management.Automation.IArgumentCompleter + { + + /// + /// Implementations of this function are called by PowerShell to complete arguments. + /// + /// The name of the command that needs argument completion. + /// The name of the parameter that needs argument completion. + /// The (possibly empty) word being completed. + /// The command ast in case it is needed for completion. + /// This parameter is similar to $PSBoundParameters, except that sometimes PowerShell cannot + /// or will not attempt to evaluate an argument, in which case you may need to use commandAst. + /// + /// A collection of completion results, most like with ResultType set to ParameterValue. + /// + public global::System.Collections.Generic.IEnumerable CompleteArgument(global::System.String commandName, global::System.String parameterName, global::System.String wordToComplete, global::System.Management.Automation.Language.CommandAst commandAst, global::System.Collections.IDictionary fakeBoundParameters) + { + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Completed".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Completed'", "Completed", global::System.Management.Automation.CompletionResultType.ParameterValue, "Completed"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Partial".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Partial'", "Partial", global::System.Management.Automation.CompletionResultType.ParameterValue, "Partial"); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Support/RecoveryPointCompletionState.TypeConverter.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Support/RecoveryPointCompletionState.TypeConverter.cs new file mode 100644 index 000000000000..01607f34e018 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Support/RecoveryPointCompletionState.TypeConverter.cs @@ -0,0 +1,62 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support +{ + + /// + /// Specifies recovery point completeness. Partial (i.e., only some of the intended items were backed up), or Completed (i.e., + /// ALL intended items were backed up). + /// + public partial class RecoveryPointCompletionStateTypeConverter : + global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => RecoveryPointCompletionState.CreateFrom(sourceValue); + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/api/Support/RecoveryPointCompletionState.cs b/src/DataProtection/DataProtection.Autorest/generated/api/Support/RecoveryPointCompletionState.cs new file mode 100644 index 000000000000..e0880f0024a1 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/api/Support/RecoveryPointCompletionState.cs @@ -0,0 +1,105 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support +{ + + /// + /// Specifies recovery point completeness. Partial (i.e., only some of the intended items were backed up), or Completed (i.e., + /// ALL intended items were backed up). + /// + public partial struct RecoveryPointCompletionState : + System.IEquatable + { + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState Completed = @"Completed"; + + public static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState Partial = @"Partial"; + + /// + /// the value for an instance of the Enum. + /// + private string _value { get; set; } + + /// Conversion from arbitrary object to RecoveryPointCompletionState + /// the value to convert to an instance of . + internal static object CreateFrom(object value) + { + return new RecoveryPointCompletionState(global::System.Convert.ToString(value)); + } + + /// Compares values of enum type RecoveryPointCompletionState + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public bool Equals(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState e) + { + return _value.Equals(e._value); + } + + /// Compares values of enum type RecoveryPointCompletionState (override for Object) + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public override bool Equals(object obj) + { + return obj is RecoveryPointCompletionState && Equals((RecoveryPointCompletionState)obj); + } + + /// Returns hashCode for enum RecoveryPointCompletionState + /// The hashCode of the value + public override int GetHashCode() + { + return this._value.GetHashCode(); + } + + /// + /// Creates an instance of the Enum class. + /// + /// the value to create an instance for. + private RecoveryPointCompletionState(string underlyingValue) + { + this._value = underlyingValue; + } + + /// Returns string representation for RecoveryPointCompletionState + /// A string for this value. + public override string ToString() + { + return this._value; + } + + /// Implicit operator to convert string to RecoveryPointCompletionState + /// the value to convert to an instance of . + + public static implicit operator RecoveryPointCompletionState(string value) + { + return new RecoveryPointCompletionState(value); + } + + /// Implicit operator to convert RecoveryPointCompletionState to string + /// the value to convert to an instance of . + + public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState e) + { + return e._value; + } + + /// Overriding != operator for enum RecoveryPointCompletionState + /// the value to compare against + /// the value to compare against + /// true if the two instances are not equal to the same value + public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState e1, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState e2) + { + return !e2.Equals(e1); + } + + /// Overriding == operator for enum RecoveryPointCompletionState + /// the value to compare against + /// the value to compare against + /// true if the two instances are equal to the same value + public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState e1, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RecoveryPointCompletionState e2) + { + return e2.Equals(e1); + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/BackupAzDataProtectionBackupInstanceAdhoc_BackupExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/BackupAzDataProtectionBackupInstanceAdhoc_BackupExpanded.cs index 14cb811a5263..ce6dcbf233b9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/BackupAzDataProtectionBackupInstanceAdhoc_BackupExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/BackupAzDataProtectionBackupInstanceAdhoc_BackupExpanded.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] AdhocBackup=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/backup" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Backup, @"AzDataProtectionBackupInstanceAdhoc_BackupExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Trigger adhoc backup ")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/backup", ApiVersion = "2023-11-01")] public partial class BackupAzDataProtectionBackupInstanceAdhoc_BackupExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -34,7 +35,7 @@ public partial class BackupAzDataProtectionBackupInstanceAdhoc_BackupExpanded : private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Trigger backup request - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TriggerBackupRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TriggerBackupRequest(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -198,24 +199,24 @@ public partial class BackupAzDataProtectionBackupInstanceAdhoc_BackupExpanded : /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// Intializes a new instance of the cmdlet class. @@ -448,12 +449,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -470,7 +471,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, BackupInstanceName=BackupInstanceName, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -488,12 +489,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -505,7 +506,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/BackupAzDataProtectionBackupInstanceAdhoc_BackupViaIdentityExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/BackupAzDataProtectionBackupInstanceAdhoc_BackupViaIdentityExpanded.cs index fa1a09a48fea..489ae149000d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/BackupAzDataProtectionBackupInstanceAdhoc_BackupViaIdentityExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/BackupAzDataProtectionBackupInstanceAdhoc_BackupViaIdentityExpanded.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] AdhocBackup=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/backup" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Backup, @"AzDataProtectionBackupInstanceAdhoc_BackupViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Trigger adhoc backup ")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/backup", ApiVersion = "2023-11-01")] public partial class BackupAzDataProtectionBackupInstanceAdhoc_BackupViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -34,7 +35,7 @@ public partial class BackupAzDataProtectionBackupInstanceAdhoc_BackupViaIdentity private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Trigger backup request - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ITriggerBackupRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.TriggerBackupRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ITriggerBackupRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.TriggerBackupRequest(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -146,24 +147,24 @@ public partial class BackupAzDataProtectionBackupInstanceAdhoc_BackupViaIdentity /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// Intializes a new instance of the cmdlet @@ -417,12 +418,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -439,7 +440,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -457,12 +458,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -474,7 +475,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/FindAzDataProtectionRestorableTimeRange_FindExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/FindAzDataProtectionRestorableTimeRange_FindExpanded.cs index c653da4350b3..510888f462b0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/FindAzDataProtectionRestorableTimeRange_FindExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/FindAzDataProtectionRestorableTimeRange_FindExpanded.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Find=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/findRestorableTimeRanges" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Find, @"AzDataProtectionRestorableTimeRange_FindExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Finds the valid recovery point in time ranges for the restore.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/findRestorableTimeRanges", ApiVersion = "2023-11-01")] public partial class FindAzDataProtectionRestorableTimeRange_FindExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -34,7 +35,7 @@ public partial class FindAzDataProtectionRestorableTimeRange_FindExpanded : glob private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// List Restore Ranges Request - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupFindRestorableTimeRangesRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupFindRestorableTimeRangesRequest(); /// Backing field for property. private string _backupInstanceName; @@ -197,24 +198,24 @@ public partial class FindAzDataProtectionRestorableTimeRange_FindExpanded : glob /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -390,12 +391,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -412,7 +413,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, BackupInstanceName=BackupInstanceName, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -430,12 +431,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -447,7 +448,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupFindRestorableTimeRangesResponseResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_Get.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_Get.cs index cdbd0bb2fb4a..2c033b48797a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_Get.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionBackupInstance_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Gets a backup instance with name in a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionBackupInstance_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -161,24 +162,24 @@ public partial class GetAzDataProtectionBackupInstance_Get : global::System.Mana /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -354,12 +355,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -376,7 +377,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, Name=Name }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -394,12 +395,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -411,7 +412,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_GetViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_GetViaIdentity.cs index c7c52d6bd265..83df70329e78 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_GetViaIdentity.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionBackupInstance_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Gets a backup instance with name in a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionBackupInstance_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -108,24 +109,24 @@ public partial class GetAzDataProtectionBackupInstance_GetViaIdentity : global:: /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -322,12 +323,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -344,7 +345,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -362,12 +363,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -379,7 +380,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_List.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_List.cs index e4f092231dff..53fbe34e0638 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_List.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupInstance_List.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionBackupInstance_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Gets a backup instances belonging to a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionBackupInstance_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -146,24 +147,24 @@ public partial class GetAzDataProtectionBackupInstance_List : global::System.Man /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -339,12 +340,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -361,7 +362,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -379,12 +380,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResourceList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_Get.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_Get.cs index 6951a7f2150e..d917fe1a295e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_Get.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionBackupPolicy_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Gets a backup policy belonging to a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionBackupPolicy_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -160,24 +161,24 @@ public partial class GetAzDataProtectionBackupPolicy_Get : global::System.Manage /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -353,12 +354,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -375,7 +376,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, Name=Name }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -393,12 +394,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -410,7 +411,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_GetViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_GetViaIdentity.cs index 92adbc22a57b..9bdf5e101917 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_GetViaIdentity.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionBackupPolicy_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Gets a backup policy belonging to a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionBackupPolicy_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -108,24 +109,24 @@ public partial class GetAzDataProtectionBackupPolicy_GetViaIdentity : global::Sy /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -322,12 +323,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -344,7 +345,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -362,12 +363,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -379,7 +380,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_List.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_List.cs index 9cd735537fd9..033b85df54aa 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_List.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupPolicy_List.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionBackupPolicy_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns list of backup policies belonging to a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionBackupPolicy_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -146,24 +147,24 @@ public partial class GetAzDataProtectionBackupPolicy_List : global::System.Manag /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -339,12 +340,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -361,7 +362,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -379,12 +380,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResourceList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get.cs index 57a7d58d66d0..ddc3d0cb50be 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] GetInSubscription=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/backupVaults" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionBackupVault_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns resource collection belonging to a subscription.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/backupVaults", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionBackupVault_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -118,24 +119,24 @@ public partial class GetAzDataProtectionBackupVault_Get : global::System.Managem /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -311,12 +312,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -333,7 +334,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -351,12 +352,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get1.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get1.cs index 77fa5d51672c..426170c197fb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get1.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get1.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] GetInResourceGroup=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionBackupVault_Get1")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns resource collection belonging to a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionBackupVault_Get1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -132,24 +133,24 @@ public partial class GetAzDataProtectionBackupVault_Get1 : global::System.Manage /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -325,12 +326,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -347,7 +348,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -365,12 +366,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get2.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get2.cs index a22b800754e6..da9c27ad4a4f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get2.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_Get2.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionBackupVault_Get2")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns a resource belonging to a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionBackupVault_Get2 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -146,24 +147,24 @@ public partial class GetAzDataProtectionBackupVault_Get2 : global::System.Manage /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -339,12 +340,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -361,7 +362,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -379,12 +380,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -396,7 +397,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity.cs index 51dd67101552..f21e56c42d07 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] GetInSubscription=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/backupVaults" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionBackupVault_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns resource collection belonging to a subscription.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/backupVaults", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionBackupVault_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -108,24 +109,24 @@ public partial class GetAzDataProtectionBackupVault_GetViaIdentity : global::Sys /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -310,12 +311,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -332,7 +333,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -350,12 +351,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity1.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity1.cs index 20766cd00607..94045cb041f5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity1.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity1.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionBackupVault_GetViaIdentity1")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns resource collection belonging to a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionBackupVault_GetViaIdentity1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -109,24 +110,24 @@ public partial class GetAzDataProtectionBackupVault_GetViaIdentity1 : global::Sy /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -315,12 +316,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -337,7 +338,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -355,12 +356,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResourceList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity2.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity2.cs index 4d2d02225f23..412554eebae1 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity2.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionBackupVault_GetViaIdentity2.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionBackupVault_GetViaIdentity2")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns a resource belonging to a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionBackupVault_GetViaIdentity2 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -109,24 +110,24 @@ public partial class GetAzDataProtectionBackupVault_GetViaIdentity2 : global::Sy /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -319,12 +320,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -341,7 +342,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -359,12 +360,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -376,7 +377,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_Get.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_Get.cs new file mode 100644 index 000000000000..339d23863887 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_Get.cs @@ -0,0 +1,422 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + using System; + + /// Fetches the Cross Region Restore Job + /// + /// [OpenAPI] Get=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJob" + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionCrossRegionRestoreJobDetail_Get", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource))] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Fetches the Cross Region Restore Job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJob", ApiVersion = "2023-11-01")] + public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_Get : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DataProtection Client => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// Backing field for property. + private string _location; + + /// The name of the Azure region. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Azure region.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Azure region.", + SerializedName = @"location", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string Location { get => this._location; set => this._location = value; } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest _parameter; + + /// Details of CRR Job to be fetched + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Details of CRR Job to be fetched", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Details of CRR Job to be fetched", + SerializedName = @"parameters", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest Parameter { get => this._parameter; set => this._parameter = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string[] _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string[] SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzDataProtectionCrossRegionRestoreJobDetail_Get() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'FetchCrossRegionRestoreJobGet' operation")) + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token); + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + foreach( var SubscriptionId in this.SubscriptionId ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.FetchCrossRegionRestoreJobGet(ResourceGroupName, SubscriptionId, Location, Parameter, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,SubscriptionId=SubscriptionId,Location=Location,body=Parameter}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, Location=Location, body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, Location=Location, body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetExpanded.cs new file mode 100644 index 000000000000..a46c5bceea72 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetExpanded.cs @@ -0,0 +1,445 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + using System; + + /// Fetches the Cross Region Restore Job + /// + /// [OpenAPI] Get=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJob" + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionCrossRegionRestoreJobDetail_GetExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource))] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Fetches the Cross Region Restore Job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJob", ApiVersion = "2023-11-01")] + public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_GetExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Details of CRR Job to be fetched + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreJobRequest(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DataProtection Client => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// . + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = ".")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @".", + SerializedName = @"jobId", + PossibleTypes = new [] { typeof(string) })] + public string JobId { get => _parametersBody.JobId ?? null; set => _parametersBody.JobId = value; } + + /// Backing field for property. + private string _location; + + /// The name of the Azure region. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Azure region.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Azure region.", + SerializedName = @"location", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string Location { get => this._location; set => this._location = value; } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// . + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = ".")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @".", + SerializedName = @"sourceBackupVaultId", + PossibleTypes = new [] { typeof(string) })] + public string SourceBackupVaultId { get => _parametersBody.SourceBackupVaultId ?? null; set => _parametersBody.SourceBackupVaultId = value; } + + /// . + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = ".")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @".", + SerializedName = @"sourceRegion", + PossibleTypes = new [] { typeof(string) })] + public string SourceRegion { get => _parametersBody.SourceRegion ?? null; set => _parametersBody.SourceRegion = value; } + + /// Backing field for property. + private string[] _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string[] SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzDataProtectionCrossRegionRestoreJobDetail_GetExpanded() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'FetchCrossRegionRestoreJobGet' operation")) + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token); + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + foreach( var SubscriptionId in this.SubscriptionId ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.FetchCrossRegionRestoreJobGet(ResourceGroupName, SubscriptionId, Location, _parametersBody, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,SubscriptionId=SubscriptionId,Location=Location,body=_parametersBody}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, Location=Location, body=_parametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, Location=Location, body=_parametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentity.cs new file mode 100644 index 000000000000..c8bbe0876ed7 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentity.cs @@ -0,0 +1,401 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + using System; + + /// Fetches the Cross Region Restore Job + /// + /// [OpenAPI] Get=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJob" + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentity", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource))] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Fetches the Cross Region Restore Job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJob", ApiVersion = "2023-11-01")] + public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentity : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DataProtection Client => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity _inputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest _parameter; + + /// Details of CRR Job to be fetched + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Details of CRR Job to be fetched", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Details of CRR Job to be fetched", + SerializedName = @"parameters", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest Parameter { get => this._parameter; set => this._parameter = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentity() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'FetchCrossRegionRestoreJobGet' operation")) + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token); + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (InputObject?.Id != null) + { + await this.Client.FetchCrossRegionRestoreJobGetViaIdentity(InputObject.Id, Parameter, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == InputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.Location) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.Location"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + await this.Client.FetchCrossRegionRestoreJobGet(InputObject.ResourceGroupName ?? null, InputObject.SubscriptionId ?? null, InputObject.Location ?? null, Parameter, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentityExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentityExpanded.cs new file mode 100644 index 000000000000..c88e31dee931 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentityExpanded.cs @@ -0,0 +1,425 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + using System; + + /// Fetches the Cross Region Restore Job + /// + /// [OpenAPI] Get=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJob" + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentityExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource))] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Fetches the Cross Region Restore Job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJob", ApiVersion = "2023-11-01")] + public partial class GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Details of CRR Job to be fetched + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreJobRequest(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DataProtection Client => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity _inputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// . + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = ".")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @".", + SerializedName = @"jobId", + PossibleTypes = new [] { typeof(string) })] + public string JobId { get => _parametersBody.JobId ?? null; set => _parametersBody.JobId = value; } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// . + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = ".")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @".", + SerializedName = @"sourceBackupVaultId", + PossibleTypes = new [] { typeof(string) })] + public string SourceBackupVaultId { get => _parametersBody.SourceBackupVaultId ?? null; set => _parametersBody.SourceBackupVaultId = value; } + + /// . + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = ".")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @".", + SerializedName = @"sourceRegion", + PossibleTypes = new [] { typeof(string) })] + public string SourceRegion { get => _parametersBody.SourceRegion ?? null; set => _parametersBody.SourceRegion = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// + /// Intializes a new instance of the + /// cmdlet class. + /// + public GetAzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentityExpanded() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'FetchCrossRegionRestoreJobGet' operation")) + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token); + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (InputObject?.Id != null) + { + await this.Client.FetchCrossRegionRestoreJobGetViaIdentity(InputObject.Id, _parametersBody, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == InputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.Location) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.Location"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + await this.Client.FetchCrossRegionRestoreJobGet(InputObject.ResourceGroupName ?? null, InputObject.SubscriptionId ?? null, InputObject.Location ?? null, _parametersBody, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJob_List.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJob_List.cs new file mode 100644 index 000000000000..d51643946b55 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJob_List.cs @@ -0,0 +1,437 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + using System; + + /// Fetches list of Cross Region Restore job belonging to the vault + /// + /// [OpenAPI] List=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJobs" + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionCrossRegionRestoreJob_List", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource))] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Fetches list of Cross Region Restore job belonging to the vault")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJobs", ApiVersion = "2023-11-01")] + public partial class GetAzDataProtectionCrossRegionRestoreJob_List : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DataProtection Client => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Backing field for property. + private string _filter; + + /// OData filter options. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "OData filter options.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"OData filter options.", + SerializedName = @"$filter", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Query)] + public string Filter { get => this._filter; set => this._filter = value; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// Backing field for property. + private string _location; + + /// The name of the Azure region. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Azure region.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Azure region.", + SerializedName = @"location", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string Location { get => this._location; set => this._location = value; } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest _parameter; + + /// Details of Backup Vault for which CRR Jobs are to be fetched + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Details of Backup Vault for which CRR Jobs are to be fetched", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Details of Backup Vault for which CRR Jobs are to be fetched", + SerializedName = @"parameters", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest Parameter { get => this._parameter; set => this._parameter = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string[] _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string[] SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceList + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzDataProtectionCrossRegionRestoreJob_List() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'FetchCrossRegionRestoreJobsList' operation")) + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token); + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + foreach( var SubscriptionId in this.SubscriptionId ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.FetchCrossRegionRestoreJobsList(ResourceGroupName, SubscriptionId, Location, this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null, Parameter, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,SubscriptionId=SubscriptionId,Location=Location,Filter=this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null,body=Parameter}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, Location=Location, Filter=this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null, body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, Location=Location, Filter=this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null, body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceList + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // response should be returning an array of some kind. +Pageable + // pageable / value / nextLink + WriteObject((await response).Value, true); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJob_ListExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJob_ListExpanded.cs new file mode 100644 index 000000000000..32bb3c6d0dec --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionCrossRegionRestoreJob_ListExpanded.cs @@ -0,0 +1,449 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + using System; + + /// Fetches list of Cross Region Restore job belonging to the vault + /// + /// [OpenAPI] List=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJobs" + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionCrossRegionRestoreJob_ListExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource))] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Fetches list of Cross Region Restore job belonging to the vault")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchCrossRegionRestoreJobs", ApiVersion = "2023-11-01")] + public partial class GetAzDataProtectionCrossRegionRestoreJob_ListExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Details of Backup Vault for which CRR Jobs are to be fetched + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreJobsRequest(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DataProtection Client => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Backing field for property. + private string _filter; + + /// OData filter options. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "OData filter options.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"OData filter options.", + SerializedName = @"$filter", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Query)] + public string Filter { get => this._filter; set => this._filter = value; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// Backing field for property. + private string _location; + + /// The name of the Azure region. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Azure region.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Azure region.", + SerializedName = @"location", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string Location { get => this._location; set => this._location = value; } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// . + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = ".")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @".", + SerializedName = @"sourceBackupVaultId", + PossibleTypes = new [] { typeof(string) })] + public string SourceBackupVaultId { get => _parametersBody.SourceBackupVaultId ?? null; set => _parametersBody.SourceBackupVaultId = value; } + + /// . + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = ".")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @".", + SerializedName = @"sourceRegion", + PossibleTypes = new [] { typeof(string) })] + public string SourceRegion { get => _parametersBody.SourceRegion ?? null; set => _parametersBody.SourceRegion = value; } + + /// Backing field for property. + private string[] _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string[] SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceList + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzDataProtectionCrossRegionRestoreJob_ListExpanded() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'FetchCrossRegionRestoreJobsList' operation")) + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token); + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + foreach( var SubscriptionId in this.SubscriptionId ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.FetchCrossRegionRestoreJobsList(ResourceGroupName, SubscriptionId, Location, this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null, _parametersBody, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName,SubscriptionId=SubscriptionId,Location=Location,Filter=this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null,body=_parametersBody}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, Location=Location, Filter=this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null, body=_parametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, Location=Location, Filter=this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null, body=_parametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceList + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // response should be returning an array of some kind. +Pageable + // pageable / value / nextLink + WriteObject((await response).Value, true); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionFetchSecondaryRecoveryPoint_List.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionFetchSecondaryRecoveryPoint_List.cs new file mode 100644 index 000000000000..f3617eb3a1fb --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionFetchSecondaryRecoveryPoint_List.cs @@ -0,0 +1,459 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + using System; + + /// + /// Returns a list of Secondary Recovery Points for a DataSource in a vault, that can be used for Cross Region Restore. + /// + /// + /// [OpenAPI] List=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchSecondaryRecoveryPoints" + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionFetchSecondaryRecoveryPoint_List", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource))] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns a list of Secondary Recovery Points for a DataSource in a vault, that can be used for Cross Region Restore.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchSecondaryRecoveryPoints", ApiVersion = "2023-11-01")] + public partial class GetAzDataProtectionFetchSecondaryRecoveryPoint_List : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DataProtection Client => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Backing field for property. + private string _filter; + + /// OData filter options. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "OData filter options.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"OData filter options.", + SerializedName = @"$filter", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Query)] + public string Filter { get => this._filter; set => this._filter = value; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// Backing field for property. + private string _location; + + /// The name of the Azure region. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Azure region.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Azure region.", + SerializedName = @"location", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string Location { get => this._location; set => this._location = value; } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters _parameter; + + /// + /// Information about BI whose secondary RecoveryPoints are requested + /// Source region and + /// BI ARM path + /// + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Information about BI whose secondary RecoveryPoints are requested\r\nSource region and\r\nBI ARM path", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Information about BI whose secondary RecoveryPoints are requested + Source region and + BI ARM path", + SerializedName = @"parameters", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters Parameter { get => this._parameter; set => this._parameter = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _skipToken; + + /// skipToken Filter. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "skipToken Filter.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"skipToken Filter.", + SerializedName = @"$skipToken", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Query)] + public string SkipToken { get => this._skipToken; set => this._skipToken = value; } + + /// Backing field for property. + private string[] _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string[] SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceList + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzDataProtectionFetchSecondaryRecoveryPoint_List() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'FetchSecondaryRecoveryPointsList' operation")) + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token); + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + foreach( var SubscriptionId in this.SubscriptionId ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.FetchSecondaryRecoveryPointsList(SubscriptionId, ResourceGroupName, Location, this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null, this.InvocationInformation.BoundParameters.ContainsKey("SkipToken") ? SkipToken : null, Parameter, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,Location=Location,Filter=this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null,SkipToken=this.InvocationInformation.BoundParameters.ContainsKey("SkipToken") ? SkipToken : null,body=Parameter}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, Location=Location, Filter=this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null, SkipToken=this.InvocationInformation.BoundParameters.ContainsKey("SkipToken") ? SkipToken : null, body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, Location=Location, Filter=this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null, SkipToken=this.InvocationInformation.BoundParameters.ContainsKey("SkipToken") ? SkipToken : null, body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceList + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // response should be returning an array of some kind. +Pageable + // pageable / value / nextLink + WriteObject((await response).Value, true); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionFetchSecondaryRecoveryPoint_ListExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionFetchSecondaryRecoveryPoint_ListExpanded.cs new file mode 100644 index 000000000000..fb41066dda6e --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionFetchSecondaryRecoveryPoint_ListExpanded.cs @@ -0,0 +1,469 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + using System; + + /// + /// Returns a list of Secondary Recovery Points for a DataSource in a vault, that can be used for Cross Region Restore. + /// + /// + /// [OpenAPI] List=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchSecondaryRecoveryPoints" + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionFetchSecondaryRecoveryPoint_ListExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource))] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns a list of Secondary Recovery Points for a DataSource in a vault, that can be used for Cross Region Restore.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/fetchSecondaryRecoveryPoints", ApiVersion = "2023-11-01")] + public partial class GetAzDataProtectionFetchSecondaryRecoveryPoint_ListExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// + /// Information about BI whose secondary RecoveryPoints are requested + /// Source region and + /// BI ARM path + /// + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.FetchSecondaryRPsRequestParameters(); + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DataProtection Client => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// Backing field for property. + private string _filter; + + /// OData filter options. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "OData filter options.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"OData filter options.", + SerializedName = @"$filter", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Query)] + public string Filter { get => this._filter; set => this._filter = value; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// Backing field for property. + private string _location; + + /// The name of the Azure region. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Azure region.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Azure region.", + SerializedName = @"location", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string Location { get => this._location; set => this._location = value; } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _skipToken; + + /// skipToken Filter. + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "skipToken Filter.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"skipToken Filter.", + SerializedName = @"$skipToken", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Query)] + public string SkipToken { get => this._skipToken; set => this._skipToken = value; } + + /// ARM Path of BackupInstance + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "ARM Path of BackupInstance")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"ARM Path of BackupInstance", + SerializedName = @"sourceBackupInstanceId", + PossibleTypes = new [] { typeof(string) })] + public string SourceBackupInstanceId { get => _parametersBody.SourceBackupInstanceId ?? null; set => _parametersBody.SourceBackupInstanceId = value; } + + /// Source region in which BackupInstance is located + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Source region in which BackupInstance is located")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"Source region in which BackupInstance is located", + SerializedName = @"sourceRegion", + PossibleTypes = new [] { typeof(string) })] + public string SourceRegion { get => _parametersBody.SourceRegion ?? null; set => _parametersBody.SourceRegion = value; } + + /// Backing field for property. + private string[] _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string[] SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceList + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public GetAzDataProtectionFetchSecondaryRecoveryPoint_ListExpanded() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Information: + { + var data = messageData(); + WriteInformation(data.Message, new string[]{}); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'FetchSecondaryRecoveryPointsList' operation")) + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token); + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + foreach( var SubscriptionId in this.SubscriptionId ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.FetchSecondaryRecoveryPointsList(SubscriptionId, ResourceGroupName, Location, this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null, this.InvocationInformation.BoundParameters.ContainsKey("SkipToken") ? SkipToken : null, _parametersBody, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,Location=Location,Filter=this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null,SkipToken=this.InvocationInformation.BoundParameters.ContainsKey("SkipToken") ? SkipToken : null,body=_parametersBody}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, Location=Location, Filter=this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null, SkipToken=this.InvocationInformation.BoundParameters.ContainsKey("SkipToken") ? SkipToken : null, body=_parametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, Location=Location, Filter=this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null, SkipToken=this.InvocationInformation.BoundParameters.ContainsKey("SkipToken") ? SkipToken : null, body=_parametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceList + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // response should be returning an array of some kind. +Pageable + // pageable / value / nextLink + WriteObject((await response).Value, true); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_Get.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_Get.cs index 8ef571c6bad3..a541295199ad 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_Get.cs @@ -12,10 +12,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/{jobId}" /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionJob_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Gets a job with id in a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/{jobId}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionJob_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -163,24 +165,24 @@ public partial class GetAzDataProtectionJob_Get : global::System.Management.Auto /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -356,12 +358,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -378,7 +380,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, Id=Id }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -396,12 +398,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -413,7 +415,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_GetViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_GetViaIdentity.cs index 98bb6366caa6..4294d898b18e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_GetViaIdentity.cs @@ -12,10 +12,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/{jobId}" /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionJob_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Gets a job with id in a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs/{jobId}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionJob_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -108,24 +110,24 @@ public partial class GetAzDataProtectionJob_GetViaIdentity : global::System.Mana /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -322,12 +324,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -344,7 +346,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -362,12 +364,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -379,7 +381,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_List.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_List.cs index 605e8582cb6e..6031209efbf5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_List.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionJob_List.cs @@ -12,10 +12,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs" /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionJob_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns list of jobs belonging to a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupJobs", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionJob_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -146,24 +148,24 @@ public partial class GetAzDataProtectionJob_List : global::System.Management.Aut /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -339,12 +341,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -361,7 +363,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -379,12 +381,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupJobResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResourceList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperationStatus_Get.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperationStatus_Get.cs index e26dce5efe61..9641f9149fa5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperationStatus_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperationStatus_Get.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/operationStatus/{operationId}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionOperationStatus_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Gets the operation status for a resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/operationStatus/{operationId}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionOperationStatus_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -146,24 +147,24 @@ public partial class GetAzDataProtectionOperationStatus_Get : global::System.Man /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -339,12 +340,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -361,7 +362,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, Location=Location, OperationId=OperationId }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -379,12 +380,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -396,7 +397,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperationStatus_GetViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperationStatus_GetViaIdentity.cs index cf23d05db40a..126ab34956d7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperationStatus_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperationStatus_GetViaIdentity.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/operationStatus/{operationId}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionOperationStatus_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Gets the operation status for a resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.DataProtection/locations/{location}/operationStatus/{operationId}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionOperationStatus_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -108,24 +109,24 @@ public partial class GetAzDataProtectionOperationStatus_GetViaIdentity : global: /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -318,12 +319,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -340,7 +341,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -358,12 +359,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -375,7 +376,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperation_List.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperation_List.cs index 5d4ac92e1728..83fb1990fd1e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperation_List.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionOperation_List.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] List=>GET:"/providers/Microsoft.DataProtection/operations" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionOperation_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryValueForSingleApi))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns the list of available operations.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/providers/Microsoft.DataProtection/operations", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionOperation_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -106,24 +107,24 @@ public partial class GetAzDataProtectionOperation_List : global::System.Manageme /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponse + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponse /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -296,12 +297,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -318,7 +319,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -336,12 +337,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IClientDiscoveryResponse + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryResponse /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_Get.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_Get.cs index f24a6da3ec71..583b440d0be3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_Get.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints/{recoveryPointId}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionRecoveryPoint_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Gets a Recovery Point using recoveryPointId for a Datasource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints/{recoveryPointId}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionRecoveryPoint_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -174,24 +175,24 @@ public partial class GetAzDataProtectionRecoveryPoint_Get : global::System.Manag /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -367,12 +368,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -389,7 +390,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, BackupInstanceName=BackupInstanceName, Id=Id }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -407,12 +408,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -424,7 +425,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_GetViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_GetViaIdentity.cs index df30519af332..60b0aee23000 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_GetViaIdentity.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints/{recoveryPointId}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionRecoveryPoint_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Gets a Recovery Point using recoveryPointId for a Datasource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints/{recoveryPointId}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionRecoveryPoint_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -108,24 +109,24 @@ public partial class GetAzDataProtectionRecoveryPoint_GetViaIdentity : global::S /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -326,12 +327,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -348,7 +349,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -366,12 +367,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -383,7 +384,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_List.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_List.cs index 9b8bd29ef862..6122b918bc93 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_List.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionRecoveryPoint_List.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionRecoveryPoint_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns a list of Recovery Points for a DataSource in a vault.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/recoveryPoints", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionRecoveryPoint_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -189,24 +190,24 @@ public partial class GetAzDataProtectionRecoveryPoint_List : global::System.Mana /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -382,12 +383,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -404,7 +405,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, BackupInstanceName=BackupInstanceName, Filter=this.InvocationInformation.BoundParameters.ContainsKey("Filter") ? Filter : null, SkipToken=this.InvocationInformation.BoundParameters.ContainsKey("SkipToken") ? SkipToken : null }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -422,12 +423,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResourceList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_Get.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_Get.cs index aeee34ec0d55..9f771ce9c877 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_Get.cs @@ -15,9 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionResourceGuardMapping_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns the ResourceGuardProxy object associated with the vault, and that matches the name in the request")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionResourceGuardMapping_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -167,24 +168,24 @@ public partial class GetAzDataProtectionResourceGuardMapping_Get : global::Syste /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -360,12 +361,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -382,7 +383,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, ResourceGuardProxyName=ResourceGuardProxyName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -400,12 +401,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -417,7 +418,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_GetViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_GetViaIdentity.cs index e9fafee109ec..aa638a992fb3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_GetViaIdentity.cs @@ -15,9 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionResourceGuardMapping_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns the ResourceGuardProxy object associated with the vault, and that matches the name in the request")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionResourceGuardMapping_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -110,24 +111,24 @@ public partial class GetAzDataProtectionResourceGuardMapping_GetViaIdentity : gl /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -324,12 +325,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -346,7 +347,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -364,12 +365,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -381,7 +382,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_List.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_List.cs index 8c25db0b44fe..03a204028dbc 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_List.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuardMapping_List.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionResourceGuardMapping_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns the list of ResourceGuardProxies associated with the vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionResourceGuardMapping_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -146,24 +147,24 @@ public partial class GetAzDataProtectionResourceGuardMapping_List : global::Syst /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -339,12 +340,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -361,7 +362,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -379,12 +380,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResourceList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_Get.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_Get.cs index 441ea85dbe64..a42738a0ef36 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_Get.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionResourceGuard_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns a ResourceGuard belonging to a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionResourceGuard_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -146,24 +147,24 @@ public partial class GetAzDataProtectionResourceGuard_Get : global::System.Manag /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -339,12 +340,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -361,7 +362,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, Name=Name }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -379,12 +380,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -396,7 +397,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_Get1.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_Get1.cs index ce6158269d3f..0f31467cfa2d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_Get1.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_Get1.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] GetResourcesInResourceGroup=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionResourceGuard_Get1")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns ResourceGuards collection belonging to a ResourceGroup.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionResourceGuard_Get1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -132,24 +133,24 @@ public partial class GetAzDataProtectionResourceGuard_Get1 : global::System.Mana /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -325,12 +326,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -347,7 +348,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -365,12 +366,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResourceList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_GetViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_GetViaIdentity.cs index c8663d257d8e..7a4729d5185f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionResourceGuard_GetViaIdentity.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionResourceGuard_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Returns a ResourceGuard belonging to a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionResourceGuard_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -108,24 +109,24 @@ public partial class GetAzDataProtectionResourceGuard_GetViaIdentity : global::S /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -318,12 +319,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -340,7 +341,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -358,12 +359,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -375,7 +376,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_Get.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_Get.cs index 42405e64442d..1625bfc83d4c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_Get.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_Get.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances/{backupInstanceName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionSoftDeletedBackupInstance_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Gets a deleted backup instance with name in a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances/{backupInstanceName}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionSoftDeletedBackupInstance_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -160,24 +161,24 @@ public partial class GetAzDataProtectionSoftDeletedBackupInstance_Get : global:: /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -353,12 +354,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -375,7 +376,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, BackupInstanceName=BackupInstanceName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -393,12 +394,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -410,7 +411,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_GetViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_GetViaIdentity.cs index b6a5b4c790fd..56f2ce333bd2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_GetViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_GetViaIdentity.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances/{backupInstanceName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionSoftDeletedBackupInstance_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Gets a deleted backup instance with name in a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances/{backupInstanceName}", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionSoftDeletedBackupInstance_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -108,24 +109,24 @@ public partial class GetAzDataProtectionSoftDeletedBackupInstance_GetViaIdentity /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -322,12 +323,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -344,7 +345,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -362,12 +363,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -379,7 +380,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_List.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_List.cs index 14450299378c..e74259b806cf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_List.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/GetAzDataProtectionSoftDeletedBackupInstance_List.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzDataProtectionSoftDeletedBackupInstance_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Gets deleted backup instances belonging to a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances", ApiVersion = "2023-11-01")] public partial class GetAzDataProtectionSoftDeletedBackupInstance_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -146,24 +147,24 @@ public partial class GetAzDataProtectionSoftDeletedBackupInstance_List : global: /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -339,12 +340,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -361,7 +362,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -379,12 +380,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDeletedBackupInstanceResourceList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResourceList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupInstance_Create.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupInstance_Create.cs index 9a4312cfd086..cf121cf8bab5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupInstance_Create.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupInstance_Create.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzDataProtectionBackupInstance_Create", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Create or update a backup instance in a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", ApiVersion = "2023-11-01")] public partial class NewAzDataProtectionBackupInstance_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -104,7 +105,7 @@ public partial class NewAzDataProtectionBackupInstance_Create : global::System.M public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource _parameter; /// BackupInstance Resource [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "BackupInstance Resource", ValueFromPipeline = true)] @@ -113,8 +114,8 @@ public partial class NewAzDataProtectionBackupInstance_Create : global::System.M ReadOnly = false, Description = @"BackupInstance Resource", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -188,24 +189,24 @@ public partial class NewAzDataProtectionBackupInstance_Create : global::System.M /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -436,12 +437,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -458,7 +459,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, Name=Name, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -476,12 +477,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -493,7 +494,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupInstance_CreateExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupInstance_CreateExpanded.cs index a1894f78cc1c..445c575ce4bd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupInstance_CreateExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupInstance_CreateExpanded.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzDataProtectionBackupInstance_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Create or update a backup instance in a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", ApiVersion = "2023-11-01")] public partial class NewAzDataProtectionBackupInstance_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -35,7 +36,7 @@ public partial class NewAzDataProtectionBackupInstance_CreateExpanded : global:: private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// BackupInstance Resource - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResource(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -119,8 +120,8 @@ public partial class NewAzDataProtectionBackupInstance_CreateExpanded : global:: ReadOnly = false, Description = @"BackupInstanceResource properties", SerializedName = @"properties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance Property { get => _parametersBody.Property ?? null /* object */; set => _parametersBody.Property = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance Property { get => _parametersBody.Property ?? null /* object */; set => _parametersBody.Property = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -179,8 +180,8 @@ public partial class NewAzDataProtectionBackupInstance_CreateExpanded : global:: ReadOnly = false, Description = @"Proxy Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } /// Backing field for property. private string _vaultName; @@ -201,24 +202,24 @@ public partial class NewAzDataProtectionBackupInstance_CreateExpanded : global:: /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -449,12 +450,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -471,7 +472,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, Name=Name, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -489,12 +490,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -506,7 +507,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupPolicy_Create.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupPolicy_Create.cs index 859f0ca97951..9f7876bb20ee 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupPolicy_Create.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupPolicy_Create.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzDataProtectionBackupPolicy_Create", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Creates or Updates a backup policy belonging to a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}", ApiVersion = "2023-11-01")] public partial class NewAzDataProtectionBackupPolicy_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -91,7 +92,7 @@ public partial class NewAzDataProtectionBackupPolicy_Create : global::System.Man public string Name { get => this._name; set => this._name = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource _parameter; /// BaseBackupPolicy resource [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "BaseBackupPolicy resource", ValueFromPipeline = true)] @@ -100,8 +101,8 @@ public partial class NewAzDataProtectionBackupPolicy_Create : global::System.Man ReadOnly = false, Description = @"BaseBackupPolicy resource", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -175,24 +176,24 @@ public partial class NewAzDataProtectionBackupPolicy_Create : global::System.Man /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -368,12 +369,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -390,7 +391,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, Name=Name, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -408,12 +409,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -425,7 +426,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupPolicy_CreateExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupPolicy_CreateExpanded.cs index 9d55ecf75618..59c34bc3aefb 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupPolicy_CreateExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupPolicy_CreateExpanded.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzDataProtectionBackupPolicy_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Creates or Updates a backup policy belonging to a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}", ApiVersion = "2023-11-01")] public partial class NewAzDataProtectionBackupPolicy_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -35,7 +36,7 @@ public partial class NewAzDataProtectionBackupPolicy_CreateExpanded : global::Sy private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// BaseBackupPolicy resource - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicyResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicyResource(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -188,24 +189,24 @@ public partial class NewAzDataProtectionBackupPolicy_CreateExpanded : global::Sy /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -381,12 +382,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -403,7 +404,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, Name=Name, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -421,12 +422,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -438,7 +439,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupVault_Create.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupVault_Create.cs index e15b46eeda00..cf5e11c5b812 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupVault_Create.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupVault_Create.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzDataProtectionBackupVault_Create", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Creates or updates a BackupVault resource belonging to a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", ApiVersion = "2023-11-01")] public partial class NewAzDataProtectionBackupVault_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -89,7 +90,7 @@ public partial class NewAzDataProtectionBackupVault_Create : global::System.Mana public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource _parameter; /// Backup Vault Resource [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Backup Vault Resource", ValueFromPipeline = true)] @@ -98,8 +99,8 @@ public partial class NewAzDataProtectionBackupVault_Create : global::System.Mana ReadOnly = false, Description = @"Backup Vault Resource", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -173,24 +174,24 @@ public partial class NewAzDataProtectionBackupVault_Create : global::System.Mana /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -420,12 +421,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -442,7 +443,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -460,12 +461,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -477,7 +478,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupVault_CreateExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupVault_CreateExpanded.cs index 59ccb4179493..ae9b006baed3 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupVault_CreateExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionBackupVault_CreateExpanded.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzDataProtectionBackupVault_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Creates or updates a BackupVault resource belonging to a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", ApiVersion = "2023-11-01")] public partial class NewAzDataProtectionBackupVault_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -35,7 +36,7 @@ public partial class NewAzDataProtectionBackupVault_CreateExpanded : global::Sys private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Backup Vault Resource - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupVaultResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupVaultResource(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -211,6 +212,18 @@ public partial class NewAzDataProtectionBackupVault_CreateExpanded : global::Sys [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + /// List of replicated regions for Backup Vault + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "List of replicated regions for Backup Vault")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"List of replicated regions for Backup Vault", + SerializedName = @"replicatedRegions", + PossibleTypes = new [] { typeof(string) })] + public string[] ReplicatedRegion { get => _parametersBody.ReplicatedRegion ?? null /* arrayOf */; set => _parametersBody.ReplicatedRegion = value; } + /// Backing field for property. private string _resourceGroupName; @@ -257,8 +270,8 @@ public partial class NewAzDataProtectionBackupVault_CreateExpanded : global::Sys ReadOnly = false, Description = @"Storage Settings", SerializedName = @"storageSettings", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting[] StorageSetting { get => _parametersBody.StorageSetting ?? null /* arrayOf */; set => _parametersBody.StorageSetting = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting[] StorageSetting { get => _parametersBody.StorageSetting ?? null /* arrayOf */; set => _parametersBody.StorageSetting = value; } /// Backing field for property. private string _subscriptionId; @@ -287,8 +300,8 @@ public partial class NewAzDataProtectionBackupVault_CreateExpanded : global::Sys ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } /// Backing field for property. private string _vaultName; @@ -309,24 +322,24 @@ public partial class NewAzDataProtectionBackupVault_CreateExpanded : global::Sys /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -556,12 +569,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -578,7 +591,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -596,12 +609,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -613,7 +626,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_Put.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_Put.cs index 3518f672e52d..14ee2b518a1f 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_Put.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_Put.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzDataProtectionResourceGuard_Put", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Creates or updates a ResourceGuard resource belonging to a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", ApiVersion = "2023-11-01")] public partial class NewAzDataProtectionResourceGuard_Put : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -90,7 +91,7 @@ public partial class NewAzDataProtectionResourceGuard_Put : global::System.Manag public string Name { get => this._name; set => this._name = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource _parameter; [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = ".", ValueFromPipeline = true)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -98,8 +99,8 @@ public partial class NewAzDataProtectionResourceGuard_Put : global::System.Manag ReadOnly = false, Description = @"", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -159,36 +160,36 @@ public partial class NewAzDataProtectionResourceGuard_Put : global::System.Manag /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// Determines if the rest of the onCreated method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -362,12 +363,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 201 (Created). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -379,7 +380,7 @@ protected override void StopProcessing() return ; } // onCreated - response for 201 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource WriteObject((await response)); } } @@ -388,12 +389,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -410,7 +411,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, Name=Name, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -428,12 +429,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -445,7 +446,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutExpanded.cs index 56227b0891ea..54089c6d40af 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutExpanded.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzDataProtectionResourceGuard_PutExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Creates or updates a ResourceGuard resource belonging to a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", ApiVersion = "2023-11-01")] public partial class NewAzDataProtectionResourceGuard_PutExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -34,7 +35,7 @@ public partial class NewAzDataProtectionResourceGuard_PutExpanded : global::Syst /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardResource(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -187,44 +188,44 @@ public partial class NewAzDataProtectionResourceGuard_PutExpanded : global::Syst ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } /// /// overrideOnCreated will be called before the regular onCreated has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// Determines if the rest of the onCreated method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -398,12 +399,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 201 (Created). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -415,7 +416,7 @@ protected override void StopProcessing() return ; } // onCreated - response for 201 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource WriteObject((await response)); } } @@ -424,12 +425,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -446,7 +447,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, Name=Name, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -464,12 +465,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -481,7 +482,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutViaIdentity.cs index 48eae5c8a3a9..716887a417d0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutViaIdentity.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzDataProtectionResourceGuard_PutViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Creates or updates a ResourceGuard resource belonging to a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", ApiVersion = "2023-11-01")] public partial class NewAzDataProtectionResourceGuard_PutViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -84,7 +85,7 @@ public partial class NewAzDataProtectionResourceGuard_PutViaIdentity : global::S global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Token => _cancellationTokenSource.Token; /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource _parameter; [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = ".", ValueFromPipeline = true)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( @@ -92,8 +93,8 @@ public partial class NewAzDataProtectionResourceGuard_PutViaIdentity : global::S ReadOnly = false, Description = @"", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -121,36 +122,36 @@ public partial class NewAzDataProtectionResourceGuard_PutViaIdentity : global::S /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// Determines if the rest of the onCreated method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -344,12 +345,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 201 (Created). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -361,7 +362,7 @@ protected override void StopProcessing() return ; } // onCreated - response for 201 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource WriteObject((await response)); } } @@ -370,12 +371,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -392,7 +393,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -410,12 +411,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -427,7 +428,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutViaIdentityExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutViaIdentityExpanded.cs index 9f050fc5224b..6eb383a4493a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutViaIdentityExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/NewAzDataProtectionResourceGuard_PutViaIdentityExpanded.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzDataProtectionResourceGuard_PutViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Creates or updates a ResourceGuard resource belonging to a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", ApiVersion = "2023-11-01")] public partial class NewAzDataProtectionResourceGuard_PutViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -34,7 +35,7 @@ public partial class NewAzDataProtectionResourceGuard_PutViaIdentityExpanded : g /// private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardResource(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -149,44 +150,44 @@ public partial class NewAzDataProtectionResourceGuard_PutViaIdentityExpanded : g ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } /// /// overrideOnCreated will be called before the regular onCreated has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// Determines if the rest of the onCreated method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -380,12 +381,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 201 (Created). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onCreated(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -397,7 +398,7 @@ protected override void StopProcessing() return ; } // onCreated - response for 201 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource WriteObject((await response)); } } @@ -406,12 +407,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -428,7 +429,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -446,12 +447,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -463,7 +464,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupInstance_Delete.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupInstance_Delete.cs index 2009e03f473d..580ab54b142b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupInstance_Delete.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupInstance_Delete.cs @@ -16,6 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Delete a backupInstances")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", ApiVersion = "2023-11-01")] public partial class RemoveAzDataProtectionBackupInstance_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -181,12 +182,12 @@ public partial class RemoveAzDataProtectionBackupInstance_Delete : global::Syste /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -436,12 +437,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -458,7 +459,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, Name=Name }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupInstance_DeleteViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupInstance_DeleteViaIdentity.cs index 9bc9d9cebea0..b648ed431f0d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupInstance_DeleteViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupInstance_DeleteViaIdentity.cs @@ -16,6 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Delete a backupInstances")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}", ApiVersion = "2023-11-01")] public partial class RemoveAzDataProtectionBackupInstance_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -128,12 +129,12 @@ public partial class RemoveAzDataProtectionBackupInstance_DeleteViaIdentity : gl /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -403,12 +404,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -425,7 +426,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupPolicy_Delete.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupPolicy_Delete.cs index 95fbc09cab2f..ef2939cbca8e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupPolicy_Delete.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupPolicy_Delete.cs @@ -16,6 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Deletes a backup policy belonging to a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}", ApiVersion = "2023-11-01")] public partial class RemoveAzDataProtectionBackupPolicy_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -167,12 +168,12 @@ public partial class RemoveAzDataProtectionBackupPolicy_Delete : global::System. /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -368,12 +369,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -390,7 +391,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, Name=Name }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupPolicy_DeleteViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupPolicy_DeleteViaIdentity.cs index 78e3439d9e9c..01e809aa053e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupPolicy_DeleteViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupPolicy_DeleteViaIdentity.cs @@ -16,6 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Deletes a backup policy belonging to a backup vault")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}", ApiVersion = "2023-11-01")] public partial class RemoveAzDataProtectionBackupPolicy_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -115,12 +116,12 @@ public partial class RemoveAzDataProtectionBackupPolicy_DeleteViaIdentity : glob /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -340,12 +341,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -362,7 +363,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupVault_Delete.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupVault_Delete.cs index f2bcd51b3809..4b7bd06400ca 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupVault_Delete.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupVault_Delete.cs @@ -16,6 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Deletes a BackupVault resource from the resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", ApiVersion = "2023-11-01")] public partial class RemoveAzDataProtectionBackupVault_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -166,12 +167,12 @@ public partial class RemoveAzDataProtectionBackupVault_Delete : global::System.M /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -420,12 +421,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -442,7 +443,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupVault_DeleteViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupVault_DeleteViaIdentity.cs index 718abc0c1c0e..e0df6d656383 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupVault_DeleteViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionBackupVault_DeleteViaIdentity.cs @@ -16,6 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Deletes a BackupVault resource from the resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", ApiVersion = "2023-11-01")] public partial class RemoveAzDataProtectionBackupVault_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -128,12 +129,12 @@ public partial class RemoveAzDataProtectionBackupVault_DeleteViaIdentity : globa /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -399,12 +400,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -421,7 +422,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuardMapping_Delete.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuardMapping_Delete.cs index fae1786ce68c..74f9116e29dd 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuardMapping_Delete.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuardMapping_Delete.cs @@ -16,6 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Deletes the ResourceGuardProxy")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}", ApiVersion = "2023-11-01")] public partial class RemoveAzDataProtectionResourceGuardMapping_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -172,12 +173,12 @@ public partial class RemoveAzDataProtectionResourceGuardMapping_Delete : global: /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -373,12 +374,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -395,7 +396,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, ResourceGuardProxyName=ResourceGuardProxyName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuardMapping_DeleteViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuardMapping_DeleteViaIdentity.cs index 27a4670e854d..817451c36596 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuardMapping_DeleteViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuardMapping_DeleteViaIdentity.cs @@ -16,6 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Deletes the ResourceGuardProxy")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}", ApiVersion = "2023-11-01")] public partial class RemoveAzDataProtectionResourceGuardMapping_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -115,12 +116,12 @@ public partial class RemoveAzDataProtectionResourceGuardMapping_DeleteViaIdentit /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -340,12 +341,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -362,7 +363,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuard_Delete.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuard_Delete.cs index b07274caefd9..285688a22081 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuard_Delete.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuard_Delete.cs @@ -16,6 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Deletes a ResourceGuard resource from the resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", ApiVersion = "2023-11-01")] public partial class RemoveAzDataProtectionResourceGuard_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -153,12 +154,12 @@ public partial class RemoveAzDataProtectionResourceGuard_Delete : global::System /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -354,12 +355,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -376,7 +377,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { ResourceGroupName=ResourceGroupName, SubscriptionId=SubscriptionId, Name=Name }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuard_DeleteViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuard_DeleteViaIdentity.cs index e1236818478a..a8a92baa6c3c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuard_DeleteViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/RemoveAzDataProtectionResourceGuard_DeleteViaIdentity.cs @@ -16,6 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Deletes a ResourceGuard resource from the resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/resourceGuards/{resourceGuardsName}", ApiVersion = "2023-11-01")] public partial class RemoveAzDataProtectionResourceGuard_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -115,12 +116,12 @@ public partial class RemoveAzDataProtectionResourceGuard_DeleteViaIdentity : glo /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnNoContent will be called before the regular onNoContent has been processed, allowing customization of @@ -336,12 +337,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -358,7 +359,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/ResumeAzDataProtectionBackupInstanceProtection_Resume.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/ResumeAzDataProtectionBackupInstanceProtection_Resume.cs index afd06cbb3f0d..9664d648c5d0 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/ResumeAzDataProtectionBackupInstanceProtection_Resume.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/ResumeAzDataProtectionBackupInstanceProtection_Resume.cs @@ -16,6 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"This operation will resume protection for a stopped backup instance")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/resumeProtection", ApiVersion = "2023-11-01")] public partial class ResumeAzDataProtectionBackupInstanceProtection_Resume : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -180,12 +181,12 @@ public partial class ResumeAzDataProtectionBackupInstanceProtection_Resume : glo /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -425,12 +426,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -447,7 +448,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, BackupInstanceName=BackupInstanceName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/ResumeAzDataProtectionBackupInstanceProtection_ResumeViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/ResumeAzDataProtectionBackupInstanceProtection_ResumeViaIdentity.cs index c14f42bb32c8..3f3b05706b5d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/ResumeAzDataProtectionBackupInstanceProtection_ResumeViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/ResumeAzDataProtectionBackupInstanceProtection_ResumeViaIdentity.cs @@ -16,6 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"This operation will resume protection for a stopped backup instance")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/resumeProtection", ApiVersion = "2023-11-01")] public partial class ResumeAzDataProtectionBackupInstanceProtection_ResumeViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -128,12 +129,12 @@ public partial class ResumeAzDataProtectionBackupInstanceProtection_ResumeViaIde /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -396,12 +397,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -418,7 +419,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SetAzDataProtectionResourceGuardMapping_CreateExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SetAzDataProtectionResourceGuardMapping_CreateExpanded.cs index e0a03f2858ca..8b92a278d92d 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SetAzDataProtectionResourceGuardMapping_CreateExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SetAzDataProtectionResourceGuardMapping_CreateExpanded.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Set, @"AzDataProtectionResourceGuardMapping_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Creates or Updates a ResourceGuardProxy")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}", ApiVersion = "2023-11-01")] public partial class SetAzDataProtectionResourceGuardMapping_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -36,7 +37,7 @@ public partial class SetAzDataProtectionResourceGuardMapping_CreateExpanded : gl /// /// ResourceGuardProxyBaseResource object, used for response and request bodies for ResourceGuardProxy APIs /// - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ResourceGuardProxyBaseResource(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardProxyBaseResource(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -158,9 +159,9 @@ public partial class SetAzDataProtectionResourceGuardMapping_CreateExpanded : gl ReadOnly = false, Description = @".", SerializedName = @"resourceGuardOperationDetails", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail) })] + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail) })] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DoNotExport] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get => _parametersBody.ResourceGuardOperationDetail ?? null /* arrayOf */; set => _parametersBody.ResourceGuardOperationDetail = value; } + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardOperationDetail[] ResourceGuardOperationDetail { get => _parametersBody.ResourceGuardOperationDetail ?? null /* arrayOf */; set => _parametersBody.ResourceGuardOperationDetail = value; } /// Backing field for property. private string _resourceGuardProxyName; @@ -218,24 +219,24 @@ public partial class SetAzDataProtectionResourceGuardMapping_CreateExpanded : gl /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -411,12 +412,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -433,7 +434,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, ResourceGuardProxyName=ResourceGuardProxyName, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -451,12 +452,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -468,7 +469,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardProxyBaseResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigger.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigger.cs new file mode 100644 index 000000000000..fcce31089eaa --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigger.cs @@ -0,0 +1,488 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + using System; + + /// Triggers Cross Region Restore for BackupInstance. + /// + /// [OpenAPI] TriggerCrossRegionRestore=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/crossRegionRestore" + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzDataProtectionBackupInstanceCrossRegionRestore_Trigger", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Triggers Cross Region Restore for BackupInstance.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/crossRegionRestore", ApiVersion = "2023-11-01")] + public partial class StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigger : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DataProtection Client => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// Backing field for property. + private string _location; + + /// The name of the Azure region. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Azure region.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Azure region.", + SerializedName = @"location", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string Location { get => this._location; set => this._location = value; } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject _parameter; + + /// Cross Region Restore Request Object + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Cross Region Restore Request Object", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Cross Region Restore Request Object", + SerializedName = @"parameters", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject Parameter { get => this._parameter; set => this._parameter = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// + /// a duplicate instance of StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigger + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigger Clone() + { + var clone = new StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigger(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.SubscriptionId = this.SubscriptionId; + clone.ResourceGroupName = this.ResourceGroupName; + clone.Location = this.Location; + clone.Parameter = this.Parameter; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.DelayBeforePolling: + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + var data = messageData(); + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'BackupInstancesTriggerCrossRegionRestore' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.BackupInstancesTriggerCrossRegionRestore(SubscriptionId, ResourceGroupName, Location, Parameter, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,Location=Location,body=Parameter}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public StartAzDataProtectionBackupInstanceCrossRegionRestore_Trigger() + { + + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, Location=Location, body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, Location=Location, body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceCrossRegionRestore_TriggerExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceCrossRegionRestore_TriggerExpanded.cs new file mode 100644 index 000000000000..9a4561e4d8c2 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceCrossRegionRestore_TriggerExpanded.cs @@ -0,0 +1,501 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + using System; + + /// Triggers Cross Region Restore for BackupInstance. + /// + /// [OpenAPI] TriggerCrossRegionRestore=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/crossRegionRestore" + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzDataProtectionBackupInstanceCrossRegionRestore_TriggerExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Triggers Cross Region Restore for BackupInstance.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/crossRegionRestore", ApiVersion = "2023-11-01")] + public partial class StartAzDataProtectionBackupInstanceCrossRegionRestore_TriggerExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Cross Region Restore Request Object + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.CrossRegionRestoreRequestObject(); + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DataProtection Client => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.ClientAPI; + + /// Cross region restore details. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Cross region restore details.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Cross region restore details.", + SerializedName = @"crossRegionRestoreDetails", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get => _parametersBody.CrossRegionRestoreDetail ?? null /* object */; set => _parametersBody.CrossRegionRestoreDetail = value; } + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// Backing field for property. + private string _location; + + /// The name of the Azure region. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Azure region.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Azure region.", + SerializedName = @"location", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string Location { get => this._location; set => this._location = value; } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Gets or sets the restore request object. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Gets or sets the restore request object.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Gets or sets the restore request object.", + SerializedName = @"restoreRequestObject", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest RestoreRequestObject { get => _parametersBody.RestoreRequestObject ?? null /* object */; set => _parametersBody.RestoreRequestObject = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// + /// a duplicate instance of StartAzDataProtectionBackupInstanceCrossRegionRestore_TriggerExpanded + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.StartAzDataProtectionBackupInstanceCrossRegionRestore_TriggerExpanded Clone() + { + var clone = new StartAzDataProtectionBackupInstanceCrossRegionRestore_TriggerExpanded(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone._parametersBody = this._parametersBody; + clone.SubscriptionId = this.SubscriptionId; + clone.ResourceGroupName = this.ResourceGroupName; + clone.Location = this.Location; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.DelayBeforePolling: + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + var data = messageData(); + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'BackupInstancesTriggerCrossRegionRestore' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.BackupInstancesTriggerCrossRegionRestore(SubscriptionId, ResourceGroupName, Location, _parametersBody, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,Location=Location,body=_parametersBody}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// + /// Intializes a new instance of the + /// cmdlet class. + /// + public StartAzDataProtectionBackupInstanceCrossRegionRestore_TriggerExpanded() + { + + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, Location=Location, body=_parametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, Location=Location, body=_parametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceRestore_Trigger.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceRestore_Trigger.cs index 9393a8805201..cb318765eab2 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceRestore_Trigger.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceRestore_Trigger.cs @@ -12,10 +12,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// /// [OpenAPI] TriggerRestore=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/restore" /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzDataProtectionBackupInstanceRestore_Trigger", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Triggers restore for a BackupInstance")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/restore", ApiVersion = "2023-11-01")] public partial class StartAzDataProtectionBackupInstanceRestore_Trigger : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -102,7 +104,7 @@ public partial class StartAzDataProtectionBackupInstanceRestore_Trigger : global public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest _parameter; /// Azure backup restore request [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Azure backup restore request", ValueFromPipeline = true)] @@ -111,8 +113,8 @@ public partial class StartAzDataProtectionBackupInstanceRestore_Trigger : global ReadOnly = false, Description = @"Azure backup restore request", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -186,24 +188,24 @@ public partial class StartAzDataProtectionBackupInstanceRestore_Trigger : global /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -434,12 +436,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -456,7 +458,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, BackupInstanceName=BackupInstanceName, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -474,12 +476,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -491,7 +493,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceRestore_TriggerExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceRestore_TriggerExpanded.cs index e5060eb07bf7..86c59a1fb967 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceRestore_TriggerExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StartAzDataProtectionBackupInstanceRestore_TriggerExpanded.cs @@ -12,10 +12,12 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// /// [OpenAPI] TriggerRestore=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/restore" /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzDataProtectionBackupInstanceRestore_TriggerExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Triggers restore for a BackupInstance")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/restore", ApiVersion = "2023-11-01")] public partial class StartAzDataProtectionBackupInstanceRestore_TriggerExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -34,7 +36,7 @@ public partial class StartAzDataProtectionBackupInstanceRestore_TriggerExpanded private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Azure backup restore request - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.AzureBackupRestoreRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.AzureBackupRestoreRequest(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -180,8 +182,8 @@ public partial class StartAzDataProtectionBackupInstanceRestore_TriggerExpanded ReadOnly = false, Description = @"Gets or sets the restore target information.", SerializedName = @"restoreTargetInfo", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase RestoreTargetInfo { get => _parametersBody.RestoreTargetInfo ?? null /* object */; set => _parametersBody.RestoreTargetInfo = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase RestoreTargetInfo { get => _parametersBody.RestoreTargetInfo ?? null /* object */; set => _parametersBody.RestoreTargetInfo = value; } /// Gets or sets the type of the source data store. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Gets or sets the type of the source data store.")] @@ -245,24 +247,24 @@ public partial class StartAzDataProtectionBackupInstanceRestore_TriggerExpanded /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -495,12 +497,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -517,7 +519,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, BackupInstanceName=BackupInstanceName, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -535,12 +537,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -552,7 +554,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_Stop.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_Stop.cs index 16b8a8bad3c4..51024840ebef 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_Stop.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_Stop.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"This operation will stop protection of a backup instance and data will be held forever")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/stopProtection", ApiVersion = "2023-11-01")] public partial class StopAzDataProtectionBackupInstanceProtection_Stop : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -182,12 +183,12 @@ public partial class StopAzDataProtectionBackupInstanceProtection_Stop : global: /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -427,12 +428,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -449,7 +450,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, BackupInstanceName=BackupInstanceName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_StopViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_StopViaIdentity.cs index 852619349bce..cc717f7c61fa 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_StopViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/StopAzDataProtectionBackupInstanceProtection_StopViaIdentity.cs @@ -18,6 +18,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"This operation will stop protection of a backup instance and data will be held forever")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/stopProtection", ApiVersion = "2023-11-01")] public partial class StopAzDataProtectionBackupInstanceProtection_StopViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -130,12 +131,12 @@ public partial class StopAzDataProtectionBackupInstanceProtection_StopViaIdentit /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -397,12 +398,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -419,7 +420,7 @@ protected override void StopProcessing() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_Suspend.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_Suspend.cs index d7b25bdb926c..601af96bc478 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_Suspend.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_Suspend.cs @@ -19,6 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"This operation will stop backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained forever)")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/suspendBackups", ApiVersion = "2023-11-01")] public partial class SuspendAzDataProtectionBackupInstanceBackup_Suspend : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -183,12 +184,12 @@ public partial class SuspendAzDataProtectionBackupInstanceBackup_Suspend : globa /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -428,12 +429,12 @@ public SuspendAzDataProtectionBackupInstanceBackup_Suspend() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -450,7 +451,7 @@ public SuspendAzDataProtectionBackupInstanceBackup_Suspend() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, BackupInstanceName=BackupInstanceName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_SuspendViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_SuspendViaIdentity.cs index 5f7f6fc05805..98399cb14844 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_SuspendViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SuspendAzDataProtectionBackupInstanceBackup_SuspendViaIdentity.cs @@ -19,6 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"This operation will stop backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained forever)")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/suspendBackups", ApiVersion = "2023-11-01")] public partial class SuspendAzDataProtectionBackupInstanceBackup_SuspendViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -131,12 +132,12 @@ public partial class SuspendAzDataProtectionBackupInstanceBackup_SuspendViaIdent /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -399,12 +400,12 @@ public SuspendAzDataProtectionBackupInstanceBackup_SuspendViaIdentity() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -421,7 +422,7 @@ public SuspendAzDataProtectionBackupInstanceBackup_SuspendViaIdentity() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SyncAzDataProtectionBackupInstance_SyncExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SyncAzDataProtectionBackupInstance_SyncExpanded.cs index 5339be888a74..39fbe4ac4555 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SyncAzDataProtectionBackupInstance_SyncExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/SyncAzDataProtectionBackupInstance_SyncExpanded.cs @@ -19,6 +19,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Sync backup instance again in case of failure\r\nThis action will retry last failed operation and will bring backup instance to valid state")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/sync", ApiVersion = "2023-11-01")] public partial class SyncAzDataProtectionBackupInstance_SyncExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -37,7 +38,7 @@ public partial class SyncAzDataProtectionBackupInstance_SyncExpanded : global::S private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Sync BackupInstance Request - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISyncBackupInstanceRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.SyncBackupInstanceRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISyncBackupInstanceRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.SyncBackupInstanceRequest(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -199,12 +200,12 @@ public partial class SyncAzDataProtectionBackupInstance_SyncExpanded : global::S /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -445,12 +446,12 @@ public SyncAzDataProtectionBackupInstance_SyncExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -467,7 +468,7 @@ public SyncAzDataProtectionBackupInstance_SyncExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, Name=Name, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_Validate.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_Validate.cs new file mode 100644 index 000000000000..b542074da564 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_Validate.cs @@ -0,0 +1,488 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + using System; + + /// Validates whether Cross Region Restore can be triggered for DataSource. + /// + /// [OpenAPI] ValidateCrossRegionRestore=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/validateCrossRegionRestore" + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzDataProtectionBackupInstanceCrossRegionRestore_Validate", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Validates whether Cross Region Restore can be triggered for DataSource.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/validateCrossRegionRestore", ApiVersion = "2023-11-01")] + public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_Validate : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DataProtection Client => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// Backing field for property. + private string _location; + + /// The name of the Azure region. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Azure region.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Azure region.", + SerializedName = @"location", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string Location { get => this._location; set => this._location = value; } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject _parameter; + + /// Cross Region Restore Request Object + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Cross Region Restore Request Object", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Cross Region Restore Request Object", + SerializedName = @"parameters", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject Parameter { get => this._parameter; set => this._parameter = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// + /// a duplicate instance of TestAzDataProtectionBackupInstanceCrossRegionRestore_Validate + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.TestAzDataProtectionBackupInstanceCrossRegionRestore_Validate Clone() + { + var clone = new TestAzDataProtectionBackupInstanceCrossRegionRestore_Validate(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.SubscriptionId = this.SubscriptionId; + clone.ResourceGroupName = this.ResourceGroupName; + clone.Location = this.Location; + clone.Parameter = this.Parameter; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.DelayBeforePolling: + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + var data = messageData(); + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'BackupInstancesValidateCrossRegionRestore' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.BackupInstancesValidateCrossRegionRestore(SubscriptionId, ResourceGroupName, Location, Parameter, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,Location=Location,body=Parameter}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public TestAzDataProtectionBackupInstanceCrossRegionRestore_Validate() + { + + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, Location=Location, body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, Location=Location, body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded.cs new file mode 100644 index 000000000000..20a30425f50a --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded.cs @@ -0,0 +1,501 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + using System; + + /// Validates whether Cross Region Restore can be triggered for DataSource. + /// + /// [OpenAPI] ValidateCrossRegionRestore=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/validateCrossRegionRestore" + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Validates whether Cross Region Restore can be triggered for DataSource.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/validateCrossRegionRestore", ApiVersion = "2023-11-01")] + public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Cross Region Restore Request Object + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ValidateCrossRegionRestoreRequestObject(); + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DataProtection Client => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.ClientAPI; + + /// Cross region restore details. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Cross region restore details.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Cross region restore details.", + SerializedName = @"crossRegionRestoreDetails", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get => _parametersBody.CrossRegionRestoreDetail ?? null /* object */; set => _parametersBody.CrossRegionRestoreDetail = value; } + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// Backing field for property. + private string _location; + + /// The name of the Azure region. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the Azure region.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the Azure region.", + SerializedName = @"location", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string Location { get => this._location; set => this._location = value; } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Backing field for property. + private string _resourceGroupName; + + /// The name of the resource group. The name is case insensitive. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The name of the resource group. The name is case insensitive.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The name of the resource group. The name is case insensitive.", + SerializedName = @"resourceGroupName", + PossibleTypes = new [] { typeof(string) })] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } + + /// Gets or sets the restore request object. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Gets or sets the restore request object.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Gets or sets the restore request object.", + SerializedName = @"restoreRequestObject", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest RestoreRequestObject { get => _parametersBody.RestoreRequestObject ?? null /* object */; set => _parametersBody.RestoreRequestObject = value; } + + /// Backing field for property. + private string _subscriptionId; + + /// The ID of the target subscription. The value must be an UUID. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The ID of the target subscription. The value must be an UUID.")] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The ID of the target subscription. The value must be an UUID.", + SerializedName = @"subscriptionId", + PossibleTypes = new [] { typeof(string) })] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo( + Name = @"", + Description =@"", + Script = @"(Get-AzContext).Subscription.Id")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// + /// a duplicate instance of TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded Clone() + { + var clone = new TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone._parametersBody = this._parametersBody; + clone.SubscriptionId = this.SubscriptionId; + clone.ResourceGroupName = this.ResourceGroupName; + clone.Location = this.Location; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.DelayBeforePolling: + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + var data = messageData(); + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'BackupInstancesValidateCrossRegionRestore' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + await this.Client.BackupInstancesValidateCrossRegionRestore(SubscriptionId, ResourceGroupName, Location, _parametersBody, onOk, onDefault, this, Pipeline); + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId,ResourceGroupName=ResourceGroupName,Location=Location,body=_parametersBody}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Intializes a new instance of the + /// cmdlet class. + /// + public TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded() + { + + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, Location=Location, body=_parametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, Location=Location, body=_parametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity.cs new file mode 100644 index 000000000000..27579eb92f01 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity.cs @@ -0,0 +1,468 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + using System; + + /// Validates whether Cross Region Restore can be triggered for DataSource. + /// + /// [OpenAPI] ValidateCrossRegionRestore=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/validateCrossRegionRestore" + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Validates whether Cross Region Restore can be triggered for DataSource.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/validateCrossRegionRestore", ApiVersion = "2023-11-01")] + public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DataProtection Client => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.ClientAPI; + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity _inputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject _parameter; + + /// Cross Region Restore Request Object + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Cross Region Restore Request Object", ValueFromPipeline = true)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Cross Region Restore Request Object", + SerializedName = @"parameters", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject Parameter { get => this._parameter; set => this._parameter = value; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// + /// a duplicate instance of TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity Clone() + { + var clone = new TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone.Parameter = this.Parameter; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.DelayBeforePolling: + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + var data = messageData(); + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'BackupInstancesValidateCrossRegionRestore' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (InputObject?.Id != null) + { + await this.Client.BackupInstancesValidateCrossRegionRestoreViaIdentity(InputObject.Id, Parameter, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == InputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.Location) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.Location"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + await this.Client.BackupInstancesValidateCrossRegionRestore(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.Location ?? null, Parameter, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity() + { + + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityExpanded.cs new file mode 100644 index 000000000000..c1afd5e16b5f --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityExpanded.cs @@ -0,0 +1,480 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for license information. +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is regenerated. + +namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets +{ + using static Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Extensions; + using System; + + /// Validates whether Cross Region Restore can be triggered for DataSource. + /// + /// [OpenAPI] ValidateCrossRegionRestore=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/validateCrossRegionRestore" + /// + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] + [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityExpanded", SupportsShouldProcess = true)] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Validates whether Cross Region Restore can be triggered for DataSource.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/locations/{location}/validateCrossRegionRestore", ApiVersion = "2023-11-01")] + public partial class TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener + { + /// A unique id generatd for the this cmdlet when it is instantiated. + private string __correlationId = System.Guid.NewGuid().ToString(); + + /// A copy of the Invocation Info (necessary to allow asJob to clone this cmdlet) + private global::System.Management.Automation.InvocationInfo __invocationInfo; + + /// A unique id generatd for the this cmdlet when ProcessRecord() is called. + private string __processRecordId; + + /// + /// The for this operation. + /// + private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); + + /// Cross Region Restore Request Object + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ValidateCrossRegionRestoreRequestObject(); + + /// when specified, runs this cmdlet as a PowerShell job + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter AsJob { get; set; } + + /// Wait for .NET debugger to attach + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter Break { get; set; } + + /// The reference to the client API class. + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.DataProtection Client => Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.ClientAPI; + + /// Cross region restore details. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Cross region restore details.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Cross region restore details.", + SerializedName = @"crossRegionRestoreDetails", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails CrossRegionRestoreDetail { get => _parametersBody.CrossRegionRestoreDetail ?? null /* object */; set => _parametersBody.CrossRegionRestoreDetail = value; } + + /// + /// The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet + /// against a different subscription + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.")] + [global::System.Management.Automation.ValidateNotNull] + [global::System.Management.Automation.Alias("AzureRMContext", "AzureCredential")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Azure)] + public global::System.Management.Automation.PSObject DefaultProfile { get; set; } + + /// SendAsync Pipeline Steps to be appended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be appended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelineAppend { get; set; } + + /// SendAsync Pipeline Steps to be prepended to the front of the pipeline + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "SendAsync Pipeline Steps to be prepended to the front of the pipeline")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[] HttpPipelinePrepend { get; set; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity _inputObject; + + /// Identity Parameter + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Identity Parameter", ValueFromPipeline = true)] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Path)] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity InputObject { get => this._inputObject; set => this._inputObject = value; } + + /// Accessor for our copy of the InvocationInfo. + public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } + + /// + /// cancellation delegate. Stops the cmdlet when called. + /// + global::System.Action Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Cancel => _cancellationTokenSource.Cancel; + + /// cancellation token. + global::System.Threading.CancellationToken Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Token => _cancellationTokenSource.Token; + + /// + /// when specified, will make the remote call, and return an AsyncOperationResponse, letting the remote operation continue + /// asynchronously. + /// + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command asynchronously")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter NoWait { get; set; } + + /// + /// The instance of the that the remote call will use. + /// + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.HttpPipeline Pipeline { get; set; } + + /// The URI for the proxy server to use + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Uri Proxy { get; set; } + + /// Credentials for a proxy server to use for the remote call + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Credentials for a proxy server to use for the remote call")] + [global::System.Management.Automation.ValidateNotNull] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.PSCredential ProxyCredential { get; set; } + + /// Use the default credentials for the proxy + [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Use the default credentials for the proxy")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Runtime)] + public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + + /// Gets or sets the restore request object. + [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Gets or sets the restore request object.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category(global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"Gets or sets the restore request object.", + SerializedName = @"restoreRequestObject", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest RestoreRequestObject { get => _parametersBody.RestoreRequestObject ?? null /* object */; set => _parametersBody.RestoreRequestObject = value; } + + /// + /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what + /// happens on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse + /// from the remote call + /// /// Determines if the rest of the onDefault method should be processed, or if the method should + /// return immediately (set to true to skip further processing ) + + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens + /// on that response. Implement this method in a partial class to enable this behavior + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + /// from the remote call + /// /// Determines if the rest of the onOk method should be processed, or if the method should return + /// immediately (set to true to skip further processing ) + + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + + /// + /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) + /// + protected override void BeginProcessing() + { + var telemetryId = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.GetTelemetryId.Invoke(); + if (telemetryId != "" && telemetryId != "internal") + { + __correlationId = telemetryId; + } + Module.Instance.SetProxyConfiguration(Proxy, ProxyCredential, ProxyUseDefaultCredentials); + if (Break) + { + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.AttachDebugger.Break(); + } + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeginProcessing).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + + /// Creates a duplicate instance of this cmdlet (via JSON serialization). + /// + /// a duplicate instance of TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityExpanded + /// + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets.TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityExpanded Clone() + { + var clone = new TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityExpanded(); + clone.__correlationId = this.__correlationId; + clone.__processRecordId = this.__processRecordId; + clone.DefaultProfile = this.DefaultProfile; + clone.InvocationInformation = this.InvocationInformation; + clone.Proxy = this.Proxy; + clone.Pipeline = this.Pipeline; + clone.AsJob = this.AsJob; + clone.Break = this.Break; + clone.ProxyCredential = this.ProxyCredential; + clone.ProxyUseDefaultCredentials = this.ProxyUseDefaultCredentials; + clone.HttpPipelinePrepend = this.HttpPipelinePrepend; + clone.HttpPipelineAppend = this.HttpPipelineAppend; + clone._parametersBody = this._parametersBody; + return clone; + } + + /// Performs clean-up after the command execution + protected override void EndProcessing() + { + + } + + /// Handles/Dispatches events during the call to the REST service. + /// The message id + /// The message cancellation token. When this call is cancelled, this should be true + /// Detailed message data for the message event. + /// + /// A that will be complete when handling of the message is completed. + /// + async global::System.Threading.Tasks.Task Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener.Signal(string id, global::System.Threading.CancellationToken token, global::System.Func messageData) + { + using( NoSynchronizationContext ) + { + if (token.IsCancellationRequested) + { + return ; + } + + switch ( id ) + { + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Verbose: + { + WriteVerbose($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Warning: + { + WriteWarning($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Information: + { + // When an operation supports asjob, Information messages must go thru verbose. + WriteVerbose($"INFORMATION: {(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Debug: + { + WriteDebug($"{(messageData().Message ?? global::System.String.Empty)}"); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.Error: + { + WriteError(new global::System.Management.Automation.ErrorRecord( new global::System.Exception(messageData().Message), string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null ) ); + return ; + } + case Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.DelayBeforePolling: + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("NoWait")) + { + var data = messageData(); + if (data.ResponseMessage is System.Net.Http.HttpResponseMessage response) + { + var asyncOperation = response.GetFirstHeader(@"Azure-AsyncOperation"); + var location = response.GetFirstHeader(@"Location"); + var uri = global::System.String.IsNullOrEmpty(asyncOperation) ? global::System.String.IsNullOrEmpty(location) ? response.RequestMessage.RequestUri.AbsoluteUri : location : asyncOperation; + WriteObject(new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncOperationResponse { Target = uri }); + // do nothing more. + data.Cancel(); + return; + } + } + break; + } + } + await Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.Signal(id, token, messageData, (i,t,m) => ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(i,t,()=> Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventDataConverter.ConvertFrom( m() ) as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.EventData ), InvocationInformation, this.ParameterSetName, __correlationId, __processRecordId, null ); + if (token.IsCancellationRequested) + { + return ; + } + WriteDebug($"{id}: {(messageData().Message ?? global::System.String.Empty)}"); + } + } + + /// Performs execution of the command. + protected override void ProcessRecord() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordStart).Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + __processRecordId = System.Guid.NewGuid().ToString(); + try + { + // work + if (ShouldProcess($"Call remote 'BackupInstancesValidateCrossRegionRestore' operation")) + { + if (true == MyInvocation?.BoundParameters?.ContainsKey("AsJob")) + { + var instance = this.Clone(); + var job = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncJob(instance, this.MyInvocation.Line, this.MyInvocation.MyCommand.Name, this._cancellationTokenSource.Token, this._cancellationTokenSource.Cancel); + JobRepository.Add(job); + var task = instance.ProcessRecordAsync(); + job.Monitor(task); + WriteObject(job); + } + else + { + using( var asyncCommandRuntime = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.AsyncCommandRuntime(this, ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token) ) + { + asyncCommandRuntime.Wait( ProcessRecordAsync(),((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token); + } + } + } + } + catch (global::System.AggregateException aggregateException) + { + // unroll the inner exceptions to get the root cause + foreach( var innerException in aggregateException.Flatten().InnerExceptions ) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{innerException.GetType().Name} - {innerException.Message} : {innerException.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(innerException,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + } + catch (global::System.Exception exception) when ((exception as System.Management.Automation.PipelineStoppedException)== null || (exception as System.Management.Automation.PipelineStoppedException).InnerException != null) + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletException, $"{exception.GetType().Name} - {exception.Message} : {exception.StackTrace}").Wait(); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + // Write exception out to error channel. + WriteError( new global::System.Management.Automation.ErrorRecord(exception,string.Empty, global::System.Management.Automation.ErrorCategory.NotSpecified, null) ); + } + finally + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordEnd).Wait(); + } + } + + /// Performs execution of the command, working asynchronously if required. + /// + /// A that will be complete when handling of the method is completed. + /// + protected async global::System.Threading.Tasks.Task ProcessRecordAsync() + { + using( NoSynchronizationContext ) + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletGetPipeline); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + Pipeline = Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Module.Instance.CreatePipeline(InvocationInformation, __correlationId, __processRecordId, this.ParameterSetName); + if (null != HttpPipelinePrepend) + { + Pipeline.Prepend((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelinePrepend) ?? HttpPipelinePrepend); + } + if (null != HttpPipelineAppend) + { + Pipeline.Append((this.CommandRuntime as Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell.IAsyncCommandRuntimeExtensions)?.Wrap(HttpPipelineAppend) ?? HttpPipelineAppend); + } + // get the client instance + try + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletBeforeAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + if (InputObject?.Id != null) + { + await this.Client.BackupInstancesValidateCrossRegionRestoreViaIdentity(InputObject.Id, _parametersBody, onOk, onDefault, this, Pipeline); + } + else + { + // try to call with PATH parameters from Input Object + if (null == InputObject.SubscriptionId) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.SubscriptionId"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.ResourceGroupName) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.ResourceGroupName"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + if (null == InputObject.Location) + { + ThrowTerminatingError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception("InputObject has null value for InputObject.Location"),string.Empty, global::System.Management.Automation.ErrorCategory.InvalidArgument, InputObject) ); + } + await this.Client.BackupInstancesValidateCrossRegionRestore(InputObject.SubscriptionId ?? null, InputObject.ResourceGroupName ?? null, InputObject.Location ?? null, _parametersBody, onOk, onDefault, this, Pipeline); + } + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletAfterAPICall); if( ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Token.IsCancellationRequested ) { return; } + } + catch (Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.UndeclaredResponseException urexception) + { + WriteError(new global::System.Management.Automation.ErrorRecord(urexception, urexception.StatusCode.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody}) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(urexception.Message) { RecommendedAction = urexception.Action } + }); + } + finally + { + await ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Signal(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Events.CmdletProcessRecordAsyncEnd); + } + } + } + + /// Interrupts currently running code within the command. + protected override void StopProcessing() + { + ((Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener)this).Cancel(); + base.StopProcessing(); + } + + /// + /// Intializes a new instance of the cmdlet class. + /// + public TestAzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityExpanded() + { + + } + + /// + /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). + /// + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IErrorResponse + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnDefault(responseMessage, response, ref _returnNow); + // if overrideOnDefault has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // Error Response : default + var code = (await response)?.Code; + var message = (await response)?.Message; + if ((null == code || null == message)) + { + // Unrecognized Response. Create an error record based on what we have. + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } + }); + } + else + { + WriteError( new global::System.Management.Automation.ErrorRecord(new global::System.Exception($"[{code}] : {message}"), code?.ToString(), global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody }) + { + ErrorDetails = new global::System.Management.Automation.ErrorDetails(message) { RecommendedAction = global::System.String.Empty } + }); + } + } + } + + /// a delegate that is called when the remote service returns 200 (OK). + /// the raw response message as an global::System.Net.Http.HttpResponseMessage. + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + /// from the remote call + /// + /// A that will be complete when handling of the method is completed. + /// + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + { + using( NoSynchronizationContext ) + { + var _returnNow = global::System.Threading.Tasks.Task.FromResult(false); + overrideOnOk(responseMessage, response, ref _returnNow); + // if overrideOnOk has returned true, then return right away. + if ((null != _returnNow && await _returnNow)) + { + return ; + } + // onOk - response for 200 / application/json + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + WriteObject((await response)); + } + } + } +} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_Validate.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_Validate.cs index cee1302848c5..26b906284463 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_Validate.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_Validate.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzDataProtectionBackupInstanceReadiness_Validate", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Validate whether adhoc backup will be successful or not")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/validateForBackup", ApiVersion = "2023-11-01")] public partial class TestAzDataProtectionBackupInstanceReadiness_Validate : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -89,7 +90,7 @@ public partial class TestAzDataProtectionBackupInstanceReadiness_Validate : glob public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest _parameter; /// Validate for backup request [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Validate for backup request", ValueFromPipeline = true)] @@ -98,8 +99,8 @@ public partial class TestAzDataProtectionBackupInstanceReadiness_Validate : glob ReadOnly = false, Description = @"Validate for backup request", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -173,24 +174,24 @@ public partial class TestAzDataProtectionBackupInstanceReadiness_Validate : glob /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -420,12 +421,12 @@ public TestAzDataProtectionBackupInstanceReadiness_Validate() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -442,7 +443,7 @@ public TestAzDataProtectionBackupInstanceReadiness_Validate() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -460,12 +461,12 @@ public TestAzDataProtectionBackupInstanceReadiness_Validate() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -477,7 +478,7 @@ public TestAzDataProtectionBackupInstanceReadiness_Validate() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateExpanded.cs index f98759ba9518..67af2e713e88 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateExpanded.cs @@ -13,9 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] ValidateForBackup=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/validateForBackup" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzDataProtectionBackupInstanceReadiness_ValidateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Validate whether adhoc backup will be successful or not")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/validateForBackup", ApiVersion = "2023-11-01")] public partial class TestAzDataProtectionBackupInstanceReadiness_ValidateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -34,7 +35,7 @@ public partial class TestAzDataProtectionBackupInstanceReadiness_ValidateExpande private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Validate for backup request - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ValidateForBackupRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ValidateForBackupRequest(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -49,8 +50,8 @@ public partial class TestAzDataProtectionBackupInstanceReadiness_ValidateExpande ReadOnly = false, Description = @"Backup Instance", SerializedName = @"backupInstance", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance BackupInstance { get => _parametersBody.BackupInstance ?? null /* object */; set => _parametersBody.BackupInstance = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance BackupInstance { get => _parametersBody.BackupInstance ?? null /* object */; set => _parametersBody.BackupInstance = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -173,24 +174,24 @@ public partial class TestAzDataProtectionBackupInstanceReadiness_ValidateExpande /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -422,12 +423,12 @@ public TestAzDataProtectionBackupInstanceReadiness_ValidateExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -444,7 +445,7 @@ public TestAzDataProtectionBackupInstanceReadiness_ValidateExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -462,12 +463,12 @@ public TestAzDataProtectionBackupInstanceReadiness_ValidateExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -479,7 +480,7 @@ public TestAzDataProtectionBackupInstanceReadiness_ValidateExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentity.cs index 56a1ee363db1..a7cc55c5ebdf 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentity.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzDataProtectionBackupInstanceReadiness_ValidateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Validate whether adhoc backup will be successful or not")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/validateForBackup", ApiVersion = "2023-11-01")] public partial class TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -97,7 +98,7 @@ public partial class TestAzDataProtectionBackupInstanceReadiness_ValidateViaIden public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest _parameter; /// Validate for backup request [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Validate for backup request", ValueFromPipeline = true)] @@ -106,8 +107,8 @@ public partial class TestAzDataProtectionBackupInstanceReadiness_ValidateViaIden ReadOnly = false, Description = @"Validate for backup request", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -135,24 +136,24 @@ public partial class TestAzDataProtectionBackupInstanceReadiness_ValidateViaIden /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -402,12 +403,12 @@ public TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentity() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -424,7 +425,7 @@ public TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentity() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -442,12 +443,12 @@ public TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentity() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -459,7 +460,7 @@ public TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentity() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentityExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentityExpanded.cs index e601a77122e7..72b4ddc395f6 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentityExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentityExpanded.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzDataProtectionBackupInstanceReadiness_ValidateViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Validate whether adhoc backup will be successful or not")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/validateForBackup", ApiVersion = "2023-11-01")] public partial class TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -35,7 +36,7 @@ public partial class TestAzDataProtectionBackupInstanceReadiness_ValidateViaIden private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Validate for backup request - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ValidateForBackupRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ValidateForBackupRequest(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -50,8 +51,8 @@ public partial class TestAzDataProtectionBackupInstanceReadiness_ValidateViaIden ReadOnly = false, Description = @"Backup Instance", SerializedName = @"backupInstance", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance BackupInstance { get => _parametersBody.BackupInstance ?? null /* object */; set => _parametersBody.BackupInstance = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance BackupInstance { get => _parametersBody.BackupInstance ?? null /* object */; set => _parametersBody.BackupInstance = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -136,24 +137,24 @@ public partial class TestAzDataProtectionBackupInstanceReadiness_ValidateViaIden /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -403,12 +404,12 @@ public TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentityExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -425,7 +426,7 @@ public TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentityExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -443,12 +444,12 @@ public TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentityExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -460,7 +461,7 @@ public TestAzDataProtectionBackupInstanceReadiness_ValidateViaIdentityExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_Validate1.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_Validate1.cs index 1b6f3dae6111..776924327782 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_Validate1.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_Validate1.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzDataProtectionBackupInstanceRestore_Validate1", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Validates if Restore can be triggered for a DataSource")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/validateRestore", ApiVersion = "2023-11-01")] public partial class TestAzDataProtectionBackupInstanceRestore_Validate1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -104,7 +105,7 @@ public partial class TestAzDataProtectionBackupInstanceRestore_Validate1 : globa public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject _parameter; /// Validate restore request object [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Validate restore request object", ValueFromPipeline = true)] @@ -113,8 +114,8 @@ public partial class TestAzDataProtectionBackupInstanceRestore_Validate1 : globa ReadOnly = false, Description = @"Validate restore request object", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -188,24 +189,24 @@ public partial class TestAzDataProtectionBackupInstanceRestore_Validate1 : globa /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -436,12 +437,12 @@ public TestAzDataProtectionBackupInstanceRestore_Validate1() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -458,7 +459,7 @@ public TestAzDataProtectionBackupInstanceRestore_Validate1() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, Name=Name, body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -476,12 +477,12 @@ public TestAzDataProtectionBackupInstanceRestore_Validate1() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -493,7 +494,7 @@ public TestAzDataProtectionBackupInstanceRestore_Validate1() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateExpanded1.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateExpanded1.cs index 47d2d12b19af..418b72c4e833 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateExpanded1.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateExpanded1.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzDataProtectionBackupInstanceRestore_ValidateExpanded1", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Validates if Restore can be triggered for a DataSource")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/validateRestore", ApiVersion = "2023-11-01")] public partial class TestAzDataProtectionBackupInstanceRestore_ValidateExpanded1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -35,7 +36,7 @@ public partial class TestAzDataProtectionBackupInstanceRestore_ValidateExpanded1 private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Validate restore request object - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ValidateRestoreRequestObject(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ValidateRestoreRequestObject(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -149,8 +150,8 @@ public partial class TestAzDataProtectionBackupInstanceRestore_ValidateExpanded1 ReadOnly = false, Description = @"Gets or sets the restore request object.", SerializedName = @"restoreRequestObject", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest RestoreRequestObject { get => _parametersBody.RestoreRequestObject ?? null /* object */; set => _parametersBody.RestoreRequestObject = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest RestoreRequestObject { get => _parametersBody.RestoreRequestObject ?? null /* object */; set => _parametersBody.RestoreRequestObject = value; } /// Backing field for property. private string _subscriptionId; @@ -189,24 +190,24 @@ public partial class TestAzDataProtectionBackupInstanceRestore_ValidateExpanded1 /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -439,12 +440,12 @@ public TestAzDataProtectionBackupInstanceRestore_ValidateExpanded1() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -461,7 +462,7 @@ public TestAzDataProtectionBackupInstanceRestore_ValidateExpanded1() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, Name=Name, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -479,12 +480,12 @@ public TestAzDataProtectionBackupInstanceRestore_ValidateExpanded1() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -496,7 +497,7 @@ public TestAzDataProtectionBackupInstanceRestore_ValidateExpanded1() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentity1.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentity1.cs index e1814cd19d3c..9f87eda8270a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentity1.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentity1.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzDataProtectionBackupInstanceRestore_ValidateViaIdentity1", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Validates if Restore can be triggered for a DataSource")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/validateRestore", ApiVersion = "2023-11-01")] public partial class TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentity1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -97,7 +98,7 @@ public partial class TestAzDataProtectionBackupInstanceRestore_ValidateViaIdenti public global::System.Management.Automation.SwitchParameter NoWait { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject _parameter; + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject _parameter; /// Validate restore request object [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "Validate restore request object", ValueFromPipeline = true)] @@ -106,8 +107,8 @@ public partial class TestAzDataProtectionBackupInstanceRestore_ValidateViaIdenti ReadOnly = false, Description = @"Validate restore request object", SerializedName = @"parameters", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject Parameter { get => this._parameter; set => this._parameter = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject Parameter { get => this._parameter; set => this._parameter = value; } /// /// The instance of the that the remote call will use. @@ -135,24 +136,24 @@ public partial class TestAzDataProtectionBackupInstanceRestore_ValidateViaIdenti /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -406,12 +407,12 @@ public TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentity1() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -428,7 +429,7 @@ public TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentity1() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=Parameter }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -446,12 +447,12 @@ public TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentity1() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -463,7 +464,7 @@ public TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentity1() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentityExpanded1.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentityExpanded1.cs index a389fcb2c18b..a5291799c39c 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentityExpanded1.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentityExpanded1.cs @@ -14,9 +14,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsDiagnostic.Test, @"AzDataProtectionBackupInstanceRestore_ValidateViaIdentityExpanded1", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Validates if Restore can be triggered for a DataSource")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupInstances/{backupInstanceName}/validateRestore", ApiVersion = "2023-11-01")] public partial class TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentityExpanded1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -35,7 +36,7 @@ public partial class TestAzDataProtectionBackupInstanceRestore_ValidateViaIdenti private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Validate restore request object - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ValidateRestoreRequestObject(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ValidateRestoreRequestObject(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -128,32 +129,32 @@ public partial class TestAzDataProtectionBackupInstanceRestore_ValidateViaIdenti ReadOnly = false, Description = @"Gets or sets the restore request object.", SerializedName = @"restoreRequestObject", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest RestoreRequestObject { get => _parametersBody.RestoreRequestObject ?? null /* object */; set => _parametersBody.RestoreRequestObject = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest RestoreRequestObject { get => _parametersBody.RestoreRequestObject ?? null /* object */; set => _parametersBody.RestoreRequestObject = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -407,12 +408,12 @@ public TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentityExpanded1() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -429,7 +430,7 @@ public TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentityExpanded1() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -447,12 +448,12 @@ public TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentityExpanded1() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -464,7 +465,7 @@ public TestAzDataProtectionBackupInstanceRestore_ValidateViaIdentityExpanded1() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UndoAzDataProtectionBackupInstanceDeletion_Undelete.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UndoAzDataProtectionBackupInstanceDeletion_Undelete.cs index 854608458012..acc307818315 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UndoAzDataProtectionBackupInstanceDeletion_Undelete.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UndoAzDataProtectionBackupInstanceDeletion_Undelete.cs @@ -16,6 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Undeletes a soft deleted backup instance")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances/{backupInstanceName}/undelete", ApiVersion = "2023-11-01")] public partial class UndoAzDataProtectionBackupInstanceDeletion_Undelete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -180,12 +181,12 @@ public partial class UndoAzDataProtectionBackupInstanceDeletion_Undelete : globa /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -425,12 +426,12 @@ public UndoAzDataProtectionBackupInstanceDeletion_Undelete() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -447,7 +448,7 @@ public UndoAzDataProtectionBackupInstanceDeletion_Undelete() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, BackupInstanceName=BackupInstanceName }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UndoAzDataProtectionBackupInstanceDeletion_UndeleteViaIdentity.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UndoAzDataProtectionBackupInstanceDeletion_UndeleteViaIdentity.cs index db3482e0cc28..b1f2835f5901 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UndoAzDataProtectionBackupInstanceDeletion_UndeleteViaIdentity.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UndoAzDataProtectionBackupInstanceDeletion_UndeleteViaIdentity.cs @@ -16,6 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Undeletes a soft deleted backup instance")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/deletedBackupInstances/{backupInstanceName}/undelete", ApiVersion = "2023-11-01")] public partial class UndoAzDataProtectionBackupInstanceDeletion_UndeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -128,12 +129,12 @@ public partial class UndoAzDataProtectionBackupInstanceDeletion_UndeleteViaIdent /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens @@ -396,12 +397,12 @@ public UndoAzDataProtectionBackupInstanceDeletion_UndeleteViaIdentity() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -418,7 +419,7 @@ public UndoAzDataProtectionBackupInstanceDeletion_UndeleteViaIdentity() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UnlockAzDataProtectionDppResourceGuardProxyDelete_UnlockExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UnlockAzDataProtectionDppResourceGuardProxyDelete_UnlockExpanded.cs index d0a55fc2a358..6d6e0b49e7c5 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UnlockAzDataProtectionDppResourceGuardProxyDelete_UnlockExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UnlockAzDataProtectionDppResourceGuardProxyDelete_UnlockExpanded.cs @@ -17,6 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets [global::System.Management.Automation.OutputType(typeof(string))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"UnlockDelete call for ResourceGuardProxy, executed before one can delete it")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupResourceGuardProxies/{resourceGuardProxyName}/unlockDelete", ApiVersion = "2023-11-01")] public partial class UnlockAzDataProtectionDppResourceGuardProxyDelete_UnlockExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -35,7 +36,7 @@ public partial class UnlockAzDataProtectionDppResourceGuardProxyDelete_UnlockExp private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Request body of unlock delete API. - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.UnlockDeleteRequest(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteRequest _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.UnlockDeleteRequest(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -209,24 +210,24 @@ public partial class UnlockAzDataProtectionDppResourceGuardProxyDelete_UnlockExp /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteResponse + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteResponse /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -403,12 +404,12 @@ public UnlockAzDataProtectionDppResourceGuardProxyDelete_UnlockExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -425,7 +426,7 @@ public UnlockAzDataProtectionDppResourceGuardProxyDelete_UnlockExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, ResourceGuardProxyName=ResourceGuardProxyName, Token=this.InvocationInformation.BoundParameters.ContainsKey("Token") ? Token : null, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -443,12 +444,12 @@ public UnlockAzDataProtectionDppResourceGuardProxyDelete_UnlockExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteResponse + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteResponse /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -460,7 +461,7 @@ public UnlockAzDataProtectionDppResourceGuardProxyDelete_UnlockExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IUnlockDeleteResponse + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IUnlockDeleteResponse WriteObject((await response).UnlockDeleteExpiryTime); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UpdateAzDataProtectionBackupVault_UpdateExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UpdateAzDataProtectionBackupVault_UpdateExpanded.cs index d527124a736a..ce75946c95b7 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UpdateAzDataProtectionBackupVault_UpdateExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UpdateAzDataProtectionBackupVault_UpdateExpanded.cs @@ -15,9 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzDataProtectionBackupVault_UpdateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Updates a BackupVault resource belonging to a resource group. For example, updating tags for a resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", ApiVersion = "2023-11-01")] public partial class UpdateAzDataProtectionBackupVault_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -36,7 +37,7 @@ public partial class UpdateAzDataProtectionBackupVault_UpdateExpanded : global:: private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Patch Request content for Microsoft.DataProtection resources - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInput _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchResourceRequestInput(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInput _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchResourceRequestInput(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -254,8 +255,8 @@ public partial class UpdateAzDataProtectionBackupVault_UpdateExpanded : global:: ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } /// Backing field for property. private string _vaultName; @@ -276,24 +277,24 @@ public partial class UpdateAzDataProtectionBackupVault_UpdateExpanded : global:: /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -523,12 +524,12 @@ public UpdateAzDataProtectionBackupVault_UpdateExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -545,7 +546,7 @@ public UpdateAzDataProtectionBackupVault_UpdateExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { SubscriptionId=SubscriptionId, ResourceGroupName=ResourceGroupName, VaultName=VaultName, body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -563,12 +564,12 @@ public UpdateAzDataProtectionBackupVault_UpdateExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -580,7 +581,7 @@ public UpdateAzDataProtectionBackupVault_UpdateExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded.cs b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded.cs index 39ab8bd0a32c..87f58b89a9ad 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/cmdlets/UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded.cs @@ -15,9 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzDataProtectionBackupVault_UpdateViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource))] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Description(@"Updates a BackupVault resource belonging to a resource group. For example, updating tags for a resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Generated] + [global::Microsoft.Azure.PowerShell.Cmdlets.DataProtection.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}", ApiVersion = "2023-11-01")] public partial class UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IEventListener { @@ -36,7 +37,7 @@ public partial class UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Patch Request content for Microsoft.DataProtection resources - private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInput _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.PatchResourceRequestInput(); + private Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInput _parametersBody = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.PatchResourceRequestInput(); /// when specified, runs this cmdlet as a PowerShell job [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Run the command as a job")] @@ -230,32 +231,32 @@ public partial class UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IPatchResourceRequestInputTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IPatchResourceRequestInputTags Tag { get => _parametersBody.Tag ?? null /* object */; set => _parametersBody.Tag = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// Determines if the rest of the onDefault method should be processed, or if the method should /// return immediately (set to true to skip further processing ) - partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// overrideOnOk will be called before the regular onOk has been processed, allowing customization of what happens /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -504,12 +505,12 @@ public UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded() /// a delegate that is called when the remote service returns default (any response code not handled elsewhere). /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ICloudError + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICloudError /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onDefault(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -526,7 +527,7 @@ public UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded() if ((null == code || null == message)) { // Unrecognized Response. Create an error record based on what we have. - var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); + var ex = new Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.RestException(responseMessage, await response); WriteError( new global::System.Management.Automation.ErrorRecord(ex, ex.Code, global::System.Management.Automation.ErrorCategory.InvalidOperation, new { body=_parametersBody }) { ErrorDetails = new global::System.Management.Automation.ErrorDetails(ex.Message) { RecommendedAction = ex.Action } @@ -544,12 +545,12 @@ public UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -561,7 +562,7 @@ public UpdateAzDataProtectionBackupVault_UpdateViaIdentityExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource WriteObject((await response)); } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/Cmdlets/ExportHelpMarkdown.cs b/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/Cmdlets/ExportHelpMarkdown.cs index 62338ec2165b..015a9661e365 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/Cmdlets/ExportHelpMarkdown.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/Cmdlets/ExportHelpMarkdown.cs @@ -33,6 +33,9 @@ public class ExportHelpMarkdown : PSCmdlet [ValidateNotNullOrEmpty] public string ExamplesFolder { get; set; } + [Parameter()] + public SwitchParameter AddComplexInterfaceInfo { get; set; } + protected override void ProcessRecord() { try @@ -41,7 +44,7 @@ protected override void ProcessRecord() var variantGroups = FunctionInfo.Select(fi => fi.BaseObject).Cast() .Join(helpInfos, fi => fi.Name, phi => phi.CmdletName, (fi, phi) => fi.ToVariants(phi)) .Select(va => new VariantGroup(ModuleInfo.Name, va.First().CmdletName, va, String.Empty)); - WriteMarkdowns(variantGroups, ModuleInfo.ToModuleInfo(), DocsFolder, ExamplesFolder); + WriteMarkdowns(variantGroups, ModuleInfo.ToModuleInfo(), DocsFolder, ExamplesFolder, AddComplexInterfaceInfo.IsPresent); } catch (Exception ee) { diff --git a/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs b/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs index 29322f7b84d1..a713f6ae339a 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/Cmdlets/ExportProxyCmdlet.cs @@ -52,6 +52,9 @@ public class ExportProxyCmdlet : PSCmdlet [Parameter(Mandatory = true, ParameterSetName = "NoDocs")] public SwitchParameter ExcludeDocs { get; set; } + [Parameter(ParameterSetName = "Docs")] + public SwitchParameter AddComplexInterfaceInfo { get; set; } + protected override void ProcessRecord() { try @@ -163,7 +166,7 @@ protected override void ProcessRecord() var isValidProfile = !String.IsNullOrEmpty(profileName) && profileName != NoProfiles; var docsFolder = isValidProfile ? Path.Combine(DocsFolder, profileName) : DocsFolder; var examplesFolder = isValidProfile ? Path.Combine(ExamplesFolder, profileName) : ExamplesFolder; - WriteMarkdowns(variantGroupsByProfile, moduleInfo, docsFolder, examplesFolder); + WriteMarkdowns(variantGroupsByProfile, moduleInfo, docsFolder, examplesFolder, AddComplexInterfaceInfo.IsPresent); } } } diff --git a/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/MarkdownRenderer.cs b/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/MarkdownRenderer.cs index 03eda9615450..5443c17dec2e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/MarkdownRenderer.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/MarkdownRenderer.cs @@ -14,7 +14,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.PowerShell { internal static class MarkdownRenderer { - public static void WriteMarkdowns(IEnumerable variantGroups, PsModuleHelpInfo moduleHelpInfo, string docsFolder, string examplesFolder) + public static void WriteMarkdowns(IEnumerable variantGroups, PsModuleHelpInfo moduleHelpInfo, string docsFolder, string examplesFolder, bool AddComplexInterfaceInfo = true) { Directory.CreateDirectory(docsFolder); var markdownInfos = variantGroups.Where(vg => !vg.IsInternal).Select(vg => new MarkdownHelpInfo(vg, examplesFolder)).OrderBy(mhi => mhi.CmdletName).ToArray(); @@ -69,18 +69,26 @@ public static void WriteMarkdowns(IEnumerable variantGroups, PsMod } sb.Append($"## NOTES{Environment.NewLine}{Environment.NewLine}"); - sb.Append($"ALIASES{Environment.NewLine}{Environment.NewLine}"); - foreach (var alias in markdownInfo.Aliases) + if (markdownInfo.Aliases.Any()) { - sb.Append($"{alias}{Environment.NewLine}{Environment.NewLine}"); + sb.Append($"ALIASES{Environment.NewLine}{Environment.NewLine}"); } - if (markdownInfo.ComplexInterfaceInfos.Any()) + foreach (var alias in markdownInfo.Aliases) { - sb.Append($"{ComplexParameterHeader}{Environment.NewLine}"); + sb.Append($"{alias}{Environment.NewLine}{Environment.NewLine}"); } - foreach (var complexInterfaceInfo in markdownInfo.ComplexInterfaceInfos) + + if (AddComplexInterfaceInfo) { - sb.Append($"{complexInterfaceInfo.ToNoteOutput(includeDashes: true, includeBackticks: true)}{Environment.NewLine}{Environment.NewLine}"); + if (markdownInfo.ComplexInterfaceInfos.Any()) + { + sb.Append($"{ComplexParameterHeader}{Environment.NewLine}"); + } + foreach (var complexInterfaceInfo in markdownInfo.ComplexInterfaceInfos) + { + sb.Append($"{complexInterfaceInfo.ToNoteOutput(includeDashes: true, includeBackticks: true)}{Environment.NewLine}{Environment.NewLine}"); + } + } sb.Append($"## RELATED LINKS{Environment.NewLine}{Environment.NewLine}"); diff --git a/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs b/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs index 5c158a0fd537..11384b256c45 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/Models/PsProxyOutputs.cs @@ -191,8 +191,15 @@ public BeginOutput(VariantGroup variantGroup) : base(variantGroup) public string GetProcessCustomAttributesAtRuntime() { - return VariantGroup.IsInternal ? "" : $@"{Indent}{Indent}$cmdInfo = Get-Command -Name $mapping[$parameterSet]{Environment.NewLine}{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)"; + return VariantGroup.IsInternal ? "" : IsAzure ? $@"{Indent}{Indent}$cmdInfo = Get-Command -Name $mapping[$parameterSet] +{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) +{Indent}{Indent}if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){{ +{Indent}{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) +{Indent}{Indent}{Indent}[Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) +{Indent}{Indent}}}" : $@"{Indent}{Indent}$cmdInfo = Get-Command -Name $mapping[$parameterSet]{Environment.NewLine}{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) +{Indent}{Indent}[Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet)"; } + private string GetTelemetry() { if (!VariantGroup.IsInternal && IsAzure) diff --git a/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/PsAttributes.cs b/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/PsAttributes.cs index 2e51587a9e78..cd1d71cd8d3b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/PsAttributes.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/runtime/BuildTime/PsAttributes.cs @@ -48,6 +48,13 @@ public ProfileAttribute(params string[] profiles) } } + [AttributeUsage(AttributeTargets.Class)] + public class HttpPathAttribute : Attribute + { + public string Path { get; set; } + public string ApiVersion { get; set; } + } + [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] public class CategoryAttribute : Attribute { diff --git a/src/DataProtection/DataProtection.Autorest/generated/runtime/MessageAttribute.cs b/src/DataProtection/DataProtection.Autorest/generated/runtime/MessageAttribute.cs index 0ed80f1da492..e19126d48a7e 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/runtime/MessageAttribute.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/runtime/MessageAttribute.cs @@ -168,6 +168,11 @@ public class PreviewMessageAttribute : Attribute { public string _message; + public DateTime EstimatedGaDate { get; } + + public bool IsEstimatedGaDateSet { get; } = false; + + public PreviewMessageAttribute() { this._message = Resources.PreviewCmdletMessage; @@ -175,12 +180,26 @@ public PreviewMessageAttribute() public PreviewMessageAttribute(string message) { - this._message = message; + this._message = string.IsNullOrEmpty(message) ? Resources.PreviewCmdletMessage : message; } - public void PrintCustomAttributeInfo(System.Management.Automation.PSCmdlet psCmdlet) + public PreviewMessageAttribute(string message, string estimatedDateOfGa) : this(message) + { + if (DateTime.TryParse(estimatedDateOfGa, new CultureInfo("en-US"), DateTimeStyles.None, out DateTime result)) + { + this.EstimatedGaDate = result; + this.IsEstimatedGaDateSet = true; + } + } + + public void PrintCustomAttributeInfo(Action writeOutput) { - psCmdlet.WriteWarning(this._message); + writeOutput(this._message); + + if (IsEstimatedGaDateSet) + { + writeOutput(string.Format(Resources.PreviewCmdletETAMessage, this.EstimatedGaDate.ToShortDateString())); + } } public virtual bool IsApplicableToInvocation(InvocationInfo invocation) diff --git a/src/DataProtection/DataProtection.Autorest/generated/runtime/MessageAttributeHelper.cs b/src/DataProtection/DataProtection.Autorest/generated/runtime/MessageAttributeHelper.cs index 28750d32bd38..946e05bd1cd9 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/runtime/MessageAttributeHelper.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/runtime/MessageAttributeHelper.cs @@ -35,7 +35,7 @@ public class MessageAttributeHelper * the boundParameterNames is a list of parameters bound to the cmdlet at runtime, * We only process the Parameter beaking change attributes attached only params listed in this list (if present) * */ - public static void ProcessCustomAttributesAtRuntime(CommandInfo commandInfo, InvocationInfo invocationInfo, String parameterSet, System.Management.Automation.PSCmdlet psCmdlet) + public static void ProcessCustomAttributesAtRuntime(CommandInfo commandInfo, InvocationInfo invocationInfo, String parameterSet, System.Management.Automation.PSCmdlet psCmdlet, bool showPreviewMessage = true) { bool supressWarningOrError = false; @@ -57,36 +57,49 @@ public static void ProcessCustomAttributesAtRuntime(CommandInfo commandInfo, Inv { psCmdlet.WriteWarning("The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription."); } + + ProcessBreakingChangeAttributesAtRuntime(commandInfo, invocationInfo, parameterSet, psCmdlet); + + } + + private static void ProcessBreakingChangeAttributesAtRuntime(CommandInfo commandInfo, InvocationInfo invocationInfo, String parameterSet, System.Management.Automation.PSCmdlet psCmdlet) + { List attributes = new List(GetAllBreakingChangeAttributesInType(commandInfo, invocationInfo, parameterSet)); StringBuilder sb = new StringBuilder(); - Action appendBreakingChangeInfo = (string s) => sb.Append(s); + Action appendAttributeMessage = (string s) => sb.Append(s); if (attributes != null && attributes.Count > 0) { - appendBreakingChangeInfo(string.Format(Resources.BreakingChangesAttributesHeaderMessage, commandInfo.Name.Split('_')[0])); + appendAttributeMessage(string.Format(Resources.BreakingChangesAttributesHeaderMessage, commandInfo.Name.Split('_')[0])); foreach (GenericBreakingChangeAttribute attribute in attributes) { - attribute.PrintCustomAttributeInfo(appendBreakingChangeInfo); + attribute.PrintCustomAttributeInfo(appendAttributeMessage); } - appendBreakingChangeInfo(string.Format(Resources.BreakingChangesAttributesFooterMessage, BREAKING_CHANGE_ATTRIBUTE_INFORMATION_LINK)); + appendAttributeMessage(string.Format(Resources.BreakingChangesAttributesFooterMessage, BREAKING_CHANGE_ATTRIBUTE_INFORMATION_LINK)); psCmdlet.WriteWarning(sb.ToString()); } + } + + public static void ProcessPreviewMessageAttributesAtRuntime(CommandInfo commandInfo, InvocationInfo invocationInfo, String parameterSet, System.Management.Automation.PSCmdlet psCmdlet) + { List previewAttributes = new List(GetAllPreviewAttributesInType(commandInfo, invocationInfo)); + StringBuilder sb = new StringBuilder(); + Action appendAttributeMessage = (string s) => sb.Append(s); if (previewAttributes != null && previewAttributes.Count > 0) { foreach (PreviewMessageAttribute attribute in previewAttributes) { - attribute.PrintCustomAttributeInfo(psCmdlet); + attribute.PrintCustomAttributeInfo(appendAttributeMessage); } + psCmdlet.WriteWarning(sb.ToString()); } } - /** * This function takes in a CommandInfo (CmdletInfo or FunctionInfo) * And returns all the deprecation attributes attached to it @@ -128,6 +141,12 @@ private static IEnumerable GetAllBreakingChangeA } return invocationInfo == null ? attributeList : attributeList.Where(e => e.GetType() == typeof(ParameterSetBreakingChangeAttribute) ? ((ParameterSetBreakingChangeAttribute)e).IsApplicableToInvocation(invocationInfo, parameterSet) : e.IsApplicableToInvocation(invocationInfo)); } + + public static bool ContainsPreviewAttribute(CommandInfo commandInfo, InvocationInfo invocationInfo) + { + return GetAllPreviewAttributesInType(commandInfo, invocationInfo)?.Count() > 0; + } + private static IEnumerable GetAllPreviewAttributesInType(CommandInfo commandInfo, InvocationInfo invocationInfo) { List attributeList = new List(); diff --git a/src/DataProtection/DataProtection.Autorest/generated/runtime/Properties/Resources.Designer.cs b/src/DataProtection/DataProtection.Autorest/generated/runtime/Properties/Resources.Designer.cs index a77c20120ece..9a0b27b2714b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/runtime/Properties/Resources.Designer.cs +++ b/src/DataProtection/DataProtection.Autorest/generated/runtime/Properties/Resources.Designer.cs @@ -3135,7 +3135,16 @@ public static string PortalInstructionsGit } /// - /// Looks up a localized string similar to This cmdlet is in preview. The functionality may not be available in the selected subscription. + /// Looks up a localized string similar to The estimated generally available date is '{0}'.. + /// + public static string PreviewCmdletETAMessage { + get { + return ResourceManager.GetString("PreviewCmdletETAMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to This cmdlet is in preview. Its behavior is subject to change based on customer feedback.. /// public static string PreviewCmdletMessage { diff --git a/src/DataProtection/DataProtection.Autorest/generated/runtime/Properties/Resources.resx b/src/DataProtection/DataProtection.Autorest/generated/runtime/Properties/Resources.resx index 613700a3a418..a08a2e50172b 100644 --- a/src/DataProtection/DataProtection.Autorest/generated/runtime/Properties/Resources.resx +++ b/src/DataProtection/DataProtection.Autorest/generated/runtime/Properties/Resources.resx @@ -1736,7 +1736,10 @@ The type of the parameter is changing from '{0}' to '{1}'. Note : Go to {0} for steps to suppress this breaking change warning, and other information on breaking changes in Azure PowerShell. - This cmdlet is in preview. The functionality may not be available in the selected subscription. + This cmdlet is in preview. Its behavior is subject to change based on customer feedback. + + + The estimated generally available date is '{0}'. - The change is expected to take effect from Az version : '{0}' diff --git a/src/DataProtection/DataProtection.Autorest/help/Az.DataProtection.md b/src/DataProtection/DataProtection.Autorest/help/Az.DataProtection.md new file mode 100644 index 000000000000..e2f7d0ea0f97 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Az.DataProtection.md @@ -0,0 +1,164 @@ +--- +Module Name: Az.DataProtection +Module Guid: e7388191-d3e0-4d54-b898-d55f0992a1dc +Download Help Link: https://learn.microsoft.com/powershell/module/az.dataprotection +Help Version: 1.0.0.0 +Locale: en-US +--- + +# Az.DataProtection Module +## Description +Microsoft Azure PowerShell: DataProtection cmdlets + +## Az.DataProtection Cmdlets +### [Backup-AzDataProtectionBackupInstanceAdhoc](Backup-AzDataProtectionBackupInstanceAdhoc.md) +Trigger adhoc backup + +### [Edit-AzDataProtectionPolicyRetentionRuleClientObject](Edit-AzDataProtectionPolicyRetentionRuleClientObject.md) +Adds or removes Retention Rule to existing Policy + +### [Edit-AzDataProtectionPolicyTagClientObject](Edit-AzDataProtectionPolicyTagClientObject.md) +Adds or removes schedule tag in an existing backup policy. + +### [Edit-AzDataProtectionPolicyTriggerClientObject](Edit-AzDataProtectionPolicyTriggerClientObject.md) +Updates Backup schedule of an existing backup policy. + +### [Find-AzDataProtectionRestorableTimeRange](Find-AzDataProtectionRestorableTimeRange.md) +Finds the valid recovery point in time ranges for the restore. + +### [Get-AzDataProtectionBackupInstance](Get-AzDataProtectionBackupInstance.md) +Gets a backup instance with name in a backup vault + +### [Get-AzDataProtectionBackupPolicy](Get-AzDataProtectionBackupPolicy.md) +Gets a backup policy belonging to a backup vault + +### [Get-AzDataProtectionBackupVault](Get-AzDataProtectionBackupVault.md) +Returns resource collection belonging to a subscription. + +### [Get-AzDataProtectionJob](Get-AzDataProtectionJob.md) +Gets or lists jobs in a backup vault + +### [Get-AzDataProtectionOperation](Get-AzDataProtectionOperation.md) +Returns the list of available operations. + +### [Get-AzDataProtectionOperationStatus](Get-AzDataProtectionOperationStatus.md) +Gets the operation status for a resource. + +### [Get-AzDataProtectionPolicyTemplate](Get-AzDataProtectionPolicyTemplate.md) +Gets default policy template for a selected datasource type. + +### [Get-AzDataProtectionRecoveryPoint](Get-AzDataProtectionRecoveryPoint.md) +Gets a Recovery Point using recoveryPointId for a Datasource. + +### [Get-AzDataProtectionResourceGuard](Get-AzDataProtectionResourceGuard.md) +Returns a ResourceGuard belonging to a resource group. + +### [Get-AzDataProtectionResourceGuardMapping](Get-AzDataProtectionResourceGuardMapping.md) +Returns the ResourceGuardProxy object associated with the vault, and that matches the name in the request + +### [Get-AzDataProtectionSoftDeletedBackupInstance](Get-AzDataProtectionSoftDeletedBackupInstance.md) +Gets a deleted backup instance with name in a backup vault + +### [Initialize-AzDataProtectionBackupInstance](Initialize-AzDataProtectionBackupInstance.md) +Initializes Backup instance Request object for configuring backup + +### [Initialize-AzDataProtectionRestoreRequest](Initialize-AzDataProtectionRestoreRequest.md) +Initializes Restore Request object for triggering restore on a protected backup instance. + +### [New-AzDataProtectionBackupConfigurationClientObject](New-AzDataProtectionBackupConfigurationClientObject.md) +Creates new backup configuration object + +### [New-AzDataProtectionBackupInstance](New-AzDataProtectionBackupInstance.md) +Configures Backup for supported azure resources + +### [New-AzDataProtectionBackupPolicy](New-AzDataProtectionBackupPolicy.md) +Creates a new backup policy in a given backup vault + +### [New-AzDataProtectionBackupVault](New-AzDataProtectionBackupVault.md) +Creates or updates a BackupVault resource belonging to a resource group. + +### [New-AzDataProtectionBackupVaultStorageSettingObject](New-AzDataProtectionBackupVaultStorageSettingObject.md) +Get Backup Vault storage setting object + +### [New-AzDataProtectionPolicyTagCriteriaClientObject](New-AzDataProtectionPolicyTagCriteriaClientObject.md) +Creates a new criteria object + +### [New-AzDataProtectionPolicyTriggerScheduleClientObject](New-AzDataProtectionPolicyTriggerScheduleClientObject.md) +Creates new Schedule object + +### [New-AzDataProtectionResourceGuard](New-AzDataProtectionResourceGuard.md) +Creates a resource guard under a resource group + +### [New-AzDataProtectionRestoreConfigurationClientObject](New-AzDataProtectionRestoreConfigurationClientObject.md) +Creates new restore configuration object + +### [New-AzDataProtectionRetentionLifeCycleClientObject](New-AzDataProtectionRetentionLifeCycleClientObject.md) +Creates new Lifecycle object + +### [Remove-AzDataProtectionBackupInstance](Remove-AzDataProtectionBackupInstance.md) +Delete a backupInstances + +### [Remove-AzDataProtectionBackupPolicy](Remove-AzDataProtectionBackupPolicy.md) +Deletes a backup policy belonging to a backup vault + +### [Remove-AzDataProtectionBackupVault](Remove-AzDataProtectionBackupVault.md) +Deletes a BackupVault resource from the resource group. + +### [Remove-AzDataProtectionResourceGuard](Remove-AzDataProtectionResourceGuard.md) +Deletes a ResourceGuard resource from the resource group. + +### [Remove-AzDataProtectionResourceGuardMapping](Remove-AzDataProtectionResourceGuardMapping.md) +Deletes the ResourceGuardProxy + +### [Resume-AzDataProtectionBackupInstanceProtection](Resume-AzDataProtectionBackupInstanceProtection.md) +This operation will resume protection for a stopped backup instance + +### [Search-AzDataProtectionBackupInstanceInAzGraph](Search-AzDataProtectionBackupInstanceInAzGraph.md) +Searches for Backup instances in Azure Resource Graph and retrieves the expected entries + +### [Search-AzDataProtectionBackupVaultInAzGraph](Search-AzDataProtectionBackupVaultInAzGraph.md) +Searches for Backup vaults in Azure Resource Graph and retrieves the expected entries + +### [Search-AzDataProtectionJobInAzGraph](Search-AzDataProtectionJobInAzGraph.md) +Searches for Backup Jobs in Azure Resource Graph and retrieves the expected entries + +### [Set-AzDataProtectionMSIPermission](Set-AzDataProtectionMSIPermission.md) +Grants required permissions to the backup vault and other resources for configure backup and restore scenarios + +### [Set-AzDataProtectionResourceGuardMapping](Set-AzDataProtectionResourceGuardMapping.md) +Creates or Updates a ResourceGuardProxy + +### [Start-AzDataProtectionBackupInstanceRestore](Start-AzDataProtectionBackupInstanceRestore.md) +Triggers restore for a BackupInstance + +### [Stop-AzDataProtectionBackupInstanceProtection](Stop-AzDataProtectionBackupInstanceProtection.md) +This operation will stop protection of a backup instance and data will be held forever + +### [Suspend-AzDataProtectionBackupInstanceBackup](Suspend-AzDataProtectionBackupInstanceBackup.md) +This operation will stop backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained forever) + +### [Sync-AzDataProtectionBackupInstance](Sync-AzDataProtectionBackupInstance.md) +Sync backup instance again in case of failure\r\nThis action will retry last failed operation and will bring backup instance to valid state + +### [Test-AzDataProtectionBackupInstanceReadiness](Test-AzDataProtectionBackupInstanceReadiness.md) +Validate whether adhoc backup will be successful or not + +### [Test-AzDataProtectionBackupInstanceRestore](Test-AzDataProtectionBackupInstanceRestore.md) +Validates if Restore can be triggered for a DataSource + +### [Undo-AzDataProtectionBackupInstanceDeletion](Undo-AzDataProtectionBackupInstanceDeletion.md) +Undeletes a soft deleted backup instance + +### [Unlock-AzDataProtectionResourceGuardOperation](Unlock-AzDataProtectionResourceGuardOperation.md) +Unlocks the critical operation which is protected by the resource guard + +### [Update-AzDataProtectionBackupInstanceAssociatedPolicy](Update-AzDataProtectionBackupInstanceAssociatedPolicy.md) +Updates associated policy for a given backup instance + +### [Update-AzDataProtectionBackupVault](Update-AzDataProtectionBackupVault.md) +Updates a BackupVault resource belonging to a resource group. +For example, updating tags for a resource. + +### [Update-AzDataProtectionResourceGuard](Update-AzDataProtectionResourceGuard.md) +Updates a resource guard belonging to a resource group + diff --git a/src/DataProtection/DataProtection.Autorest/help/Backup-AzDataProtectionBackupInstanceAdhoc.md b/src/DataProtection/DataProtection.Autorest/help/Backup-AzDataProtectionBackupInstanceAdhoc.md new file mode 100644 index 000000000000..5e4322acc18b --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Backup-AzDataProtectionBackupInstanceAdhoc.md @@ -0,0 +1,262 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/backup-azdataprotectionbackupinstanceadhoc +schema: 2.0.0 +--- + +# Backup-AzDataProtectionBackupInstanceAdhoc + +## SYNOPSIS +Trigger adhoc backup + +## SYNTAX + +### BackupExpanded (Default) +``` +Backup-AzDataProtectionBackupInstanceAdhoc -BackupInstanceName -ResourceGroupName + -VaultName -BackupRuleOptionRuleName [-SubscriptionId ] + [-TriggerOptionRetentionTagOverride ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] + [-WhatIf] [] +``` + +### BackupViaIdentityExpanded +``` +Backup-AzDataProtectionBackupInstanceAdhoc -InputObject + -BackupRuleOptionRuleName [-TriggerOptionRetentionTagOverride ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Trigger adhoc backup + +## EXAMPLES + +### Example 1: Backup a protected backup instance +```powershell +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "MyResourceGroup" -VaultName "MyVault" +Backup-AzDataProtectionBackupInstanceAdhoc -BackupInstanceName $instance.Name -ResourceGroupName "MyResourceGroup" -SubscriptionId "xxxx-xxx-xxxx" -VaultName "MyVault" -BackupRuleOptionRuleName "BackupWeekly" -TriggerOptionRetentionTagOverride "Default" +``` + +This Command Triggers Backup for a given backup instance. + +### Example 2: Backup a protected backup instance +```powershell +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "MyResourceGroup" -VaultName "MyVault" +$policy = Get-AzDataProtectionBackupPolicy -SubscriptionId $sub -VaultName "MyVault" -ResourceGroupName "MyResourceGroup" | Where-Object {$_.Name -eq "policyName"} +$backupJob = Backup-AzDataProtectionBackupInstanceAdhoc -BackupInstanceName $instance.Name -ResourceGroupName "MyResourceGroup" -SubscriptionId "xxxx-xxx-xxxx" -VaultName "MyVault" -BackupRuleOptionRuleName $policy.Property.PolicyRule[0].Name -TriggerOptionRetentionTagOverride $policy.Property.PolicyRule[0].Trigger.TaggingCriterion[0].TagInfoTagName +$jobid = $backupJob.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName + $jobstatus = $currentjob.Status +} +``` + +This Command Triggers Backup for a given backup instance using protection policy used to protect the backup instance. +Then we track the backup job in a loop until it's completed. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupInstanceName +The name of the backup instance. + +```yaml +Type: System.String +Parameter Sets: BackupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupRuleOptionRuleName +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: BackupViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: BackupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: BackupExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TriggerOptionRetentionTagOverride +. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: BackupExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md b/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md new file mode 100644 index 000000000000..0c921c96e168 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md @@ -0,0 +1,168 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/edit-azdataprotectionpolicyretentionruleclientobject +schema: 2.0.0 +--- + +# Edit-AzDataProtectionPolicyRetentionRuleClientObject + +## SYNOPSIS +Adds or removes Retention Rule to existing Policy + +## SYNTAX + +### RemoveRetention (Default) +``` +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Name -Policy + -RemoveRule [] +``` + +### AddRetention +``` +Edit-AzDataProtectionPolicyRetentionRuleClientObject -IsDefault -LifeCycles + -Name -Policy [-OverwriteLifeCycle ] [] +``` + +## DESCRIPTION +Adds or removes Retention Rule to existing Policy + +## EXAMPLES + +### Example 1: Add Weekly Retention Rule +```powershell +$pol = Get-AzDataProtectionPolicyTemplate +$lifecycle = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Weeks -SourceRetentionDurationCount 5 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $pol -Name Weekly -LifeCycles $lifecycle -IsDefault $false +``` + +```output +DatasourceType ObjectType +-------------- ---------- +{Microsoft.Compute/disks} BackupPolicy +``` + +The first command gets the default policy template. +The second command creates a weekly lifecycle object. +The third command adds a weekly retention rule to the default policy. + +### Example 2: Remove Weekly Retention Rule +```powershell +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $pol -Name Weekly -RemoveRule +``` + +```output +DatasourceType ObjectType +-------------- ---------- +{Microsoft.Compute/disks} BackupPolicy +``` + +This command removes weekly retention rule if it exists in given backup policy. + +## PARAMETERS + +### -IsDefault +Specifies if retention rule is default retention rule. + +```yaml +Type: System.Boolean +Parameter Sets: AddRetention +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LifeCycles +Life cycles associated with the retention rule. +To construct, see NOTES section for LIFECYCLES properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle[] +Parameter Sets: AddRetention +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Retention Rule Name + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RetentionRuleName +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OverwriteLifeCycle +Specifies whether to modify an existing LifeCycle. + +```yaml +Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] +Parameter Sets: AddRetention +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Policy +Backup Policy Object +To construct, see NOTES section for POLICY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoveRule +Specifies whether to remove the retention rule. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: RemoveRetention +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyTagClientObject.md b/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyTagClientObject.md new file mode 100644 index 000000000000..c8da44d41067 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyTagClientObject.md @@ -0,0 +1,135 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/edit-azdataprotectionpolicytagclientobject +schema: 2.0.0 +--- + +# Edit-AzDataProtectionPolicyTagClientObject + +## SYNOPSIS +Adds or removes schedule tag in an existing backup policy. + +## SYNTAX + +### RemoveTag (Default) +``` +Edit-AzDataProtectionPolicyTagClientObject -Name -Policy -RemoveRule + [] +``` + +### updateTag +``` +Edit-AzDataProtectionPolicyTagClientObject -Criteria -Name + -Policy [] +``` + +## DESCRIPTION +Adds or removes schedule tag in an existing backup policy. + +## EXAMPLES + +### Example 1: Add Weekly tag to Backup Policy +```powershell +$criteria = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfWeek +Edit-AzDataProtectionPolicyTagClientObject -Policy $pol -Name Weekly -Criteria $criteria +``` + +```output +DatasourceType ObjectType +-------------- ---------- +{Microsoft.Compute/disks} BackupPolicy +``` + +This command adds a weekly tag to given backup policy + +### Example 2: Remove Weeky tag from Backup Policy +```powershell +Edit-AzDataProtectionPolicyTagClientObject -Policy $pol -Name Weekly -RemoveRule +``` + +```output +DatasourceType ObjectType +-------------- ---------- +{Microsoft.Compute/disks} BackupPolicy +``` + +This command removes Weekly tag from backup policy. + +## PARAMETERS + +### -Criteria +Criterias to be associated with the schedule tag. +To construct, see NOTES section for CRITERIA properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria[] +Parameter Sets: updateTag +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the Schedule tag. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.TagName +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Policy +Backup Policy Object. +To construct, see NOTES section for POLICY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoveRule +Specify whether to remove the tag from the given policy object. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: RemoveTag +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyTriggerClientObject.md b/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyTriggerClientObject.md new file mode 100644 index 000000000000..06a200e0ea2b --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Edit-AzDataProtectionPolicyTriggerClientObject.md @@ -0,0 +1,105 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/edit-azdataprotectionpolicytriggerclientobject +schema: 2.0.0 +--- + +# Edit-AzDataProtectionPolicyTriggerClientObject + +## SYNOPSIS +Updates Backup schedule of an existing backup policy. + +## SYNTAX + +### RemoveBackupSchedule (Default) +``` +Edit-AzDataProtectionPolicyTriggerClientObject -Policy -RemoveSchedule [] +``` + +### ModifyBackupSchedule +``` +Edit-AzDataProtectionPolicyTriggerClientObject -Policy -Schedule + [] +``` + +## DESCRIPTION +Updates Backup schedule of an existing backup policy. + +## EXAMPLES + +### Example 1: Add Daily schedule to Azure Backup rule. +```powershell +$schedule = New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays (Get-Date) -IntervalType Daily -IntervalCount 1 +Edit-AzDataProtectionPolicyTriggerClientObject -Policy $pol -Schedule $schedule +``` + +```output +DatasourceType ObjectType +-------------- ---------- +{Microsoft.Compute/disks} BackupPolicy +``` + +This command updates backup schedule of given policy to daily backup. + +## PARAMETERS + +### -Policy +Backup Policy object. +To construct, see NOTES section for POLICY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RemoveSchedule +Specifies whether to remove the backup Schedule. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: RemoveBackupSchedule +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Schedule +Schedule to be associated to backup policy. + +```yaml +Type: System.String[] +Parameter Sets: ModifyBackupSchedule +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Find-AzDataProtectionRestorableTimeRange.md b/src/DataProtection/DataProtection.Autorest/help/Find-AzDataProtectionRestorableTimeRange.md new file mode 100644 index 000000000000..d042c0debed0 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Find-AzDataProtectionRestorableTimeRange.md @@ -0,0 +1,217 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/find-azdataprotectionrestorabletimerange +schema: 2.0.0 +--- + +# Find-AzDataProtectionRestorableTimeRange + +## SYNOPSIS +Finds the valid recovery point in time ranges for the restore. + +## SYNTAX + +``` +Find-AzDataProtectionRestorableTimeRange -BackupInstanceName -ResourceGroupName + -VaultName -SourceDataStoreType [-SubscriptionId ] + [-EndTime ] [-StartTime ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Finds the valid recovery point in time ranges for the restore. + +## EXAMPLES + +### Example 1: Fetch valid restorable time ranges for a BackupInstance +```powershell +$startTime = (Get-Date).AddDays(-30).ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") +$endTime = (Get-Date).AddDays(0).ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") +$instances = Search-AzDataProtectionBackupInstanceInAzGraph -Subscription "subscriptionId" -DatasourceType AzureBlob -ResourceGroup "rgName" -Vault "vaultName" +$pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName $instances[0].BackupInstanceName -ResourceGroupName "rgName" -SubscriptionId "subscriptionId" -VaultName "vaultName" -SourceDataStoreType OperationalStore -StartTime $startTime -EndTime $endTime +$pointInTimeRange.RestorableTimeRange | Format-List +``` + +```output +EndTime : 2021-04-24T08:57:36.4149422Z +ObjectType : RestorableTimeRange +StartTime : 2021-03-25T14:27:31.0000000Z +``` + +Set $startTime and $endTime. +Fetch the backup instance. +Fetch valid time ranges for Backup Instance $instance[0]. +Dispaly RestorableTimeRange, note that this can be multiple dicrete ranges. + +## PARAMETERS + +### -BackupInstanceName +The name of the backup instance. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndTime +End time for the List Restore Ranges request. +ISO 8601 format. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceDataStoreType +Gets or sets the type of the source data store. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreSourceDataStoreType +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartTime +Start time for the List Restore Ranges request. +ISO 8601 format. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupFindRestorableTimeRangesResponseResource + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupInstance.md new file mode 100644 index 000000000000..37047500bcd4 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupInstance.md @@ -0,0 +1,175 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupinstance +schema: 2.0.0 +--- + +# Get-AzDataProtectionBackupInstance + +## SYNOPSIS +Gets a backup instance with name in a backup vault + +## SYNTAX + +### List (Default) +``` +Get-AzDataProtectionBackupInstance -ResourceGroupName -VaultName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzDataProtectionBackupInstance -Name -ResourceGroupName -VaultName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzDataProtectionBackupInstance -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets a backup instance with name in a backup vault + +## EXAMPLES + +### Example 1: Get all the backup instances protected in a specified backup vault. +```powershell +Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "MyResourceGroup" -VaultName "MyVault" +``` + +```output +Name Type BackupInstanceName +---- ---- ------------------ +sarathdisk-sarathdisk-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Microsoft.DataProtection/backupVaults/backupInstances sarathdisk-sarathdisk-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx +sarathdisk2-sarathdisk2-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxcc Microsoft.DataProtection/backupVaults/backupInstances sarathdisk2-sarathdisk2-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx +``` + +This command gets all the backup instances in a vault. + +### Example 2: Get a backup instance by name. +```powershell +Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "MyResourceGroup" -VaultName "MyVault" -Name "BackupInstanceName" +``` + +```output +Name Type BackupInstanceName +---- ---- ------------------ +sarathdisk-sarathdisk-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx Microsoft.DataProtection/backupVaults/backupInstances sarathdisk-sarathdisk-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx +``` + +This command gets a specific backup instance protected in a backup vault. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the backup instance. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: BackupInstanceName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupPolicy.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupPolicy.md new file mode 100644 index 000000000000..2ed97563f490 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupPolicy.md @@ -0,0 +1,175 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackuppolicy +schema: 2.0.0 +--- + +# Get-AzDataProtectionBackupPolicy + +## SYNOPSIS +Gets a backup policy belonging to a backup vault + +## SYNTAX + +### List (Default) +``` +Get-AzDataProtectionBackupPolicy -ResourceGroupName -VaultName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzDataProtectionBackupPolicy -Name -ResourceGroupName -VaultName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzDataProtectionBackupPolicy -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets a backup policy belonging to a backup vault + +## EXAMPLES + +### Example 1: Get all backup policies in a backup vault. +```powershell +Get-AzDataProtectionBackupPolicy -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "MyResourceGroup" -VaultName "MyVault" +``` + +```output +Name Type +---- ---- +DiskPolicy1 Microsoft.DataProtection/backupVaults/backupPolicies +DiskDailyPolicy Microsoft.DataProtection/backupVaults/backupPolicies +``` + +This command gets backup policies created in a given backup vault. + +### Example 2: Get backup policy by Name +```powershell +Get-AzDataProtectionBackupPolicy -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "MyResourceGroup" -VaultName "MyVault" -Name "MyPolicy" +``` + +```output +Name Type +---- ---- +MyPolicy Microsoft.DataProtection/backupVaults/backupPolicies +``` + +This command gets a backup policy by name. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: BackupPolicyName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupVault.md new file mode 100644 index 000000000000..7fdd64823471 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionBackupVault.md @@ -0,0 +1,194 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupvault +schema: 2.0.0 +--- + +# Get-AzDataProtectionBackupVault + +## SYNOPSIS +Returns resource collection belonging to a subscription. + +## SYNTAX + +### Get (Default) +``` +Get-AzDataProtectionBackupVault [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get1 +``` +Get-AzDataProtectionBackupVault -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### Get2 +``` +Get-AzDataProtectionBackupVault -ResourceGroupName -VaultName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzDataProtectionBackupVault -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Returns resource collection belonging to a subscription. + +## EXAMPLES + +### Example 1: Get all backup vaults in a given subscription +```powershell +Get-AzDataProtectionBackupVault +``` + +```output +ETag IdentityPrincipalId IdentityTenantId IdentityType Location Name Type +---- ------------------- ---------------- ------------ -------- ---- ---- + xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx SystemAssigned westus adigupt-backupcenter-ga-Vault Microsoft.DataProtection/backupVault + xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx SystemAssigned westcentralus BC-Usability-Vault-WCUS Microsoft.DataProtection/backupVault + xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx SystemAssigned centraluseuap NilayBackupVault Microsoft.DataProtection/backupVault + xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx SystemAssigned centraluseuap dpprunnervaultus Microsoft.DataProtection/backupVault +``` + +This command gets all backup vaults in current subscription context. +Provide SubscriptionId parameter to retrieve backup vaults in a different subscription. + +### Example 2: Get all backup vaults in a given resource Group. +```powershell +Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupName sarath-rg +``` + +```output +ETag IdentityPrincipalId IdentityTenantId IdentityType Location Name Type +---- ------------------- ---------------- ------------ -------- ---- ---- + xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx SystemAssigned centraluseuap sarath-dppvault Microsoft.DataProtection/backupVaults + xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx SystemAssigned centraluseuap sarath-vault Microsoft.DataProtection/backupVaults +``` + +This command gets all backup vaults in a given resource group. + +### Example 3: Get a specific vault. +```powershell +Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault +``` + +```output +ETag IdentityPrincipalId IdentityTenantId IdentityType Location Name Type +---- ------------------- ---------------- ------------ -------- ---- ---- + xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx SystemAssigned centraluseuap sarath-vault Microsoft.DataProtection/backupVaults +``` + +This command gets a specific vault by given vault name. + +### Example 4: Get secure score of backup vault. +```powershell +$vault = Get-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxxx" -ResourceGroupName hiaga-rg -VaultName hiaga-vault +$vault.SecureScore +``` + +```output +Adequate +``` + +First command gets a specific vault by given vault name, then we fetch the secure score of the vault which shows Adequate. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get1, Get2 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, Get1, Get2 +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: Get2 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionJob.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionJob.md new file mode 100644 index 000000000000..8f546f67a10b --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionJob.md @@ -0,0 +1,205 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionjob +schema: 2.0.0 +--- + +# Get-AzDataProtectionJob + +## SYNOPSIS +Gets or lists jobs in a backup vault + +## SYNTAX + +### List (Default) +``` +Get-AzDataProtectionJob -ResourceGroupName -VaultName [-DefaultProfile ] + [-SubscriptionId ] [-UseSecondaryRegion] [] +``` + +### Get +``` +Get-AzDataProtectionJob -Id -ResourceGroupName -VaultName + [-DefaultProfile ] [-SubscriptionId ] [-UseSecondaryRegion] [] +``` + +### GetViaIdentity +``` +Get-AzDataProtectionJob -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets or lists jobs in a backup vault + +## EXAMPLES + +### Example 1: Get All backup Jobs in a backup vault +```powershell +Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault +``` + +```output +Name Type +---- ---- +a6a4879d-f914-4174-b129-0e27da8a4fb0 Microsoft.DataProtection/backupVaults/backupJobs +1a402664-a245-4a9d-8bb5-a6bafbb40d26 Microsoft.DataProtection/backupVaults/backupJobs +672564f7-1f91-46e2-a0ca-4fb1dc977a1c Microsoft.DataProtection/backupVaults/backupJobs +1653a7b4-8ce4-457e-8084-dc1c9d9e4106 Microsoft.DataProtection/backupVaults/backupJobs +9f21c438-ca0d-45c1-88fe-79f08a8342c7 Microsoft.DataProtection/backupVaults/backupJobs +736bab4d-480f-49f8-92ea-57c5ff203c33 Microsoft.DataProtection/backupVaults/backupJobs +``` + +This command gets all the backup jobs in a given backup vault. + +### Example 2: Get a single Job with Id +```powershell +Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Id 4abaea8c-f53a-4bb1-9963-59f96b597165 +``` + +```output +Name Type +---- ---- +4abaea8c-f53a-4bb1-9963-59f96b597165 Microsoft.DataProtection/backupVaults/backupJobs +``` + +This command returns a single job entity with given Id. + +### Example 3: Get backup Jobs in a backup vault from secondary region +```powershell +Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -UseSecondaryRegion +``` + +```output +Name Type +---- ---- +a6a4879d-f914-4174-b129-0e27da8a4fb0 Microsoft.DataProtection/backupVaults/backupJobs +1a402664-a245-4a9d-8bb5-a6bafbb40d26 Microsoft.DataProtection/backupVaults/backupJobs +``` + +This command gets cross region restore jobs in a backup vault from secondary region. + +## PARAMETERS + +### -DefaultProfile + + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Id +Job ID to get a particular Job + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: JobId + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource Group of the backup vault + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +Subscription Id of the vault + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UseSecondaryRegion +Switch parameter to fetch dataprotection job from secondary region (Cross Region Restore) + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +Name of the backup vault + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionOperation.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionOperation.md new file mode 100644 index 000000000000..0827e623c1d0 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionOperation.md @@ -0,0 +1,118 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionoperation +schema: 2.0.0 +--- + +# Get-AzDataProtectionOperation + +## SYNOPSIS +Returns the list of available operations. + +## SYNTAX + +``` +Get-AzDataProtectionOperation [-DefaultProfile ] [] +``` + +## DESCRIPTION +Returns the list of available operations. + +## EXAMPLES + +### Example 1: Get the list of of available operations +```powershell +Get-AzDataProtectionOperation +``` + +```output +IsDataAction Name Origin +------------ ---- ------ + Microsoft.DataProtection/locations/getBackupStatus/action user + Microsoft.DataProtection/backupVaults/backupInstances/write user + Microsoft.DataProtection/backupVaults/backupInstances/delete user + Microsoft.DataProtection/backupVaults/backupInstances/read user + Microsoft.DataProtection/backupVaults/backupInstances/read user + Microsoft.DataProtection/backupVaults/backupInstances/backup/action user + Microsoft.DataProtection/backupVaults/backupInstances/sync/action user + Microsoft.DataProtection/backupVaults/backupInstances/operationResults/read user + Microsoft.DataProtection/backupVaults/backupInstances/stopProtection/action user + Microsoft.DataProtection/backupVaults/backupInstances/suspendBackups/action user + Microsoft.DataProtection/backupVaults/backupInstances/resumeProtection/action user + Microsoft.DataProtection/backupVaults/backupInstances/resumeBackups/action user + Microsoft.DataProtection/backupVaults/backupInstances/validateRestore/action user + Microsoft.DataProtection/backupVaults/backupInstances/restore/action user + Microsoft.DataProtection/backupVaults/backupPolicies/write user + Microsoft.DataProtection/backupVaults/backupPolicies/delete user + Microsoft.DataProtection/backupVaults/backupPolicies/read user + Microsoft.DataProtection/backupVaults/backupPolicies/read user + Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/read user + Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/read user + Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/write user + Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete user + Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/unlockDelete/action user + Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints/read user + Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints/read user + Microsoft.DataProtection/backupVaults/backupInstances/findRestorableTimeRanges/action user + Microsoft.DataProtection/backupVaults/write user + Microsoft.DataProtection/backupVaults/read user + Microsoft.DataProtection/backupVaults/delete user + Microsoft.DataProtection/backupVaults/operationResults/read user + Microsoft.DataProtection/locations/checkNameAvailability/action user + Microsoft.DataProtection/backupVaults/read user + Microsoft.DataProtection/backupVaults/read user + Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/write user + Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/read user + Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/delete user + Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/read user + Microsoft.DataProtection/subscriptions/providers/resourceGuards/read user + Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/write user + Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/{operationName}/read user + Microsoft.DataProtection/subscriptions/resourceGroups/providers/resourceGuards/{operationName}/read user + Microsoft.DataProtection/subscriptions/providers/locations/checkFeatureSupport/action user + Microsoft.DataProtection/locations/operationStatus/read user + Microsoft.DataProtection/backupVaults/operationStatus/read user + Microsoft.DataProtection/subscriptions/resourceGroups/providers/operationStatus/read user + Microsoft.DataProtection/locations/operationResults/read user + Microsoft.DataProtection/backupVaults/validateForBackup/action user + Microsoft.DataProtection/backupVaults/backupJobs/read user + Microsoft.RecoveryServices/Vaults/backupJobs/read user + Microsoft.DataProtection/register/action user + Microsoft.DataProtection/unregister/action user + Microsoft.DataProtection/operations/read user +``` + +The above command gets the list of available operations. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IClientDiscoveryValueForSingleApi + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionOperationStatus.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionOperationStatus.md new file mode 100644 index 000000000000..0f07dd37e8c8 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionOperationStatus.md @@ -0,0 +1,148 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionoperationstatus +schema: 2.0.0 +--- + +# Get-AzDataProtectionOperationStatus + +## SYNOPSIS +Gets the operation status for a resource. + +## SYNTAX + +### Get (Default) +``` +Get-AzDataProtectionOperationStatus -Location -OperationId [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzDataProtectionOperationStatus -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets the operation status for a resource. + +## EXAMPLES + +### Example 1: Get operation status for a long running operation +```powershell +$operationResponse = Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subId -BackupInstance $backupInstanceClientObject.Property -NoWait +$operationId = $operationResponse.Target.Split("/")[-1].Split("?")[0] +Get-AzDataProtectionOperationStatus -OperationId $operationId -Location $vault.Location -SubscriptionId $subId +While((Get-AzDataProtectionOperationStatus -OperationId $operationId -Location $vault.Location -SubscriptionId $subId).Status -eq "Inprogress"){ + Start-Sleep -Seconds 10 +} +``` + +```output +EndTime Name StartTime Status +------- ---- --------- ------ +5/6/2023 11:44:42 AM N2E2NGU0YzItMzZjNC00MDUwLTlmZGYtMGNlZTFjMmI4MWRhO2U3MjRiMGExLTM3NGItNGYwYS05ZDRlLTQxZWQ5Nzg5MzhkZg== 5/6/2023 11:44:21 AM Succeeded +``` + +First command fetches the operation response for a long running operation, using the the parameter -NoWait. +This is to run the operation in async mode. +Second command splits the operationResponse to get the operationId. +Third command fetches the operation status in async way. +Fourth command fetches the operation status in a loop until it succeeds, while waiting 10 seconds before each iteration. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Location +Azure region where the operation is triggered. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -OperationId +Operation Id to track the operation status. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationResource + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionPolicyTemplate.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionPolicyTemplate.md new file mode 100644 index 000000000000..fb70f003831d --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionPolicyTemplate.md @@ -0,0 +1,67 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionpolicytemplate +schema: 2.0.0 +--- + +# Get-AzDataProtectionPolicyTemplate + +## SYNOPSIS +Gets default policy template for a selected datasource type. + +## SYNTAX + +``` +Get-AzDataProtectionPolicyTemplate -DatasourceType [] +``` + +## DESCRIPTION +Gets default policy template for a selected datasource type. + +## EXAMPLES + +### Example 1: Get Azure Disk default policy template +```powershell +Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDisk +``` + +```output +DatasourceType ObjectType +-------------- ---------- +{Microsoft.Compute/disks} BackupPolicy +``` + +This command returns a default policy template for a given datasource type. +Use this policy template to create a new policy. + +## PARAMETERS + +### -DatasourceType +Datasource Type + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionRecoveryPoint.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionRecoveryPoint.md new file mode 100644 index 000000000000..de995edff584 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionRecoveryPoint.md @@ -0,0 +1,261 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionrecoverypoint +schema: 2.0.0 +--- + +# Get-AzDataProtectionRecoveryPoint + +## SYNOPSIS +Gets a Recovery Point using recoveryPointId for a Datasource. + +## SYNTAX + +### List (Default) +``` +Get-AzDataProtectionRecoveryPoint [-BackupInstanceName ] [-ResourceGroupName ] + [-SubscriptionId ] [-VaultName ] [-DefaultProfile ] [-EndTime ] + [-StartTime ] [-UseSecondaryRegion] [] +``` + +### Get +``` +Get-AzDataProtectionRecoveryPoint -BackupInstanceName -Id -ResourceGroupName + -VaultName [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzDataProtectionRecoveryPoint -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Gets a Recovery Point using recoveryPointId for a Datasource. + +## EXAMPLES + +### Example 1: Get all recovery points of a given backup instance +```powershell +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault +Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[2].Name +``` + +```output +Name Type +---- ---- +aded40a562134f97b732f30d0b486fef Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints +f458438d5ebb4098adbf67e9655cb624 Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints +515ba70e49d34b2bbff033dcc08593fe Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints +e61293fdd1064fbdb4f42b7f5927a927 Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints +aecc362b85484f4eb905bb05ef445e3e Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints +dc814d61a9624c36a1f9d635bc0b80f0 Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints +``` + +This command lists all available recovery points of a given backup instance + +### Example 2: Get recovery point with given recovery point id. +```powershell +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault +Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[2].Name -Id 892e5c5014dc4a96807d22924f5745c9 +``` + +```output +Name Type +---- ---- +892e5c5014dc4a96807d22924f5745c9 Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints +``` + +This command returns a recovery point with given id. + +### Example 3: Get all recovery points of a given backup instance from secondary region +```powershell +$instance = $instance = Search-AzDataProtectionBackupInstanceInAzGraph -DatasourceType AzureDatabaseForPostgreSQL -Subscription "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroup sarath-rg -Vault sarath-vault +$recoveryPoints = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[2].Name -UseSecondaryRegion +``` + +```output +Name +---- +aded40a562134f97b732f30d0b486fef +aecc362b85484f4eb905bb05ef445e3e +dc814d61a9624c36a1f9d635bc0b80f0 +``` + +This command lists all recovery points of a given backup instance from secondary region. +One of these recovery points can be used to trigger cross region restore to secondary region. + +## PARAMETERS + +### -BackupInstanceName +The name of the backup instance. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndTime +End Time filter for recovery points + +```yaml +Type: System.DateTime +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Id +. + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: RecoveryPointId + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartTime +Start Time filter for recovery points + +```yaml +Type: System.DateTime +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -UseSecondaryRegion +Switch parameter to fetch recovery points from secondary region + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource + +### System.Management.Automation.PSObject + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionResourceGuard.md new file mode 100644 index 000000000000..0a2bf24b1c7b --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionResourceGuard.md @@ -0,0 +1,162 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionresourceguard +schema: 2.0.0 +--- + +# Get-AzDataProtectionResourceGuard + +## SYNOPSIS +Returns a ResourceGuard belonging to a resource group. + +## SYNTAX + +### Get1 (Default) +``` +Get-AzDataProtectionResourceGuard -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzDataProtectionResourceGuard -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzDataProtectionResourceGuard -InputObject [-DefaultProfile ] + [] +``` + +## DESCRIPTION +Returns a ResourceGuard belonging to a resource group. + +## EXAMPLES + +### Example 1: Fetch a resource guard with a particular Name +```powershell +Get-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "RGName" -Name "ResourceGuardName" +``` + +```output +ETag Id IdentityPrincipalId IdentityTenantId IdentityType Location Name +---- -- ------------------- ---------------- ------------ -------- ---- + /subscriptions/xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/RGName/providers/Microsoft.DataProtection/resourceGuards/ResourceGuardName centraluseuap ResourceGuardName +``` + +Gets a resource guard under a resource group with name "ResourceGuardName" + +### Example 2: Fetch all the resource guards under a resource group +```powershell +Get-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "RGName" +``` + +```output +ETag Id IdentityPrincipalId IdentityTenantId IdentityType Location Name Type +---- -- ------------------- ---------------- ------------ -------- ---- ---- + /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/RGName/providers/Microsoft.DataProtection/resourceGuards/rguard1 centraluseuap rguard1 Microsoft.DataProtection/resourceGuards + /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/RGName/providers/Microsoft.DataProtection/resourceGuards/rguard2 centraluseuap rguard2 Microsoft.DataProtection/resourceGuards + /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/RGName/providers/Microsoft.DataProtection/resourceGuards/rguard3 centraluseuap rguard3 Microsoft.DataProtection/resourceGuards + /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/RGName/providers/Microsoft.DataProtection/resourceGuards/rguard4 centraluseuap rguard4 Microsoft.DataProtection/resourceGuards +``` + +Gets all resource guards under a resource group + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of ResourceGuard + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, Get1 +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, Get1 +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionResourceGuardMapping.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionResourceGuardMapping.md new file mode 100644 index 000000000000..e43654a63151 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionResourceGuardMapping.md @@ -0,0 +1,156 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionresourceguardmapping +schema: 2.0.0 +--- + +# Get-AzDataProtectionResourceGuardMapping + +## SYNOPSIS +Returns the ResourceGuardProxy object associated with the vault, and that matches the name in the request + +## SYNTAX + +### Get (Default) +``` +Get-AzDataProtectionResourceGuardMapping -ResourceGroupName -VaultName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzDataProtectionResourceGuardMapping -InputObject [-DefaultProfile ] + [] +``` + +### List +``` +Get-AzDataProtectionResourceGuardMapping -ResourceGroupName -VaultName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Returns the ResourceGuardProxy object associated with the vault, and that matches the name in the request + +## EXAMPLES + +### Example 1: Fetch resource guard mapping. +```powershell +$mapping = Get-AzDataProtectionResourceGuardMapping -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subscriptionId +$mapping | fl +``` + +```output +Description : +Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/m + ua-pstest-backupvault/backupResourceGuardProxies/DppResourceGuardProxy +LastUpdatedTime : 2023-08-29T07:23:05.1111730Z +Name : DppResourceGuardProxy +ResourceGuardId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/hiaga-rg/providers/Microsoft.DataProtection/resourceGuard + s/mua-pstest-resguard +ResourceGuardOperationDetail : {Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationDetail, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationDetail} +SystemData : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData +Type : Microsoft.DataProtection/vaults/backupResourceGuardProxies +``` + +This command gets the MUA setting (resource guard mapping with backup vault) for the backup vault. +The output of this command is used to ensure whether MUA is enabled on the backup vault and to determine the underlying resource guard to protect the critical operations. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionSoftDeletedBackupInstance.md b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionSoftDeletedBackupInstance.md new file mode 100644 index 000000000000..f82a9ac761d2 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Get-AzDataProtectionSoftDeletedBackupInstance.md @@ -0,0 +1,161 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionsoftdeletedbackupinstance +schema: 2.0.0 +--- + +# Get-AzDataProtectionSoftDeletedBackupInstance + +## SYNOPSIS +Gets a deleted backup instance with name in a backup vault + +## SYNTAX + +### List (Default) +``` +Get-AzDataProtectionSoftDeletedBackupInstance -ResourceGroupName -VaultName + [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### Get +``` +Get-AzDataProtectionSoftDeletedBackupInstance -BackupInstanceName -ResourceGroupName + -VaultName [-SubscriptionId ] [-DefaultProfile ] [] +``` + +### GetViaIdentity +``` +Get-AzDataProtectionSoftDeletedBackupInstance -InputObject + [-DefaultProfile ] [] +``` + +## DESCRIPTION +Gets a deleted backup instance with name in a backup vault + +## EXAMPLES + +### Example 1: Get soft deleted backup instances for a backup vault +```powershell +Get-AzDataProtectionSoftDeletedBackupInstance -ResourceGroupName $resourceGroupName -SubscriptionId $subscriptionId -VaultName $vaultName +``` + +```output +Name +---- +alrpstestvm-datadisk-000-xxxxxxxx-xxxx-alrpstestvm-datadisk-000-xxxx-xxxx-xxxxxxxx-066c-xxxx-91fc-xxxxxxxxxxxx +``` + +This cmdlet is used to fetch the list of backup instances which are in soft deleted state for the backup vault. + +## PARAMETERS + +### -BackupInstanceName +The name of the deleted backup instance + +```yaml +Type: System.String +Parameter Sets: Get +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: GetViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String[] +Parameter Sets: Get, List +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: Get, List +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDeletedBackupInstanceResource + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Initialize-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection.Autorest/help/Initialize-AzDataProtectionBackupInstance.md new file mode 100644 index 000000000000..ffd35df8aed3 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Initialize-AzDataProtectionBackupInstance.md @@ -0,0 +1,224 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/initialize-azdataprotectionbackupinstance +schema: 2.0.0 +--- + +# Initialize-AzDataProtectionBackupInstance + +## SYNOPSIS +Initializes Backup instance Request object for configuring backup + +## SYNTAX + +``` +Initialize-AzDataProtectionBackupInstance -DatasourceLocation -DatasourceType + [-BackupConfiguration ] [-DatasourceId ] [-FriendlyName ] + [-PolicyId ] [-SecretStoreType ] [-SecretStoreURI ] + [-SnapshotResourceGroupId ] [] +``` + +## DESCRIPTION +Initializes Backup instance Request object for configuring backup + +## EXAMPLES + +### Example 1: Initialize Backup instance object for Azure Disk +```powershell +$policy = Get-AzDataProtectionBackupPolicy -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault +$AzureDiskId = "/subscriptions/{subscription}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{diskname}" +$instance = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureDisk -DatasourceLocation westus -DatasourceId $AzureDiskId -PolicyId $policy[0].Id +$instance.Property.PolicyInfo.PolicyParameter.DataStoreParametersList[0].ResourceGroupId = "/subscriptions/{subscription}/resourceGroups/{snapshotResourceGroup}" +$instance +``` + +```output +Name Type BackupInstanceName +---- ---- ------------------ + sarath-disk3-sarath-disk3-af697a80-e2bc-49f1-af6c-22f6c4d68405 +``` + +The First command gets all the policies in a given vault. +The second command stores azure disk's resource id in $AzureDiskId +variable. +The third command returns a backup instance resource for Azure Disk. +The fourth command sets the snapshot resource group field. +This object can now be used to configure backup for the given disk. + +### Example 2: Initialize Backup instance object for AzureKubernetesService +```powershell +$policy = Get-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -ResourceGroupName "resourceGroupName" | where {$_.Name -eq "policyName"} +$sourceClusterId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.ContainerService/managedClusters/aks-cluster" +$snapshotResourceGroupId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName" +$backupConfig = New-AzDataProtectionBackupConfigurationClientObject -SnapshotVolume $true -IncludeClusterScopeResource $true -DatasourceType AzureKubernetesService -LabelSelector "x=y","foo=bar" +$backupInstance = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureKubernetesService -DatasourceLocation "eastus" -PolicyId $policy.Id -DatasourceId $sourceClusterId -SnapshotResourceGroupId $snapshotResourceGroupId -FriendlyName "aks-cluster-friendlyName" -BackupConfiguration $backupConfig +$instance +``` + +```output +Name BackupInstanceName +---- ------------------ + aks-cluster-aks-cluster-ed68435e-069t-4b4a-9d84-d0c194800fc2 +``` + +The First command gets the AzureKubernetesService policy in a given vault. +The second, third command initializes the AKS cluster and snapshot resource group Id. +The fourth command backup configuration object needed for AzureKubernetesService. +The fifth command initializes the client object for backup instance. +This object can now be used to configure backup using New-AzDataProtectionBackupInstance after all necessary permissions are assigned with Set-AzDataProtectionMSIPermission command. + +## PARAMETERS + +### -BackupConfiguration +Backup configuration for backup. +Use this parameter to configure protection for AzureKubernetesService. +To construct, see NOTES section for BACKUPCONFIGURATION properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatasourceId +ID of the datasource to be protected + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatasourceLocation +Location of the Datasource to be protected. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatasourceType +Datasource Type + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FriendlyName +Friendly name for backup instance + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +Policy Id to be assiciated to Datasource + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretStoreType +Secret store type for secret store authentication of data source. +This parameter is only supported for AzureDatabaseForPostgreSQL currently. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreTypes +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretStoreURI +Secret uri for secret store authentication of data source. +This parameter is only supported for AzureDatabaseForPostgreSQL currently. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SnapshotResourceGroupId +Sanpshot Resource Group + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Initialize-AzDataProtectionRestoreRequest.md b/src/DataProtection/DataProtection.Autorest/help/Initialize-AzDataProtectionRestoreRequest.md new file mode 100644 index 000000000000..c18a1c6f1d59 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Initialize-AzDataProtectionRestoreRequest.md @@ -0,0 +1,511 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/initialize-azdataprotectionrestorerequest +schema: 2.0.0 +--- + +# Initialize-AzDataProtectionRestoreRequest + +## SYNOPSIS +Initializes Restore Request object for triggering restore on a protected backup instance. + +## SYNTAX + +### AlternateLocationFullRecovery (Default) +``` +Initialize-AzDataProtectionRestoreRequest -DatasourceType -RestoreLocation + -RestoreType -SourceDataStore -TargetResourceId + [-PointInTime ] [-RecoveryPoint ] [-RehydrationDuration ] + [-RehydrationPriority ] [-RestoreConfiguration ] + [-SecretStoreType ] [-SecretStoreURI ] [] +``` + +### AlternateLocationILR +``` +Initialize-AzDataProtectionRestoreRequest -DatasourceType -ItemLevelRecovery + -RestoreLocation -RestoreType -SourceDataStore + -TargetResourceId [-ContainersList ] [-RecoveryPoint ] + [-RestoreConfiguration ] [] +``` + +### OriginalLocationFullRecovery +``` +Initialize-AzDataProtectionRestoreRequest -BackupInstance + -DatasourceType -RestoreLocation -RestoreType + -SourceDataStore [-PointInTime ] [-RecoveryPoint ] + [-RehydrationDuration ] [-RehydrationPriority ] + [-RestoreConfiguration ] [-SecretStoreType ] + [-SecretStoreURI ] [] +``` + +### OriginalLocationILR +``` +Initialize-AzDataProtectionRestoreRequest -BackupInstance + -DatasourceType -ItemLevelRecovery -RestoreLocation + -RestoreType -SourceDataStore [-ContainersList ] + [-FromPrefixPattern ] [-PointInTime ] [-RecoveryPoint ] + [-RehydrationDuration ] [-RehydrationPriority ] + [-RestoreConfiguration ] [-SecretStoreType ] + [-SecretStoreURI ] [-ToPrefixPattern ] [] +``` + +### RestoreAsFiles +``` +Initialize-AzDataProtectionRestoreRequest -DatasourceType -FileNamePrefix + -RestoreLocation -RestoreType -SourceDataStore + -TargetContainerURI [-RecoveryPoint ] [-RehydrationDuration ] + [-RehydrationPriority ] [-SecretStoreType ] [-SecretStoreURI ] + [-TargetResourceIdForRestoreAsFile ] [] +``` + +## DESCRIPTION +Initializes Restore Request object for triggering restore on a protected backup instance. + +## EXAMPLES + +### Example 1: Get restore request object for Protected Azure Disk Backup instance +```powershell +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "sarath-rg" -VaultName "sarath-vault" +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxx-xxx-xxx" -ResourceGroupName "sarath-rg" -VaultName "sarath-vault" -BackupInstanceName $instance.Name +Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDisk -SourceDataStore OperationalStore -RestoreLocation "westus" -RestoreType AlternateLocation -TargetResourceId "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{DiskName}" -RecoveryPoint "892e5c5014dc4a96807d22924f5745c9" +``` + +```output +ObjectType RestoreTargetInfoObjectType RestoreTargetInfoRecoveryOption RestoreTargetInfoRestoreLocation SourceDataStoreType RecoveryPointI + d +---------- --------------------------- ------------------------------- -------------------------------- ------------------- -------------- +AzureBackupRecoveryPointBasedRestoreRequest RestoreTargetInfo FailIfExists westus OperationalStore 892e5c5014dc4a96807d22924f5745c9 +``` + +This command initialized a restore request object which can be used to trigger restore. + +### Example 2: Get restore request object for Protected Azure Blob Backup instance +```powershell +$startTime = (Get-Date).AddDays(-30).ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") +$endTime = (Get-Date).AddDays(0).ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "rgName" -VaultName "vaultName" +$pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName $instance[0].BackupInstanceName -ResourceGroupName "rgName" -SubscriptionId "subscriptionId" -VaultName "vaultName" -SourceDataStoreType OperationalStore -StartTime $startTime -EndTime $endTime +Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore OperationalStore -RestoreLocation $vault.Location -RestoreType OriginalLocation -BackupInstance $instance[0] -PointInTime (Get-Date -Date $pointInTimeRange.RestorableTimeRange.EndTime) +``` + +```output +ObjectType RestoreTargetInfoObjectType RestoreTargetInfoRecoveryOption RestoreTargetInfoRestoreLocation SourceDataStoreType RecoveryPointTime +---------- --------------------------- ------------------------------- -------------------------------- ------------------- ----------------- +AzureBackupRecoveryTimeBasedRestoreRequest restoreTargetInfo FailIfExists eastus2euap OperationalStore 2021-04-24T13:32:41.7018481Z +``` + +This command initialized a restore request object which can be used to trigger restore for Blobs. + +### Example 3: Get restore request object for Item Level recovery for containers under protected AzureBlob Backup instance +```powershell +$startTime = (Get-Date).AddDays(-30).ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") +$endTime = (Get-Date).AddDays(0).ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "rgName" -VaultName "vaultName" +$pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName $instance[0].BackupInstanceName -ResourceGroupName "rgName" -SubscriptionId "subscriptionId" -VaultName "vaultName" -SourceDataStoreType OperationalStore -StartTime $startTime -EndTime $endTime +Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore OperationalStore -RestoreLocation $vault.Location -RestoreType OriginalLocation -BackupInstance $instances[0] -PointInTime (Get-Date).AddDays(-1) -ItemLevelRecovery -ContainersList "containerName1","containerName2" +``` + +```output +ObjectType RestoreTargetInfoObjectType RestoreTargetInfoRecoveryOption RestoreTargetInfoRestoreLocation SourceDataStoreType RecoveryPointTime +---------- --------------------------- ------------------------------- -------------------------------- ------------------- ----------------- +AzureBackupRecoveryTimeBasedRestoreRequest itemLevelRestoreTargetInfo FailIfExists eastus2euap OperationalStore 2021-04-23T02:47:02.9500000Z +``` + +This command initialized a restore request object which can be used to trigger Item Level Recovery at container level for Blobs. + +### Example 4: Get restore request object for Item Level recovery for containers/prefixMatch under protected AzureBlob Backup instance +```powershell +$startTime = (Get-Date).AddDays(-30).ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") +$endTime = (Get-Date).AddDays(0).ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "rgName" -VaultName "vaultName" +$pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName $instance[0].BackupInstanceName -ResourceGroupName "rgName" -SubscriptionId "subscriptionId" -VaultName "vaultName" -SourceDataStoreType OperationalStore -StartTime $startTime -EndTime $endTime +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" +``` + +```output +ObjectType RestoreTargetInfoObjectType RestoreTargetInfoRecoveryOption RestoreTargetInfoRestoreLocation SourceDataStoreType RecoveryPointTime +---------- --------------------------- ------------------------------- -------------------------------- ------------------- ----------------- +AzureBackupRecoveryTimeBasedRestoreRequest itemLevelRestoreTargetInfo FailIfExists eastus2euap OperationalStore 2021-04-23T02:47:02.9500000Z +``` + +This command initialized a restore request object which can be used to trigger Item Level Recovery at blobs level based on name prefixes under Blob containers. + +The above restoreRequest restore the following containers/blobs: + +FromPrefix ToPrefix +"container1/aaa" "container1/bbb" (restores all blobs matched in this Prefix range) +"container1/ccc" "container1/ddd" +"container2/aab" "container2/abc" +"container3" "container3-0" (restores whole container3) + +Note: The ranges shouldn't overlap with each other. +Reference: https://learn.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata + +### Example 5: Get cross region restore request object for restore as database for datasource type AzureDatabaseForPostgreSQL +```powershell +$vault = Search-AzDataProtectionBackupVaultInAzGraph -ResourceGroup $ResourceGroupName -Subscription $SubscriptionId -Vault $VaultName +$instance = Search-AzDataProtectionBackupInstanceInAzGraph -Subscription $subscriptionId -ResourceGroup $resourceGroupName -Vault $vaultName -DatasourceType AzureDatabaseForPostgreSQL +$recoveryPointsCrr = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance.Name -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subscriptionId -UseSecondaryRegion +$targetResourceId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/{targetResourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{targetServerName}/databases/{targetDatabaseName}" +$secretURI = "https://{crr-key-vault}.vault.azure.net/secrets/{secret-for-crr}" +$OssRestoreReq = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation $vault.ReplicatedRegion[0] -RestoreType AlternateLocation -RecoveryPoint $recoveryPointsCrr[0].Property.RecoveryPointId -TargetResourceId $targetResourceId -SecretStoreURI $secretURI -SecretStoreType AzureKeyVault +``` + +```output +ObjectType SourceDataStoreType SourceResourceId RecoveryPointId +---------- ------------------- ---------------- --------------- +AzureBackupRecoveryPointBasedRestoreRequest VaultStore d49aeb83264456ccab92a105cade9afe +``` + +First and second commands fetch the vault and backup instance from Azure resource graph. +Third command is used to fetch recovery points from secondary region for cross region restore. +Last command constructs the cross region restore request object for restore to alternate location as database for datasourcetype AzureDatabaseForPostgreSQL. +Please note that we set RestoreLocation parameter to $vault.ReplicatedRegion[0] (paired region) instead of $vault.Location for normal restore. +Use Test-AzDataProtectionBackupInstanceRestore, Start-AzDataProtectionBackupInstanceRestore commands to validate and trigger restore. + +### Example 6: Get cross region restore request object for restore as database for datasource type AzureDatabaseForPostgreSQL +```powershell +$vault = Search-AzDataProtectionBackupVaultInAzGraph -ResourceGroup $ResourceGroupName -Subscription $SubscriptionId -Vault $VaultName +$instance = Search-AzDataProtectionBackupInstanceInAzGraph -Subscription $subscriptionId -ResourceGroup $resourceGroupName -Vault $vaultName -DatasourceType AzureDatabaseForPostgreSQL +$recoveryPointsCrr = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance.Name -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subscriptionId -UseSecondaryRegion +$targetContainerURI = "https://{targetStorageAccountName}.blob.core.windows.net/{targetContainerName}" +$fileNamePrefix = "oss-pstest-crrasfiles" +$OssRestoreReq = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation $vault.ReplicatedRegion[0] -RestoreType RestoreAsFiles -RecoveryPoint $recoveryPointsCrr[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -FileNamePrefix $fileNamePrefix +``` + +```output +ObjectType SourceDataStoreType SourceResourceId RecoveryPointId +---------- ------------------- ---------------- --------------- +AzureBackupRecoveryPointBasedRestoreRequest VaultStore d49aeb83264456ccab92a105cade9afe +``` + +First and second commands fetch the vault and backup instance from Azure resource graph. +Third command is used to fetch recovery points from secondary region for cross region restore. +Last command constructs the cross region restore request object for restore as files for datasourcetype AzureDatabaseForPostgreSQL. +Please note that we set RestoreLocation parameter to $vault.ReplicatedRegion[0] (paired region) instead of $vault.Location for normal restore. +Use Test-AzDataProtectionBackupInstanceRestore, Start-AzDataProtectionBackupInstanceRestore commands to validate and trigger restore. + +## PARAMETERS + +### -BackupInstance +Backup Instance object to trigger original localtion restore. +To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResource +Parameter Sets: OriginalLocationFullRecovery, OriginalLocationILR +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ContainersList +Container names for Item Level Recovery. + +```yaml +Type: System.String[] +Parameter Sets: AlternateLocationILR, OriginalLocationILR +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatasourceType +Datasource Type + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FileNamePrefix +File name to be prefixed to the restored backup data. + +```yaml +Type: System.String +Parameter Sets: RestoreAsFiles +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -FromPrefixPattern +Minimum matching value for Item Level Recovery. + +```yaml +Type: System.String[] +Parameter Sets: OriginalLocationILR +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ItemLevelRecovery +Switch parameter to enable item level recovery. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: AlternateLocationILR, OriginalLocationILR +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PointInTime +Point In Time for restore. + +```yaml +Type: System.DateTime +Parameter Sets: AlternateLocationFullRecovery, OriginalLocationFullRecovery, OriginalLocationILR +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RecoveryPoint +Id of the recovery point to be restored. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RehydrationDuration +Rehydration duration for the archived recovery point to stay rehydrated, default value for rehydration duration is 15. + +```yaml +Type: System.String +Parameter Sets: AlternateLocationFullRecovery, OriginalLocationFullRecovery, OriginalLocationILR, RestoreAsFiles +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RehydrationPriority +Rehydration priority for archived recovery point. +This parameter is mandatory for rehydrate restore of archived points. + +```yaml +Type: System.String +Parameter Sets: AlternateLocationFullRecovery, OriginalLocationFullRecovery, OriginalLocationILR, RestoreAsFiles +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestoreConfiguration +Restore configuration for restore. +Use this parameter to restore with AzureKubernetesService. +To construct, see NOTES section for RESTORECONFIGURATION properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteria +Parameter Sets: AlternateLocationFullRecovery, AlternateLocationILR, OriginalLocationFullRecovery, OriginalLocationILR +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestoreLocation +Target Restore Location + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestoreType +Restore Target Type + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetType +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretStoreType +Secret store type for secret store authentication of data source. +This parameter is only supported for AzureDatabaseForPostgreSQL currently. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreTypes +Parameter Sets: AlternateLocationFullRecovery, OriginalLocationFullRecovery, OriginalLocationILR, RestoreAsFiles +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SecretStoreURI +Secret uri for secret store authentication of data source. +This parameter is only supported for AzureDatabaseForPostgreSQL currently. + +```yaml +Type: System.String +Parameter Sets: AlternateLocationFullRecovery, OriginalLocationFullRecovery, OriginalLocationILR, RestoreAsFiles +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceDataStore +DataStore Type of the Recovery point + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreType +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetContainerURI +Target storage account container Id to which backup data will be restored as files. + +```yaml +Type: System.String +Parameter Sets: RestoreAsFiles +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetResourceId +Specify the target resource ID for restoring backup data in an alternate location. +For instance, provide the target database ARM ID that you want to restore to, for workloadType AzureDatabaseForPostgreSQL. + +```yaml +Type: System.String +Parameter Sets: AlternateLocationFullRecovery, AlternateLocationILR +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetResourceIdForRestoreAsFile +Target storage account container ARM Id to which backup data will be restored as files. +This parameter is required for restoring as files to another subscription. + +```yaml +Type: System.String +Parameter Sets: RestoreAsFiles +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ToPrefixPattern +Maximum matching value for Item Level Recovery. + +```yaml +Type: System.String[] +Parameter Sets: OriginalLocationILR +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupConfigurationClientObject.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupConfigurationClientObject.md new file mode 100644 index 000000000000..3741b47a7d9c --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupConfigurationClientObject.md @@ -0,0 +1,274 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupconfigurationclientobject +schema: 2.0.0 +--- + +# New-AzDataProtectionBackupConfigurationClientObject + +## SYNOPSIS +Creates new backup configuration object + +## SYNTAX + +``` +New-AzDataProtectionBackupConfigurationClientObject -DatasourceType + [-BackupHookReference ] [-ExcludedNamespace ] + [-ExcludedResourceType ] [-IncludeAllContainer] [-IncludeClusterScopeResource ] + [-IncludedNamespace ] [-IncludedResourceType ] [-LabelSelector ] + [-SnapshotVolume ] [-StorageAccountName ] [-StorageAccountResourceGroupName ] + [-VaultedBackupContainer ] [] +``` + +## DESCRIPTION +Creates new backup configuration object + +## EXAMPLES + +### Example 1: Create a BackupConfiguration for configuring protection with AzureKubernetesService +```powershell +$backupConfig = New-AzDataProtectionBackupConfigurationClientObject -SnapshotVolume $true -IncludeClusterScopeResource $true -DatasourceType AzureKubernetesService -LabelSelector "key=val","foo=bar" -ExcludedNamespace "excludeNS1","excludeNS2" -BackupHookReference @(@{name='bkphookname';namespace='default'},@{name='bkphookname1';namespace='hrweb'}) +``` + +```output +ObjectType ExcludedNamespace ExcludedResourceType IncludeClusterScopeResource IncludedNamespace IncludedResourceType LabelSelector SnapshotVolume +---------- ----------------- -------------------- --------------------------- ----------------- -------------------- ------------- -------------- +KubernetesClusterBackupDatasourceParameters {excludeNS1, excludeNS2} True {key=val, foo=bar} True +``` + +This command can be used to create a backup configuration client object used for configuring backup for a Kubernetes cluster. +BackupHookReferences is a list of references to BackupHooks that should be executed before and after the backup is executed. + +### Example 2: Create a BackupConfiguration to select specific containers for configuring vaulted backups for AzureBlob. +```powershell +$storageAccount = Get-AzStorageAccount -ResourceGroupName $resourceGroupName -Name $storageAccountName +$containers=Get-AzStorageContainer -Context $storageAccount.Context +$backupConfig = New-AzDataProtectionBackupConfigurationClientObject -DatasourceType AzureBlob -VaultedBackupContainer $containers.Name[1,3,4] +``` + +```output +ObjectType ContainersList +---------- -------------- +BlobBackupDatasourceParameters {conabb, conwxy, conzzz} +``` + +This command can be used to create a backup configuration client object used for configuring backup for vaulted Blob backup containers. + +## PARAMETERS + +### -BackupHookReference +Hook reference to be executed during backup. +To construct, see NOTES section for BACKUPHOOKREFERENCE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResource[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatasourceType +Datasource Type + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedNamespace +List of namespaces to be excluded from backup + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedResourceType +List of resource types to be excluded from backup + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IncludeAllContainer +Switch parameter to include all containers to be backed up inside the VaultStore. +Use this parameter for DatasourceType AzureBlob. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IncludeClusterScopeResource +Boolean parameter to decide whether cluster scope resources are included for backup. +By default this is taken as true. + +```yaml +Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IncludedNamespace +List of namespaces to be included for backup + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IncludedResourceType +List of resource types to be included for backup + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LabelSelector +List of labels for internal filtering for backup + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SnapshotVolume +Boolean parameter to decide whether snapshot volumes are included for backup. +By default this is taken as true. + +```yaml +Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAccountName +Storage account where the Datasource is present. +Use this parameter for DatasourceType AzureBlob. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageAccountResourceGroupName +Storage account resource group name where the Datasource is present. +Use this parameter for DatasourceType AzureBlob. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultedBackupContainer +List of containers to be backed up inside the VaultStore. +Use this parameter for DatasourceType AzureBlob. + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.Management.Automation.PSObject + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupInstance.md new file mode 100644 index 000000000000..50ca2fdf38fc --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupInstance.md @@ -0,0 +1,292 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupinstance +schema: 2.0.0 +--- + +# New-AzDataProtectionBackupInstance + +## SYNOPSIS +Configures Backup for supported azure resources + +## SYNTAX + +``` +New-AzDataProtectionBackupInstance -BackupInstance -ResourceGroupName + -VaultName [-AsJob] [-DefaultProfile ] [-NoWait] [-SubscriptionId ] + [-Tag ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Configures Backup for supported azure resources + +## EXAMPLES + +### Example 1: Configure backup of an azure disk in a backup vault. +```powershell +$sub = "xxxx-xxx-xx" +$DiskId = "/subscriptions/{subscription}/resourceGroups/{resourcegroup}/providers/Microsoft.Compute/disks/{diskname}" +$policy = Get-AzDataProtectionBackupPolicy -SubscriptionId $sub -ResourceGroupName sarath-rg -VaultName sarath-vault -Name "MyPolicy" +$instance = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureDisk -DatasourceLocation $vault.Location -PolicyId $policy.Id -DatasourceId $DiskId +$instance.Property.PolicyInfo.PolicyParameter.DataStoreParametersList[0].ResourceGroupId = "/subscriptions/{subscription}/resourceGroups/{resourceGroup}" +New-AzDataProtectionBackupInstance -SubscriptionId $sub -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstance $instance +``` + +```output +Name Type BackupInstanceName +---- ---- ------------------ +sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e594f166 Microsoft.DataProtection/backupVaults/backupInstances sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e594f166 +``` + +The third command gets the policy with which disk will be backed up. +The fourth command initializes the backup instance request. +The last command configures backup of the given azure disk in the backup vault. + +### Example 2: Configure protection for AzureDatabaseForPostgreSQL database in a backup vault (using secret store authentication). +```powershell +$sub = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" +$dataSourceId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/ResourceGroupName/providers/Microsoft.DBforPostgreSQL/servers/OssServerName/databases/DBName" +$secretURI = "https://oss-keyvault.vault.azure.net/secrets/oss-secret" +$vault = Get-AzDataProtectionBackupVault -SubscriptionId $sub -ResourceGroupName "ResourceGroupName" -VaultName $vaultName +$policy = Get-AzDataProtectionBackupPolicy -SubscriptionId $sub -ResourceGroupName "ResourceGroupName" -VaultName "vaultName" -Name "MyPolicy" +$instance = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureDatabaseForPostgreSQL -DatasourceLocation $vault.Location -PolicyId $policy.Id -DatasourceId $dataSourceId -SecretStoreURI $secretURI -SecretStoreType AzureKeyVault +New-AzDataProtectionBackupInstance -SubscriptionId $sub -ResourceGroupName "ResourceGroupName" -VaultName "vaultName" -BackupInstance $instance +``` + +```output +Name Type BackupInstanceName +---- ---- ------------------ +xyz-postgresql-wus-empdb10-xxxxxxxx-xxxx-xxxx-a3ba-be75108d8b21 Microsoft.DataProtection/backupVaults/backupInstances xyz-postgresql-wus-empdb10-xxxxxxxx-xxxx-xxxx-a3ba-be75108d8b21 +``` + +The third command initializes the secretURI for secret store authentication. + +The fifth command gets the policy with which database will be protected. +The sixth command initializes the backup instance request object. +The last command configures backup of the given $dataSourceId in the backup vault. + +### Example 3: Configure protection for AzureKubernetesService cluster in a backup vault +```powershell +$policy = Get-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -ResourceGroupName "resourceGroupName" | where {$_.Name -eq "policyName"} +$sourceClusterId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.ContainerService/managedClusters/aks-cluster" +$snapshotResourceGroupId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName" +$backupConfig = New-AzDataProtectionBackupConfigurationClientObject -SnapshotVolume $true -IncludeClusterScopeResource $true -DatasourceType AzureKubernetesService -LabelSelector "x=y","foo=bar" +$backupInstance = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureKubernetesService -DatasourceLocation "eastus" -PolicyId $policy.Id -DatasourceId $sourceClusterId -SnapshotResourceGroupId $snapshotResourceGroupId -FriendlyName "aks-cluster-friendlyName" -BackupConfiguration $backupConfig +Set-AzDataProtectionMSIPermission -BackupInstance $backupInstance -VaultResourceGroup "resourceGroupName" -VaultName "vaultName" -PermissionsScope "ResourceGroup" +$tag= @{"Owner"="BIOwnerName";"Foo"="Bar";"A"="B"} +$biCreate = New-AzDataProtectionBackupInstance -ResourceGroupName "ResourceGroupName" -VaultName "vaultName" -BackupInstance $backupInstance -SubscriptionId $sub -Tag $tag +$biCreate +``` + +```output +Name BackupInstanceName +---- ------------------ +aks-cluster-aks-cluster-117bd668-4t5h-4f3a-947c-ea71304cb4d7 aks-cluster-aks-cluster-117bd668-4t5h-4f3a-947c-ea71304cb4d7 +``` + +The First command gets the AzureKubernetesService policy in a given vault. +The second, third command initializes the AKS cluster and snapshot resource group Id. +The fourth command backup configuration object needed for AzureKubernetesService. +The fifth command initializes the client object for backup instance. +The sixth command assigns the necessary permissions for configure backup. + +The sevnth and eight command initializes custom tags and configure backup finally by creating a backup instance. + +### Example 4: Configure protection for AzureBlob with vault policy +```powershell +$vault = Get-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$pol = Get-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -ResourceGroupName "resourceGroupName" | Where { $_.Name -match "vaultedPolicyName" } +$backupConfig = New-AzDataProtectionBackupConfigurationClientObject -DatasourceType AzureBlob -IncludeAllContainer -StorageAccountResourceGroupName "resourceGroupName" -StorageAccountName "storageAcountName" +$backupInstanceClientObject = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureBlob -DatasourceLocation $vault.Location -PolicyId $pol[0].Id -DatasourceId "storageAccId" -BackupConfiguration $backupConfig +Set-AzDataProtectionMSIPermission -VaultResourceGroup "resourceGroupName" -VaultName "vaultName" -BackupInstance $backupInstanceClientObject -PermissionsScope ResourceGroup +$operationResponse = Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -BackupInstance $backupInstanceClientObject.Property -NoWait +$operationId = $operationResponse.Target.Split("/")[-1].Split("?")[0] +While((Get-AzDataProtectionOperationStatus -OperationId $operationId -Location $vault.Location -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx").Status -eq "Inprogress"){ + Start-Sleep -Seconds 10 +} +$backupnstanceCreate = New-AzDataProtectionBackupInstance -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -BackupInstance $backupInstanceClientObject +``` + +```output +Name BackupInstanceName +---- ------------------ +blobeuspstestsa-blobeuspstestsa-64f7399a-b024-4d61-8f16-c424c5fd2564 blobeuspstestsa-blobeuspstestsa-64f7399a-b024-4d61-8f16-c424c5fd2564 +``` + +The first command gets the backup vault. +The second command get the vaultedPolicy. +The third command defines a BackupConfiguration object so as to include all containers for vaulted backup. +Check examples for New-AzDataProtectionBackupConfigurationClientObject cmdlet to see how to select specific containers for backup. +Th fourth command initializes the backup instance. +The fifth command assigns the necessary permissions for configure backup. +The sixth command validates if the backup instance object is valid for configure protection (validate backup). +This command runs in async way using parameter -NoWait. +Next we fetch the operation in a while loop until it succeeds. +The last command is used to configure protection for the backup instance. + +## PARAMETERS + +### -AsJob + + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupInstance +Backup instance request object which will be used to configure backup +To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile + + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait + + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource Group of the backup vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +Subscription Id of the vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +Name of the backup vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupPolicy.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupPolicy.md new file mode 100644 index 000000000000..b84414a57f11 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupPolicy.md @@ -0,0 +1,332 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackuppolicy +schema: 2.0.0 +--- + +# New-AzDataProtectionBackupPolicy + +## SYNOPSIS +Creates a new backup policy in a given backup vault + +## SYNTAX + +``` +New-AzDataProtectionBackupPolicy -Name -Policy -ResourceGroupName + -VaultName [-DefaultProfile ] [-SubscriptionId ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Creates a new backup policy in a given backup vault + +## EXAMPLES + +### Example 1: Create a default policy +```powershell +$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDisk +New-AzDataProtectionBackupPolicy -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Name "MyPolicy" -Policy $defaultPol +``` + +```output +Name Type +---- ---- +MyPolicy Microsoft.DataProtection/backupVaults/backupPolicies +``` + +This command creates a default policy for Azure disk datasource type. + +### Example 2: Create a policy for AzureDatabaseForPostgreSQL, this example covers a sophisticated policy using powerShell +```powershell +$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDatabaseForPostgreSQL +$lifeCycleVault = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Months -SourceRetentionDurationCount 3 -TargetDataStore ArchiveStore -CopyOption CopyOnExpiryOption +$lifeCycleArchive = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore ArchiveStore -SourceRetentionDurationType Months -SourceRetentionDurationCount 6 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Default -LifeCycles $lifeCycleVault, $lifeCycleArchive -IsDefault $true +$schDates = @( +( + (Get-Date -Year 2021 -Month 08 -Day 18 -Hour 10 -Minute 0 -Second 0) +), +( + (Get-Date -Year 2021 -Month 08 -Day 22 -Hour 10 -Minute 0 -Second 0) +)) + +$trigger = New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $schDates -IntervalType Weekly -IntervalCount 1 +Edit-AzDataProtectionPolicyTriggerClientObject -Schedule $trigger -Policy $defaultPol +$lifeCycleVault = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Months -SourceRetentionDurationCount 6 -TargetDataStore ArchiveStore -CopyOption CopyOnExpiryOption +$lifeCycleArchive = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore ArchiveStore -SourceRetentionDurationType Months -SourceRetentionDurationCount 12 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Monthly -LifeCycles $lifeCycleVault, $lifeCycleArchive -IsDefault $false +$tagCriteria = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfMonth +Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Monthly -Criteria $tagCriteria +New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "newOSSPolicy" -Policy $defaultPol +``` + +```output +Name Type +---- ---- +MyPolicy Microsoft.DataProtection/backupVaults/backupPolicies +``` + +The first command gets the default policy template for AzureDatabaseForPostgreSQL. +The second, third commands create two different backup lifecycles for vault and archive store respectively. +The backup stays in vaultstore for 3 Months, and then copies on expiry to the Archive store and stays there till 6 months. +The fourth command updates the policy object with lifecycles created. +The fifth, sixth commands create the custom schedule object for the backup policy, twice weekly starting from $schDates. +The seventh command updates the policy object with custom schedule. +The eighth, ninth, tenth commands update the Monthly retention rule with custom lifecycles. +The eleventh, twelth commands create a tag criteria for Monthly policy. +Tag criteria needs to be added for each custom retention rule (automatically added for default retention rule). +The last command creates the policy. + +### Example 3: Create a policy for AzureKubernetesService +```powershell +$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureKubernetesService +$schDate = @( +( + (Get-Date -Year 2023 -Month 03 -Day 18 -Hour 16 -Minute 0 -Second 0) +)) +$trigger = New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $schDate -IntervalType Daily -IntervalCount 1 +Edit-AzDataProtectionPolicyTriggerClientObject -Schedule $trigger -Policy $defaultPol +$lifeCycleDaily = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Days -SourceRetentionDurationCount 8 +$lifeCycleWeekly = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Weeks -SourceRetentionDurationCount 9 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Daily -LifeCycles $lifeCycleDaily -IsDefault $false +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Weekly -LifeCycles $lifeCycleWeekly -IsDefault $false +$tagCriteriaDaily = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfDay +Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Daily -Criteria $tagCriteriaDaily +$tagCriteriaWeekly = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfWeek +Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Weekly -Criteria $tagCriteriaWeekly +$newPolicy = New-AzDataProtectionBackupPolicy -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "newAKSPolicy" -Policy $defaultPol -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" +``` + +```output +Name Type +---- ---- +newAKSPolicy Microsoft.DataProtection/backupVaults/backupPolicies +``` + +The first command gets the default policy template for AzureKubernetesService. +The second, third commands create the custom schedule object for the backup policy, Daily starting from $schDate. +The fourth command updates the policy object with custom schedule. +The fifth, sixth commands create two backup lifecycles for daily and weekly recovery points. +The seventh, eight commands update the policy object with lifecycles created. +Next we create FirstOfDay, FirstOfWeek tag criteria and update the policy. +The last command creates the policy. + +### Example 4: Create a operational policy for AzureBlob +```powershell +$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureBlob +Edit-AzDataProtectionPolicyTriggerClientObject -Policy $defaultPol -RemoveSchedule +$lifeCycleOperationalTier = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Days -SourceRetentionDurationCount 30 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Default -LifeCycles $lifeCycleOperationalTier -IsDefault $true -OverwriteLifeCycle $true +$opPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "operationalPolicyName" -Policy $defaultPol +``` + +```output +Name Type +---- ---- +operationalPolicyName Microsoft.DataProtection/backupVaults/backupPolicies +``` + +The first command gets the default policy template for AzureBlob. +Policy template is by default vaulted policy. +The second command removes the vaulted policy schedule since we are creating operational policy. +The third command creates a operational store lifecycle for 30 Days. +The fourth command overwrites the vault lifecycle with operational store lifecycle. +The last command creates the operational store policy. + +### Example 4: Create a vaulted policy for AzureBlob +```powershell +$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureBlob +$lifeCycleVaultTierWeekly = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Weeks -SourceRetentionDurationCount 4 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Weekly -LifeCycles $lifeCycleVaultTierWeekly -IsDefault $false +$tagCriteria = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfWeek +Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Weekly -Criteria $tagCriteria +$vaultedPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "vaultedPolicyName" -Policy $defaultPol +``` + +```output +Name Type +---- ---- +vaultedPolicyName Microsoft.DataProtection/backupVaults/backupPolicies +``` + +The first command gets the default vaulted policy template for AzureBlob. +The second command defines a weekly lifecycle in vault store. +The third command updates the defaultPol object with weekly lifecycle. +The third and fourth command defines and updates the defaultPol with weekly tag criteria. +The last command creates the vault store policy. + +### Example 5: Create a operational and vaulted policy for AzureBlob +```powershell +$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureBlob +$lifeCycleOperationalTier = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Days -SourceRetentionDurationCount 30 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Default -LifeCycles $lifeCycleOperationalTier -IsDefault $true -OverwriteLifeCycle $false +$lifeCycleVaultTierWeekly = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Weeks -SourceRetentionDurationCount 7 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Weekly -LifeCycles $lifeCycleVaultTierWeekly -IsDefault $false +$tagCriteria = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfWeek +Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Weekly -Criteria $tagCriteria +$lifeCycleVaultTierMonthly = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Months -SourceRetentionDurationCount 5 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Monthly -LifeCycles $lifeCycleVaultTierMonthly -IsDefault $false +$tagCriteria = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfMonth +Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Monthly -Criteria $tagCriteria +$lifeCycleVaultTierYearly = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Years -SourceRetentionDurationCount 1 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Yearly -LifeCycles $lifeCycleVaultTierYearly -IsDefault $false +$tagCriteria = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfYear +Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Yearly -Criteria $tagCriteria +$scheduleDate = Get-Date +$trigger = New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $scheduleDate -IntervalType Weekly -IntervalCount 1 +Edit-AzDataProtectionPolicyTriggerClientObject -Schedule $trigger -Policy $defaultPol +$defaultPol.PolicyRule[0].Trigger.ScheduleRepeatingTimeInterval[0] = "R/2023-05-09T02:30:00+01:00/P1W" +$timeZone = Get-TimeZone -ListAvailable | Where-Object { $_.Id -match "Europe" } +$defaultPol.PolicyRule[0].Trigger.ScheduleTimeZone = $timeZone[0].Id +$operationalVaultedPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "operationalVaultedPolicyName" -Policy $defaultPol +``` + +```output +Name Type +---- ---- +operationalVaultedPolicyName Microsoft.DataProtection/backupVaults/backupPolicies +``` + +The first command gets the default vaulted policy template for AzureBlob. +The second to fifteenth command defines and updates the Operational, vaulted weekly, monthly, yearly lifecycle and tagcriteria. +Next we define a trigger object with schedule time and timzone, set it to 2:30 AM West Europe standard time. +The last command creates the hybrid AzureBlob policy. + +## PARAMETERS + +### -DefaultProfile + + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Policy Name + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Policy +Policy Request Object +To construct, see NOTES section for POLICY properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource Group Name + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +Subscription Id + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +Vault Name + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupVault.md new file mode 100644 index 000000000000..fcd42b2d0c5a --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupVault.md @@ -0,0 +1,367 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupvault +schema: 2.0.0 +--- + +# New-AzDataProtectionBackupVault + +## SYNOPSIS +Creates or updates a BackupVault resource belonging to a resource group. + +## SYNTAX + +``` +New-AzDataProtectionBackupVault -Location -ResourceGroupName + -StorageSetting -VaultName [-AsJob] + [-AzureMonitorAlertsForAllJobFailure ] [-CrossRegionRestoreState ] + [-CrossSubscriptionRestoreState ] [-DefaultProfile ] + [-ETag ] [-IdentityType ] [-ImmutabilityState ] [-NoWait] + [-SoftDeleteRetentionDurationInDay ] [-SoftDeleteState ] [-SubscriptionId ] + [-Tag ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates or updates a BackupVault resource belonging to a resource group. + +## EXAMPLES + +### Example 1: Create a new backup vault +```powershell +$sub = "xxxx-xxxx-xxxxx" +$storagesetting = New-AzDataProtectionBackupVaultStorageSettingObject -DataStoreType VaultStore -Type LocallyRedundant +New-AzDataProtectionBackupVault -SubscriptionId $sub -ResourceGroupName sarath-rg -VaultName "MyVault" -StorageSetting $storagesetting -Location westus +``` + +```output +ETag IdentityPrincipalId IdentityTenantId IdentityType Location Name Type +---- ------------------- ---------------- ------------ -------- ---- ---- + westus MyVault Microsoft.DataProtection/backupVaults +``` + +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. + +## PARAMETERS + +### -AsJob + + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AzureMonitorAlertsForAllJobFailure +Parameter to Enable or Disable built-in azure monitor alerts for job failures. +Security alerts cannot be disabled. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CrossRegionRestoreState +Cross region restore state of the vault. +Allowed values are Disabled, Enabled. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CrossSubscriptionRestoreState +Cross subscription restore state of the vault. +Allowed values are Disabled, Enabled, PermanentlyDisabled. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile + + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ETag +Optional ETag. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityType +The identityType which can be either SystemAssigned or None. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ImmutabilityState +Immutability state of the vault. +Allowed values are Disabled, Unlocked, Locked. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +Resource location. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait + + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource Group Name of the backup vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SoftDeleteRetentionDurationInDay +Soft delete retention duration in days + +```yaml +Type: System.Double +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SoftDeleteState +Soft delete state of the vault. +Allowed values are Off, On, AlwaysOn + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StorageSetting +Storage Settings of the vault. +Use New-AzDataProtectionBackupVaultStorageSetting Cmdlet to Create. +To construct, see NOTES section for STORAGESETTING properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +Subscription Id of the vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +Name of the backup vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.Management.Automation.PSObject + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupVaultStorageSettingObject.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupVaultStorageSettingObject.md new file mode 100644 index 000000000000..0f7a128b140b --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionBackupVaultStorageSettingObject.md @@ -0,0 +1,82 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupvaultstoragesettingobject +schema: 2.0.0 +--- + +# New-AzDataProtectionBackupVaultStorageSettingObject + +## SYNOPSIS +Get Backup Vault storage setting object + +## SYNTAX + +``` +New-AzDataProtectionBackupVaultStorageSettingObject -DataStoreType -Type + [] +``` + +## DESCRIPTION +Get Backup Vault storage setting object + +## EXAMPLES + +### Example 1: Create a new vault storage setting object +```powershell +New-AzDataProtectionBackupVaultStorageSettingObject -Type GeoRedundant -DataStoreType VaultStore +``` + +```output +DatastoreType Type +------------- ---- +VaultStore GeoRedundant +``` + +This command creates a new vault storage setting object which is used to create a backup vault. + +## PARAMETERS + +### -DataStoreType +DataStore Type of the vault + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreType +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Type +Storage Type of the vault + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingType +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.Management.Automation.PSObject + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md new file mode 100644 index 000000000000..730d14726a78 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md @@ -0,0 +1,169 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionpolicytagcriteriaclientobject +schema: 2.0.0 +--- + +# New-AzDataProtectionPolicyTagCriteriaClientObject + +## SYNOPSIS +Creates a new criteria object + +## SYNTAX + +### ScheduleCriteria (Default) +``` +New-AzDataProtectionPolicyTagCriteriaClientObject [-DaysOfWeek ] + [-MonthsOfYear ] [-ScheduleTimes ] [-WeeksOfMonth ] + [] +``` + +### AbsoluteCriteria +``` +New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria [] +``` + +### MonthlyCriteria +``` +New-AzDataProtectionPolicyTagCriteriaClientObject -DaysOfMonth [-MonthsOfYear ] + [-ScheduleTimes ] [] +``` + +## DESCRIPTION +Creates a new criteria object + +## EXAMPLES + +### Example 1: Create a tag with absolute criteria +```powershell +New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfDay +``` + +```output +ObjectType AbsoluteCriterion DaysOfTheWeek MonthsOfYear ScheduleTime WeeksOfTheMonth +---------- ----------------- ------------- ------------ ------------ --------------- +ScheduleBasedBackupCriteria {FirstOfDay} +``` + +This command creates a criteria object with absolute criteria. + +### Example 2: create a tag with weekly criteria +```powershell +New-AzDataProtectionPolicyTagCriteriaClientObject -DaysOfWeek @("Sunday", "Monday") +``` + +```output +ObjectType AbsoluteCriterion DaysOfTheWeek MonthsOfYear ScheduleTime WeeksOfTheMonth +---------- ----------------- ------------- ------------ ------------ --------------- +ScheduleBasedBackupCriteria {Sunday, Monday} +``` + +This command creates a critetia object with weekly criteria + +## PARAMETERS + +### -AbsoluteCriteria +Absolute criteria + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteTagCriteria +Parameter Sets: AbsoluteCriteria +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DaysOfMonth +Days of the month. +Allowed values are 1 to 28 and Last + +```yaml +Type: System.String[] +Parameter Sets: MonthlyCriteria +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DaysOfWeek +Days of the week + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DaysOfWeek[] +Parameter Sets: ScheduleCriteria +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -MonthsOfYear +Months of the year. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.MonthsOfYear[] +Parameter Sets: MonthlyCriteria, ScheduleCriteria +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScheduleTimes +Schedule times. + +```yaml +Type: System.DateTime[] +Parameter Sets: MonthlyCriteria, ScheduleCriteria +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WeeksOfMonth +Weeks of the month. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeeksOfMonth[] +Parameter Sets: ScheduleCriteria +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionPolicyTriggerScheduleClientObject.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionPolicyTriggerScheduleClientObject.md new file mode 100644 index 000000000000..f262d7f47d52 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionPolicyTriggerScheduleClientObject.md @@ -0,0 +1,108 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionpolicytriggerscheduleclientobject +schema: 2.0.0 +--- + +# New-AzDataProtectionPolicyTriggerScheduleClientObject + +## SYNOPSIS +Creates new Schedule object + +## SYNTAX + +``` +New-AzDataProtectionPolicyTriggerScheduleClientObject -IntervalCount -IntervalType + -ScheduleDays [] +``` + +## DESCRIPTION +Creates new Schedule object + +## EXAMPLES + +### Example 1: Create a daily schedule object +```powershell +$date = Get-Date +New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $date -IntervalType Daily -IntervalCount 1 +``` + +```output +R/2021-03-03T12:49:55+05:30/P1D +``` + +This command creates a daily schedule for Azure Backup Rule + +### Example 2: Create an hourly schedule object +```powershell +$date = Get-Date +New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $date -IntervalType Hourly -IntervalCount 4 +``` + +```output +R/2021-03-03T12:49:55+05:30/PT4H +``` + +This command creates an hourly scheudle for Azure Backup Rule. + +## PARAMETERS + +### -IntervalCount +Frequency of the backup. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IntervalType +Freuquency of the backup. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BackupFrequency +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ScheduleDays +Days with which backup will be scheduled. + +```yaml +Type: System.DateTime[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.String[] + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionResourceGuard.md new file mode 100644 index 000000000000..01d8c1b10872 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionResourceGuard.md @@ -0,0 +1,204 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionresourceguard +schema: 2.0.0 +--- + +# New-AzDataProtectionResourceGuard + +## SYNOPSIS +Creates a resource guard under a resource group + +## SYNTAX + +``` +New-AzDataProtectionResourceGuard -Location -Name -ResourceGroupName + [-DefaultProfile ] [-ETag ] [-IdentityType ] [-SubscriptionId ] + [-Tag ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Creates a resource guard under a resource group + +## EXAMPLES + +### Example 1: Create a new resource guard +```powershell +New-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "mua-rg" -Name "mua-resource-guard" -Location "centraluseuap" +``` + +```output +ETag Id IdentityPrincipalId IdentityTenantId IdentityType Location Name +---- -- ------------------- ---------------- ------------ -------- ---- + /subscriptions/xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/mua-rg/providers/Microsoft.DataProtection/resourceGuards/mua-resource-guard centraluseuap mua-resource-guard +``` + +The above command is used to create a resource guard "mua-resource-guard" under resource group "mua-rg" in location "centraluseuap" + +## PARAMETERS + +### -DefaultProfile + + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ETag +Optional ETag + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityType +This parameter is no longer in use and will be depricated + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Location +Location of the resource guard + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the resource guard + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource Group name of the resource guard + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +Subscription Id of the resource guard + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionRestoreConfigurationClientObject.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionRestoreConfigurationClientObject.md new file mode 100644 index 000000000000..17f98f611e4f --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionRestoreConfigurationClientObject.md @@ -0,0 +1,229 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionrestoreconfigurationclientobject +schema: 2.0.0 +--- + +# New-AzDataProtectionRestoreConfigurationClientObject + +## SYNOPSIS +Creates new restore configuration object + +## SYNTAX + +``` +New-AzDataProtectionRestoreConfigurationClientObject -DatasourceType + [-ConflictPolicy ] [-ExcludedNamespace ] [-ExcludedResourceType ] + [-IncludeClusterScopeResource ] [-IncludedNamespace ] [-IncludedResourceType ] + [-LabelSelector ] [-NamespaceMapping ] + [-PersistentVolumeRestoreMode ] [-RestoreHookReference ] + [] +``` + +## DESCRIPTION +Creates new restore configuration object + +## EXAMPLES + +### Example 1: Create a RestoreConfiguration for restoring with AzureKubernetesService +```powershell +$restoreConfig = New-AzDataProtectionRestoreConfigurationClientObject -DatasourceType AzureKubernetesService -PersistentVolumeRestoreMode RestoreWithVolumeData -IncludeClusterScopeResource $true -NamespaceMapping @{"sourcenamespace1"="targetnamespace1";"sourcenamespace2"="targetnamespace2"} -ExcludedNamespace "excludeNS1","excludeNS2" -RestoreHookReference @(@{name='restorehookname';namespace='default'},@{name='restorehookname1';namespace='hrweb'}) +``` + +```output +ObjectType ConflictPolicy ExcludedNamespace ExcludedResourceType IncludeClusterScopeResource IncludedNamespace IncludedResourceType LabelSelector PersistentVolumeRestoreMode +---------- -------------- ----------------- -------------------- --------------------------- ----------------- -------------------- ------------- --------------------------- +KubernetesClusterRestoreCriteria Skip {excludeNS1, excludeNS2} True RestoreWithVolumeData +``` + +This command can be used to create a restore configuration client object used for Kubernetes cluster restore. +RestoreHookReferences is a list of references to RestoreHooks that should be executed during restore. + +## PARAMETERS + +### -ConflictPolicy +Conflict policy for restore. +Allowed values are Skip, Patch. +Default value is Skip + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DatasourceType +Datasource Type + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedNamespace +List of namespaces to be excluded for restore + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ExcludedResourceType +List of resource types to be excluded for restore + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IncludeClusterScopeResource +Boolean parameter to decide whether cluster scope resources are included for restore. +By default this is taken as true. + +```yaml +Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IncludedNamespace +List of namespaces to be included for restore + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IncludedResourceType +List of resource types to be included for restore + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LabelSelector +List of labels for internal filtering for restore + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NamespaceMapping +Namespaces mapping from source namespaces to target namespaces to resolve namespace naming conflicts in the target cluster. +To construct, see NOTES section for NAMESPACEMAPPING properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteriaNamespaceMappings +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PersistentVolumeRestoreMode +Restore mode for persistent volumes. +Allowed values are RestoreWithVolumeData, RestoreWithoutVolumeData. +Default value is RestoreWithVolumeData + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestoreHookReference +Hook reference to be executed during restore. +To construct, see NOTES section for RESTOREHOOKREFERENCE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResource[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.Management.Automation.PSObject + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionRetentionLifeCycleClientObject.md b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionRetentionLifeCycleClientObject.md new file mode 100644 index 000000000000..b4af8aaeb390 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/New-AzDataProtectionRetentionLifeCycleClientObject.md @@ -0,0 +1,145 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionretentionlifecycleclientobject +schema: 2.0.0 +--- + +# New-AzDataProtectionRetentionLifeCycleClientObject + +## SYNOPSIS +Creates new Lifecycle object + +## SYNTAX + +``` +New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore + -SourceRetentionDurationCount -SourceRetentionDurationType [-CopyOption ] + [-TargetDataStore ] [] +``` + +## DESCRIPTION +Creates new Lifecycle object + +## EXAMPLES + +### Example 1: Create a daily retention lifecycle +```powershell +New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Days -SourceRetentionDurationCount 30 +``` + +```output +DeleteAfterDuration : P30D +DeleteAfterObjectType : AbsoluteDeleteOption +SourceDataStoreObjectType : DataStoreInfoBase +SourceDataStoreType : OperationalStore +TargetDataStoreCopySetting : +``` + +This command creates a lifecycle object which stores the backup data in operational store for 30 days. + +### Example 2: Create a weekly retention lifecycle. +```powershell +New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Weeks -SourceRetentionDurationCount 20 +``` + +```output +DeleteAfterDuration : P20W +DeleteAfterObjectType : AbsoluteDeleteOption +SourceDataStoreObjectType : DataStoreInfoBase +SourceDataStoreType : OperationalStore +TargetDataStoreCopySetting : +``` + +This command creates a lifecycle object which stores the backup data in operational store for 20 weeks. + +## PARAMETERS + +### -CopyOption +CopyOption + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CopyOption +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceDataStore +Source Datastore + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreType +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceRetentionDurationCount +Retention Duration Count + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceRetentionDurationType +Retention Duration Type + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DurationType +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -TargetDataStore +Target Datastore + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreType +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/README.md b/src/DataProtection/DataProtection.Autorest/help/README.md new file mode 100644 index 000000000000..81cd111b06ba --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/README.md @@ -0,0 +1,11 @@ +# Docs +This directory contains the documentation of the cmdlets for the `Az.DataProtection` module. To run documentation generation, use the `generate-help.ps1` script at the root module folder. Files in this folder will *always be overridden on regeneration*. To update documentation examples, please use the `..\examples` folder. + +## Info +- Modifiable: no +- Generated: all +- Committed: yes +- Packaged: yes + +## Details +The process of documentation generation loads `Az.DataProtection` and analyzes the exported cmdlets from the module. It recognizes the [help comments](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) that are generated into the scripts in the `..\exports` folder. Additionally, when writing custom cmdlets in the `..\custom` folder, you can use the help comments syntax, which decorate the exported scripts at build-time. The documentation examples are taken from the `..\examples` folder. \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionBackupInstance.md new file mode 100644 index 000000000000..61119148aa6a --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionBackupInstance.md @@ -0,0 +1,227 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/remove-azdataprotectionbackupinstance +schema: 2.0.0 +--- + +# Remove-AzDataProtectionBackupInstance + +## SYNOPSIS +Delete a backupInstances + +## SYNTAX + +### Delete (Default) +``` +Remove-AzDataProtectionBackupInstance -Name -ResourceGroupName -VaultName + [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] + [] +``` + +### DeleteViaIdentity +``` +Remove-AzDataProtectionBackupInstance -InputObject [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Delete a backupInstances + +## EXAMPLES + +### Example 1: Delete a protected backup instance +```powershell +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "MyResourceGroup" -VaultName "MyVault" +Remove-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "MyResourceGroup" -VaultName "MyVault" -Name $instance[0].name +``` + +This command stops backup and deletes backup data of a given protected backup instance. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of the backup instance. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: BackupInstanceName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionBackupPolicy.md b/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionBackupPolicy.md new file mode 100644 index 000000000000..084e4d8ba473 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionBackupPolicy.md @@ -0,0 +1,196 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/remove-azdataprotectionbackuppolicy +schema: 2.0.0 +--- + +# Remove-AzDataProtectionBackupPolicy + +## SYNOPSIS +Deletes a backup policy belonging to a backup vault + +## SYNTAX + +### Delete (Default) +``` +Remove-AzDataProtectionBackupPolicy -Name -ResourceGroupName -VaultName + [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzDataProtectionBackupPolicy -InputObject [-DefaultProfile ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a backup policy belonging to a backup vault + +## EXAMPLES + +### Example 1: Delete an existing policy +```powershell +$policy = Get-AzDataProtectionBackupPolicy -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "MyResourceGroup" -VaultName "MyVault" +Remove-AzDataProtectionBackupPolicy -Name $policy[0].name -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "MyResourceGroup" -VaultName "MyVault" +``` + +this command deletes an existing policy. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: BackupPolicyName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionBackupVault.md new file mode 100644 index 000000000000..bfa72e80eda8 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionBackupVault.md @@ -0,0 +1,210 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/remove-azdataprotectionbackupvault +schema: 2.0.0 +--- + +# Remove-AzDataProtectionBackupVault + +## SYNOPSIS +Deletes a BackupVault resource from the resource group. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzDataProtectionBackupVault -ResourceGroupName -VaultName [-SubscriptionId ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzDataProtectionBackupVault -InputObject [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a BackupVault resource from the resource group. + +## EXAMPLES + +### Example 1: Delete a backup vault. +```powershell +Remove-AzDataProtectionBackupVault -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "MyResourceGroup" -VaultName "MyVault" +``` + +This command deletes an existing vault. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionResourceGuard.md new file mode 100644 index 000000000000..e3e61f74da66 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionResourceGuard.md @@ -0,0 +1,180 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/remove-azdataprotectionresourceguard +schema: 2.0.0 +--- + +# Remove-AzDataProtectionResourceGuard + +## SYNOPSIS +Deletes a ResourceGuard resource from the resource group. + +## SYNTAX + +### Delete (Default) +``` +Remove-AzDataProtectionResourceGuard -Name -ResourceGroupName [-SubscriptionId ] + [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzDataProtectionResourceGuard -InputObject [-DefaultProfile ] + [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes a ResourceGuard resource from the resource group. + +## EXAMPLES + +### Example 1: Delete a resource guard +```powershell +Remove-AzDataProtectionResourceGuard -Name "ResourceGuardName" -ResourceGroupName "ResourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" +``` + +This command is used to delete the resource guard under a resource group. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -Name +The name of ResourceGuard + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionResourceGuardMapping.md b/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionResourceGuardMapping.md new file mode 100644 index 000000000000..9e289ec86556 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Remove-AzDataProtectionResourceGuardMapping.md @@ -0,0 +1,191 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/remove-azdataprotectionresourceguardmapping +schema: 2.0.0 +--- + +# Remove-AzDataProtectionResourceGuardMapping + +## SYNOPSIS +Deletes the ResourceGuardProxy + +## SYNTAX + +### Delete (Default) +``` +Remove-AzDataProtectionResourceGuardMapping -ResourceGroupName -VaultName + [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +### DeleteViaIdentity +``` +Remove-AzDataProtectionResourceGuardMapping -InputObject + [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Deletes the ResourceGuardProxy + +## EXAMPLES + +### Example 1: Disable MUA on backup vault (remove resource guard mapping) +```powershell +$token = (Get-AzAccessToken -TenantId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx").Token +$proxy = Get-AzDataProtectionResourceGuardMapping -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subscriptionId +$unlock = Unlock-AzDataProtectionResourceGuardOperation -ResourceGroupName $resourceGroupName -SubscriptionId $subscriptionId -VaultName $vaultName -ResourceGuardOperationRequest DisableMUA -ResourceToBeDeleted $proxy.Id -Token $token +Remove-AzDataProtectionResourceGuardMapping -ResourceGroupName $resourceGroupName -SubscriptionId $subscriptionId -VaultName $vaultName +``` + +The first command fetch the access token for cross tenant resource guard. +pass the access token for cross tenant scenario for authorizing critical operation. + +The second command fetches the resource guard mapping which need to be deleted to disable MUA. + +The third command unlocks the critical operation to disable the MUA. + +The fourth command removes the mapping between resource guard and backup vault. +To understand more on the unlock-azdataprotectionresourceguardoperation command, check https://learn.microsoft.com/powershell/module/az.dataprotection/unlock-azdataprotectionresourceguardoperation + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: DeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: Delete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Resume-AzDataProtectionBackupInstanceProtection.md b/src/DataProtection/DataProtection.Autorest/help/Resume-AzDataProtectionBackupInstanceProtection.md new file mode 100644 index 000000000000..2f366f1b4c1d --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Resume-AzDataProtectionBackupInstanceProtection.md @@ -0,0 +1,226 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/resume-azdataprotectionbackupinstanceprotection +schema: 2.0.0 +--- + +# Resume-AzDataProtectionBackupInstanceProtection + +## SYNOPSIS +This operation will resume protection for a stopped backup instance + +## SYNTAX + +### Resume (Default) +``` +Resume-AzDataProtectionBackupInstanceProtection -BackupInstanceName -ResourceGroupName + -VaultName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +### ResumeViaIdentity +``` +Resume-AzDataProtectionBackupInstanceProtection -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This operation will resume protection for a stopped backup instance + +## EXAMPLES + +### Example 1: Resume protection for a backup instance for which the protection state is ProtectionStopped +```powershell +Resume-AzDataProtectionBackupInstanceProtection -BackupInstanceName $backupInstance.BackupInstanceName -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" +``` + +The above command can be used to resume protection for a stopped or suspended backup instance + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupInstanceName +The name of the backup instance. + +```yaml +Type: System.String +Parameter Sets: Resume +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: ResumeViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Resume +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Resume +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: Resume +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Search-AzDataProtectionBackupInstanceInAzGraph.md b/src/DataProtection/DataProtection.Autorest/help/Search-AzDataProtectionBackupInstanceInAzGraph.md new file mode 100644 index 000000000000..46bde0e6db51 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Search-AzDataProtectionBackupInstanceInAzGraph.md @@ -0,0 +1,180 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/search-azdataprotectionbackupinstanceinazgraph +schema: 2.0.0 +--- + +# Search-AzDataProtectionBackupInstanceInAzGraph + +## SYNOPSIS +Searches for Backup instances in Azure Resource Graph and retrieves the expected entries + +## SYNTAX + +``` +Search-AzDataProtectionBackupInstanceInAzGraph -DatasourceType -Subscription + [-DefaultProfile ] [-ProtectionStatus ] [-ResourceGroup ] + [-Vault ] [] +``` + +## DESCRIPTION +Searches for Backup instances in Azure Resource Graph and retrieves the expected entries + +## EXAMPLES + +### Example 1: Get all protected azure disk backup instance in a given subscription +```powershell +Search-AzDataProtectionBackupInstanceInAzGraph -Subscription "xxxx-xxx-xxx" -DatasourceType AzureDisk +``` + +```output +Name Type +---- ---- +ContosoDemoVM_DataDisk_0-ContosoDemoVM_DataDisk_0-5f7b2a1f-f1ab-4abe-aadf-e7dc48238157 microsoft.dataprotection/backupvaults/backupinstance +ContosoDemoVM_OsDisk_1_84b542ec38a447cea-ContosoDemoVM_OsDisk_1_84b542ec38a447cea-9bdcbd90-3555-4651-93b8-8265e1b5c07a microsoft.dataprotection/backupvaults/backupinstance +DataDisk1-DataDisk1-0c71e6bf-9289-483c-8e27-aa6c0df60078 microsoft.dataprotection/backupvaults/backupinstance +rraj-StandardHDD-rraj-StandardHDD-85d0a3f4-7fa8-46c7-bf83-0dee27eac08e microsoft.dataprotection/backupvaults/backupinstance +sakaarhotfixtest_disk1_86d713f7b80e493b9-sakaarhotfixtest_disk1_86d713f7b80e493b9-be214c89-c07d-41f0-8362-b78d58d5506f microsoft.dataprotection/backupvaults/backupinstance +pracdisk-pracdisk-643fac7d-0816-4056-8908-d0ef8b63b047 microsoft.dataprotection/backupvaults/backupinstance +test1-test1-59f95871-de81-4051-95e7-ee6c4e5b30e0 microsoft.dataprotection/backupvaults/backupinstance +anubhwus-test-anubhwus-test-5fe6ce14-fbd2-4641-80d0-f8f8b254601d microsoft.dataprotection/backupvaults/backupinstance +``` + +This command gets all protected azure disk backup instance in a given subscription + +### Example 2: Get all protected azure disk backup instance in a given resource group list +```powershell +Search-AzDataProtectionBackupInstanceInAzGraph -Subscription "xxxx-xxx-xxx" -DatasourceType AzureDisk -ResourceGroup @("sarath-rg", "sarath-rg2") +``` + +```output +Name Type BackupInstanceName +---- ---- ------------------ +sarath-disk3-sarath-disk3-dbb8c2d0-bdbf-448c-9664-ea74df26d4a8 microsoft.dataprotection/backupvaults/backupinstances sarath-disk3-sarath-disk3-dbb8c2d0-bdbf-448c-9664-ea7 +sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e594f166 microsoft.dataprotection/backupvaults/backupinstances sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e59 +sarathdisk2-sarathdisk2-b0bf31ab-c9c5-407f-98a2-3ad6bad4305a microsoft.dataprotection/backupvaults/backupinstances sarathdisk2-sarathdisk2-b0bf31ab-c9c5-407f-98a2-3ad6b +``` + +This commands gets all protected azure disk backup instance in a given set of resource groups + +### Example 3: Get all protected azure disk backup instance in a given resource group list with protection state 'ProtectionConfigured' +```powershell +Search-AzDataProtectionBackupInstanceInAzGraph -Subscription "xxxx-xxx-xxx" -DatasourceType AzureDisk -ResourceGroup @("sarath-rg", "sarath-rg2") -ProtectionStatus ProtectionConfigured +``` + +```output +Name Type BackupInstanceName +---- ---- ------------------ +sarath-disk3-sarath-disk3-dbb8c2d0-bdbf-448c-9664-ea74df26d4a8 microsoft.dataprotection/backupvaults/backupinstances sarath-disk3-sarath-disk3-dbb8c2d0-bdbf-448c-9664-ea7 +sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e594f166 microsoft.dataprotection/backupvaults/backupinstances sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e59 +sarathdisk2-sarathdisk2-b0bf31ab-c9c5-407f-98a2-3ad6bad4305a microsoft.dataprotection/backupvaults/backupinstances sarathdisk2-sarathdisk2-b0bf31ab-c9c5-407f-98a2-3ad6b +``` + +This commands gets all protected azure disk backup instance in a given set of resource groups with protection status as ProtectionConfigured + +## PARAMETERS + +### -DatasourceType +Datasource Type + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile + + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProtectionStatus +Protection Status of the item + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProtectionStatus[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroup +Resource Group of Vault + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Subscription +Subscription of Vault + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Vault +Name of the vault + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.Management.Automation.PSObject + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Search-AzDataProtectionBackupVaultInAzGraph.md b/src/DataProtection/DataProtection.Autorest/help/Search-AzDataProtectionBackupVaultInAzGraph.md new file mode 100644 index 000000000000..3aa96cec377c --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Search-AzDataProtectionBackupVaultInAzGraph.md @@ -0,0 +1,112 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/search-azdataprotectionbackupvaultinazgraph +schema: 2.0.0 +--- + +# Search-AzDataProtectionBackupVaultInAzGraph + +## SYNOPSIS +Searches for Backup vaults in Azure Resource Graph and retrieves the expected entries + +## SYNTAX + +``` +Search-AzDataProtectionBackupVaultInAzGraph -Subscription [-DefaultProfile ] + [-ResourceGroup ] [-Vault ] [] +``` + +## DESCRIPTION +Searches for Backup vaults in Azure Resource Graph and retrieves the expected entries + +## EXAMPLES + +### Example 1: Get a specific vault with its name. +```powershell +Search-AzDataProtectionBackupVaultInAzGraph -Subscription "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroup $resourceGroupName -Vault $vaultName +``` + +```output +ETag IdentityPrincipalId IdentityTenantId IdentityType Location Name Type +---- ------------------- ---------------- ------------ -------- ---- ---- + xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx SystemAssigned centraluseuap sarath-vault Microsoft.DataProtection/backupVaults +``` + +This command gets a specific vault by given vault name from ARG (Azure Resource Graph). + +## PARAMETERS + +### -DefaultProfile + + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroup +Resource Group of Vault + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Subscription +Subscription of Vault + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Vault +Name of the vault + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.Management.Automation.PSObject + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Search-AzDataProtectionJobInAzGraph.md b/src/DataProtection/DataProtection.Autorest/help/Search-AzDataProtectionJobInAzGraph.md new file mode 100644 index 000000000000..77df70b38b62 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Search-AzDataProtectionJobInAzGraph.md @@ -0,0 +1,207 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/search-azdataprotectionjobinazgraph +schema: 2.0.0 +--- + +# Search-AzDataProtectionJobInAzGraph + +## SYNOPSIS +Searches for Backup Jobs in Azure Resource Graph and retrieves the expected entries + +## SYNTAX + +``` +Search-AzDataProtectionJobInAzGraph -DatasourceType -Subscription + [-DefaultProfile ] [-EndTime ] [-Operation ] [-ResourceGroup ] + [-StartTime ] [-Status ] [-Vault ] [] +``` + +## DESCRIPTION +Searches for Backup Jobs in Azure Resource Graph and retrieves the expected entries + +## EXAMPLES + +### Example 1: Get all jobs in a certain time range +```powershell +$endtime = Get-Date +$starttime = $endtime.AddHours(-5) +Search-AzDataProtectionJobInAzGraph -Subscription "xxx-xxx-xxx" -ResourceGroup sarath-rg -Vault sarath-vault -DatasourceType AzureDisk -StartTime $starttime -EndTime $endtime +``` + +```output +Name Type +---- ---- +1c1d56c2-b21a-4038-ba46-3c1a0089e66a microsoft.dataprotection/backupvaults/backupjobs +79f2804d-a39d-487e-91b5-f2eceffcbb7a microsoft.dataprotection/backupvaults/backupjobs +96238abd-6ff3-48e0-8c07-0eabd6928a17 microsoft.dataprotection/backupvaults/backupjobs +``` + +This command gets all jobs in a vault in last 5 hours. + +### Example 2: Get all jobs of a certain operation type +```powershell +Search-AzDataProtectionJobInAzGraph -Subscription "xxxx-xxx-xxx" -ResourceGroup sarath-rg -Vault sarath-vault -DatasourceType AzureDisk -Operation OnDemandBackup +``` + +```output +Name Type +---- ---- +11bc277d-9448-446a-9e79-4721858524d6 microsoft.dataprotection/backupvaults/backupjobs +16d7b56a-e169-41d1-aa10-cafcc19c8e12 microsoft.dataprotection/backupvaults/backupjobs +1b0b17e3-398f-4265-9d03-ffc1e21fa73a microsoft.dataprotection/backupvaults/backupjobs +``` + +This command gets all ondemand backup jobs in a vault. + +## PARAMETERS + +### -DatasourceType +Datasource Type + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile + + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndTime +End Time filter for the Backup Job + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Operation +Operation filter for the backup job + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.JobOperation[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroup +Resource Group of Vault + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartTime +Start Time filter for the backup Job + +```yaml +Type: System.DateTime +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Status +Status filter for the backup job + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.JobStatus[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Subscription +Subscription of Vault + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Vault +Name of the vault + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.Management.Automation.PSObject + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Set-AzDataProtectionMSIPermission.md b/src/DataProtection/DataProtection.Autorest/help/Set-AzDataProtectionMSIPermission.md new file mode 100644 index 000000000000..2af8f7b57759 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Set-AzDataProtectionMSIPermission.md @@ -0,0 +1,255 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/set-azdataprotectionmsipermission +schema: 2.0.0 +--- + +# Set-AzDataProtectionMSIPermission + +## SYNOPSIS +Grants required permissions to the backup vault and other resources for configure backup and restore scenarios + +## SYNTAX + +### SetPermissionsForBackup (Default) +``` +Set-AzDataProtectionMSIPermission -BackupInstance -PermissionsScope + -VaultName -VaultResourceGroup [-KeyVaultId ] [-Confirm] [-WhatIf] + [] +``` + +### SetPermissionsForRestore +``` +Set-AzDataProtectionMSIPermission -PermissionsScope -RestoreRequest + -SnapshotResourceGroupId -VaultName -VaultResourceGroup [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Grants required permissions to the backup vault and other resources for configure backup and restore scenarios + +## EXAMPLES + +### Example 1: Grant Permissions for Azure Disks +```powershell +Set-AzDataProtectionMSIPermission -BackupInstance $instance -VaultResourceGroup "VaultRG" -VaultName "Vaultname" -PermissionsScope "ResourceGroup" + +``` + +```output +Assigning Disk Backup Reader permission to the backup vault +Assigned Disk Backup Reader permission to the backup vault +Assigning Disk Snapshot Contributor permission to the backup vault +Assigned Disk Snapshot Contributor permission to the backup vault +Waiting for 60 seconds for roles to propagate +``` + +The above command is used to assign permissions to the backup vault "Vaultname" under resource group "VaultRG" at the "Resource Group" scope of the disk. + +### Example 2: Grant Permissions for Azure Blobs +```powershell +Set-AzDataProtectionMSIPermission -BackupInstance $instance -VaultResourceGroup "VaultRG" -VaultName "Vaultname" -PermissionsScope "Subscription" +``` + +```output +Assigning Storage Account Backup Contributor permission to the backup vault +Assigned Storage Account Backup Contributor permission to the backup vault +Waiting for 60 seconds for roles to propagate +``` + +The above command is used to assign permissions to the backup vault "Vaultname" under resource group "VaultRG" at the "Subscription" scope of the blob. + +### Example 3: Grant Permissions for Azure Database For PostgreSQL +```powershell +Set-AzDataProtectionMSIPermission -KeyVaultId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/Sqlrg/providers/Microsoft.KeyVault/vaults/testkeyvault" -BackupInstance $instance -VaultResourceGroup "VaultRG" -VaultName "Vaultname" -PermissionsScope "Resource" + +``` + +```output +Confirm +Are you sure you want to perform this action? +Performing the operation " + 1.'Allow All Azure services' under network connectivity in the Postgres Server + 2.'Allow Trusted Azure services' under network connectivity in the Key vault" on target "KeyVault: oss-pstest-keyvault and PostgreSQLServer: oss-pstest-server". +[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): A +Assigning Reader permission to the backup vault +Assigned Reader permission to the backup vault +Waiting for 60 seconds for roles to propagate +``` + +The above command is used to assign permissions to the backup vault "Vaultname" under resource group "VaultRG" at the "Resource" scope of the Azure Database For PostgreSQL. +It takes an additional KeyVaultId parameter to assign the necessary permissions to the backup vault on the keyvault. + +### Example 4: Grant missing permissions to configure backup for AzureKubernetesService +```powershell +Set-AzDataProtectionMSIPermission -BackupInstance $backupInstance -VaultResourceGroup "resourceGroupName" -VaultName "vaultName" -PermissionsScope "ResourceGroup" +``` + +```output +Confirm +Are you sure you want to perform this action? +Performing the operation "Allow Contributor permission over snapshot resource group" on target +"/subscriptions/xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.ContainerService/managedClusters/aks-cluster". +[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): Y +Assigned Contributor permission to DataSource with Id /subscriptions/xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.ContainerService/managedClusters/aks-cluster over snapshot resource group with Id /subscriptions/xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/snapshotResourceGroup +Assigned Reader permission to the backup vault over snapshot resource group with Id /subscriptions/xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/snapshotResourceGroup +Required permission Reader is already assigned to backup vault over DataSource with Id /subscriptions/xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.ContainerService/managedClusters/aks-cluster +Waiting for 60 seconds for roles to propagate +``` + +The above command is used to assign permissions to the backup vault "VaultName" under resource group "resourceGroupName" at the "ResourceGroup" scope. + +## PARAMETERS + +### -BackupInstance +Backup instance request object which will be used to configure backup +To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource +Parameter Sets: SetPermissionsForBackup +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -KeyVaultId +ID of the keyvault + +```yaml +Type: System.String +Parameter Sets: SetPermissionsForBackup +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PermissionsScope +Scope at which the permissions need to be granted + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestoreRequest +Restore request object which will be used for restore +To construct, see NOTES section for RESTOREREQUEST properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest +Parameter Sets: SetPermissionsForRestore +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SnapshotResourceGroupId +Sanpshot Resource Group + +```yaml +Type: System.String +Parameter Sets: SetPermissionsForRestore +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +Name of the backup vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultResourceGroup +Resource group of the backup vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.Object + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Set-AzDataProtectionResourceGuardMapping.md b/src/DataProtection/DataProtection.Autorest/help/Set-AzDataProtectionResourceGuardMapping.md new file mode 100644 index 000000000000..f6dfcd7c9ac6 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Set-AzDataProtectionResourceGuardMapping.md @@ -0,0 +1,172 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/set-azdataprotectionresourceguardmapping +schema: 2.0.0 +--- + +# Set-AzDataProtectionResourceGuardMapping + +## SYNOPSIS +Creates or Updates a ResourceGuardProxy + +## SYNTAX + +``` +Set-AzDataProtectionResourceGuardMapping -ResourceGroupName -VaultName + [-SubscriptionId ] [-ResourceGuardId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Creates or Updates a ResourceGuardProxy + +## EXAMPLES + +### Example 1: Enable MUA on backup vault (set resource guard mapping) +```powershell +$proxy = Set-AzDataProtectionResourceGuardMapping -ResourceGroupName $resourceGroupName -SubscriptionId $subscriptionId -VaultName $vaultName -ResourceGuardId $resourceGuardARMId +$proxy | fl +``` + +```output +Description : +Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/m + ua-pstest-backupvault/backupResourceGuardProxies/DppResourceGuardProxy +LastUpdatedTime : 2023-08-29T07:23:05.1111730Z +Name : DppResourceGuardProxy +ResourceGuardId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/hiaga-rg/providers/Microsoft.DataProtection/resourceGuard + s/mua-pstest-resguard +ResourceGuardOperationDetail : {Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationDetail, + Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ResourceGuardOperationDetail} +SystemData : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.SystemData +Type : Microsoft.DataProtection/vaults/backupResourceGuardProxies +``` + +This command creates the mapping between resource guard and backup vault, this prevent any unauthorized access over any of the critical operations, performed on the backup vault, protected by the resource guard. +Backup Admin needs to ensure to have reader access on the resource guard to Enable MUA on the backup vault. + +## PARAMETERS + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGuardId +Resource Guard ARM Id to enable MUA protection for Backup Vault. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardProxyBaseResource + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Start-AzDataProtectionBackupInstanceRestore.md b/src/DataProtection/DataProtection.Autorest/help/Start-AzDataProtectionBackupInstanceRestore.md new file mode 100644 index 000000000000..6c148d4955ed --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Start-AzDataProtectionBackupInstanceRestore.md @@ -0,0 +1,468 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/start-azdataprotectionbackupinstancerestore +schema: 2.0.0 +--- + +# Start-AzDataProtectionBackupInstanceRestore + +## SYNOPSIS +Triggers restore for a BackupInstance + +## SYNTAX + +### Trigger (Default) +``` +Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName + -Parameter -ResourceGroupName -VaultName [-AsJob] + [-DefaultProfile ] [-NoWait] [-RestoreToSecondaryRegion] [-SubscriptionId ] [-Confirm] + [-WhatIf] [] +``` + +### TriggerExpanded +``` +Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName -ObjectType + -ResourceGroupName -RestoreTargetInfo + -SourceDataStoreType -VaultName [-AsJob] [-DefaultProfile ] + [-IdentityDetailUserAssignedIdentityArmUrl ] [-IdentityDetailUseSystemAssignedIdentity] [-NoWait] + [-RestoreToSecondaryRegion] [-SourceResourceId ] [-SubscriptionId ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Triggers restore for a BackupInstance + +## EXAMPLES + +### Example 1: Trigger restore for a protected azure disk. +```powershell +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "sarath-rg" -VaultName "sarath-vault" +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxx-xxx-xxx" -ResourceGroupName "sarath-rg" -VaultName "sarath-vault" -BackupInstanceName $instance.Name +$restoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDisk -SourceDataStore OperationalStore -RestoreLocation "westus" -RestoreType AlternateLocation -TargetResourceId "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{DiskName}" -RecoveryPoint $rp[0].name +Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.BackupInstanceName -ResourceGroupName sarath-rg -VaultName sarath-vault -SubscriptionId "xxx-xxx-xxx" -Parameter $restorerequest +``` + + + +### Example 2: Trigger restore as DB for protected AzureDatabaseForPostgreSQL using secret store. +```powershell +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$targetResourceId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.DBforPostgreSQL/servers/serverName/databases/targetDbName" +$secretURI = "https://oss-keyvault.vault.azure.net/secrets/oss-secret" +$restoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation "westus" -RestoreType AlternateLocation -TargetResourceId $targetResourceId -RecoveryPoint $rp[0].Property.RecoveryPointId -SecretStoreURI $secretURI -SecretStoreType AzureKeyVault +$restoreJob = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.BackupInstanceName -ResourceGroupName resourceGroupName -VaultName vaultName -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -Parameter $restorerequest +$jobid = $restoreJob.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" + $jobstatus = $currentjob.Status +} +``` + +The first, second commands fetch the instance and recovery point for the instance. +The third command initializes the $targetResourceId with the Id of target postgre database (targetDbName should be the new database name). +The fourth command initializes the secret URI. +The fifth, sixth command initializes and triggers the restore request for AzureDatabaseForPostgreSQL with secret store. +The seventh, eight, ninth commands track the restore job to completion. + +### Example 3: Trigger restore as files for protected AzureDatabaseForPostgreSQL. +```powershell +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$targetContainerURI = "https://targetStorageAccount.blob.core.windows.net/targetContainerName" +$fileNamePrefix = "restore_as_files_12345" +$restoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation "westus" -RestoreType RestoreAsFiles -RecoveryPoint $rp[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -FileNamePrefix $fileNamePrefix +$restoreJob = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.BackupInstanceName -ResourceGroupName resourceGroupName -VaultName vaultName -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -Parameter $restorerequest +$jobid = $restoreJob.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" + $jobstatus = $currentjob.Status +} +``` + +The first, second commands fetch the instance and recovery point for the instance. +The third command initializes the $targetContainerURI with the Id of target storage account container. +The fourth command initializes the file name prefix for restore. +The fifth, sixth command initializes and triggers the restore request for AzureDatabaseForPostgreSQL with secret store. +The seventh, eight, ninth commands track the restore job to completion. + +### Example 4: Trigger restore as Files for protected AzureKubernetesService. +```powershell +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Name -match "aks-cluster-name" } +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$aksRestoreCriteria = New-AzDataProtectionRestoreConfigurationClientObject -DatasourceType AzureKubernetesService -PersistentVolumeRestoreMode RestoreWithVolumeData -IncludeClusterScopeResource $true -NamespaceMapping @{"sourceNamespace1"="targetNamespace1";"sourceNamespace2"="targetNamespace2"} +$snapshotResourceGroupId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/snapshotResourceGroup" +$aksOLRRestoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureKubernetesService -SourceDataStore OperationalStore -RestoreLocation eastus -RestoreType OriginalLocation -RecoveryPoint $rps[0].Property.RecoveryPointId -RestoreConfiguration $aksRestoreCriteria -BackupInstance $instance + +Set-AzDataProtectionMSIPermission -VaultResourceGroup "resourceGroupName" -VaultName "vaultName" -PermissionsScope "ResourceGroup" -RestoreRequest $aksOLRRestoreRequest -SnapshotResourceGroupId $snapshotResourceGroupId +$validateRestore = Test-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -RestoreRequest $aksOLRRestoreRequest -Name $instance.BackupInstanceName +$restoreJob = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $aksOLRRestoreRequest +``` + +The first, second commands fetch the instance and recovery point for the instance. +The third command initializes the Restore Configuration client object used to initialize restore request client object. +The fourth command initializes the snapshot resource group Id. +The fifth command initializes the restore request object for AzureKubernetesService restore. +The sixth command assigns the permissions to the backup vault and target AKS cluster necessary for triggering the restore for AzureKubernetesService. +The last command triggers the restore for AzureKubernetesService. + +### Example 5: Trigger restore for vaulted blobs. +```powershell +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Name -match "storageAcountName" } +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$backedUpContainers = $instance.Property.PolicyInfo.PolicyParameter.BackupDatasourceParametersList[0].ContainersList +$restoreReq = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore VaultStore -RestoreLocation "vaultLocation" -RecoveryPoint $rp[0].Name -ItemLevelRecovery -RestoreType AlternateLocation -TargetResourceId "targetStorageAccountId" -ContainersList $backedUpContainers[0,1] +Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -RestoreRequest $restoreReq +$restoreJob = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $restoreReq +``` + +The first, second commands fetch the instance and recovery point for the instance. +The third command fetches the containers which are protected with vaulted policy. +The fourth command initializes the restore request object for AzureBlob restore. +The fifth command triggers validate before restore. +The last command triggers the restore for vaulted blob containers. + +### Example 6: Trigger cross subscription restore for vaulted blobs. +```powershell +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Name -match "storageAcountName" } +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$backedUpContainers = $instance.Property.PolicyInfo.PolicyParameter.BackupDatasourceParametersList[0].ContainersList +$targetCrossSubscriptionStorageAccountId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/targetStorageAccount" +$restoreReqCSR = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore VaultStore -RestoreLocation "vaultLocation" -RecoveryPoint $rp[0].Name -ItemLevelRecovery -RestoreType AlternateLocation -TargetResourceId $targetCrossSubscriptionStorageAccountId -ContainersList $backedUpContainers[0,1] +Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -RestoreRequest $restoreReqCSR +$restoreJobCSR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $restoreReqCSR +``` + +The first, second commands fetch the instance and recovery point for the instance. +The third command fetches the containers which are protected with vaulted policy. +The fourth command initializes the target cross subscription storage account Id. +The fifth command initializes the restore request object for cross subscription AzureBlob restore. +The sixth command triggers validate before restore. +The last command triggers cross subscription restore for vaulted blob containers. + +### Example 7: Trigger cross subscription restore as files for AzureDatabaseForPostgreSQL. +```powershell +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Property.DataSourceInfo.ResourceType -match "Postgre" } +$rp = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance[0].BackupInstanceName -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" +$targetResourceArmId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/crossSubResourceGroupName/providers/Microsoft.Storage/storageAccounts/akneemasaecy/blobServices/default/containers/oss-csr-container" +$targetContainerURI = "https://akneemasaecy.blob.core.windows.net/oss-csr-container" +$fileNamePrefix = "oss-csr-pstest-restoreasfiles" +$ossRestoreReqFiles = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation "vaultLocation" -RestoreType RestoreAsFiles -RecoveryPoint $rp[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -FileNamePrefix $fileNamePrefix -TargetResourceIdForRestoreAsFile $targetContainerArmId +$validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -RestoreRequest $ossRestoreReqFiles +$restoreJobCSR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $ossRestoreReqFiles +$jobid = $restoreJobCSR.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" + $jobstatus = $currentjob.Status +} +``` + +The first, second commands fetch the backup instance and recovery point for the backup instance. +The third command initializes the ARM Id for target container. +This parameter is needed for cross sub restore for AzureDatabaseForPostgreSQL and not needed for same susbscription restore. +The fourth, fifth command initializes targetContainerURI and fileNamePrefix for restore. +The sixth command initializes the restore request object for AzureDatabaseForPostgreSQL restore. +The seventh command triggers validate before restore. +The last command triggers the cross subscription restore as files for AzureDatabaseForPostgreSQL. + +### Example 8: Trigger cross region restore for AzureDatabaseForPostgreSQL. +```powershell +$restoreJobCRR = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.Name -ResourceGroupName $ResourceGroupName -VaultName $vaultName -SubscriptionId $SubscriptionId -Parameter $OssRestoreReq -RestoreToSecondaryRegion +$jobid = $restoreJobCRR.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -UseSecondaryRegion + $jobstatus = $currentjob.Status +} +``` + +This command command triggers the cross region restore for AzureDatabaseForPostgreSQL. +For triggering cross region restore to secondary region, use RestoreToSecondaryRegion switch. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupInstanceName +The name of the backup instance + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile + + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityDetailUserAssignedIdentityArmUrl +ARM URL for User Assigned Identity + +```yaml +Type: System.String +Parameter Sets: TriggerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityDetailUseSystemAssignedIdentity +Specifies if the BI is protected by System Identity + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: TriggerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ObjectType +Object type of the restore request + +```yaml +Type: System.String +Parameter Sets: TriggerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Parameter +Restore request object to be initialized using Initialize-AzDataProtectionRestoreRequest cmdlet +To construct, see NOTES section for PARAMETER properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest +Parameter Sets: Trigger +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group where the backup vault is present + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestoreTargetInfo +Gets or sets the restore target information +To construct, see NOTES section for RESTORETARGETINFO properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase +Parameter Sets: TriggerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestoreToSecondaryRegion +Switch parameter to trigger restore to secondary region (Cross region restore) + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceDataStoreType +Type of the source data store + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType +Parameter Sets: TriggerExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SourceResourceId +Fully qualified Azure Resource Manager ID of the datasource which is being recovered + +```yaml +Type: System.String +Parameter Sets: TriggerExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +Subscription Id of the backup vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Stop-AzDataProtectionBackupInstanceProtection.md b/src/DataProtection/DataProtection.Autorest/help/Stop-AzDataProtectionBackupInstanceProtection.md new file mode 100644 index 000000000000..bdd7e2b8ca65 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Stop-AzDataProtectionBackupInstanceProtection.md @@ -0,0 +1,226 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/stop-azdataprotectionbackupinstanceprotection +schema: 2.0.0 +--- + +# Stop-AzDataProtectionBackupInstanceProtection + +## SYNOPSIS +This operation will stop protection of a backup instance and data will be held forever + +## SYNTAX + +### Stop (Default) +``` +Stop-AzDataProtectionBackupInstanceProtection -BackupInstanceName -ResourceGroupName + -VaultName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +### StopViaIdentity +``` +Stop-AzDataProtectionBackupInstanceProtection -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This operation will stop protection of a backup instance and data will be held forever + +## EXAMPLES + +### Example 1: Stop protection for a backup instance +```powershell +Stop-AzDataProtectionBackupInstanceProtection -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName +``` + +The above command can be used to stop protection of a backup instance + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupInstanceName +The name of the backup instance. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: StopViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: Stop +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Suspend-AzDataProtectionBackupInstanceBackup.md b/src/DataProtection/DataProtection.Autorest/help/Suspend-AzDataProtectionBackupInstanceBackup.md new file mode 100644 index 000000000000..f99edc474a83 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Suspend-AzDataProtectionBackupInstanceBackup.md @@ -0,0 +1,226 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/suspend-azdataprotectionbackupinstancebackup +schema: 2.0.0 +--- + +# Suspend-AzDataProtectionBackupInstanceBackup + +## SYNOPSIS +This operation will stop backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained forever) + +## SYNTAX + +### Suspend (Default) +``` +Suspend-AzDataProtectionBackupInstanceBackup -BackupInstanceName -ResourceGroupName + -VaultName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +### SuspendViaIdentity +``` +Suspend-AzDataProtectionBackupInstanceBackup -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +This operation will stop backup for a backup instance and retains the backup data as per the policy (except latest Recovery point, which will be retained forever) + +## EXAMPLES + +### Example 1: Suspend backups for a backup instance +```powershell +Suspend-AzDataProtectionBackupInstanceBackup -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName +``` + +The above command can be used to stop backups of a backup instance, this will move the backup instance to a suspended state. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupInstanceName +The name of the backup instance. + +```yaml +Type: System.String +Parameter Sets: Suspend +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: SuspendViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Suspend +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Suspend +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: Suspend +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Sync-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection.Autorest/help/Sync-AzDataProtectionBackupInstance.md new file mode 100644 index 000000000000..0ae2b699b4ee --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Sync-AzDataProtectionBackupInstance.md @@ -0,0 +1,218 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/sync-azdataprotectionbackupinstance +schema: 2.0.0 +--- + +# Sync-AzDataProtectionBackupInstance + +## SYNOPSIS +Sync backup instance again in case of failure\r\nThis action will retry last failed operation and will bring backup instance to valid state + +## SYNTAX + +``` +Sync-AzDataProtectionBackupInstance -Name -ResourceGroupName -VaultName + [-SubscriptionId ] [-SyncType ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Sync backup instance again in case of failure\r\nThis action will retry last failed operation and will bring backup instance to valid state + +## EXAMPLES + +### Example 1: Sync backup instance again in case of failure +```powershell +Sync-AzDataProtectionBackupInstance -ResourceGroupName "rgName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -BackupInstanceName $backupInstance.BackupInstanceName +``` + +The above command is used to sync backup instance again in case of failure. +This action will retry last failed operation and will bring backup instance to valid state. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the backup instance. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: BackupInstanceName + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SyncType +Field indicating sync type e.g. +to sync only in case of failure or in all cases + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SyncType +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Test-AzDataProtectionBackupInstanceReadiness.md b/src/DataProtection/DataProtection.Autorest/help/Test-AzDataProtectionBackupInstanceReadiness.md new file mode 100644 index 000000000000..de49a310e6f9 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Test-AzDataProtectionBackupInstanceReadiness.md @@ -0,0 +1,197 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancereadiness +schema: 2.0.0 +--- + +# Test-AzDataProtectionBackupInstanceReadiness + +## SYNOPSIS +Validate whether adhoc backup will be successful or not + +## SYNTAX + +``` +Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName -VaultName + -BackupInstance [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Validate whether adhoc backup will be successful or not + +## EXAMPLES + +### Example 1: Test the backup instance +```powershell +$vault = Get-AzDataProtectionBackupVault -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$diskBackupPolicy = Get-AzDataProtectionBackupPolicy -ResourceGroupName "resourceGroupName" -VaultName $vault.Name -Name "diskBackupPolicy" +$diskId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/rgName/providers/Microsoft.Compute/disks/test-disk" +$snapshotRG = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/rgName" +$instance = Initialize-AzDataProtectionBackupInstance -SnapshotResourceGroupId $Snapshotrg -DatasourceType AzureDisk -DatasourceLocation $vault.Location -PolicyId $diskBackupPolicy[0].Id -DatasourceId $diskId +Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName "resourceGroupName" -VaultName $vault.Name -BackupInstance $instance[0].Property +``` + +The first command gets the backup vault. +The second command gets the disk policy. +Next we initialize $diskId and $snapshotRG variables with disk and snapshot ARM Ids. +The fifth line runs the Initialize command to create a client side backup instance object. +Finally we trigger the Test-AzDataProtectionBackupInstanceReadiness command to validate whether the backup instance is ready for configuring backup or not, the command will fail or pass accordingly. +This command can be use to check whether the backup vault has all the necessary permissions to configure backup. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupInstance +Backup Instance +To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Test-AzDataProtectionBackupInstanceRestore.md b/src/DataProtection/DataProtection.Autorest/help/Test-AzDataProtectionBackupInstanceRestore.md new file mode 100644 index 000000000000..b809c3166324 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Test-AzDataProtectionBackupInstanceRestore.md @@ -0,0 +1,226 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancerestore +schema: 2.0.0 +--- + +# Test-AzDataProtectionBackupInstanceRestore + +## SYNOPSIS +Validates if Restore can be triggered for a DataSource + +## SYNTAX + +``` +Test-AzDataProtectionBackupInstanceRestore -Name -ResourceGroupName + -RestoreRequest -VaultName [-AsJob] [-DefaultProfile ] + [-NoWait] [-RestoreToSecondaryRegion] [-SubscriptionId ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Validates if Restore can be triggered for a DataSource + +## EXAMPLES + +### Example 1: Test the backup instance object for restore operation +```powershell +$instances = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "testResourceGroup" -VaultName "testVault" +$pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName $instances[0].BackupInstanceName -ResourceGroupName "testResourceGroup" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "testVault" -SourceDataStoreType OperationalStore -StartTime (Get-Date).AddDays(-30).ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") -EndTime (Get-Date).AddDays(0).ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") +$vault = Get-AzDataProtectionBackupVault -ResourceGroupName "testResourceGroup" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "testVault" +$RestoreRequestObject = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore OperationalStore -RestoreLocation $vault.Location -RestoreType OriginalLocation -BackupInstance $instances[0] -PointInTime (Get-Date -Date $pointInTimeRange.RestorableTimeRange.EndTime) +$validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instances[0].Name -ResourceGroupName "testResourceGroup" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "testVault" -RestoreRequest $RestoreRequestObject +``` + +The command tests the restore request object is valid for restore + +### Example 2: Validate cross region restore +```powershell +$validateRestore = Test-AzDataProtectionBackupInstanceRestore -ResourceGroupName $ResourceGroupName -Name $instance[0].Name -VaultName $VaultName -RestoreRequest $RestoreRequestObject -SubscriptionId $SubscriptionId -RestoreToSecondaryRegion +``` + +The command tests the restore request object is valid for cross region restore. +For normal restore (non-CRR), DO NOT use RestoreToSecondaryRegion switch. + +## PARAMETERS + +### -AsJob + + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile + + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +The name of the backup instance + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait + + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group where the backup vault is present + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestoreRequest +Restore request object for which to validate +To construct, see NOTES section for RESTOREREQUEST properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -RestoreToSecondaryRegion +Switch parameter to trigger restore to secondary region + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +Subscription Id of the backup vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Undo-AzDataProtectionBackupInstanceDeletion.md b/src/DataProtection/DataProtection.Autorest/help/Undo-AzDataProtectionBackupInstanceDeletion.md new file mode 100644 index 000000000000..8241fd62910f --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Undo-AzDataProtectionBackupInstanceDeletion.md @@ -0,0 +1,228 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/undo-azdataprotectionbackupinstancedeletion +schema: 2.0.0 +--- + +# Undo-AzDataProtectionBackupInstanceDeletion + +## SYNOPSIS +Undeletes a soft deleted backup instance + +## SYNTAX + +### Undelete (Default) +``` +Undo-AzDataProtectionBackupInstanceDeletion -BackupInstanceName -ResourceGroupName + -VaultName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-Confirm] [-WhatIf] [] +``` + +### UndeleteViaIdentity +``` +Undo-AzDataProtectionBackupInstanceDeletion -InputObject + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Undeletes a soft deleted backup instance + +## EXAMPLES + +### Example 1: Undelete the soft deleted backup instance +```powershell +$softDeletedBI = Get-AzDataProtectionSoftDeletedBackupInstance -ResourceGroupName $resourceGroupName -SubscriptionId $subscriptionId -VaultName $vaultName +Undo-AzDataProtectionBackupInstanceDeletion -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName -BackupInstanceName $softDeletedBI[0].Name +``` + +The first comamnd is used to fetch the backup instances which are in soft deleted for a give backup vault. +The second command undeletes the backup instance to enable the protection again, revert the soft deleted state. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupInstanceName +The name of the deleted backup instance + +```yaml +Type: System.String +Parameter Sets: Undelete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: UndeleteViaIdentity +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PassThru +Returns true when the command succeeds + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: Undelete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: Undelete +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: Undelete +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### System.Boolean + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Unlock-AzDataProtectionResourceGuardOperation.md b/src/DataProtection/DataProtection.Autorest/help/Unlock-AzDataProtectionResourceGuardOperation.md new file mode 100644 index 000000000000..c2b804c747e7 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Unlock-AzDataProtectionResourceGuardOperation.md @@ -0,0 +1,251 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/unlock-azdataprotectionresourceguardoperation +schema: 2.0.0 +--- + +# Unlock-AzDataProtectionResourceGuardOperation + +## SYNOPSIS +Unlocks the critical operation which is protected by the resource guard + +## SYNTAX + +``` +Unlock-AzDataProtectionResourceGuardOperation -ResourceGroupName -VaultName + [-DefaultProfile ] [-ResourceGuardOperationRequest ] [-ResourceToBeDeleted ] + [-SubscriptionId ] [-Token ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Unlocks the critical operation which is protected by the resource guard + +## EXAMPLES + +### Example 1: Unlock critical operation protected by resource guard - delete backup instance +```powershell +$proxy = Get-AzDataProtectionResourceGuardMapping -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subscriptionId +$operationRequests = $proxy.ResourceGuardOperationDetail.DefaultResourceRequest +$resourceGuardOperationRequest = $operationRequests | Where-Object { $_ -match "deleteBackupInstanceRequests" } + +$token = (Get-AzAccessToken -TenantId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx").Token +$instances = Get-AzDataProtectionBackupInstance -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName + +$unlock = Unlock-AzDataProtectionResourceGuardOperation -ResourceGroupName $resourceGroupName -SubscriptionId $subscriptionId -VaultName $vault.Name -ResourceGuardOperationRequest $resourceGuardOperationRequest -ResourceToBeDeleted $instances[0].Id -Token $token +$unlock | fl + +Remove-AzDataProtectionBackupInstance -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName -Name $instances[0].Name +``` + +```output +2023-08-28T14:29:17.3982762Z +``` + +Ensure you have a contributor access over resource guard before doing unlock. + +Fetch and pass the cross tenant authorization token in case the resource guard is present in a different tenant. + +The first command fetches the resource guard mapping between backup vault and the resource guard. +The second command fetches the operation requests corresponding to all critical operations protected by resource guard. +The third command fetch the operation request corresponding to the operation we want to unlock. +The fourth command fetches the access token corresponding to resource guard tenant. +The fifth command fetches the backup instance we want to stop protection. +The sixth command unlocks the delete backup operation which is protected by the resource guard. +Ensure to have contributor access over resource guard before unlock. +Finally, we remove the backup instance for which we want to disable protection. + +### Example 2: Unlock delete backup instance operation with short hand +```powershell +$token = (Get-AzAccessToken -TenantId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx").Token +$instances = Get-AzDataProtectionBackupInstance -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName + +$unlock = Unlock-AzDataProtectionResourceGuardOperation -ResourceGroupName $resourceGroupName -SubscriptionId $subscriptionId -VaultName $vault.Name -ResourceGuardOperationRequest DeleteBackupInstance -ResourceToBeDeleted $instances[0].Id -Token $token +$unlock | fl + +Remove-AzDataProtectionBackupInstance -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName -Name $instances[0].Name +``` + +```output +2023-08-28T14:29:17.3982762Z +``` + +This example is faster way (short hand) for Example 1. +In this example we show that by just passing the DeleteBackupInstance to ResourceGuardOperationRequest we can perform unlock. +we pass the instance ARM Id as the resource to be deleted. +Pass access token in case of cross tenant resource guard. + +### Example 3: Unlock disable MUA operation with short hand +```powershell +$token = (Get-AzAccessToken -TenantId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx").Token +$proxy = Get-AzDataProtectionResourceGuardMapping -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subscriptionId + +$unlock = Unlock-AzDataProtectionResourceGuardOperation -ResourceGroupName $resourceGroupName -SubscriptionId $subscriptionId -VaultName $vault.Name -ResourceGuardOperationRequest DisableMUA -ResourceToBeDeleted $proxy.Id -Token $token +$unlock | fl + +Remove-AzDataProtectionResourceGuardMapping -ResourceGroupName $resourceGroupName -SubscriptionId $subscriptionId -VaultName $vaultName +``` + +```output +2023-08-28T14:29:17.3982762Z +``` + +This example is faster way (short hand) for Example 1. +In this example we show that by just passing the DisableMUA to ResourceGuardOperationRequest we can perform unlock. +we pass the resource guard mapping ARM Id as the resource to be deleted, this will disable MUA on the backup vault. +Pass access token in case of cross tenant resource guard. + +## PARAMETERS + +### -DefaultProfile + + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource Group name of the backup vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGuardOperationRequest +List of critical operations which are protected by the resourceGuard and need to be unlocked. +Supported values are DeleteBackupInstance, DisableMUA + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceToBeDeleted +ARM Id of the resource that need to be unlocked for performing critical operation + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +Subscription Id of the backup vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Token +Parameter to authorize operations protected by cross tenant resource guard. +Use command (Get-AzAccessToken -TenantId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"). +Token to fetch authorization token for different tenant. + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +Name of the backup vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.String + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md b/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md new file mode 100644 index 000000000000..f42f1aac24e3 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md @@ -0,0 +1,207 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionbackupinstanceassociatedpolicy +schema: 2.0.0 +--- + +# Update-AzDataProtectionBackupInstanceAssociatedPolicy + +## SYNOPSIS +Updates associated policy for a given backup instance + +## SYNTAX + +``` +Update-AzDataProtectionBackupInstanceAssociatedPolicy -BackupInstanceName -PolicyId + -ResourceGroupName -VaultName [-AsJob] [-DefaultProfile ] [-NoWait] + [-SubscriptionId ] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates associated policy for a given backup instance + +## EXAMPLES + +### Example 1: Update Associated policy of a backup instance +```powershell +$sub = "xxxx-xxxx-xxxx" +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId $sub -ResourceGroupName sarath-rg -VaultName sarath-vault +$policy = Get-AzDataProtectionBackupPolicy -SubscriptionId $sub -ResourceGroupName sarath-rg -VaultName sarath-vault +Update-AzDataProtectionBackupInstanceAssociatedPolicy -SubscriptionId $sub -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[0].Name -PolicyId $policy[1].Id +``` + +```output +Name Type BackupInstanceName +---- ---- ------------------ +sarathdisk2-sarathdisk2-2ba3c708-3648-45e2-809d-9f75e66d404f Microsoft.DataProtection/backupVaults/backupInstances sarathdisk2-sarathdisk2-2ba3c708-3648-45e2-809d-9f75e66 +``` + +This command updates the associated policy of a backup instance + +## PARAMETERS + +### -AsJob + + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -BackupInstanceName +Unique Name of protected backup instance + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile + + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -NoWait + + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -PolicyId +Id of the Policy to be associated with the backup instance + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource Group of the backup vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +Subscription Id of the vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +Name of the backup vault + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupVault.md new file mode 100644 index 000000000000..0c7131b8d498 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionBackupVault.md @@ -0,0 +1,382 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionbackupvault +schema: 2.0.0 +--- + +# Update-AzDataProtectionBackupVault + +## SYNOPSIS +Updates a BackupVault resource belonging to a resource group. +For example, updating tags for a resource. + +## SYNTAX + +### UpdateExpanded (Default) +``` +Update-AzDataProtectionBackupVault -ResourceGroupName -VaultName [-SubscriptionId ] + [-AzureMonitorAlertsForAllJobFailure ] [-CrossRegionRestoreState ] + [-CrossSubscriptionRestoreState ] [-IdentityType ] + [-IdentityUserAssignedIdentity ] [-ImmutabilityState ] + [-SoftDeleteRetentionDurationInDay ] [-SoftDeleteState ] [-Tag ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +### UpdateViaIdentityExpanded +``` +Update-AzDataProtectionBackupVault -InputObject + [-AzureMonitorAlertsForAllJobFailure ] [-CrossRegionRestoreState ] + [-CrossSubscriptionRestoreState ] [-IdentityType ] + [-IdentityUserAssignedIdentity ] [-ImmutabilityState ] + [-SoftDeleteRetentionDurationInDay ] [-SoftDeleteState ] [-Tag ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] +``` + +## DESCRIPTION +Updates a BackupVault resource belonging to a resource group. +For example, updating tags for a resource. + +## EXAMPLES + +### Example 1: Add tags to an existing backup vault +```powershell +$tag = @{"Owner"="sarath";"Purpose"="AzureBackupTesting"} +Update-AzDataProtectionBackupVault -SubscriptionId "xxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Tag $tag +``` + +```output +ETag IdentityPrincipalId IdentityTenantId IdentityType Location Name Type +---- ------------------- ---------------- ------------ -------- ---- ---- + 2ca1d5f7-38b3-4b61-aa45-8147d7e0edbc 72f988bf-86f1-41af-91ab-2d7cd011db47 SystemAssigned centraluseuap sarath-vault Microsoft.DataProtection/backupVaults +``` + +The first command creates a new tag hashtable with tags and their values. +The second command adds the given tags to the backup vault. + +### Example 2: Disable Azure monitor alerts for job failures +```powershell +Update-AzDataProtectionBackupVault -ResourceGroupName "rgName" -VaultName "vaultName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -AzureMonitorAlertsForAllJobFailure 'Disabled' +``` + +```output +Name Location Type IdentityType +---- -------- ---- ------------ +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. + +## PARAMETERS + +### -AsJob +Run the command as a job + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -AzureMonitorAlertsForAllJobFailure +Parameter to Enable or Disable built-in azure monitor alerts for job failures. +Security alerts cannot be disabled. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CrossRegionRestoreState +Cross region restore state of the vault. +Allowed values are Disabled, Enabled. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -CrossSubscriptionRestoreState +Cross subscription restore state of the vault. +Allowed values are Disabled, Enabled, PermanentlyDisabled. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile +The DefaultProfile parameter is not functional. +Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityType +The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityUserAssignedIdentity +Gets or sets the user assigned identities. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ImmutabilityState +Immutability state of the vault. +Allowed values are Disabled, Unlocked, Locked. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -InputObject +Identity Parameter +To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +Parameter Sets: UpdateViaIdentityExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: True (ByValue) +Accept wildcard characters: False +``` + +### -NoWait +Run the command asynchronously + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +The name of the resource group. +The name is case insensitive. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SoftDeleteRetentionDurationInDay +Soft delete retention duration in days. + +```yaml +Type: System.Double +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SoftDeleteState +Soft delete state of the vault. +Allowed values are Off, On, AlwaysOn. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +The ID of the target subscription. +The value must be an UUID. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: False +Position: Named +Default value: (Get-AzContext).Subscription.Id +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags. + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -VaultName +The name of the backup vault. + +```yaml +Type: System.String +Parameter Sets: UpdateExpanded +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionResourceGuard.md new file mode 100644 index 000000000000..8e3e69936a0a --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/help/Update-AzDataProtectionResourceGuard.md @@ -0,0 +1,212 @@ +--- +external help file: +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionresourceguard +schema: 2.0.0 +--- + +# Update-AzDataProtectionResourceGuard + +## SYNOPSIS +Updates a resource guard belonging to a resource group + +## SYNTAX + +``` +Update-AzDataProtectionResourceGuard -Name -ResourceGroupName + [-CriticalOperationExclusionList ] [-DefaultProfile ] [-ETag ] + [-IdentityType ] [-SubscriptionId ] [-Tag ] [-Confirm] [-WhatIf] + [] +``` + +## DESCRIPTION +Updates a resource guard belonging to a resource group + +## EXAMPLES + +### Example 1: Update a resource guard +```powershell +$resourceGuard = Get-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "rgName" -Name "resGuardName" +$criticalOperations = $resourceGuard.ResourceGuardOperation.VaultCriticalOperation +$operationsToBeExcluded = $criticalOperations | Where-Object { $_ -match "backupSecurityPIN/action" -or $_ -match "backupInstances/delete" } +Update-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "rgName" -Name $resourceGuard.Name -CriticalOperationExclusionList $operationsToBeExcluded +``` + +```output +ETag Id IdentityPrincipalId IdentityTenantId IdentityType Location Name +---- -- ------------------- ---------------- ------------ -------- ---- + /subscriptions/xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/mua-rg/providers/Microsoft.DataProtection/resourceGuards/mua-resource-guard centraluseuap mua-resource-guard +``` + +The first command is used to fetch the resource guard to be updated. +The second and third command is used to fecth the critical operations user want to update. + +The fourth command is used to exclude some critical operations from the resource guard + +## PARAMETERS + +### -CriticalOperationExclusionList +List of critical operations which are not protected by this resourceGuard. +Supported values are DeleteProtection, UpdateProtection, UpdatePolicy, GetSecurityPin, DeleteBackupInstance + +```yaml +Type: System.String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -DefaultProfile + + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ETag +Optional ETag + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -IdentityType +This parameter is no longer in use and will be depricated + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Name +Name of the resource guard + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroupName +Resource Group name of the resource guard + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -SubscriptionId +Subscription Id of the resource guard + +```yaml +Type: System.String +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Tag +Resource tags + +```yaml +Type: System.Collections.Hashtable +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Confirm +Prompts you for confirmation before running the cmdlet. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: cf + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -WhatIf +Shows what would happen if the cmdlet runs. +The cmdlet is not run. + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: wi + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource + +## NOTES + +## RELATED LINKS + diff --git a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionBackupVault.ps1 index 3715ceeafca8..1678335da80c 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionBackupVault.ps1 @@ -32,7 +32,7 @@ $vault.SecureScore .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource .Notes COMPLEX PARAMETER PROPERTIES @@ -56,7 +56,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupvault #> function Get-AzDataProtectionBackupVault { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource])] [CmdletBinding(DefaultParameterSetName='GetViaIdentity1', PositionalBinding=$false)] param( [Parameter(Mandatory, ValueFromPipeline)] diff --git a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJob.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJob.ps1 new file mode 100644 index 000000000000..e31186f1bc61 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJob.ps1 @@ -0,0 +1,185 @@ + +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +# is regenerated. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Fetches list of Cross Region Restore job belonging to the vault +.Description +Fetches list of Cross Region Restore job belonging to the vault +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. + +PARAMETER : Details of Backup Vault for which CRR Jobs are to be fetched + SourceBackupVaultId : + SourceRegion : +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectioncrossregionrestorejob +#> +function Get-AzDataProtectionCrossRegionRestoreJob { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource])] +[CmdletBinding(DefaultParameterSetName='ListExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the Azure region. + ${Location}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String[]] + # The ID of the target subscription. + # The value must be an UUID. + ${SubscriptionId}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Query')] + [System.String] + # OData filter options. + ${Filter}, + + [Parameter(ParameterSetName='List', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest] + # Details of Backup Vault for which CRR Jobs are to be fetched + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, + + [Parameter(ParameterSetName='ListExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # . + ${SourceBackupVaultId}, + + [Parameter(ParameterSetName='ListExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # . + ${SourceRegion}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + $mapping = @{ + List = 'Az.DataProtection.private\Get-AzDataProtectionCrossRegionRestoreJob_List'; + ListExpanded = 'Az.DataProtection.private\Get-AzDataProtectionCrossRegionRestoreJob_ListExpanded'; + } + if (('List', 'ListExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + + throw + } + +} +end { + try { + $steppablePipeline.End() + + } catch { + + throw + } +} +} diff --git a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJobDetail.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJobDetail.ps1 new file mode 100644 index 000000000000..144640a64908 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionCrossRegionRestoreJobDetail.ps1 @@ -0,0 +1,220 @@ + +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +# is regenerated. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Fetches the Cross Region Restore Job +.Description +Fetches the Cross Region Restore Job +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. + [BackupPolicyName ]: + [Id ]: Resource identity path + [JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + [Location ]: The location in which uniqueness will be verified. + [OperationId ]: + [RecoveryPointId ]: + [RequestName ]: + [ResourceGroupName ]: The name of the resource group. The name is case insensitive. + [ResourceGuardProxyName ]: name of the resource guard proxy + [ResourceGuardsName ]: The name of ResourceGuard + [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. + [VaultName ]: The name of the backup vault. + +PARAMETER : Details of CRR Job to be fetched + JobId : + SourceBackupVaultId : + SourceRegion : +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectioncrossregionrestorejobdetail +#> +function Get-AzDataProtectionCrossRegionRestoreJobDetail { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource])] +[CmdletBinding(DefaultParameterSetName='GetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='Get', Mandatory)] + [Parameter(ParameterSetName='GetExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the Azure region. + ${Location}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [Parameter(ParameterSetName='GetExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Get')] + [Parameter(ParameterSetName='GetExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String[]] + # The ID of the target subscription. + # The value must be an UUID. + ${SubscriptionId}, + + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='GetViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [Parameter(ParameterSetName='Get', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest] + # Details of CRR Job to be fetched + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, + + [Parameter(ParameterSetName='GetExpanded', Mandatory)] + [Parameter(ParameterSetName='GetViaIdentityExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # . + ${JobId}, + + [Parameter(ParameterSetName='GetExpanded', Mandatory)] + [Parameter(ParameterSetName='GetViaIdentityExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # . + ${SourceBackupVaultId}, + + [Parameter(ParameterSetName='GetExpanded', Mandatory)] + [Parameter(ParameterSetName='GetViaIdentityExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # . + ${SourceRegion}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + $mapping = @{ + Get = 'Az.DataProtection.private\Get-AzDataProtectionCrossRegionRestoreJobDetail_Get'; + GetExpanded = 'Az.DataProtection.private\Get-AzDataProtectionCrossRegionRestoreJobDetail_GetExpanded'; + GetViaIdentity = 'Az.DataProtection.private\Get-AzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentity'; + GetViaIdentityExpanded = 'Az.DataProtection.private\Get-AzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentityExpanded'; + } + if (('Get', 'GetExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + + throw + } + +} +end { + try { + $steppablePipeline.End() + + } catch { + + throw + } +} +} diff --git a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionFetchSecondaryRecoveryPoint.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionFetchSecondaryRecoveryPoint.ps1 new file mode 100644 index 000000000000..67820c63a629 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionFetchSecondaryRecoveryPoint.ps1 @@ -0,0 +1,193 @@ + +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +# is regenerated. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Returns a list of Secondary Recovery Points for a DataSource in a vault, that can be used for Cross Region Restore. +.Description +Returns a list of Secondary Recovery Points for a DataSource in a vault, that can be used for Cross Region Restore. +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource +.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. + +PARAMETER : Information about BI whose secondary RecoveryPoints are requested Source region and BI ARM path + [SourceBackupInstanceId ]: ARM Path of BackupInstance + [SourceRegion ]: Source region in which BackupInstance is located +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionfetchsecondaryrecoverypoint +#> +function Get-AzDataProtectionFetchSecondaryRecoveryPoint { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource])] +[CmdletBinding(DefaultParameterSetName='ListExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the Azure region. + ${Location}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String[]] + # The ID of the target subscription. + # The value must be an UUID. + ${SubscriptionId}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Query')] + [System.String] + # OData filter options. + ${Filter}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Query')] + [System.String] + # skipToken Filter. + ${SkipToken}, + + [Parameter(ParameterSetName='List', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters] + # Information about BI whose secondary RecoveryPoints are requested + # Source region and + # BI ARM path + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, + + [Parameter(ParameterSetName='ListExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # ARM Path of BackupInstance + ${SourceBackupInstanceId}, + + [Parameter(ParameterSetName='ListExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Source region in which BackupInstance is located + ${SourceRegion}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + $mapping = @{ + List = 'Az.DataProtection.private\Get-AzDataProtectionFetchSecondaryRecoveryPoint_List'; + ListExpanded = 'Az.DataProtection.private\Get-AzDataProtectionFetchSecondaryRecoveryPoint_ListExpanded'; + } + if (('List', 'ListExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + + throw + } + +} +end { + try { + $steppablePipeline.End() + + } catch { + + throw + } +} +} diff --git a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionJob.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionJob.ps1 new file mode 100644 index 000000000000..cc610d415234 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionJob.ps1 @@ -0,0 +1,193 @@ + +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +# is regenerated. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Gets a job with id in a backup vault +.Description +Gets a job with id in a backup vault +.Example +Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault +.Example +Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Id 4abaea8c-f53a-4bb1-9963-59f96b597165 +.Example +Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -UseSecondaryRegion + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. + [BackupPolicyName ]: + [Id ]: Resource identity path + [JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + [Location ]: The location in which uniqueness will be verified. + [OperationId ]: + [RecoveryPointId ]: + [RequestName ]: + [ResourceGroupName ]: The name of the resource group. The name is case insensitive. + [ResourceGuardProxyName ]: name of the resource guard proxy + [ResourceGuardsName ]: The name of ResourceGuard + [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.Api20231101.IAzureBackupJobResource])] +[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] +param( + [Parameter(ParameterSetName='Get', Mandatory)] + [Alias('JobId')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The Job ID. + # This is a GUID-formatted string (e.g. + # 00000000-0000-0000-0000-000000000000). + ${Id}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [Parameter(ParameterSetName='List', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Get')] + [Parameter(ParameterSetName='List')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String[]] + # The ID of the target subscription. + # The value must be an UUID. + ${SubscriptionId}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [Parameter(ParameterSetName='List', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup vault. + ${VaultName}, + + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + $mapping = @{ + Get = 'Az.DataProtection.private\Get-AzDataProtectionJob_Get'; + GetViaIdentity = 'Az.DataProtection.private\Get-AzDataProtectionJob_GetViaIdentity'; + List = 'Az.DataProtection.private\Get-AzDataProtectionJob_List'; + } + if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + + throw + } + +} +end { + try { + $steppablePipeline.End() + + } catch { + + throw + } +} +} diff --git a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionRecoveryPoint.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionRecoveryPoint.ps1 index 99d057632a11..14b8e57d1900 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionRecoveryPoint.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Get-AzDataProtectionRecoveryPoint.ps1 @@ -25,14 +25,17 @@ Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupN .Example $instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[2].Name -Id 892e5c5014dc4a96807d22924f5745c9 +.Example +$instance = $instance = Search-AzDataProtectionBackupInstanceInAzGraph -DatasourceType AzureDatabaseForPostgreSQL -Subscription "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroup sarath-rg -Vault sarath-vault +$recoveryPoints = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[2].Name -UseSecondaryRegion .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource .Link https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionrecoverypoint #> function Get-AzDataProtectionRecoveryPoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(Mandatory)] diff --git a/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupInstance.ps1 b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupInstance.ps1 index c8ee010fd413..27863d656840 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupInstance.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupInstance.ps1 @@ -58,9 +58,9 @@ While((Get-AzDataProtectionOperationStatus -OperationId $operationId -Location $ $backupnstanceCreate = New-AzDataProtectionBackupInstance -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -BackupInstance $backupInstanceClientObject .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource .Notes COMPLEX PARAMETER PROPERTIES @@ -140,7 +140,7 @@ PROPERTY : BackupInstanceResource properties https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupinstance #> function New-AzDataProtectionBackupInstance { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -173,21 +173,21 @@ param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource] # BackupInstance Resource # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance] # BackupInstanceResource properties # To construct, see NOTES section for PROPERTY properties and create a hash table. ${Property}, [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags]))] [System.Collections.Hashtable] # Proxy Resource tags. ${Tag}, diff --git a/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupPolicy.ps1 b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupPolicy.ps1 index 1e3b2ad58d9e..22c074c974c7 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupPolicy.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupPolicy.ps1 @@ -98,9 +98,9 @@ $defaultPol.PolicyRule[0].Trigger.ScheduleTimeZone = $timeZone[0].Id $operationalVaultedPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "operationalVaultedPolicyName" -Policy $defaultPol .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource .Notes COMPLEX PARAMETER PROPERTIES @@ -113,7 +113,7 @@ PARAMETER : BaseBackupPolicy resource https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackuppolicy #> function New-AzDataProtectionBackupPolicy { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -146,7 +146,7 @@ param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource] # BaseBackupPolicy resource # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, diff --git a/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupVault.ps1 b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupVault.ps1 index e46991c0b76c..d2c5d576c6a8 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupVault.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionBackupVault.ps1 @@ -29,9 +29,9 @@ $storagesetting = New-AzDataProtectionBackupVaultStorageSettingObject -DataStore New-AzDataProtectionBackupVault -SubscriptionId $sub -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Location westus -StorageSetting $storagesetting -CrossSubscriptionRestoreState Enabled -ImmutabilityState Unlocked -SoftDeleteRetentionDurationInDay 100 -SoftDeleteState On .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource .Notes COMPLEX PARAMETER PROPERTIES @@ -52,6 +52,7 @@ PARAMETER : Backup Vault Resource [CrossRegionRestoreState ]: CrossRegionRestore state [CrossSubscriptionRestoreState ]: CrossSubscriptionRestore state [ImmutabilityState ]: Immutability state + [ReplicatedRegion ]: List of replicated regions for Backup Vault [ResourceMoveDetailCompletionTimeUtc ]: Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. [ResourceMoveDetailOperationId ]: CorrelationId of latest ResourceMove operation attempted [ResourceMoveDetailSourceResourcePath ]: ARM resource path of source resource @@ -67,7 +68,7 @@ STORAGESETTING : Storage Settings https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupvault #> function New-AzDataProtectionBackupVault { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource])] [CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -93,7 +94,7 @@ param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource] # Backup Vault Resource # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -101,7 +102,7 @@ param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting[]] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting[]] # Storage Settings # To construct, see NOTES section for STORAGESETTING properties and create a hash table. ${StorageSetting}, @@ -163,6 +164,13 @@ param( # Resource location. ${Location}, + [Parameter(ParameterSetName='CreateExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # List of replicated regions for Backup Vault + ${ReplicatedRegion}, + [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.Double] @@ -179,7 +187,7 @@ param( [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, diff --git a/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionResourceGuard.ps1 b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionResourceGuard.ps1 index daea57f983c8..30b3aaa7998c 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionResourceGuard.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/New-AzDataProtectionResourceGuard.ps1 @@ -23,11 +23,11 @@ Creates or updates a ResourceGuard resource belonging to a resource group. New-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "mua-rg" -Name "mua-resource-guard" -Location "centraluseuap" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource .Notes COMPLEX PARAMETER PROPERTIES @@ -58,7 +58,7 @@ PARAMETER : . https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionresourceguard #> function New-AzDataProtectionResourceGuard { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource])] [CmdletBinding(DefaultParameterSetName='PutExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Put', Mandatory)] @@ -96,7 +96,7 @@ param( [Parameter(ParameterSetName='Put', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='PutViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource] # . # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -126,7 +126,7 @@ param( [Parameter(ParameterSetName='PutExpanded')] [Parameter(ParameterSetName='PutViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, diff --git a/src/DataProtection/DataProtection.Autorest/internal/ProxyCmdletDefinitions.ps1 b/src/DataProtection/DataProtection.Autorest/internal/ProxyCmdletDefinitions.ps1 index 50454392fb60..4a5a4181b576 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/ProxyCmdletDefinitions.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/ProxyCmdletDefinitions.ps1 @@ -32,7 +32,7 @@ $vault.SecureScore .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource .Notes COMPLEX PARAMETER PROPERTIES @@ -56,7 +56,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupvault #> function Get-AzDataProtectionBackupVault { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource])] [CmdletBinding(DefaultParameterSetName='GetViaIdentity1', PositionalBinding=$false)] param( [Parameter(Mandatory, ValueFromPipeline)] @@ -160,45 +160,68 @@ end { <# .Synopsis -Returns a list of Recovery Points for a DataSource in a vault. +Fetches the Cross Region Restore Job .Description -Returns a list of Recovery Points for a DataSource in a vault. +Fetches the Cross Region Restore Job .Example -$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[2].Name +{{ Add code here }} .Example -$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[2].Name -Id 892e5c5014dc4a96807d22924f5745c9 +{{ Add code here }} +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. + [BackupPolicyName ]: + [Id ]: Resource identity path + [JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + [Location ]: The location in which uniqueness will be verified. + [OperationId ]: + [RecoveryPointId ]: + [RequestName ]: + [ResourceGroupName ]: The name of the resource group. The name is case insensitive. + [ResourceGuardProxyName ]: name of the resource guard proxy + [ResourceGuardsName ]: The name of ResourceGuard + [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. + [VaultName ]: The name of the backup vault. + +PARAMETER : Details of CRR Job to be fetched + JobId : + SourceBackupVaultId : + SourceRegion : .Link -https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionrecoverypoint +https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectioncrossregionrestorejobdetail #> -function Get-AzDataProtectionRecoveryPoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRecoveryPointResource])] -[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] +function Get-AzDataProtectionCrossRegionRestoreJobDetail { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource])] +[CmdletBinding(DefaultParameterSetName='GetExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(Mandatory)] + [Parameter(ParameterSetName='Get', Mandatory)] + [Parameter(ParameterSetName='GetExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] - # The name of the backup instance. - ${BackupInstanceName}, + # The name of the Azure region. + ${Location}, - [Parameter(Mandatory)] + [Parameter(ParameterSetName='Get', Mandatory)] + [Parameter(ParameterSetName='GetExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the backup vault. - ${VaultName}, - - [Parameter()] + [Parameter(ParameterSetName='Get')] + [Parameter(ParameterSetName='GetExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] @@ -206,17 +229,42 @@ param( # The value must be an UUID. ${SubscriptionId}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Query')] + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='GetViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [Parameter(ParameterSetName='Get', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobRequest] + # Details of CRR Job to be fetched + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, + + [Parameter(ParameterSetName='GetExpanded', Mandatory)] + [Parameter(ParameterSetName='GetViaIdentityExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # OData filter options. - ${Filter}, + # . + ${JobId}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Query')] + [Parameter(ParameterSetName='GetExpanded', Mandatory)] + [Parameter(ParameterSetName='GetViaIdentityExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # skipToken Filter. - ${SkipToken}, + # . + ${SourceBackupVaultId}, + + [Parameter(ParameterSetName='GetExpanded', Mandatory)] + [Parameter(ParameterSetName='GetViaIdentityExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # . + ${SourceRegion}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -276,9 +324,12 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ - List = 'Az.DataProtection.private\Get-AzDataProtectionRecoveryPoint_List'; + Get = 'Az.DataProtection.private\Get-AzDataProtectionCrossRegionRestoreJobDetail_Get'; + GetExpanded = 'Az.DataProtection.private\Get-AzDataProtectionCrossRegionRestoreJobDetail_GetExpanded'; + GetViaIdentity = 'Az.DataProtection.private\Get-AzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentity'; + GetViaIdentityExpanded = 'Az.DataProtection.private\Get-AzDataProtectionCrossRegionRestoreJobDetail_GetViaIdentityExpanded'; } - if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('Get', 'GetExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } @@ -314,139 +365,38 @@ end { <# .Synopsis -Create or update a backup instance in a backup vault +Fetches list of Cross Region Restore job belonging to the vault .Description -Create or update a backup instance in a backup vault -.Example -$sub = "xxxx-xxx-xx" -$DiskId = "/subscriptions/{subscription}/resourceGroups/{resourcegroup}/providers/Microsoft.Compute/disks/{diskname}" -$policy = Get-AzDataProtectionBackupPolicy -SubscriptionId $sub -ResourceGroupName sarath-rg -VaultName sarath-vault -Name "MyPolicy" -$instance = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureDisk -DatasourceLocation $vault.Location -PolicyId $policy.Id -DatasourceId $DiskId -$instance.Property.PolicyInfo.PolicyParameter.DataStoreParametersList[0].ResourceGroupId = "/subscriptions/{subscription}/resourceGroups/{resourceGroup}" -New-AzDataProtectionBackupInstance -SubscriptionId $sub -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstance $instance -.Example -$sub = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -$dataSourceId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/ResourceGroupName/providers/Microsoft.DBforPostgreSQL/servers/OssServerName/databases/DBName" -$secretURI = "https://oss-keyvault.vault.azure.net/secrets/oss-secret" -$vault = Get-AzDataProtectionBackupVault -SubscriptionId $sub -ResourceGroupName "ResourceGroupName" -VaultName $vaultName -$policy = Get-AzDataProtectionBackupPolicy -SubscriptionId $sub -ResourceGroupName "ResourceGroupName" -VaultName "vaultName" -Name "MyPolicy" -$instance = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureDatabaseForPostgreSQL -DatasourceLocation $vault.Location -PolicyId $policy.Id -DatasourceId $dataSourceId -SecretStoreURI $secretURI -SecretStoreType AzureKeyVault -New-AzDataProtectionBackupInstance -SubscriptionId $sub -ResourceGroupName "ResourceGroupName" -VaultName "vaultName" -BackupInstance $instance +Fetches list of Cross Region Restore job belonging to the vault .Example -$policy = Get-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -ResourceGroupName "resourceGroupName" | where {$_.Name -eq "policyName"} -$sourceClusterId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.ContainerService/managedClusters/aks-cluster" -$snapshotResourceGroupId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName" -$backupConfig = New-AzDataProtectionBackupConfigurationClientObject -SnapshotVolume $true -IncludeClusterScopeResource $true -DatasourceType AzureKubernetesService -LabelSelector "x=y","foo=bar" -$backupInstance = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureKubernetesService -DatasourceLocation "eastus" -PolicyId $policy.Id -DatasourceId $sourceClusterId -SnapshotResourceGroupId $snapshotResourceGroupId -FriendlyName "aks-cluster-friendlyName" -BackupConfiguration $backupConfig -Set-AzDataProtectionMSIPermission -BackupInstance $backupInstance -VaultResourceGroup "resourceGroupName" -VaultName "vaultName" -PermissionsScope "ResourceGroup" -$tag= @{"Owner"="BIOwnerName";"Foo"="Bar";"A"="B"} -$biCreate = New-AzDataProtectionBackupInstance -ResourceGroupName "ResourceGroupName" -VaultName "vaultName" -BackupInstance $backupInstance -SubscriptionId $sub -Tag $tag -$biCreate +{{ Add code here }} .Example -$vault = Get-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -$pol = Get-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -ResourceGroupName "resourceGroupName" | Where { $_.Name -match "vaultedPolicyName" } -$backupConfig = New-AzDataProtectionBackupConfigurationClientObject -DatasourceType AzureBlob -IncludeAllContainer -StorageAccountResourceGroupName "resourceGroupName" -StorageAccountName "storageAcountName" -$backupInstanceClientObject = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureBlob -DatasourceLocation $vault.Location -PolicyId $pol[0].Id -DatasourceId "storageAccId" -BackupConfiguration $backupConfig -Set-AzDataProtectionMSIPermission -VaultResourceGroup "resourceGroupName" -VaultName "vaultName" -BackupInstance $backupInstanceClientObject -PermissionsScope ResourceGroup -$operationResponse = Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -BackupInstance $backupInstanceClientObject.Property -NoWait -$operationId = $operationResponse.Target.Split("/")[-1].Split("?")[0] -While((Get-AzDataProtectionOperationStatus -OperationId $operationId -Location $vault.Location -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx").Status -eq "Inprogress"){ - Start-Sleep -Seconds 10 -} -$backupnstanceCreate = New-AzDataProtectionBackupInstance -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -BackupInstance $backupInstanceClientObject +{{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. -PARAMETER : BackupInstance Resource - [Tag ]: Proxy Resource tags. - [(Any) ]: This indicates any property can be added to this object. - [Property ]: BackupInstanceResource properties - DataSourceInfo : Gets or sets the data source information. - ResourceId : Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. - [ObjectType ]: Type of Datasource object, used to initialize the right inherited type - [ResourceLocation ]: Location of datasource. - [ResourceName ]: Unique identifier of the resource in the context of parent. - [ResourceType ]: Resource Type of Datasource. - [ResourceUri ]: Uri of the resource. - [Type ]: DatasourceType of the resource. - ObjectType : - PolicyInfo : Gets or sets the policy information. - PolicyId : - [PolicyParameter ]: Policy parameters for the backup instance - [BackupDatasourceParametersList ]: Gets or sets the Backup Data Source Parameters - ObjectType : Type of the specific object - used for deserializing - [DataStoreParametersList ]: Gets or sets the DataStore Parameters - DataStoreType : type of datastore; Operational/Vault/Archive - ObjectType : Type of the specific object - used for deserializing - [DataSourceSetInfo ]: Gets or sets the data source set information. - ResourceId : Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. - [DatasourceType ]: DatasourceType of the resource. - [ObjectType ]: Type of Datasource object, used to initialize the right inherited type - [ResourceLocation ]: Location of datasource. - [ResourceName ]: Unique identifier of the resource in the context of parent. - [ResourceType ]: Resource Type of Datasource. - [ResourceUri ]: Uri of the resource. - [DatasourceAuthCredentials ]: Credentials to use to authenticate with data source provider. - ObjectType : Type of the specific object - used for deserializing - [FriendlyName ]: Gets or sets the Backup Instance friendly name. - [IdentityDetail ]: Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned. - [UseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. - [UserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. - [ValidationType ]: Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. - -PROPERTY : BackupInstanceResource properties - DataSourceInfo : Gets or sets the data source information. - ResourceId : Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. - [ObjectType ]: Type of Datasource object, used to initialize the right inherited type - [ResourceLocation ]: Location of datasource. - [ResourceName ]: Unique identifier of the resource in the context of parent. - [ResourceType ]: Resource Type of Datasource. - [ResourceUri ]: Uri of the resource. - [Type ]: DatasourceType of the resource. - ObjectType : - PolicyInfo : Gets or sets the policy information. - PolicyId : - [PolicyParameter ]: Policy parameters for the backup instance - [BackupDatasourceParametersList ]: Gets or sets the Backup Data Source Parameters - ObjectType : Type of the specific object - used for deserializing - [DataStoreParametersList ]: Gets or sets the DataStore Parameters - DataStoreType : type of datastore; Operational/Vault/Archive - ObjectType : Type of the specific object - used for deserializing - [DataSourceSetInfo ]: Gets or sets the data source set information. - ResourceId : Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. - [DatasourceType ]: DatasourceType of the resource. - [ObjectType ]: Type of Datasource object, used to initialize the right inherited type - [ResourceLocation ]: Location of datasource. - [ResourceName ]: Unique identifier of the resource in the context of parent. - [ResourceType ]: Resource Type of Datasource. - [ResourceUri ]: Uri of the resource. - [DatasourceAuthCredentials ]: Credentials to use to authenticate with data source provider. - ObjectType : Type of the specific object - used for deserializing - [FriendlyName ]: Gets or sets the Backup Instance friendly name. - [IdentityDetail ]: Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned. - [UseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. - [UserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. - [ValidationType ]: Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. +PARAMETER : Details of Backup Vault for which CRR Jobs are to be fetched + SourceBackupVaultId : + SourceRegion : .Link -https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupinstance +https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectioncrossregionrestorejob #> -function New-AzDataProtectionBackupInstance { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource])] -[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Get-AzDataProtectionCrossRegionRestoreJob { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupJobResource])] +[CmdletBinding(DefaultParameterSetName='ListExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] - [Alias('BackupInstanceName')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] - # The name of the backup instance. - ${Name}, + # The name of the Azure region. + ${Location}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] @@ -455,40 +405,38 @@ param( # The name is case insensitive. ${ResourceGroupName}, - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the backup vault. - ${VaultName}, - [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] - [System.String] + [System.String[]] # The ID of the target subscription. # The value must be an UUID. ${SubscriptionId}, - [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Query')] + [System.String] + # OData filter options. + ${Filter}, + + [Parameter(ParameterSetName='List', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource] - # BackupInstance Resource + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreJobsRequest] + # Details of Backup Vault for which CRR Jobs are to be fetched # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, - [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='ListExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance] - # BackupInstanceResource properties - # To construct, see NOTES section for PROPERTY properties and create a hash table. - ${Property}, + [System.String] + # . + ${SourceBackupVaultId}, - [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='ListExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppProxyResourceTags]))] - [System.Collections.Hashtable] - # Proxy Resource tags. - ${Tag}, + [System.String] + # . + ${SourceRegion}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -499,12 +447,6 @@ param( # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command as a job - ${AsJob}, - [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] [System.Management.Automation.SwitchParameter] @@ -525,12 +467,6 @@ param( # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, - [Parameter()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] - [System.Management.Automation.SwitchParameter] - # Run the command asynchronously - ${NoWait}, - [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] [System.Uri] @@ -560,10 +496,10 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ - Create = 'Az.DataProtection.private\New-AzDataProtectionBackupInstance_Create'; - CreateExpanded = 'Az.DataProtection.private\New-AzDataProtectionBackupInstance_CreateExpanded'; + List = 'Az.DataProtection.private\Get-AzDataProtectionCrossRegionRestoreJob_List'; + ListExpanded = 'Az.DataProtection.private\Get-AzDataProtectionCrossRegionRestoreJob_ListExpanded'; } - if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('List', 'ListExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } @@ -599,112 +535,1604 @@ end { <# .Synopsis -Creates or Updates a backup policy belonging to a backup vault +Returns a list of Secondary Recovery Points for a DataSource in a vault, that can be used for Cross Region Restore. .Description -Creates or Updates a backup policy belonging to a backup vault +Returns a list of Secondary Recovery Points for a DataSource in a vault, that can be used for Cross Region Restore. .Example -$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDisk -New-AzDataProtectionBackupPolicy -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Name "MyPolicy" -Policy $defaultPol +{{ Add code here }} .Example -$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDatabaseForPostgreSQL -$lifeCycleVault = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Months -SourceRetentionDurationCount 3 -TargetDataStore ArchiveStore -CopyOption CopyOnExpiryOption -$lifeCycleArchive = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore ArchiveStore -SourceRetentionDurationType Months -SourceRetentionDurationCount 6 -Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Default -LifeCycles $lifeCycleVault, $lifeCycleArchive -IsDefault $true -$schDates = @( -( - (Get-Date -Year 2021 -Month 08 -Day 18 -Hour 10 -Minute 0 -Second 0) -), -( - (Get-Date -Year 2021 -Month 08 -Day 22 -Hour 10 -Minute 0 -Second 0) -)) +{{ Add code here }} -$trigger = New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $schDates -IntervalType Weekly -IntervalCount 1 -Edit-AzDataProtectionPolicyTriggerClientObject -Schedule $trigger -Policy $defaultPol -$lifeCycleVault = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Months -SourceRetentionDurationCount 6 -TargetDataStore ArchiveStore -CopyOption CopyOnExpiryOption -$lifeCycleArchive = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore ArchiveStore -SourceRetentionDurationType Months -SourceRetentionDurationCount 12 -Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Monthly -LifeCycles $lifeCycleVault, $lifeCycleArchive -IsDefault $false -$tagCriteria = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfMonth -Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Monthly -Criteria $tagCriteria -New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "newOSSPolicy" -Policy $defaultPol +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource +.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. + +PARAMETER : Information about BI whose secondary RecoveryPoints are requested Source region and BI ARM path + [SourceBackupInstanceId ]: ARM Path of BackupInstance + [SourceRegion ]: Source region in which BackupInstance is located +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionfetchsecondaryrecoverypoint +#> +function Get-AzDataProtectionFetchSecondaryRecoveryPoint { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource])] +[CmdletBinding(DefaultParameterSetName='ListExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the Azure region. + ${Location}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String[]] + # The ID of the target subscription. + # The value must be an UUID. + ${SubscriptionId}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Query')] + [System.String] + # OData filter options. + ${Filter}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Query')] + [System.String] + # skipToken Filter. + ${SkipToken}, + + [Parameter(ParameterSetName='List', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IFetchSecondaryRPsRequestParameters] + # Information about BI whose secondary RecoveryPoints are requested + # Source region and + # BI ARM path + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, + + [Parameter(ParameterSetName='ListExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # ARM Path of BackupInstance + ${SourceBackupInstanceId}, + + [Parameter(ParameterSetName='ListExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Source region in which BackupInstance is located + ${SourceRegion}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + $mapping = @{ + List = 'Az.DataProtection.private\Get-AzDataProtectionFetchSecondaryRecoveryPoint_List'; + ListExpanded = 'Az.DataProtection.private\Get-AzDataProtectionFetchSecondaryRecoveryPoint_ListExpanded'; + } + if (('List', 'ListExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + + throw + } + +} +end { + try { + $steppablePipeline.End() + + } catch { + + throw + } +} +} + +<# +.Synopsis +Gets a job with id in a backup vault +.Description +Gets a job with id in a backup vault .Example -$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureKubernetesService -$schDate = @( -( - (Get-Date -Year 2023 -Month 03 -Day 18 -Hour 16 -Minute 0 -Second 0) -)) -$trigger = New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $schDate -IntervalType Daily -IntervalCount 1 -Edit-AzDataProtectionPolicyTriggerClientObject -Schedule $trigger -Policy $defaultPol -$lifeCycleDaily = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Days -SourceRetentionDurationCount 8 -$lifeCycleWeekly = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Weeks -SourceRetentionDurationCount 9 -Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Daily -LifeCycles $lifeCycleDaily -IsDefault $false -Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Weekly -LifeCycles $lifeCycleWeekly -IsDefault $false -$tagCriteriaDaily = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfDay -Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Daily -Criteria $tagCriteriaDaily -$tagCriteriaWeekly = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfWeek -Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Weekly -Criteria $tagCriteriaWeekly -$newPolicy = New-AzDataProtectionBackupPolicy -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "newAKSPolicy" -Policy $defaultPol -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" +Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault .Example -$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureBlob -Edit-AzDataProtectionPolicyTriggerClientObject -Policy $defaultPol -RemoveSchedule -$lifeCycleOperationalTier = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Days -SourceRetentionDurationCount 30 -Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Default -LifeCycles $lifeCycleOperationalTier -IsDefault $true -OverwriteLifeCycle $true -$opPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "operationalPolicyName" -Policy $defaultPol +Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Id 4abaea8c-f53a-4bb1-9963-59f96b597165 +.Example +Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -UseSecondaryRegion + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. + [BackupPolicyName ]: + [Id ]: Resource identity path + [JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + [Location ]: The location in which uniqueness will be verified. + [OperationId ]: + [RecoveryPointId ]: + [RequestName ]: + [ResourceGroupName ]: The name of the resource group. The name is case insensitive. + [ResourceGuardProxyName ]: name of the resource guard proxy + [ResourceGuardsName ]: The name of ResourceGuard + [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.Api20231101.IAzureBackupJobResource])] +[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] +param( + [Parameter(ParameterSetName='Get', Mandatory)] + [Alias('JobId')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The Job ID. + # This is a GUID-formatted string (e.g. + # 00000000-0000-0000-0000-000000000000). + ${Id}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [Parameter(ParameterSetName='List', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Get')] + [Parameter(ParameterSetName='List')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String[]] + # The ID of the target subscription. + # The value must be an UUID. + ${SubscriptionId}, + + [Parameter(ParameterSetName='Get', Mandatory)] + [Parameter(ParameterSetName='List', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup vault. + ${VaultName}, + + [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + $mapping = @{ + Get = 'Az.DataProtection.private\Get-AzDataProtectionJob_Get'; + GetViaIdentity = 'Az.DataProtection.private\Get-AzDataProtectionJob_GetViaIdentity'; + List = 'Az.DataProtection.private\Get-AzDataProtectionJob_List'; + } + if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + + throw + } + +} +end { + try { + $steppablePipeline.End() + + } catch { + + throw + } +} +} + +<# +.Synopsis +Returns a list of Recovery Points for a DataSource in a vault. +.Description +Returns a list of Recovery Points for a DataSource in a vault. +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault +Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[2].Name +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault +Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[2].Name -Id 892e5c5014dc4a96807d22924f5745c9 +.Example +$instance = $instance = Search-AzDataProtectionBackupInstanceInAzGraph -DatasourceType AzureDatabaseForPostgreSQL -Subscription "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroup sarath-rg -Vault sarath-vault +$recoveryPoints = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstanceName $instance[2].Name -UseSecondaryRegion + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionrecoverypoint +#> +function Get-AzDataProtectionRecoveryPoint { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRecoveryPointResource])] +[CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup instance. + ${BackupInstanceName}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup vault. + ${VaultName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String[]] + # The ID of the target subscription. + # The value must be an UUID. + ${SubscriptionId}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Query')] + [System.String] + # OData filter options. + ${Filter}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Query')] + [System.String] + # skipToken Filter. + ${SkipToken}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + $mapping = @{ + List = 'Az.DataProtection.private\Get-AzDataProtectionRecoveryPoint_List'; + } + if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + + throw + } + +} +end { + try { + $steppablePipeline.End() + + } catch { + + throw + } +} +} + +<# +.Synopsis +Create or update a backup instance in a backup vault +.Description +Create or update a backup instance in a backup vault +.Example +$sub = "xxxx-xxx-xx" +$DiskId = "/subscriptions/{subscription}/resourceGroups/{resourcegroup}/providers/Microsoft.Compute/disks/{diskname}" +$policy = Get-AzDataProtectionBackupPolicy -SubscriptionId $sub -ResourceGroupName sarath-rg -VaultName sarath-vault -Name "MyPolicy" +$instance = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureDisk -DatasourceLocation $vault.Location -PolicyId $policy.Id -DatasourceId $DiskId +$instance.Property.PolicyInfo.PolicyParameter.DataStoreParametersList[0].ResourceGroupId = "/subscriptions/{subscription}/resourceGroups/{resourceGroup}" +New-AzDataProtectionBackupInstance -SubscriptionId $sub -ResourceGroupName sarath-rg -VaultName sarath-vault -BackupInstance $instance +.Example +$sub = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" +$dataSourceId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/ResourceGroupName/providers/Microsoft.DBforPostgreSQL/servers/OssServerName/databases/DBName" +$secretURI = "https://oss-keyvault.vault.azure.net/secrets/oss-secret" +$vault = Get-AzDataProtectionBackupVault -SubscriptionId $sub -ResourceGroupName "ResourceGroupName" -VaultName $vaultName +$policy = Get-AzDataProtectionBackupPolicy -SubscriptionId $sub -ResourceGroupName "ResourceGroupName" -VaultName "vaultName" -Name "MyPolicy" +$instance = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureDatabaseForPostgreSQL -DatasourceLocation $vault.Location -PolicyId $policy.Id -DatasourceId $dataSourceId -SecretStoreURI $secretURI -SecretStoreType AzureKeyVault +New-AzDataProtectionBackupInstance -SubscriptionId $sub -ResourceGroupName "ResourceGroupName" -VaultName "vaultName" -BackupInstance $instance +.Example +$policy = Get-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -ResourceGroupName "resourceGroupName" | where {$_.Name -eq "policyName"} +$sourceClusterId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.ContainerService/managedClusters/aks-cluster" +$snapshotResourceGroupId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName" +$backupConfig = New-AzDataProtectionBackupConfigurationClientObject -SnapshotVolume $true -IncludeClusterScopeResource $true -DatasourceType AzureKubernetesService -LabelSelector "x=y","foo=bar" +$backupInstance = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureKubernetesService -DatasourceLocation "eastus" -PolicyId $policy.Id -DatasourceId $sourceClusterId -SnapshotResourceGroupId $snapshotResourceGroupId -FriendlyName "aks-cluster-friendlyName" -BackupConfiguration $backupConfig +Set-AzDataProtectionMSIPermission -BackupInstance $backupInstance -VaultResourceGroup "resourceGroupName" -VaultName "vaultName" -PermissionsScope "ResourceGroup" +$tag= @{"Owner"="BIOwnerName";"Foo"="Bar";"A"="B"} +$biCreate = New-AzDataProtectionBackupInstance -ResourceGroupName "ResourceGroupName" -VaultName "vaultName" -BackupInstance $backupInstance -SubscriptionId $sub -Tag $tag +$biCreate +.Example +$vault = Get-AzDataProtectionBackupVault -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$pol = Get-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -ResourceGroupName "resourceGroupName" | Where { $_.Name -match "vaultedPolicyName" } +$backupConfig = New-AzDataProtectionBackupConfigurationClientObject -DatasourceType AzureBlob -IncludeAllContainer -StorageAccountResourceGroupName "resourceGroupName" -StorageAccountName "storageAcountName" +$backupInstanceClientObject = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureBlob -DatasourceLocation $vault.Location -PolicyId $pol[0].Id -DatasourceId "storageAccId" -BackupConfiguration $backupConfig +Set-AzDataProtectionMSIPermission -VaultResourceGroup "resourceGroupName" -VaultName "vaultName" -BackupInstance $backupInstanceClientObject -PermissionsScope ResourceGroup +$operationResponse = Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -BackupInstance $backupInstanceClientObject.Property -NoWait +$operationId = $operationResponse.Target.Split("/")[-1].Split("?")[0] +While((Get-AzDataProtectionOperationStatus -OperationId $operationId -Location $vault.Location -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx").Status -eq "Inprogress"){ + Start-Sleep -Seconds 10 +} +$backupnstanceCreate = New-AzDataProtectionBackupInstance -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -BackupInstance $backupInstanceClientObject + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. + +PARAMETER : BackupInstance Resource + [Tag ]: Proxy Resource tags. + [(Any) ]: This indicates any property can be added to this object. + [Property ]: BackupInstanceResource properties + DataSourceInfo : Gets or sets the data source information. + ResourceId : Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + [ObjectType ]: Type of Datasource object, used to initialize the right inherited type + [ResourceLocation ]: Location of datasource. + [ResourceName ]: Unique identifier of the resource in the context of parent. + [ResourceType ]: Resource Type of Datasource. + [ResourceUri ]: Uri of the resource. + [Type ]: DatasourceType of the resource. + ObjectType : + PolicyInfo : Gets or sets the policy information. + PolicyId : + [PolicyParameter ]: Policy parameters for the backup instance + [BackupDatasourceParametersList ]: Gets or sets the Backup Data Source Parameters + ObjectType : Type of the specific object - used for deserializing + [DataStoreParametersList ]: Gets or sets the DataStore Parameters + DataStoreType : type of datastore; Operational/Vault/Archive + ObjectType : Type of the specific object - used for deserializing + [DataSourceSetInfo ]: Gets or sets the data source set information. + ResourceId : Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + [DatasourceType ]: DatasourceType of the resource. + [ObjectType ]: Type of Datasource object, used to initialize the right inherited type + [ResourceLocation ]: Location of datasource. + [ResourceName ]: Unique identifier of the resource in the context of parent. + [ResourceType ]: Resource Type of Datasource. + [ResourceUri ]: Uri of the resource. + [DatasourceAuthCredentials ]: Credentials to use to authenticate with data source provider. + ObjectType : Type of the specific object - used for deserializing + [FriendlyName ]: Gets or sets the Backup Instance friendly name. + [IdentityDetail ]: Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned. + [UseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. + [UserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. + [ValidationType ]: Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. + +PROPERTY : BackupInstanceResource properties + DataSourceInfo : Gets or sets the data source information. + ResourceId : Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + [ObjectType ]: Type of Datasource object, used to initialize the right inherited type + [ResourceLocation ]: Location of datasource. + [ResourceName ]: Unique identifier of the resource in the context of parent. + [ResourceType ]: Resource Type of Datasource. + [ResourceUri ]: Uri of the resource. + [Type ]: DatasourceType of the resource. + ObjectType : + PolicyInfo : Gets or sets the policy information. + PolicyId : + [PolicyParameter ]: Policy parameters for the backup instance + [BackupDatasourceParametersList ]: Gets or sets the Backup Data Source Parameters + ObjectType : Type of the specific object - used for deserializing + [DataStoreParametersList ]: Gets or sets the DataStore Parameters + DataStoreType : type of datastore; Operational/Vault/Archive + ObjectType : Type of the specific object - used for deserializing + [DataSourceSetInfo ]: Gets or sets the data source set information. + ResourceId : Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault. + [DatasourceType ]: DatasourceType of the resource. + [ObjectType ]: Type of Datasource object, used to initialize the right inherited type + [ResourceLocation ]: Location of datasource. + [ResourceName ]: Unique identifier of the resource in the context of parent. + [ResourceType ]: Resource Type of Datasource. + [ResourceUri ]: Uri of the resource. + [DatasourceAuthCredentials ]: Credentials to use to authenticate with data source provider. + ObjectType : Type of the specific object - used for deserializing + [FriendlyName ]: Gets or sets the Backup Instance friendly name. + [IdentityDetail ]: Contains information of the Identity Details for the BI. If it is null, default will be considered as System Assigned. + [UseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. + [UserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. + [ValidationType ]: Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupinstance +#> +function New-AzDataProtectionBackupInstance { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource])] +[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Alias('BackupInstanceName')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup instance. + ${Name}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup vault. + ${VaultName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + # The value must be an UUID. + ${SubscriptionId}, + + [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource] + # BackupInstance Resource + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance] + # BackupInstanceResource properties + # To construct, see NOTES section for PROPERTY properties and create a hash table. + ${Property}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppProxyResourceTags]))] + [System.Collections.Hashtable] + # Proxy Resource tags. + ${Tag}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + $mapping = @{ + Create = 'Az.DataProtection.private\New-AzDataProtectionBackupInstance_Create'; + CreateExpanded = 'Az.DataProtection.private\New-AzDataProtectionBackupInstance_CreateExpanded'; + } + if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + + throw + } + +} +end { + try { + $steppablePipeline.End() + + } catch { + + throw + } +} +} + +<# +.Synopsis +Creates or Updates a backup policy belonging to a backup vault +.Description +Creates or Updates a backup policy belonging to a backup vault +.Example +$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDisk +New-AzDataProtectionBackupPolicy -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Name "MyPolicy" -Policy $defaultPol +.Example +$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDatabaseForPostgreSQL +$lifeCycleVault = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Months -SourceRetentionDurationCount 3 -TargetDataStore ArchiveStore -CopyOption CopyOnExpiryOption +$lifeCycleArchive = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore ArchiveStore -SourceRetentionDurationType Months -SourceRetentionDurationCount 6 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Default -LifeCycles $lifeCycleVault, $lifeCycleArchive -IsDefault $true +$schDates = @( +( + (Get-Date -Year 2021 -Month 08 -Day 18 -Hour 10 -Minute 0 -Second 0) +), +( + (Get-Date -Year 2021 -Month 08 -Day 22 -Hour 10 -Minute 0 -Second 0) +)) + +$trigger = New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $schDates -IntervalType Weekly -IntervalCount 1 +Edit-AzDataProtectionPolicyTriggerClientObject -Schedule $trigger -Policy $defaultPol +$lifeCycleVault = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Months -SourceRetentionDurationCount 6 -TargetDataStore ArchiveStore -CopyOption CopyOnExpiryOption +$lifeCycleArchive = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore ArchiveStore -SourceRetentionDurationType Months -SourceRetentionDurationCount 12 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Monthly -LifeCycles $lifeCycleVault, $lifeCycleArchive -IsDefault $false +$tagCriteria = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfMonth +Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Monthly -Criteria $tagCriteria +New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "newOSSPolicy" -Policy $defaultPol +.Example +$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureKubernetesService +$schDate = @( +( + (Get-Date -Year 2023 -Month 03 -Day 18 -Hour 16 -Minute 0 -Second 0) +)) +$trigger = New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $schDate -IntervalType Daily -IntervalCount 1 +Edit-AzDataProtectionPolicyTriggerClientObject -Schedule $trigger -Policy $defaultPol +$lifeCycleDaily = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Days -SourceRetentionDurationCount 8 +$lifeCycleWeekly = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Weeks -SourceRetentionDurationCount 9 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Daily -LifeCycles $lifeCycleDaily -IsDefault $false +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Weekly -LifeCycles $lifeCycleWeekly -IsDefault $false +$tagCriteriaDaily = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfDay +Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Daily -Criteria $tagCriteriaDaily +$tagCriteriaWeekly = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfWeek +Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Weekly -Criteria $tagCriteriaWeekly +$newPolicy = New-AzDataProtectionBackupPolicy -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "newAKSPolicy" -Policy $defaultPol -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" +.Example +$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureBlob +Edit-AzDataProtectionPolicyTriggerClientObject -Policy $defaultPol -RemoveSchedule +$lifeCycleOperationalTier = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Days -SourceRetentionDurationCount 30 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Default -LifeCycles $lifeCycleOperationalTier -IsDefault $true -OverwriteLifeCycle $true +$opPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "operationalPolicyName" -Policy $defaultPol +.Example +$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureBlob +$lifeCycleVaultTierWeekly = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Weeks -SourceRetentionDurationCount 4 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Weekly -LifeCycles $lifeCycleVaultTierWeekly -IsDefault $false +$tagCriteria = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfWeek +Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Weekly -Criteria $tagCriteria +$vaultedPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "vaultedPolicyName" -Policy $defaultPol +.Example +$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureBlob +$lifeCycleOperationalTier = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Days -SourceRetentionDurationCount 30 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Default -LifeCycles $lifeCycleOperationalTier -IsDefault $true -OverwriteLifeCycle $false +$lifeCycleVaultTierWeekly = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Weeks -SourceRetentionDurationCount 7 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Weekly -LifeCycles $lifeCycleVaultTierWeekly -IsDefault $false +$tagCriteria = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfWeek +Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Weekly -Criteria $tagCriteria +$lifeCycleVaultTierMonthly = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Months -SourceRetentionDurationCount 5 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Monthly -LifeCycles $lifeCycleVaultTierMonthly -IsDefault $false +$tagCriteria = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfMonth +Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Monthly -Criteria $tagCriteria +$lifeCycleVaultTierYearly = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Years -SourceRetentionDurationCount 1 +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Yearly -LifeCycles $lifeCycleVaultTierYearly -IsDefault $false +$tagCriteria = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfYear +Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Yearly -Criteria $tagCriteria +$scheduleDate = Get-Date +$trigger = New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $scheduleDate -IntervalType Weekly -IntervalCount 1 +Edit-AzDataProtectionPolicyTriggerClientObject -Schedule $trigger -Policy $defaultPol +$defaultPol.PolicyRule[0].Trigger.ScheduleRepeatingTimeInterval[0] = "R/2023-05-09T02:30:00+01:00/P1W" +$timeZone = Get-TimeZone -ListAvailable | Where-Object { $_.Id -match "Europe" } +$defaultPol.PolicyRule[0].Trigger.ScheduleTimeZone = $timeZone[0].Id +$operationalVaultedPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "operationalVaultedPolicyName" -Policy $defaultPol + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. + +PARAMETER : BaseBackupPolicy resource + [DatasourceType ]: Type of datasource for the backup management + [ObjectType ]: +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackuppolicy +#> +function New-AzDataProtectionBackupPolicy { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource])] +[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Alias('BackupPolicyName')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # Name of the policy + ${Name}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup vault. + ${VaultName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + # The value must be an UUID. + ${SubscriptionId}, + + [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBaseBackupPolicyResource] + # BaseBackupPolicy resource + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, + + [Parameter(ParameterSetName='CreateExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # Type of datasource for the backup management + ${DatasourceType}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # . + ${ObjectType}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + $mapping = @{ + Create = 'Az.DataProtection.private\New-AzDataProtectionBackupPolicy_Create'; + CreateExpanded = 'Az.DataProtection.private\New-AzDataProtectionBackupPolicy_CreateExpanded'; + } + if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + + throw + } + +} +end { + try { + $steppablePipeline.End() + + } catch { + + throw + } +} +} + +<# +.Synopsis +Creates or updates a BackupVault resource belonging to a resource group. +.Description +Creates or updates a BackupVault resource belonging to a resource group. +.Example +$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 "resourceGroupName" -VaultName "vaultName" -Location westus -StorageSetting $storagesetting -CrossSubscriptionRestoreState Enabled -ImmutabilityState Unlocked -SoftDeleteRetentionDurationInDay 100 -SoftDeleteState On + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. + +PARAMETER : Backup Vault Resource + StorageSetting : Storage Settings + [DatastoreType ]: Gets or sets the type of the datastore. + [Type ]: Gets or sets the type. + [IdentityType ]: The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None + [IdentityUserAssignedIdentity ]: Gets or sets the user assigned identities. + [(Any) ]: This indicates any property can be added to this object. + [ETag ]: Optional ETag. + [Location ]: Resource location. + [Tag ]: Resource tags. + [(Any) ]: This indicates any property can be added to this object. + [AzureMonitorAlertsForAllJobFailure ]: + [CrossRegionRestoreState ]: CrossRegionRestore state + [CrossSubscriptionRestoreState ]: CrossSubscriptionRestore state + [ImmutabilityState ]: Immutability state + [ReplicatedRegion ]: List of replicated regions for Backup Vault + [ResourceMoveDetailCompletionTimeUtc ]: Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. + [ResourceMoveDetailOperationId ]: CorrelationId of latest ResourceMove operation attempted + [ResourceMoveDetailSourceResourcePath ]: ARM resource path of source resource + [ResourceMoveDetailStartTimeUtc ]: Start time in UTC of latest ResourceMove operation attempted. ISO 8601 format. + [ResourceMoveDetailTargetResourcePath ]: ARM resource path of target resource used in latest ResourceMove operation + [SoftDeleteRetentionDurationInDay ]: Soft delete retention duration + [SoftDeleteState ]: State of soft delete + +STORAGESETTING : Storage Settings + [DatastoreType ]: Gets or sets the type of the datastore. + [Type ]: Gets or sets the type. +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupvault +#> +function New-AzDataProtectionBackupVault { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource])] +[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup vault. + ${VaultName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + # The value must be an UUID. + ${SubscriptionId}, + + [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupVaultResource] + # Backup Vault Resource + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, + + [Parameter(ParameterSetName='CreateExpanded', Mandatory)] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting[]] + # Storage Settings + # To construct, see NOTES section for STORAGESETTING properties and create a hash table. + ${StorageSetting}, + + [Parameter(ParameterSetName='CreateExpanded')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState])] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState] + # Parameter to Enable or Disable built-in azure monitor alerts for job failures. + # Security alerts cannot be disabled. + ${AzureMonitorAlertsForAllJobFailure}, + + [Parameter(ParameterSetName='CreateExpanded')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState])] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState] + # Cross region restore state of the vault. + # Allowed values are Disabled, Enabled. + ${CrossRegionRestoreState}, + + [Parameter(ParameterSetName='CreateExpanded')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState])] + [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(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Optional ETag. + ${ETag}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None + ${IdentityType}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities]))] + [System.Collections.Hashtable] + # Gets or sets the user assigned identities. + ${IdentityUserAssignedIdentity}, + + [Parameter(ParameterSetName='CreateExpanded')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState])] + [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(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Resource location. + ${Location}, + + [Parameter(ParameterSetName='CreateExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # List of replicated regions for Backup Vault + ${ReplicatedRegion}, + + [Parameter(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Double] + # Soft delete retention duration in days. + ${SoftDeleteRetentionDurationInDay}, + + [Parameter(ParameterSetName='CreateExpanded')] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState])] + [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(ParameterSetName='CreateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags]))] + [System.Collections.Hashtable] + # Resource tags. + ${Tag}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + $mapping = @{ + Create = 'Az.DataProtection.private\New-AzDataProtectionBackupVault_Create'; + CreateExpanded = 'Az.DataProtection.private\New-AzDataProtectionBackupVault_CreateExpanded'; + } + if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + + throw + } + +} +end { + try { + $steppablePipeline.End() + + } catch { + + throw + } +} +} + +<# +.Synopsis +Creates or updates a ResourceGuard resource belonging to a resource group. +.Description +Creates or updates a ResourceGuard resource belonging to a resource group. +.Example +New-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "mua-rg" -Name "mua-resource-guard" -Location "centraluseuap" + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. + [BackupPolicyName ]: + [Id ]: Resource identity path + [JobId ]: The Job ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). + [Location ]: The location in which uniqueness will be verified. + [OperationId ]: + [RecoveryPointId ]: + [RequestName ]: + [ResourceGroupName ]: The name of the resource group. The name is case insensitive. + [ResourceGuardProxyName ]: name of the resource guard proxy + [ResourceGuardsName ]: The name of ResourceGuard + [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. + [VaultName ]: The name of the backup vault. + +PARAMETER : . + [ETag ]: Optional ETag. + [Location ]: Resource location. + [Tag ]: Resource tags. + [(Any) ]: This indicates any property can be added to this object. + [CriticalOperationExclusionList ]: List of critical operations which are not protected by this resourceGuard +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionresourceguard +#> +function New-AzDataProtectionResourceGuard { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource])] +[CmdletBinding(DefaultParameterSetName='PutExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='Put', Mandatory)] + [Parameter(ParameterSetName='PutExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of ResourceGuard + ${Name}, + + [Parameter(ParameterSetName='Put', Mandatory)] + [Parameter(ParameterSetName='PutExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Put')] + [Parameter(ParameterSetName='PutExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + # The value must be an UUID. + ${SubscriptionId}, + + [Parameter(ParameterSetName='PutViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='PutViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [Parameter(ParameterSetName='Put', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='PutViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IResourceGuardResource] + # . + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, + + [Parameter(ParameterSetName='PutExpanded')] + [Parameter(ParameterSetName='PutViaIdentityExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String[]] + # List of critical operations which are not protected by this resourceGuard + ${CriticalOperationExclusionList}, + + [Parameter(ParameterSetName='PutExpanded')] + [Parameter(ParameterSetName='PutViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Optional ETag. + ${ETag}, + + [Parameter(ParameterSetName='PutExpanded')] + [Parameter(ParameterSetName='PutViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Resource location. + ${Location}, + + [Parameter(ParameterSetName='PutExpanded')] + [Parameter(ParameterSetName='PutViaIdentityExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IDppBaseTrackedResourceTags]))] + [System.Collections.Hashtable] + # Resource tags. + ${Tag}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + $mapping = @{ + Put = 'Az.DataProtection.private\New-AzDataProtectionResourceGuard_Put'; + PutExpanded = 'Az.DataProtection.private\New-AzDataProtectionResourceGuard_PutExpanded'; + PutViaIdentity = 'Az.DataProtection.private\New-AzDataProtectionResourceGuard_PutViaIdentity'; + PutViaIdentityExpanded = 'Az.DataProtection.private\New-AzDataProtectionResourceGuard_PutViaIdentityExpanded'; + } + if (('Put', 'PutExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + + throw + } + +} +end { + try { + $steppablePipeline.End() + + } catch { + + throw + } +} +} + +<# +.Synopsis +Triggers Cross Region Restore for BackupInstance. +.Description +Triggers Cross Region Restore for BackupInstance. .Example -$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureBlob -$lifeCycleVaultTierWeekly = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Weeks -SourceRetentionDurationCount 4 -Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Weekly -LifeCycles $lifeCycleVaultTierWeekly -IsDefault $false -$tagCriteria = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfWeek -Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Weekly -Criteria $tagCriteria -$vaultedPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "vaultedPolicyName" -Policy $defaultPol +{{ Add code here }} .Example -$defaultPol = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureBlob -$lifeCycleOperationalTier = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore OperationalStore -SourceRetentionDurationType Days -SourceRetentionDurationCount 30 -Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Default -LifeCycles $lifeCycleOperationalTier -IsDefault $true -OverwriteLifeCycle $false -$lifeCycleVaultTierWeekly = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Weeks -SourceRetentionDurationCount 7 -Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Weekly -LifeCycles $lifeCycleVaultTierWeekly -IsDefault $false -$tagCriteria = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfWeek -Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Weekly -Criteria $tagCriteria -$lifeCycleVaultTierMonthly = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Months -SourceRetentionDurationCount 5 -Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Monthly -LifeCycles $lifeCycleVaultTierMonthly -IsDefault $false -$tagCriteria = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfMonth -Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Monthly -Criteria $tagCriteria -$lifeCycleVaultTierYearly = New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore VaultStore -SourceRetentionDurationType Years -SourceRetentionDurationCount 1 -Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy $defaultPol -Name Yearly -LifeCycles $lifeCycleVaultTierYearly -IsDefault $false -$tagCriteria = New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfYear -Edit-AzDataProtectionPolicyTagClientObject -Policy $defaultPol -Name Yearly -Criteria $tagCriteria -$scheduleDate = Get-Date -$trigger = New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays $scheduleDate -IntervalType Weekly -IntervalCount 1 -Edit-AzDataProtectionPolicyTriggerClientObject -Schedule $trigger -Policy $defaultPol -$defaultPol.PolicyRule[0].Trigger.ScheduleRepeatingTimeInterval[0] = "R/2023-05-09T02:30:00+01:00/P1W" -$timeZone = Get-TimeZone -ListAvailable | Where-Object { $_.Id -match "Europe" } -$defaultPol.PolicyRule[0].Trigger.ScheduleTimeZone = $timeZone[0].Id -$operationalVaultedPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "operationalVaultedPolicyName" -Policy $defaultPol +{{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. -PARAMETER : BaseBackupPolicy resource - [DatasourceType ]: Type of datasource for the backup management - [ObjectType ]: +CROSSREGIONRESTOREDETAIL : Cross region restore details. + SourceBackupInstanceId : + SourceRegion : + +PARAMETER : Cross Region Restore Request Object + CrossRegionRestoreDetail : Cross region restore details. + SourceBackupInstanceId : + SourceRegion : + RestoreRequestObject : Gets or sets the restore request object. + ObjectType : + RestoreTargetInfo : Gets or sets the restore target information. + ObjectType : Type of Datasource object, used to initialize the right inherited type + [RestoreLocation ]: Target Restore region + SourceDataStoreType : Gets or sets the type of the source data store. + [IdentityDetailUseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. + [IdentityDetailUserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. + [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. + +RESTOREREQUESTOBJECT : Gets or sets the restore request object. + ObjectType : + RestoreTargetInfo : Gets or sets the restore target information. + ObjectType : Type of Datasource object, used to initialize the right inherited type + [RestoreLocation ]: Target Restore region + SourceDataStoreType : Gets or sets the type of the source data store. + [IdentityDetailUseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. + [IdentityDetailUserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. + [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. .Link -https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackuppolicy +https://learn.microsoft.com/powershell/module/az.dataprotection/start-azdataprotectionbackupinstancecrossregionrestore #> -function New-AzDataProtectionBackupPolicy { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource])] -[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Start-AzDataProtectionBackupInstanceCrossRegionRestore { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] +[CmdletBinding(DefaultParameterSetName='Trigger', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] - [Alias('BackupPolicyName')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] - # Name of the policy - ${Name}, + # The name of the Azure region. + ${Location}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] @@ -713,12 +2141,6 @@ param( # The name is case insensitive. ${ResourceGroupName}, - [Parameter(Mandatory)] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] - [System.String] - # The name of the backup vault. - ${VaultName}, - [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] @@ -727,25 +2149,26 @@ param( # The value must be an UUID. ${SubscriptionId}, - [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='Trigger', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBaseBackupPolicyResource] - # BaseBackupPolicy resource + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject] + # Cross Region Restore Request Object # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, - [Parameter(ParameterSetName='CreateExpanded')] - [AllowEmptyCollection()] + [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # Type of datasource for the backup management - ${DatasourceType}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails] + # Cross region restore details. + # To construct, see NOTES section for CROSSREGIONRESTOREDETAIL properties and create a hash table. + ${CrossRegionRestoreDetail}, - [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # . - ${ObjectType}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest] + # Gets or sets the restore request object. + # To construct, see NOTES section for RESTOREREQUESTOBJECT properties and create a hash table. + ${RestoreRequestObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -756,6 +2179,12 @@ param( # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] [System.Management.Automation.SwitchParameter] @@ -776,6 +2205,12 @@ param( # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] [System.Uri] @@ -805,10 +2240,10 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ - Create = 'Az.DataProtection.private\New-AzDataProtectionBackupPolicy_Create'; - CreateExpanded = 'Az.DataProtection.private\New-AzDataProtectionBackupPolicy_CreateExpanded'; + Trigger = 'Az.DataProtection.private\Start-AzDataProtectionBackupInstanceCrossRegionRestore_Trigger'; + TriggerExpanded = 'Az.DataProtection.private\Start-AzDataProtectionBackupInstanceCrossRegionRestore_TriggerExpanded'; } - if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('Trigger', 'TriggerExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } @@ -844,60 +2279,132 @@ end { <# .Synopsis -Creates or updates a BackupVault resource belonging to a resource group. +Triggers restore for a BackupInstance .Description -Creates or updates a BackupVault resource belonging to a resource group. +Triggers restore for a BackupInstance .Example -$sub = "xxxx-xxxx-xxxxx" -$storagesetting = New-AzDataProtectionBackupVaultStorageSettingObject -DataStoreType VaultStore -Type LocallyRedundant -New-AzDataProtectionBackupVault -SubscriptionId $sub -ResourceGroupName sarath-rg -VaultName "MyVault" -StorageSetting $storagesetting -Location westus +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "sarath-rg" -VaultName "sarath-vault" +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxx-xxx-xxx" -ResourceGroupName "sarath-rg" -VaultName "sarath-vault" -BackupInstanceName $instance.Name +$restoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDisk -SourceDataStore OperationalStore -RestoreLocation "westus" -RestoreType AlternateLocation -TargetResourceId "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{DiskName}" -RecoveryPoint $rp[0].name +Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.BackupInstanceName -ResourceGroupName sarath-rg -VaultName sarath-vault -SubscriptionId "xxx-xxx-xxx" -Parameter $restorerequest .Example -$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 +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$targetResourceId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.DBforPostgreSQL/servers/serverName/databases/targetDbName" +$secretURI = "https://oss-keyvault.vault.azure.net/secrets/oss-secret" +$restoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation "westus" -RestoreType AlternateLocation -TargetResourceId $targetResourceId -RecoveryPoint $rp[0].Property.RecoveryPointId -SecretStoreURI $secretURI -SecretStoreType AzureKeyVault +$restoreJob = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.BackupInstanceName -ResourceGroupName resourceGroupName -VaultName vaultName -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -Parameter $restorerequest +$jobid = $restoreJob.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" + $jobstatus = $currentjob.Status +} +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$targetContainerURI = "https://targetStorageAccount.blob.core.windows.net/targetContainerName" +$fileNamePrefix = "restore_as_files_12345" +$restoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation "westus" -RestoreType RestoreAsFiles -RecoveryPoint $rp[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -FileNamePrefix $fileNamePrefix +$restoreJob = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.BackupInstanceName -ResourceGroupName resourceGroupName -VaultName vaultName -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -Parameter $restorerequest +$jobid = $restoreJob.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" + $jobstatus = $currentjob.Status +} +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Name -match "aks-cluster-name" } +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$aksRestoreCriteria = New-AzDataProtectionRestoreConfigurationClientObject -DatasourceType AzureKubernetesService -PersistentVolumeRestoreMode RestoreWithVolumeData -IncludeClusterScopeResource $true -NamespaceMapping @{"sourceNamespace1"="targetNamespace1";"sourceNamespace2"="targetNamespace2"} +$snapshotResourceGroupId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/snapshotResourceGroup" +$aksOLRRestoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureKubernetesService -SourceDataStore OperationalStore -RestoreLocation eastus -RestoreType OriginalLocation -RecoveryPoint $rps[0].Property.RecoveryPointId -RestoreConfiguration $aksRestoreCriteria -BackupInstance $instance + +Set-AzDataProtectionMSIPermission -VaultResourceGroup "resourceGroupName" -VaultName "vaultName" -PermissionsScope "ResourceGroup" -RestoreRequest $aksOLRRestoreRequest -SnapshotResourceGroupId $snapshotResourceGroupId +$validateRestore = Test-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -RestoreRequest $aksOLRRestoreRequest -Name $instance.BackupInstanceName +$restoreJob = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $aksOLRRestoreRequest +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Name -match "storageAcountName" } +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$backedUpContainers = $instance.Property.PolicyInfo.PolicyParameter.BackupDatasourceParametersList[0].ContainersList +$restoreReq = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore VaultStore -RestoreLocation "vaultLocation" -RecoveryPoint $rp[0].Name -ItemLevelRecovery -RestoreType AlternateLocation -TargetResourceId "targetStorageAccountId" -ContainersList $backedUpContainers[0,1] +Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -RestoreRequest $restoreReq +$restoreJob = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $restoreReq +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Name -match "storageAcountName" } +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$backedUpContainers = $instance.Property.PolicyInfo.PolicyParameter.BackupDatasourceParametersList[0].ContainersList +$targetCrossSubscriptionStorageAccountId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/targetStorageAccount" +$restoreReqCSR = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore VaultStore -RestoreLocation "vaultLocation" -RecoveryPoint $rp[0].Name -ItemLevelRecovery -RestoreType AlternateLocation -TargetResourceId $targetCrossSubscriptionStorageAccountId -ContainersList $backedUpContainers[0,1] +Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -RestoreRequest $restoreReqCSR +$restoreJobCSR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $restoreReqCSR +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Property.DataSourceInfo.ResourceType -match "Postgre" } +$rp = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance[0].BackupInstanceName -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" +$targetResourceArmId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/crossSubResourceGroupName/providers/Microsoft.Storage/storageAccounts/akneemasaecy/blobServices/default/containers/oss-csr-container" +$targetContainerURI = "https://akneemasaecy.blob.core.windows.net/oss-csr-container" +$fileNamePrefix = "oss-csr-pstest-restoreasfiles" +$ossRestoreReqFiles = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation "vaultLocation" -RestoreType RestoreAsFiles -RecoveryPoint $rp[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -FileNamePrefix $fileNamePrefix -TargetResourceIdForRestoreAsFile $targetContainerArmId +$validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -RestoreRequest $ossRestoreReqFiles +$restoreJobCSR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $ossRestoreReqFiles +$jobid = $restoreJobCSR.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" + $jobstatus = $currentjob.Status +} +.Example +$restoreJobCRR = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.Name -ResourceGroupName $ResourceGroupName -VaultName $vaultName -SubscriptionId $SubscriptionId -Parameter $OssRestoreReq -RestoreToSecondaryRegion +$jobid = $restoreJobCRR.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -UseSecondaryRegion + $jobstatus = $currentjob.Status +} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. -PARAMETER : Backup Vault Resource - StorageSetting : Storage Settings - [DatastoreType ]: Gets or sets the type of the datastore. - [Type ]: Gets or sets the type. - [IdentityType ]: The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None - [IdentityUserAssignedIdentity ]: Gets or sets the user assigned identities. - [(Any) ]: This indicates any property can be added to this object. - [ETag ]: Optional ETag. - [Location ]: Resource location. - [Tag ]: Resource tags. - [(Any) ]: This indicates any property can be added to this object. - [AzureMonitorAlertsForAllJobFailure ]: - [CrossRegionRestoreState ]: CrossRegionRestore state - [CrossSubscriptionRestoreState ]: CrossSubscriptionRestore state - [ImmutabilityState ]: Immutability state - [ResourceMoveDetailCompletionTimeUtc ]: Completion time in UTC of latest ResourceMove operation attempted. ISO 8601 format. - [ResourceMoveDetailOperationId ]: CorrelationId of latest ResourceMove operation attempted - [ResourceMoveDetailSourceResourcePath ]: ARM resource path of source resource - [ResourceMoveDetailStartTimeUtc ]: Start time in UTC of latest ResourceMove operation attempted. ISO 8601 format. - [ResourceMoveDetailTargetResourcePath ]: ARM resource path of target resource used in latest ResourceMove operation - [SoftDeleteRetentionDurationInDay ]: Soft delete retention duration - [SoftDeleteState ]: State of soft delete +PARAMETER : Azure backup restore request + ObjectType : + RestoreTargetInfo : Gets or sets the restore target information. + ObjectType : Type of Datasource object, used to initialize the right inherited type + [RestoreLocation ]: Target Restore region + SourceDataStoreType : Gets or sets the type of the source data store. + [IdentityDetailUseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. + [IdentityDetailUserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. + [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. -STORAGESETTING : Storage Settings - [DatastoreType ]: Gets or sets the type of the datastore. - [Type ]: Gets or sets the type. +RESTORETARGETINFO : Gets or sets the restore target information. + ObjectType : Type of Datasource object, used to initialize the right inherited type + [RestoreLocation ]: Target Restore region .Link -https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupvault +https://learn.microsoft.com/powershell/module/az.dataprotection/start-azdataprotectionbackupinstancerestore #> -function New-AzDataProtectionBackupVault { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource])] -[CmdletBinding(DefaultParameterSetName='Create', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Start-AzDataProtectionBackupInstanceRestore { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] +[CmdletBinding(DefaultParameterSetName='Trigger', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup instance. + ${BackupInstanceName}, + [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] @@ -919,98 +2426,50 @@ param( # The value must be an UUID. ${SubscriptionId}, - [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='Trigger', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupVaultResource] - # Backup Vault Resource + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest] + # Azure backup restore request # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, - [Parameter(ParameterSetName='CreateExpanded', Mandatory)] - [AllowEmptyCollection()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting[]] - # Storage Settings - # To construct, see NOTES section for STORAGESETTING properties and create a hash table. - ${StorageSetting}, - - [Parameter(ParameterSetName='CreateExpanded')] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState])] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AlertsState] - # Parameter to Enable or Disable built-in azure monitor alerts for job failures. - # Security alerts cannot be disabled. - ${AzureMonitorAlertsForAllJobFailure}, - - [Parameter(ParameterSetName='CreateExpanded')] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState])] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossRegionRestoreState] - # Cross region restore state of the vault. - # Allowed values are Disabled, Enabled. - ${CrossRegionRestoreState}, - - [Parameter(ParameterSetName='CreateExpanded')] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CrossSubscriptionRestoreState])] - [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(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # Optional ETag. - ${ETag}, + # . + ${ObjectType}, - [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None - ${IdentityType}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase] + # Gets or sets the restore target information. + # To construct, see NOTES section for RESTORETARGETINFO properties and create a hash table. + ${RestoreTargetInfo}, - [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType])] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api40.IDppIdentityDetailsUserAssignedIdentities]))] - [System.Collections.Hashtable] - # Gets or sets the user assigned identities. - ${IdentityUserAssignedIdentity}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType] + # Gets or sets the type of the source data store. + ${SourceDataStoreType}, - [Parameter(ParameterSetName='CreateExpanded')] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ImmutabilityState])] + [Parameter(ParameterSetName='TriggerExpanded')] [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}, + [System.Management.Automation.SwitchParameter] + # Specifies if the BI is protected by System Identity. + ${IdentityDetailUseSystemAssignedIdentity}, - [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='TriggerExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] [System.String] - # Resource location. - ${Location}, - - [Parameter(ParameterSetName='CreateExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.Double] - # Soft delete retention duration in days. - ${SoftDeleteRetentionDurationInDay}, - - [Parameter(ParameterSetName='CreateExpanded')] - [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SoftDeleteState])] - [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}, + # ARM URL for User Assigned Identity. + ${IdentityDetailUserAssignedIdentityArmUrl}, - [Parameter(ParameterSetName='CreateExpanded')] + [Parameter(ParameterSetName='TriggerExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags]))] - [System.Collections.Hashtable] - # Resource tags. - ${Tag}, + [System.String] + # Fully qualified Azure Resource Manager ID of the datasource which is being recovered. + ${SourceResourceId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -1082,10 +2541,10 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ - Create = 'Az.DataProtection.private\New-AzDataProtectionBackupVault_Create'; - CreateExpanded = 'Az.DataProtection.private\New-AzDataProtectionBackupVault_CreateExpanded'; + Trigger = 'Az.DataProtection.private\Start-AzDataProtectionBackupInstanceRestore_Trigger'; + TriggerExpanded = 'Az.DataProtection.private\Start-AzDataProtectionBackupInstanceRestore_TriggerExpanded'; } - if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('Trigger', 'TriggerExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } @@ -1121,23 +2580,29 @@ end { <# .Synopsis -Creates or updates a ResourceGuard resource belonging to a resource group. +Validates whether Cross Region Restore can be triggered for DataSource. .Description -Creates or updates a ResourceGuard resource belonging to a resource group. +Validates whether Cross Region Restore can be triggered for DataSource. .Example -New-AzDataProtectionResourceGuard -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "mua-rg" -Name "mua-resource-guard" -Location "centraluseuap" +{{ Add code here }} +.Example +{{ Add code here }} .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. +CROSSREGIONRESTOREDETAIL : Cross region restore details. + SourceBackupInstanceId : + SourceRegion : + INPUTOBJECT : Identity Parameter [BackupInstanceName ]: The name of the backup instance. [BackupPolicyName ]: @@ -1153,36 +2618,53 @@ INPUTOBJECT : Identity Parameter [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. [VaultName ]: The name of the backup vault. -PARAMETER : . - [ETag ]: Optional ETag. - [Location ]: Resource location. - [Tag ]: Resource tags. - [(Any) ]: This indicates any property can be added to this object. - [CriticalOperationExclusionList ]: List of critical operations which are not protected by this resourceGuard +PARAMETER : Cross Region Restore Request Object + CrossRegionRestoreDetail : Cross region restore details. + SourceBackupInstanceId : + SourceRegion : + RestoreRequestObject : Gets or sets the restore request object. + ObjectType : + RestoreTargetInfo : Gets or sets the restore target information. + ObjectType : Type of Datasource object, used to initialize the right inherited type + [RestoreLocation ]: Target Restore region + SourceDataStoreType : Gets or sets the type of the source data store. + [IdentityDetailUseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. + [IdentityDetailUserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. + [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. + +RESTOREREQUESTOBJECT : Gets or sets the restore request object. + ObjectType : + RestoreTargetInfo : Gets or sets the restore target information. + ObjectType : Type of Datasource object, used to initialize the right inherited type + [RestoreLocation ]: Target Restore region + SourceDataStoreType : Gets or sets the type of the source data store. + [IdentityDetailUseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. + [IdentityDetailUserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. + [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. .Link -https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionresourceguard +https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancecrossregionrestore #> -function New-AzDataProtectionResourceGuard { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource])] -[CmdletBinding(DefaultParameterSetName='PutExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +function Test-AzDataProtectionBackupInstanceCrossRegionRestore { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] +[CmdletBinding(DefaultParameterSetName='ValidateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( - [Parameter(ParameterSetName='Put', Mandatory)] - [Parameter(ParameterSetName='PutExpanded', Mandatory)] + [Parameter(ParameterSetName='Validate', Mandatory)] + [Parameter(ParameterSetName='ValidateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] - # The name of ResourceGuard - ${Name}, + # The name of the Azure region. + ${Location}, - [Parameter(ParameterSetName='Put', Mandatory)] - [Parameter(ParameterSetName='PutExpanded', Mandatory)] + [Parameter(ParameterSetName='Validate', Mandatory)] + [Parameter(ParameterSetName='ValidateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, - [Parameter(ParameterSetName='Put')] - [Parameter(ParameterSetName='PutExpanded')] + [Parameter(ParameterSetName='Validate')] + [Parameter(ParameterSetName='ValidateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] @@ -1190,51 +2672,37 @@ param( # The value must be an UUID. ${SubscriptionId}, - [Parameter(ParameterSetName='PutViaIdentity', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='PutViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='ValidateViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='ValidateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, - [Parameter(ParameterSetName='Put', Mandatory, ValueFromPipeline)] - [Parameter(ParameterSetName='PutViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='Validate', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='ValidateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IResourceGuardResource] - # . + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject] + # Cross Region Restore Request Object # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, - [Parameter(ParameterSetName='PutExpanded')] - [Parameter(ParameterSetName='PutViaIdentityExpanded')] - [AllowEmptyCollection()] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String[]] - # List of critical operations which are not protected by this resourceGuard - ${CriticalOperationExclusionList}, - - [Parameter(ParameterSetName='PutExpanded')] - [Parameter(ParameterSetName='PutViaIdentityExpanded')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Optional ETag. - ${ETag}, - - [Parameter(ParameterSetName='PutExpanded')] - [Parameter(ParameterSetName='PutViaIdentityExpanded')] + [Parameter(ParameterSetName='ValidateExpanded', Mandatory)] + [Parameter(ParameterSetName='ValidateViaIdentityExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [System.String] - # Resource location. - ${Location}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails] + # Cross region restore details. + # To construct, see NOTES section for CROSSREGIONRESTOREDETAIL properties and create a hash table. + ${CrossRegionRestoreDetail}, - [Parameter(ParameterSetName='PutExpanded')] - [Parameter(ParameterSetName='PutViaIdentityExpanded')] + [Parameter(ParameterSetName='ValidateExpanded', Mandatory)] + [Parameter(ParameterSetName='ValidateViaIdentityExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IDppBaseTrackedResourceTags]))] - [System.Collections.Hashtable] - # Resource tags. - ${Tag}, + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest] + # Gets or sets the restore request object. + # To construct, see NOTES section for RESTOREREQUESTOBJECT properties and create a hash table. + ${RestoreRequestObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] @@ -1245,6 +2713,12 @@ param( # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. ${DefaultProfile}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] [System.Management.Automation.SwitchParameter] @@ -1265,6 +2739,12 @@ param( # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] [System.Uri] @@ -1294,12 +2774,12 @@ begin { $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ - Put = 'Az.DataProtection.private\New-AzDataProtectionResourceGuard_Put'; - PutExpanded = 'Az.DataProtection.private\New-AzDataProtectionResourceGuard_PutExpanded'; - PutViaIdentity = 'Az.DataProtection.private\New-AzDataProtectionResourceGuard_PutViaIdentity'; - PutViaIdentityExpanded = 'Az.DataProtection.private\New-AzDataProtectionResourceGuard_PutViaIdentityExpanded'; + Validate = 'Az.DataProtection.private\Test-AzDataProtectionBackupInstanceCrossRegionRestore_Validate'; + ValidateExpanded = 'Az.DataProtection.private\Test-AzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded'; + ValidateViaIdentity = 'Az.DataProtection.private\Test-AzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity'; + ValidateViaIdentityExpanded = 'Az.DataProtection.private\Test-AzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityExpanded'; } - if (('Put', 'PutExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + if (('Validate', 'ValidateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } @@ -1347,11 +2827,11 @@ $instance = Initialize-AzDataProtectionBackupInstance -SnapshotResourceGroupId $ Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName "resourceGroupName" -VaultName $vault.Name -BackupInstance $instance[0].Property .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -1444,7 +2924,7 @@ PARAMETER : Validate for backup request https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancereadiness #> function Test-AzDataProtectionBackupInstanceReadiness { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='ValidateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Validate', Mandatory)] @@ -1479,14 +2959,14 @@ param( [Parameter(ParameterSetName='Validate', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='ValidateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest] # Validate for backup request # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, [Parameter(ParameterSetName='ValidateViaIdentityExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance] # Backup Instance # To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. ${BackupInstance}, @@ -1610,13 +3090,15 @@ $pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName $vault = Get-AzDataProtectionBackupVault -ResourceGroupName "testResourceGroup" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "testVault" $RestoreRequestObject = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore OperationalStore -RestoreLocation $vault.Location -RestoreType OriginalLocation -BackupInstance $instances[0] -PointInTime (Get-Date -Date $pointInTimeRange.RestorableTimeRange.EndTime) $validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instances[0].Name -ResourceGroupName "testResourceGroup" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "testVault" -RestoreRequest $RestoreRequestObject +.Example +$validateRestore = Test-AzDataProtectionBackupInstanceRestore -ResourceGroupName $ResourceGroupName -Name $instance[0].Name -VaultName $VaultName -RestoreRequest $RestoreRequestObject -SubscriptionId $SubscriptionId -RestoreToSecondaryRegion .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -1661,7 +3143,7 @@ RESTOREREQUESTOBJECT : Gets or sets the restore requ https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancerestore #> function Test-AzDataProtectionBackupInstanceRestore { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='ValidateViaIdentity1', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Validate1', Mandatory)] @@ -1707,7 +3189,7 @@ param( [Parameter(ParameterSetName='Validate1', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='ValidateViaIdentity1', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject] # Validate restore request object # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -1715,7 +3197,7 @@ param( [Parameter(ParameterSetName='ValidateExpanded1', Mandatory)] [Parameter(ParameterSetName='ValidateViaIdentityExpanded1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest] # Gets or sets the restore request object. # To construct, see NOTES section for RESTOREREQUESTOBJECT properties and create a hash table. ${RestoreRequestObject}, diff --git a/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 new file mode 100644 index 000000000000..20f7b5b0d1f6 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 @@ -0,0 +1,217 @@ + +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +# is regenerated. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Triggers Cross Region Restore for BackupInstance. +.Description +Triggers Cross Region Restore for BackupInstance. +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. + +CROSSREGIONRESTOREDETAIL : Cross region restore details. + SourceBackupInstanceId : + SourceRegion : + +PARAMETER : Cross Region Restore Request Object + CrossRegionRestoreDetail : Cross region restore details. + SourceBackupInstanceId : + SourceRegion : + RestoreRequestObject : Gets or sets the restore request object. + ObjectType : + RestoreTargetInfo : Gets or sets the restore target information. + ObjectType : Type of Datasource object, used to initialize the right inherited type + [RestoreLocation ]: Target Restore region + SourceDataStoreType : Gets or sets the type of the source data store. + [IdentityDetailUseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. + [IdentityDetailUserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. + [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. + +RESTOREREQUESTOBJECT : Gets or sets the restore request object. + ObjectType : + RestoreTargetInfo : Gets or sets the restore target information. + ObjectType : Type of Datasource object, used to initialize the right inherited type + [RestoreLocation ]: Target Restore region + SourceDataStoreType : Gets or sets the type of the source data store. + [IdentityDetailUseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. + [IdentityDetailUserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. + [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/start-azdataprotectionbackupinstancecrossregionrestore +#> +function Start-AzDataProtectionBackupInstanceCrossRegionRestore { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] +[CmdletBinding(DefaultParameterSetName='Trigger', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the Azure region. + ${Location}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + # The value must be an UUID. + ${SubscriptionId}, + + [Parameter(ParameterSetName='Trigger', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreRequestObject] + # Cross Region Restore Request Object + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, + + [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails] + # Cross region restore details. + # To construct, see NOTES section for CROSSREGIONRESTOREDETAIL properties and create a hash table. + ${CrossRegionRestoreDetail}, + + [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest] + # Gets or sets the restore request object. + # To construct, see NOTES section for RESTOREREQUESTOBJECT properties and create a hash table. + ${RestoreRequestObject}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + $mapping = @{ + Trigger = 'Az.DataProtection.private\Start-AzDataProtectionBackupInstanceCrossRegionRestore_Trigger'; + TriggerExpanded = 'Az.DataProtection.private\Start-AzDataProtectionBackupInstanceCrossRegionRestore_TriggerExpanded'; + } + if (('Trigger', 'TriggerExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + + throw + } + +} +end { + try { + $steppablePipeline.End() + + } catch { + + throw + } +} +} diff --git a/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceRestore.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceRestore.ps1 new file mode 100644 index 000000000000..d3e798cf33fc --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/internal/Start-AzDataProtectionBackupInstanceRestore.ps1 @@ -0,0 +1,316 @@ + +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +# is regenerated. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Triggers restore for a BackupInstance +.Description +Triggers restore for a BackupInstance +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxx-xxx-xxx" -ResourceGroupName "sarath-rg" -VaultName "sarath-vault" +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxx-xxx-xxx" -ResourceGroupName "sarath-rg" -VaultName "sarath-vault" -BackupInstanceName $instance.Name +$restoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDisk -SourceDataStore OperationalStore -RestoreLocation "westus" -RestoreType AlternateLocation -TargetResourceId "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/disks/{DiskName}" -RecoveryPoint $rp[0].name +Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.BackupInstanceName -ResourceGroupName sarath-rg -VaultName sarath-vault -SubscriptionId "xxx-xxx-xxx" -Parameter $restorerequest +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$targetResourceId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.DBforPostgreSQL/servers/serverName/databases/targetDbName" +$secretURI = "https://oss-keyvault.vault.azure.net/secrets/oss-secret" +$restoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation "westus" -RestoreType AlternateLocation -TargetResourceId $targetResourceId -RecoveryPoint $rp[0].Property.RecoveryPointId -SecretStoreURI $secretURI -SecretStoreType AzureKeyVault +$restoreJob = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.BackupInstanceName -ResourceGroupName resourceGroupName -VaultName vaultName -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -Parameter $restorerequest +$jobid = $restoreJob.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" + $jobstatus = $currentjob.Status +} +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$targetContainerURI = "https://targetStorageAccount.blob.core.windows.net/targetContainerName" +$fileNamePrefix = "restore_as_files_12345" +$restoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation "westus" -RestoreType RestoreAsFiles -RecoveryPoint $rp[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -FileNamePrefix $fileNamePrefix +$restoreJob = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.BackupInstanceName -ResourceGroupName resourceGroupName -VaultName vaultName -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -Parameter $restorerequest +$jobid = $restoreJob.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" + $jobstatus = $currentjob.Status +} +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Name -match "aks-cluster-name" } +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$aksRestoreCriteria = New-AzDataProtectionRestoreConfigurationClientObject -DatasourceType AzureKubernetesService -PersistentVolumeRestoreMode RestoreWithVolumeData -IncludeClusterScopeResource $true -NamespaceMapping @{"sourceNamespace1"="targetNamespace1";"sourceNamespace2"="targetNamespace2"} +$snapshotResourceGroupId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/snapshotResourceGroup" +$aksOLRRestoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureKubernetesService -SourceDataStore OperationalStore -RestoreLocation eastus -RestoreType OriginalLocation -RecoveryPoint $rps[0].Property.RecoveryPointId -RestoreConfiguration $aksRestoreCriteria -BackupInstance $instance + +Set-AzDataProtectionMSIPermission -VaultResourceGroup "resourceGroupName" -VaultName "vaultName" -PermissionsScope "ResourceGroup" -RestoreRequest $aksOLRRestoreRequest -SnapshotResourceGroupId $snapshotResourceGroupId +$validateRestore = Test-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -RestoreRequest $aksOLRRestoreRequest -Name $instance.BackupInstanceName +$restoreJob = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $aksOLRRestoreRequest +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Name -match "storageAcountName" } +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$backedUpContainers = $instance.Property.PolicyInfo.PolicyParameter.BackupDatasourceParametersList[0].ContainersList +$restoreReq = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore VaultStore -RestoreLocation "vaultLocation" -RecoveryPoint $rp[0].Name -ItemLevelRecovery -RestoreType AlternateLocation -TargetResourceId "targetStorageAccountId" -ContainersList $backedUpContainers[0,1] +Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -RestoreRequest $restoreReq +$restoreJob = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $restoreReq +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Name -match "storageAcountName" } +$rp = Get-AzDataProtectionRecoveryPoint -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.Name +$backedUpContainers = $instance.Property.PolicyInfo.PolicyParameter.BackupDatasourceParametersList[0].ContainersList +$targetCrossSubscriptionStorageAccountId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/targetStorageAccount" +$restoreReqCSR = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore VaultStore -RestoreLocation "vaultLocation" -RecoveryPoint $rp[0].Name -ItemLevelRecovery -RestoreType AlternateLocation -TargetResourceId $targetCrossSubscriptionStorageAccountId -ContainersList $backedUpContainers[0,1] +Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -RestoreRequest $restoreReqCSR +$restoreJobCSR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $restoreReqCSR +.Example +$instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" | Where { $_.Property.DataSourceInfo.ResourceType -match "Postgre" } +$rp = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance[0].BackupInstanceName -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" +$targetResourceArmId = "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/crossSubResourceGroupName/providers/Microsoft.Storage/storageAccounts/akneemasaecy/blobServices/default/containers/oss-csr-container" +$targetContainerURI = "https://akneemasaecy.blob.core.windows.net/oss-csr-container" +$fileNamePrefix = "oss-csr-pstest-restoreasfiles" +$ossRestoreReqFiles = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation "vaultLocation" -RestoreType RestoreAsFiles -RecoveryPoint $rp[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -FileNamePrefix $fileNamePrefix -TargetResourceIdForRestoreAsFile $targetContainerArmId +$validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName "resourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "vaultName" -RestoreRequest $ossRestoreReqFiles +$restoreJobCSR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -BackupInstanceName $instance.BackupInstanceName -Parameter $ossRestoreReqFiles +$jobid = $restoreJobCSR.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" + $jobstatus = $currentjob.Status +} +.Example +$restoreJobCRR = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.Name -ResourceGroupName $ResourceGroupName -VaultName $vaultName -SubscriptionId $SubscriptionId -Parameter $OssRestoreReq -RestoreToSecondaryRegion +$jobid = $restoreJobCRR.JobId.Split("/")[-1] +$jobstatus = "InProgress" +while($jobstatus -ne "Completed") +{ + Start-Sleep -Seconds 10 + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -UseSecondaryRegion + $jobstatus = $currentjob.Status +} + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. + +PARAMETER : Azure backup restore request + ObjectType : + RestoreTargetInfo : Gets or sets the restore target information. + ObjectType : Type of Datasource object, used to initialize the right inherited type + [RestoreLocation ]: Target Restore region + SourceDataStoreType : Gets or sets the type of the source data store. + [IdentityDetailUseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. + [IdentityDetailUserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. + [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. + +RESTORETARGETINFO : Gets or sets the restore target information. + ObjectType : Type of Datasource object, used to initialize the right inherited type + [RestoreLocation ]: Target Restore region +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/start-azdataprotectionbackupinstancerestore +#> +function Start-AzDataProtectionBackupInstanceRestore { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] +[CmdletBinding(DefaultParameterSetName='Trigger', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup instance. + ${BackupInstanceName}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the backup vault. + ${VaultName}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + # The value must be an UUID. + ${SubscriptionId}, + + [Parameter(ParameterSetName='Trigger', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest] + # Azure backup restore request + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, + + [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # . + ${ObjectType}, + + [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase] + # Gets or sets the restore target information. + # To construct, see NOTES section for RESTORETARGETINFO properties and create a hash table. + ${RestoreTargetInfo}, + + [Parameter(ParameterSetName='TriggerExpanded', Mandatory)] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType])] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SourceDataStoreType] + # Gets or sets the type of the source data store. + ${SourceDataStoreType}, + + [Parameter(ParameterSetName='TriggerExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.Management.Automation.SwitchParameter] + # Specifies if the BI is protected by System Identity. + ${IdentityDetailUseSystemAssignedIdentity}, + + [Parameter(ParameterSetName='TriggerExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # ARM URL for User Assigned Identity. + ${IdentityDetailUserAssignedIdentityArmUrl}, + + [Parameter(ParameterSetName='TriggerExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [System.String] + # Fully qualified Azure Resource Manager ID of the datasource which is being recovered. + ${SourceResourceId}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + $mapping = @{ + Trigger = 'Az.DataProtection.private\Start-AzDataProtectionBackupInstanceRestore_Trigger'; + TriggerExpanded = 'Az.DataProtection.private\Start-AzDataProtectionBackupInstanceRestore_TriggerExpanded'; + } + if (('Trigger', 'TriggerExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + + throw + } + +} +end { + try { + $steppablePipeline.End() + + } catch { + + throw + } +} +} diff --git a/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 new file mode 100644 index 000000000000..8830259a4741 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceCrossRegionRestore.ps1 @@ -0,0 +1,250 @@ + +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code +# is regenerated. +# ---------------------------------------------------------------------------------- + +<# +.Synopsis +Validates whether Cross Region Restore can be triggered for DataSource. +.Description +Validates whether Cross Region Restore can be triggered for DataSource. +.Example +{{ Add code here }} +.Example +{{ Add code here }} + +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject +.Inputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.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. + +CROSSREGIONRESTOREDETAIL : Cross region restore details. + SourceBackupInstanceId : + SourceRegion : + +INPUTOBJECT : Identity Parameter + [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). + [Location ]: The location in which uniqueness will be verified. + [OperationId ]: + [RecoveryPointId ]: + [RequestName ]: + [ResourceGroupName ]: The name of the resource group. The name is case insensitive. + [ResourceGuardProxyName ]: name of the resource guard proxy + [ResourceGuardsName ]: The name of ResourceGuard + [SubscriptionId ]: The ID of the target subscription. The value must be an UUID. + [VaultName ]: The name of the backup vault. + +PARAMETER : Cross Region Restore Request Object + CrossRegionRestoreDetail : Cross region restore details. + SourceBackupInstanceId : + SourceRegion : + RestoreRequestObject : Gets or sets the restore request object. + ObjectType : + RestoreTargetInfo : Gets or sets the restore target information. + ObjectType : Type of Datasource object, used to initialize the right inherited type + [RestoreLocation ]: Target Restore region + SourceDataStoreType : Gets or sets the type of the source data store. + [IdentityDetailUseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. + [IdentityDetailUserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. + [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. + +RESTOREREQUESTOBJECT : Gets or sets the restore request object. + ObjectType : + RestoreTargetInfo : Gets or sets the restore target information. + ObjectType : Type of Datasource object, used to initialize the right inherited type + [RestoreLocation ]: Target Restore region + SourceDataStoreType : Gets or sets the type of the source data store. + [IdentityDetailUseSystemAssignedIdentity ]: Specifies if the BI is protected by System Identity. + [IdentityDetailUserAssignedIdentityArmUrl ]: ARM URL for User Assigned Identity. + [SourceResourceId ]: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. +.Link +https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancecrossregionrestore +#> +function Test-AzDataProtectionBackupInstanceCrossRegionRestore { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] +[CmdletBinding(DefaultParameterSetName='ValidateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] +param( + [Parameter(ParameterSetName='Validate', Mandatory)] + [Parameter(ParameterSetName='ValidateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the Azure region. + ${Location}, + + [Parameter(ParameterSetName='Validate', Mandatory)] + [Parameter(ParameterSetName='ValidateExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [System.String] + # The name of the resource group. + # The name is case insensitive. + ${ResourceGroupName}, + + [Parameter(ParameterSetName='Validate')] + [Parameter(ParameterSetName='ValidateExpanded')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] + [System.String] + # The ID of the target subscription. + # The value must be an UUID. + ${SubscriptionId}, + + [Parameter(ParameterSetName='ValidateViaIdentity', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='ValidateViaIdentityExpanded', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Path')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity] + # Identity Parameter + # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. + ${InputObject}, + + [Parameter(ParameterSetName='Validate', Mandatory, ValueFromPipeline)] + [Parameter(ParameterSetName='ValidateViaIdentity', Mandatory, ValueFromPipeline)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateCrossRegionRestoreRequestObject] + # Cross Region Restore Request Object + # To construct, see NOTES section for PARAMETER properties and create a hash table. + ${Parameter}, + + [Parameter(ParameterSetName='ValidateExpanded', Mandatory)] + [Parameter(ParameterSetName='ValidateViaIdentityExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ICrossRegionRestoreDetails] + # Cross region restore details. + # To construct, see NOTES section for CROSSREGIONRESTOREDETAIL properties and create a hash table. + ${CrossRegionRestoreDetail}, + + [Parameter(ParameterSetName='ValidateExpanded', Mandatory)] + [Parameter(ParameterSetName='ValidateViaIdentityExpanded', Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest] + # Gets or sets the restore request object. + # To construct, see NOTES section for RESTOREREQUESTOBJECT properties and create a hash table. + ${RestoreRequestObject}, + + [Parameter()] + [Alias('AzureRMContext', 'AzureCredential')] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Azure')] + [System.Management.Automation.PSObject] + # The DefaultProfile parameter is not functional. + # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription. + ${DefaultProfile}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command as a job + ${AsJob}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Wait for .NET debugger to attach + ${Break}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be appended to the front of the pipeline + ${HttpPipelineAppend}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.SendAsyncStep[]] + # SendAsync Pipeline Steps to be prepended to the front of the pipeline + ${HttpPipelinePrepend}, + + [Parameter()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Run the command asynchronously + ${NoWait}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Uri] + # The URI for the proxy server to use + ${Proxy}, + + [Parameter(DontShow)] + [ValidateNotNull()] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.PSCredential] + # Credentials for a proxy server to use for the remote call + ${ProxyCredential}, + + [Parameter(DontShow)] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Runtime')] + [System.Management.Automation.SwitchParameter] + # Use the default credentials for the proxy + ${ProxyUseDefaultCredentials} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + $mapping = @{ + Validate = 'Az.DataProtection.private\Test-AzDataProtectionBackupInstanceCrossRegionRestore_Validate'; + ValidateExpanded = 'Az.DataProtection.private\Test-AzDataProtectionBackupInstanceCrossRegionRestore_ValidateExpanded'; + ValidateViaIdentity = 'Az.DataProtection.private\Test-AzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentity'; + ValidateViaIdentityExpanded = 'Az.DataProtection.private\Test-AzDataProtectionBackupInstanceCrossRegionRestore_ValidateViaIdentityExpanded'; + } + if (('Validate', 'ValidateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { + $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id + } + + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + + throw + } + +} +end { + try { + $steppablePipeline.End() + + } catch { + + throw + } +} +} diff --git a/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceReadiness.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceReadiness.ps1 index 9c9a30ce6f38..106aa85f89b4 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceReadiness.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceReadiness.ps1 @@ -28,11 +28,11 @@ $instance = Initialize-AzDataProtectionBackupInstance -SnapshotResourceGroupId $ Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName "resourceGroupName" -VaultName $vault.Name -BackupInstance $instance[0].Property .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -125,7 +125,7 @@ PARAMETER : Validate for backup request https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancereadiness #> function Test-AzDataProtectionBackupInstanceReadiness { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='ValidateViaIdentity', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Validate', Mandatory)] @@ -160,14 +160,14 @@ param( [Parameter(ParameterSetName='Validate', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='ValidateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateForBackupRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateForBackupRequest] # Validate for backup request # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, [Parameter(ParameterSetName='ValidateViaIdentityExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance] # Backup Instance # To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. ${BackupInstance}, diff --git a/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceRestore.ps1 b/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceRestore.ps1 index 54b448ddf657..9400d68943d8 100644 --- a/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceRestore.ps1 +++ b/src/DataProtection/DataProtection.Autorest/internal/Test-AzDataProtectionBackupInstanceRestore.ps1 @@ -25,13 +25,15 @@ $pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName $vault = Get-AzDataProtectionBackupVault -ResourceGroupName "testResourceGroup" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "testVault" $RestoreRequestObject = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore OperationalStore -RestoreLocation $vault.Location -RestoreType OriginalLocation -BackupInstance $instances[0] -PointInTime (Get-Date -Date $pointInTimeRange.RestorableTimeRange.EndTime) $validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instances[0].Name -ResourceGroupName "testResourceGroup" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -VaultName "testVault" -RestoreRequest $RestoreRequestObject +.Example +$validateRestore = Test-AzDataProtectionBackupInstanceRestore -ResourceGroupName $ResourceGroupName -Name $instance[0].Name -VaultName $VaultName -RestoreRequest $RestoreRequestObject -SubscriptionId $SubscriptionId -RestoreToSecondaryRegion .Inputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject .Inputs Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.IDataProtectionIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo +Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo .Notes COMPLEX PARAMETER PROPERTIES @@ -76,7 +78,7 @@ RESTOREREQUESTOBJECT : Gets or sets the restore requ https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancerestore #> function Test-AzDataProtectionBackupInstanceRestore { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IOperationJobExtendedInfo])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IOperationJobExtendedInfo])] [CmdletBinding(DefaultParameterSetName='ValidateViaIdentity1', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Validate1', Mandatory)] @@ -122,7 +124,7 @@ param( [Parameter(ParameterSetName='Validate1', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='ValidateViaIdentity1', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IValidateRestoreRequestObject] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IValidateRestoreRequestObject] # Validate restore request object # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, @@ -130,7 +132,7 @@ param( [Parameter(ParameterSetName='ValidateExpanded1', Mandatory)] [Parameter(ParameterSetName='ValidateViaIdentityExpanded1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest] + [Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest] # Gets or sets the restore request object. # To construct, see NOTES section for RESTOREREQUESTOBJECT properties and create a hash table. ${RestoreRequestObject}, diff --git a/src/DataProtection/DataProtection.Autorest/test/Backup-AzDataProtectionBackupInstanceAdhoc.Recording.json b/src/DataProtection/DataProtection.Autorest/test/Backup-AzDataProtectionBackupInstanceAdhoc.Recording.json index 3f9b031d30a4..fa4cd068c6f8 100644 --- a/src/DataProtection/DataProtection.Autorest/test/Backup-AzDataProtectionBackupInstanceAdhoc.Recording.json +++ b/src/DataProtection/DataProtection.Autorest/test/Backup-AzDataProtectionBackupInstanceAdhoc.Recording.json @@ -1,17 +1,17 @@ { - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances?api-version=2023-05-01+1": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances?api-version=2023-11-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "a5a70b06-36f0-4723-91d8-96952925b304" ], + "x-ms-client-request-id": [ "101204a8-0406-4389-8f29-9c525bf208f5" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -28,9 +28,9 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], - "x-ms-correlation-request-id": [ "d12fc6e4-9611-440e-a595-e9aed849ca3e" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T075953Z:d12fc6e4-9611-440e-a595-e9aed849ca3e" ], - "Date": [ "Tue, 29 Aug 2023 07:59:52 GMT" ] + "x-ms-correlation-request-id": [ "8efd40fa-c113-4f95-a5e5-c576e7af7f52" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043337Z:8efd40fa-c113-4f95-a5e5-c576e7af7f52" ], + "Date": [ "Mon, 25 Dec 2023 04:33:37 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1504" ], @@ -41,10 +41,10 @@ "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/backup?api-version=2023-05-01+2": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/backup?api-version=2023-11-01+2": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/backup?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/backup?api-version=2023-11-01", "Content": "{\r\n \"backupRuleOptions\": {\r\n \"triggerOption\": {\r\n \"retentionTagOverride\": \"Default\"\r\n },\r\n \"ruleName\": \"BackupHourly\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -59,17 +59,17 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzY5NTAwOGM3LWE4OTUtNGUzMi1iZmJkLTRlZTJkZTVkYjE5Yw==?api-version=2023-05-01\u0026t=2023-08-29T07%3a59%3a54\u0026c=MIIHHjCCBgagAwIBAgITfwHPlNk5zKbiOmpQOgAEAc-U2TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjMwODAyMTQyOTEwWhcNMjQwNzI3MTQyOTEwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQBgteLdN0B1F-lDLmirYilXbF-rW5tdvEKFR4TJYpU0ApbXM2wV_7K-Di8BilD1v-u5wagyRw3Oxzkwk7MWpYVBUacakvc59LTktALiRGS21JHb1f7iSxAA_tI_L2DTFfjITsLVzOZFbceGxgOJPn4Tl7I6lvKbZQjWE7W9o62gXlVvF1vq5cZlM19cg5puv9X5GCgQDWuNh760p_olxGCezP6SHrJJSLKO9LvZxd2fos4DhWjwMSsgSAzPDVME_S_LDSbwRhUthk2o0R2i0yyEYUEUIvvg5N6zjnc2PaXnklfwa0rH6-MoXMUF0AStfS8_TYziOziVKpQvbLB0t0CAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBTF-BtgEBUftJbzGBfkt4JiModZZTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHfodyS1pQdmHJOrylKnDXeYTAuLp_OBi3BKVB7o8vAbxKiRAgZfm5wbqen_XdwowZWOf4tmOZiBbpD2dO4Iw0C42D_A0M6UJAoddT7_Rl1kuS-evxswpkTBqiF4PWEG1hbbOEW8NuzZ3tWUt1nuJ4u3TluZQwTHf0p30ayxHtsjEXSHa94lMNauB44QSpepD6NGXoZ0uRA2C0RvUxtCQM984iZuIQMqdVPnt4Hy6uZJ978u1UMhz7sMtIKxFlAUbCobbS0wFy6sHXhnAn6p1eZhaAGenU0yDnoyn_kI4KoDd6OQ8ekHvsiIF0WLM5vsWRnrs9q0PVXZZ0JFtXZ_a8Y\u0026s=mJKEzzJ2adtqDTsaEOFueTM54pjwY8Y3u1-uhXgSNnBmSQ57L9A92OspROiWFJjxBkyO0X_DwPbbPSYm6-y6mWJJWU2-cqF_RBgd4juP7XE9giZQ2eliSxwWp9vFskNMzMU76ukej3czhRUU7zUAn2oc_35Bsvx_5TJiLIaISRKj2lazdbdE3P-qZeRKG_tjiojOpyCoyjrCCBbgDucnNDUjbnvgJSh1Be4d8ZNLmclBM46n8xhNJoKX7lrGFL2H-F2Fiujsg86uY4-mAA5kBmqFVHTCAROSGAXukAfKHXCr4fqg_1rwhr6c22r_quw51Qmz10LYU-KDEfGLoiGUrg\u0026h=t7_N_MeL_okOqy0AcB1FTcTw308zWbrVFmugup-5v1I" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EzM2Q2ZDgwLWUxYTgtNDFhMS1iNWIwLWY2YmIyYzk3MzUwYQ==?api-version=2023-11-01\u0026t=638390756186026581\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=xEm_HDnEwTLG6Z6vUSR9UPuc8bU992nswXDQFuAbalkpK0Ld7jRhnVuP72gNR-7lyNgio5YqzserQkrCJn-Zv4ze0dpinubwiAq5CAOHe-eGI7oV9VNOdObMaVBOTkxR8M_kTommRoEOrJnosBKPMe4CZnxMfGeUeUwORemor7nf-_MKjbUT1n30L4Bp3tSQCQWG6n-z6b0K3aIYZXVy1t4UIM2aputGhnPa9J0wzL91AOl6Fj2iQAIDrYo_qao8Lw6OV4PotHepFbPp0hUZA6VrZtTUcdNHPXPq-n9GOKJJRy_j3Vc3CwNWEfwTYHp14YSlK4mGDRC9e6x9BKga9g\u0026h=2Hvu_1yQ8KKzTuUlBfjW6GRublXvODbrffzS6FOAfOk" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzY5NTAwOGM3LWE4OTUtNGUzMi1iZmJkLTRlZTJkZTVkYjE5Yw==?api-version=2023-05-01\u0026t=2023-08-29T07%3a59%3a54\u0026c=MIIHHjCCBgagAwIBAgITfwHPlNk5zKbiOmpQOgAEAc-U2TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjMwODAyMTQyOTEwWhcNMjQwNzI3MTQyOTEwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQBgteLdN0B1F-lDLmirYilXbF-rW5tdvEKFR4TJYpU0ApbXM2wV_7K-Di8BilD1v-u5wagyRw3Oxzkwk7MWpYVBUacakvc59LTktALiRGS21JHb1f7iSxAA_tI_L2DTFfjITsLVzOZFbceGxgOJPn4Tl7I6lvKbZQjWE7W9o62gXlVvF1vq5cZlM19cg5puv9X5GCgQDWuNh760p_olxGCezP6SHrJJSLKO9LvZxd2fos4DhWjwMSsgSAzPDVME_S_LDSbwRhUthk2o0R2i0yyEYUEUIvvg5N6zjnc2PaXnklfwa0rH6-MoXMUF0AStfS8_TYziOziVKpQvbLB0t0CAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBTF-BtgEBUftJbzGBfkt4JiModZZTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHfodyS1pQdmHJOrylKnDXeYTAuLp_OBi3BKVB7o8vAbxKiRAgZfm5wbqen_XdwowZWOf4tmOZiBbpD2dO4Iw0C42D_A0M6UJAoddT7_Rl1kuS-evxswpkTBqiF4PWEG1hbbOEW8NuzZ3tWUt1nuJ4u3TluZQwTHf0p30ayxHtsjEXSHa94lMNauB44QSpepD6NGXoZ0uRA2C0RvUxtCQM984iZuIQMqdVPnt4Hy6uZJ978u1UMhz7sMtIKxFlAUbCobbS0wFy6sHXhnAn6p1eZhaAGenU0yDnoyn_kI4KoDd6OQ8ekHvsiIF0WLM5vsWRnrs9q0PVXZZ0JFtXZ_a8Y\u0026s=nxG4jYN3Xb991L5YfzbDk2T4gpAnE4uhFrUX64-mAre6F39YWLjmPL8EMqrJmTwGZHhYeEEfgrKls32tREzg9pjG9gWdIf8sOvi1pGBFaJtZMvhGtJ4aZnmZKIEZBE5pWoXxllFScQRIqsnCCIkjhdxK-pxcA-DcukeH5CJGIzsp7amq13bBWg6sFdaQ6nonGazIUq8Of-wyAuk4KPofbUxyjpcYZf6qCo64T13ieo7JcZ5sJjelFGlO6qdqRvJrld5nlMpDx6M9rSKb9xo11P0Z5hiADAXREnL3dR8lZ74OG6yc4KroPe9wAmGthcF9fjjarM7C1poZFhILS_yXtA\u0026h=CE14N7VJOu5plNr3mku8AFD6j-L0a9FQHp2SP44tft4" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EzM2Q2ZDgwLWUxYTgtNDFhMS1iNWIwLWY2YmIyYzk3MzUwYQ==?api-version=2023-11-01\u0026t=638390756186026581\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=KkMj1Tce5KaEgXzt8iGu3xIwlA6Mp_TbNNctEsGt5_VUmjZ2dle69Jz3DMiFXw2JEuyW-UEW7WkcCAhEfcL5UK2_VnSn2EX1z0P98IiIMz65YLGyPV0KvlcoJoxo8gaw1yb7WTc2-zLtbb6QVKbPG3l5Ch-QX5Bh3G9cZPxS1VPVdlryoUcqH3OojLAbv80rrj90OpLh5INUUtVxRk6SPkz6xXQRv68RcEva5bHfbHMr8tEzKtF1Bxhb1fLwSNXCkYGcdUYO7rGOhB1-CEGWNLHoLrkglkkg001ZXfHqxqRiKYfA63NhpscR3iZh0NJ6YhYr2sit3BGs0-Szxl4SLg\u0026h=YEyxKpku7u61NQPyF97z5MI2_Q4D6_dPidHRF_x2luE" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "2a0a1e18-2e16-4a39-b4bc-4fb74a1f9594" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T075954Z:2a0a1e18-2e16-4a39-b4bc-4fb74a1f9594" ], - "Date": [ "Tue, 29 Aug 2023 07:59:53 GMT" ] + "x-ms-correlation-request-id": [ "c2f859c2-9c08-426f-b172-1a7b77c46c21" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043338Z:c2f859c2-9c08-426f-b172-1a7b77c46c21" ], + "Date": [ "Mon, 25 Dec 2023 04:33:38 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -79,20 +79,20 @@ "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzY5NTAwOGM3LWE4OTUtNGUzMi1iZmJkLTRlZTJkZTVkYjE5Yw==?api-version=2023-05-01\u0026t=2023-08-29T07%3a59%3a54\u0026c=MIIHHjCCBgagAwIBAgITfwHPlNk5zKbiOmpQOgAEAc-U2TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjMwODAyMTQyOTEwWhcNMjQwNzI3MTQyOTEwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQBgteLdN0B1F-lDLmirYilXbF-rW5tdvEKFR4TJYpU0ApbXM2wV_7K-Di8BilD1v-u5wagyRw3Oxzkwk7MWpYVBUacakvc59LTktALiRGS21JHb1f7iSxAA_tI_L2DTFfjITsLVzOZFbceGxgOJPn4Tl7I6lvKbZQjWE7W9o62gXlVvF1vq5cZlM19cg5puv9X5GCgQDWuNh760p_olxGCezP6SHrJJSLKO9LvZxd2fos4DhWjwMSsgSAzPDVME_S_LDSbwRhUthk2o0R2i0yyEYUEUIvvg5N6zjnc2PaXnklfwa0rH6-MoXMUF0AStfS8_TYziOziVKpQvbLB0t0CAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBTF-BtgEBUftJbzGBfkt4JiModZZTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHfodyS1pQdmHJOrylKnDXeYTAuLp_OBi3BKVB7o8vAbxKiRAgZfm5wbqen_XdwowZWOf4tmOZiBbpD2dO4Iw0C42D_A0M6UJAoddT7_Rl1kuS-evxswpkTBqiF4PWEG1hbbOEW8NuzZ3tWUt1nuJ4u3TluZQwTHf0p30ayxHtsjEXSHa94lMNauB44QSpepD6NGXoZ0uRA2C0RvUxtCQM984iZuIQMqdVPnt4Hy6uZJ978u1UMhz7sMtIKxFlAUbCobbS0wFy6sHXhnAn6p1eZhaAGenU0yDnoyn_kI4KoDd6OQ8ekHvsiIF0WLM5vsWRnrs9q0PVXZZ0JFtXZ_a8Y\u0026s=nxG4jYN3Xb991L5YfzbDk2T4gpAnE4uhFrUX64-mAre6F39YWLjmPL8EMqrJmTwGZHhYeEEfgrKls32tREzg9pjG9gWdIf8sOvi1pGBFaJtZMvhGtJ4aZnmZKIEZBE5pWoXxllFScQRIqsnCCIkjhdxK-pxcA-DcukeH5CJGIzsp7amq13bBWg6sFdaQ6nonGazIUq8Of-wyAuk4KPofbUxyjpcYZf6qCo64T13ieo7JcZ5sJjelFGlO6qdqRvJrld5nlMpDx6M9rSKb9xo11P0Z5hiADAXREnL3dR8lZ74OG6yc4KroPe9wAmGthcF9fjjarM7C1poZFhILS_yXtA\u0026h=CE14N7VJOu5plNr3mku8AFD6j-L0a9FQHp2SP44tft4+3": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EzM2Q2ZDgwLWUxYTgtNDFhMS1iNWIwLWY2YmIyYzk3MzUwYQ==?api-version=2023-11-01\u0026t=638390756186026581\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=KkMj1Tce5KaEgXzt8iGu3xIwlA6Mp_TbNNctEsGt5_VUmjZ2dle69Jz3DMiFXw2JEuyW-UEW7WkcCAhEfcL5UK2_VnSn2EX1z0P98IiIMz65YLGyPV0KvlcoJoxo8gaw1yb7WTc2-zLtbb6QVKbPG3l5Ch-QX5Bh3G9cZPxS1VPVdlryoUcqH3OojLAbv80rrj90OpLh5INUUtVxRk6SPkz6xXQRv68RcEva5bHfbHMr8tEzKtF1Bxhb1fLwSNXCkYGcdUYO7rGOhB1-CEGWNLHoLrkglkkg001ZXfHqxqRiKYfA63NhpscR3iZh0NJ6YhYr2sit3BGs0-Szxl4SLg\u0026h=YEyxKpku7u61NQPyF97z5MI2_Q4D6_dPidHRF_x2luE+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzY5NTAwOGM3LWE4OTUtNGUzMi1iZmJkLTRlZTJkZTVkYjE5Yw==?api-version=2023-05-01\u0026t=2023-08-29T07%3a59%3a54\u0026c=MIIHHjCCBgagAwIBAgITfwHPlNk5zKbiOmpQOgAEAc-U2TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjMwODAyMTQyOTEwWhcNMjQwNzI3MTQyOTEwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQBgteLdN0B1F-lDLmirYilXbF-rW5tdvEKFR4TJYpU0ApbXM2wV_7K-Di8BilD1v-u5wagyRw3Oxzkwk7MWpYVBUacakvc59LTktALiRGS21JHb1f7iSxAA_tI_L2DTFfjITsLVzOZFbceGxgOJPn4Tl7I6lvKbZQjWE7W9o62gXlVvF1vq5cZlM19cg5puv9X5GCgQDWuNh760p_olxGCezP6SHrJJSLKO9LvZxd2fos4DhWjwMSsgSAzPDVME_S_LDSbwRhUthk2o0R2i0yyEYUEUIvvg5N6zjnc2PaXnklfwa0rH6-MoXMUF0AStfS8_TYziOziVKpQvbLB0t0CAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBTF-BtgEBUftJbzGBfkt4JiModZZTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHfodyS1pQdmHJOrylKnDXeYTAuLp_OBi3BKVB7o8vAbxKiRAgZfm5wbqen_XdwowZWOf4tmOZiBbpD2dO4Iw0C42D_A0M6UJAoddT7_Rl1kuS-evxswpkTBqiF4PWEG1hbbOEW8NuzZ3tWUt1nuJ4u3TluZQwTHf0p30ayxHtsjEXSHa94lMNauB44QSpepD6NGXoZ0uRA2C0RvUxtCQM984iZuIQMqdVPnt4Hy6uZJ978u1UMhz7sMtIKxFlAUbCobbS0wFy6sHXhnAn6p1eZhaAGenU0yDnoyn_kI4KoDd6OQ8ekHvsiIF0WLM5vsWRnrs9q0PVXZZ0JFtXZ_a8Y\u0026s=nxG4jYN3Xb991L5YfzbDk2T4gpAnE4uhFrUX64-mAre6F39YWLjmPL8EMqrJmTwGZHhYeEEfgrKls32tREzg9pjG9gWdIf8sOvi1pGBFaJtZMvhGtJ4aZnmZKIEZBE5pWoXxllFScQRIqsnCCIkjhdxK-pxcA-DcukeH5CJGIzsp7amq13bBWg6sFdaQ6nonGazIUq8Of-wyAuk4KPofbUxyjpcYZf6qCo64T13ieo7JcZ5sJjelFGlO6qdqRvJrld5nlMpDx6M9rSKb9xo11P0Z5hiADAXREnL3dR8lZ74OG6yc4KroPe9wAmGthcF9fjjarM7C1poZFhILS_yXtA\u0026h=CE14N7VJOu5plNr3mku8AFD6j-L0a9FQHp2SP44tft4", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EzM2Q2ZDgwLWUxYTgtNDFhMS1iNWIwLWY2YmIyYzk3MzUwYQ==?api-version=2023-11-01\u0026t=638390756186026581\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=KkMj1Tce5KaEgXzt8iGu3xIwlA6Mp_TbNNctEsGt5_VUmjZ2dle69Jz3DMiFXw2JEuyW-UEW7WkcCAhEfcL5UK2_VnSn2EX1z0P98IiIMz65YLGyPV0KvlcoJoxo8gaw1yb7WTc2-zLtbb6QVKbPG3l5Ch-QX5Bh3G9cZPxS1VPVdlryoUcqH3OojLAbv80rrj90OpLh5INUUtVxRk6SPkz6xXQRv68RcEva5bHfbHMr8tEzKtF1Bxhb1fLwSNXCkYGcdUYO7rGOhB1-CEGWNLHoLrkglkkg001ZXfHqxqRiKYfA63NhpscR3iZh0NJ6YhYr2sit3BGs0-Szxl4SLg\u0026h=YEyxKpku7u61NQPyF97z5MI2_Q4D6_dPidHRF_x2luE", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "8799badc-0f01-4251-82d8-557bc98e48fc" ], + "x-ms-client-request-id": [ "94ea00d2-a1e9-4962-bb58-fe92755409ff" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -108,33 +108,33 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "x-ms-correlation-request-id": [ "67ff508f-be60-41cd-a0f2-292b0559b90f" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080025Z:67ff508f-be60-41cd-a0f2-292b0559b90f" ], - "Date": [ "Tue, 29 Aug 2023 08:00:25 GMT" ] + "x-ms-correlation-request-id": [ "d9f10045-3d46-4883-8c29-ddad805f86b5" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043409Z:d9f10045-3d46-4883-8c29-ddad805f86b5" ], + "Date": [ "Mon, 25 Dec 2023 04:34:08 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "739" ], + "Content-Length": [ "738" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzY5NTAwOGM3LWE4OTUtNGUzMi1iZmJkLTRlZTJkZTVkYjE5Yw==\",\"name\":\"ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzY5NTAwOGM3LWE4OTUtNGUzMi1iZmJkLTRlZTJkZTVkYjE5Yw==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-29T07:59:54.3772225Z\",\"endTime\":\"2023-08-29T07:59:55Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EzM2Q2ZDgwLWUxYTgtNDFhMS1iNWIwLWY2YmIyYzk3MzUwYQ==\",\"name\":\"ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EzM2Q2ZDgwLWUxYTgtNDFhMS1iNWIwLWY2YmIyYzk3MzUwYQ==\",\"status\":\"Succeeded\",\"startTime\":\"2023-12-25T04:33:38.423031Z\",\"endTime\":\"2023-12-25T04:33:39Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"objectType\":\"OperationJobExtendedInfo\"}}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzY5NTAwOGM3LWE4OTUtNGUzMi1iZmJkLTRlZTJkZTVkYjE5Yw==?api-version=2023-05-01\u0026t=2023-08-29T07%3a59%3a54\u0026c=MIIHHjCCBgagAwIBAgITfwHPlNk5zKbiOmpQOgAEAc-U2TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjMwODAyMTQyOTEwWhcNMjQwNzI3MTQyOTEwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQBgteLdN0B1F-lDLmirYilXbF-rW5tdvEKFR4TJYpU0ApbXM2wV_7K-Di8BilD1v-u5wagyRw3Oxzkwk7MWpYVBUacakvc59LTktALiRGS21JHb1f7iSxAA_tI_L2DTFfjITsLVzOZFbceGxgOJPn4Tl7I6lvKbZQjWE7W9o62gXlVvF1vq5cZlM19cg5puv9X5GCgQDWuNh760p_olxGCezP6SHrJJSLKO9LvZxd2fos4DhWjwMSsgSAzPDVME_S_LDSbwRhUthk2o0R2i0yyEYUEUIvvg5N6zjnc2PaXnklfwa0rH6-MoXMUF0AStfS8_TYziOziVKpQvbLB0t0CAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBTF-BtgEBUftJbzGBfkt4JiModZZTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHfodyS1pQdmHJOrylKnDXeYTAuLp_OBi3BKVB7o8vAbxKiRAgZfm5wbqen_XdwowZWOf4tmOZiBbpD2dO4Iw0C42D_A0M6UJAoddT7_Rl1kuS-evxswpkTBqiF4PWEG1hbbOEW8NuzZ3tWUt1nuJ4u3TluZQwTHf0p30ayxHtsjEXSHa94lMNauB44QSpepD6NGXoZ0uRA2C0RvUxtCQM984iZuIQMqdVPnt4Hy6uZJ978u1UMhz7sMtIKxFlAUbCobbS0wFy6sHXhnAn6p1eZhaAGenU0yDnoyn_kI4KoDd6OQ8ekHvsiIF0WLM5vsWRnrs9q0PVXZZ0JFtXZ_a8Y\u0026s=mJKEzzJ2adtqDTsaEOFueTM54pjwY8Y3u1-uhXgSNnBmSQ57L9A92OspROiWFJjxBkyO0X_DwPbbPSYm6-y6mWJJWU2-cqF_RBgd4juP7XE9giZQ2eliSxwWp9vFskNMzMU76ukej3czhRUU7zUAn2oc_35Bsvx_5TJiLIaISRKj2lazdbdE3P-qZeRKG_tjiojOpyCoyjrCCBbgDucnNDUjbnvgJSh1Be4d8ZNLmclBM46n8xhNJoKX7lrGFL2H-F2Fiujsg86uY4-mAA5kBmqFVHTCAROSGAXukAfKHXCr4fqg_1rwhr6c22r_quw51Qmz10LYU-KDEfGLoiGUrg\u0026h=t7_N_MeL_okOqy0AcB1FTcTw308zWbrVFmugup-5v1I+4": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EzM2Q2ZDgwLWUxYTgtNDFhMS1iNWIwLWY2YmIyYzk3MzUwYQ==?api-version=2023-11-01\u0026t=638390756186026581\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=xEm_HDnEwTLG6Z6vUSR9UPuc8bU992nswXDQFuAbalkpK0Ld7jRhnVuP72gNR-7lyNgio5YqzserQkrCJn-Zv4ze0dpinubwiAq5CAOHe-eGI7oV9VNOdObMaVBOTkxR8M_kTommRoEOrJnosBKPMe4CZnxMfGeUeUwORemor7nf-_MKjbUT1n30L4Bp3tSQCQWG6n-z6b0K3aIYZXVy1t4UIM2aputGhnPa9J0wzL91AOl6Fj2iQAIDrYo_qao8Lw6OV4PotHepFbPp0hUZA6VrZtTUcdNHPXPq-n9GOKJJRy_j3Vc3CwNWEfwTYHp14YSlK4mGDRC9e6x9BKga9g\u0026h=2Hvu_1yQ8KKzTuUlBfjW6GRublXvODbrffzS6FOAfOk+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzY5NTAwOGM3LWE4OTUtNGUzMi1iZmJkLTRlZTJkZTVkYjE5Yw==?api-version=2023-05-01\u0026t=2023-08-29T07%3a59%3a54\u0026c=MIIHHjCCBgagAwIBAgITfwHPlNk5zKbiOmpQOgAEAc-U2TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjMwODAyMTQyOTEwWhcNMjQwNzI3MTQyOTEwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQBgteLdN0B1F-lDLmirYilXbF-rW5tdvEKFR4TJYpU0ApbXM2wV_7K-Di8BilD1v-u5wagyRw3Oxzkwk7MWpYVBUacakvc59LTktALiRGS21JHb1f7iSxAA_tI_L2DTFfjITsLVzOZFbceGxgOJPn4Tl7I6lvKbZQjWE7W9o62gXlVvF1vq5cZlM19cg5puv9X5GCgQDWuNh760p_olxGCezP6SHrJJSLKO9LvZxd2fos4DhWjwMSsgSAzPDVME_S_LDSbwRhUthk2o0R2i0yyEYUEUIvvg5N6zjnc2PaXnklfwa0rH6-MoXMUF0AStfS8_TYziOziVKpQvbLB0t0CAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBTF-BtgEBUftJbzGBfkt4JiModZZTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHfodyS1pQdmHJOrylKnDXeYTAuLp_OBi3BKVB7o8vAbxKiRAgZfm5wbqen_XdwowZWOf4tmOZiBbpD2dO4Iw0C42D_A0M6UJAoddT7_Rl1kuS-evxswpkTBqiF4PWEG1hbbOEW8NuzZ3tWUt1nuJ4u3TluZQwTHf0p30ayxHtsjEXSHa94lMNauB44QSpepD6NGXoZ0uRA2C0RvUxtCQM984iZuIQMqdVPnt4Hy6uZJ978u1UMhz7sMtIKxFlAUbCobbS0wFy6sHXhnAn6p1eZhaAGenU0yDnoyn_kI4KoDd6OQ8ekHvsiIF0WLM5vsWRnrs9q0PVXZZ0JFtXZ_a8Y\u0026s=mJKEzzJ2adtqDTsaEOFueTM54pjwY8Y3u1-uhXgSNnBmSQ57L9A92OspROiWFJjxBkyO0X_DwPbbPSYm6-y6mWJJWU2-cqF_RBgd4juP7XE9giZQ2eliSxwWp9vFskNMzMU76ukej3czhRUU7zUAn2oc_35Bsvx_5TJiLIaISRKj2lazdbdE3P-qZeRKG_tjiojOpyCoyjrCCBbgDucnNDUjbnvgJSh1Be4d8ZNLmclBM46n8xhNJoKX7lrGFL2H-F2Fiujsg86uY4-mAA5kBmqFVHTCAROSGAXukAfKHXCr4fqg_1rwhr6c22r_quw51Qmz10LYU-KDEfGLoiGUrg\u0026h=t7_N_MeL_okOqy0AcB1FTcTw308zWbrVFmugup-5v1I", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EzM2Q2ZDgwLWUxYTgtNDFhMS1iNWIwLWY2YmIyYzk3MzUwYQ==?api-version=2023-11-01\u0026t=638390756186026581\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=xEm_HDnEwTLG6Z6vUSR9UPuc8bU992nswXDQFuAbalkpK0Ld7jRhnVuP72gNR-7lyNgio5YqzserQkrCJn-Zv4ze0dpinubwiAq5CAOHe-eGI7oV9VNOdObMaVBOTkxR8M_kTommRoEOrJnosBKPMe4CZnxMfGeUeUwORemor7nf-_MKjbUT1n30L4Bp3tSQCQWG6n-z6b0K3aIYZXVy1t4UIM2aputGhnPa9J0wzL91AOl6Fj2iQAIDrYo_qao8Lw6OV4PotHepFbPp0hUZA6VrZtTUcdNHPXPq-n9GOKJJRy_j3Vc3CwNWEfwTYHp14YSlK4mGDRC9e6x9BKga9g\u0026h=2Hvu_1yQ8KKzTuUlBfjW6GRublXvODbrffzS6FOAfOk", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "8799badc-0f01-4251-82d8-557bc98e48fc" ], + "x-ms-client-request-id": [ "94ea00d2-a1e9-4962-bb58-fe92755409ff" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -145,39 +145,39 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzY5NTAwOGM3LWE4OTUtNGUzMi1iZmJkLTRlZTJkZTVkYjE5Yw==?api-version=2023-05-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EzM2Q2ZDgwLWUxYTgtNDFhMS1iNWIwLWY2YmIyYzk3MzUwYQ==?api-version=2023-11-01" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-correlation-request-id": [ "40efd960-54e7-47cf-9be7-3979825da497" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080025Z:40efd960-54e7-47cf-9be7-3979825da497" ], - "Date": [ "Tue, 29 Aug 2023 08:00:25 GMT" ] + "x-ms-correlation-request-id": [ "b748ce5e-8714-4353-9fba-cf466fdcb464" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043409Z:b748ce5e-8714-4353-9fba-cf466fdcb464" ], + "Date": [ "Mon, 25 Dec 2023 04:34:08 GMT" ] }, "ContentHeaders": { "Content-Length": [ "246" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+5": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "4b89ba5e-02b3-446d-8c90-3346fedc68ef" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "8eec7be4-3f52-4acc-8ce3-af85c388f62d" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -194,32 +194,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "a5ca5a9f-11fc-4773-91d4-58a330d62677" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080031Z:a5ca5a9f-11fc-4773-91d4-58a330d62677" ], - "Date": [ "Tue, 29 Aug 2023 08:00:31 GMT" ] + "x-ms-correlation-request-id": [ "2e3fe5e7-cb9d-4b3a-8038-0f067bdb5b91" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043415Z:2e3fe5e7-cb9d-4b3a-8038-0f067bdb5b91" ], + "Date": [ "Mon, 25 Dec 2023 04:34:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+6": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "e91388b4-a3c9-41ef-abd6-d40cb9c51bc6" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "426df7f6-6efa-4901-a52c-10fc5dc46cb8" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -236,32 +236,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "48eefafc-373d-472e-adaf-98e038503bd4" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080037Z:48eefafc-373d-472e-adaf-98e038503bd4" ], - "Date": [ "Tue, 29 Aug 2023 08:00:37 GMT" ] + "x-ms-correlation-request-id": [ "3ff1a12d-2158-4d6a-879f-4ee9b6fc767b" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043421Z:3ff1a12d-2158-4d6a-879f-4ee9b6fc767b" ], + "Date": [ "Mon, 25 Dec 2023 04:34:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+7": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "314a1f50-e321-4382-99f5-d55cd18fe67c" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "e2c72d0c-b5e4-42ab-b68a-636b200a0641" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -278,32 +278,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "f6cf4e3d-354e-46c4-9e27-f2b965b44a10" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080043Z:f6cf4e3d-354e-46c4-9e27-f2b965b44a10" ], - "Date": [ "Tue, 29 Aug 2023 08:00:43 GMT" ] + "x-ms-correlation-request-id": [ "9a4922db-3b36-41a6-8fd3-be7f84123cab" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043426Z:9a4922db-3b36-41a6-8fd3-be7f84123cab" ], + "Date": [ "Mon, 25 Dec 2023 04:34:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+8": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "9e9fc80f-97c2-4d95-9670-04f3cca47208" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "5ac68d3f-bf5a-4957-895f-6f22b437f54e" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -320,32 +320,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "a5ce2b46-04d0-44b1-aeb6-4ab4973373f8" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080049Z:a5ce2b46-04d0-44b1-aeb6-4ab4973373f8" ], - "Date": [ "Tue, 29 Aug 2023 08:00:49 GMT" ] + "x-ms-correlation-request-id": [ "e4ee0db6-f0c6-4841-8b89-05076d050019" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043432Z:e4ee0db6-f0c6-4841-8b89-05076d050019" ], + "Date": [ "Mon, 25 Dec 2023 04:34:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+9": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "e3c1fa91-d61c-4434-9654-d1145e788d2e" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "a1b9b3e4-eb68-498d-abc9-51f959de1959" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -362,32 +362,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "9002cc12-df12-41b5-95b2-d8c9f3b00fcf" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080055Z:9002cc12-df12-41b5-95b2-d8c9f3b00fcf" ], - "Date": [ "Tue, 29 Aug 2023 08:00:55 GMT" ] + "x-ms-correlation-request-id": [ "304a6989-c682-4d61-9538-aba5bc394b99" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043438Z:304a6989-c682-4d61-9538-aba5bc394b99" ], + "Date": [ "Mon, 25 Dec 2023 04:34:37 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+10": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "6e5f5c46-e36f-43c7-acf4-69f7d79deeac" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "62742290-75d4-460a-9a52-028d2372d0ae" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -404,32 +404,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "8536b28a-17a1-4eb1-8436-7a939bf1ed8b" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080101Z:8536b28a-17a1-4eb1-8436-7a939bf1ed8b" ], - "Date": [ "Tue, 29 Aug 2023 08:01:01 GMT" ] + "x-ms-correlation-request-id": [ "6b710295-347a-40bd-b8be-cb2cbdc4235c" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043444Z:6b710295-347a-40bd-b8be-cb2cbdc4235c" ], + "Date": [ "Mon, 25 Dec 2023 04:34:43 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+11": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "b81b6dcb-3ae0-4f4e-9987-cfd93b830ee9" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "fd947e39-3739-420e-9588-585a2da87e02" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -446,32 +446,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "0a5e327d-e7b3-4362-9398-f950162f78d0" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080107Z:0a5e327d-e7b3-4362-9398-f950162f78d0" ], - "Date": [ "Tue, 29 Aug 2023 08:01:06 GMT" ] + "x-ms-correlation-request-id": [ "855d22c9-c5e9-487a-8241-9e7a80be94f2" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043449Z:855d22c9-c5e9-487a-8241-9e7a80be94f2" ], + "Date": [ "Mon, 25 Dec 2023 04:34:49 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+12": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "4770be0d-0744-4780-bc3b-0c8daf51d21f" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "ec07738a-ef50-4a7c-a692-46ab5782799d" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -488,32 +488,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "656cd2de-8b83-4c37-9d00-985b9dfcfb36" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080112Z:656cd2de-8b83-4c37-9d00-985b9dfcfb36" ], - "Date": [ "Tue, 29 Aug 2023 08:01:12 GMT" ] + "x-ms-correlation-request-id": [ "64e28a3f-ed14-41f4-8cd9-ad646b262298" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043455Z:64e28a3f-ed14-41f4-8cd9-ad646b262298" ], + "Date": [ "Mon, 25 Dec 2023 04:34:54 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+13": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "b4803f8e-85eb-460b-a0e9-f5ad30608b83" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "c35f18e6-de4e-4bd3-a304-a07c4a21f294" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -530,32 +530,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "3f19df0e-5680-4176-ab44-04d0373d682c" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080118Z:3f19df0e-5680-4176-ab44-04d0373d682c" ], - "Date": [ "Tue, 29 Aug 2023 08:01:18 GMT" ] + "x-ms-correlation-request-id": [ "3c4ae804-c741-4bbe-87d2-8bc6d8b5a3b7" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043501Z:3c4ae804-c741-4bbe-87d2-8bc6d8b5a3b7" ], + "Date": [ "Mon, 25 Dec 2023 04:35:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+14": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "9dfec0e4-65b4-4075-a359-5d7220c621d5" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "9e6842bf-4b38-4c01-91d9-b11fee5055fa" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -572,32 +572,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "fffa5487-e9c3-4f7b-b503-2eba002cebbc" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080124Z:fffa5487-e9c3-4f7b-b503-2eba002cebbc" ], - "Date": [ "Tue, 29 Aug 2023 08:01:24 GMT" ] + "x-ms-correlation-request-id": [ "778dd1ac-0e1e-470e-8266-5f3b985cfbb9" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043506Z:778dd1ac-0e1e-470e-8266-5f3b985cfbb9" ], + "Date": [ "Mon, 25 Dec 2023 04:35:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+15": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "27b1eb1d-531d-4974-a782-e37312c916d1" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "566907ca-8048-4901-b72d-77360cfc280b" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -614,32 +614,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "85eb21db-88c5-4c01-8883-0552bda064f3" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080130Z:85eb21db-88c5-4c01-8883-0552bda064f3" ], - "Date": [ "Tue, 29 Aug 2023 08:01:29 GMT" ] + "x-ms-correlation-request-id": [ "23fd4617-a18c-4caf-afb5-8ef65f6557d3" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043512Z:23fd4617-a18c-4caf-afb5-8ef65f6557d3" ], + "Date": [ "Mon, 25 Dec 2023 04:35:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+16": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "b8fe1428-a724-4410-b32e-cbd1304f79c7" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "3755616f-77dc-4bed-b39e-259cfe616a82" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -656,32 +656,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "d94bb5d8-23b5-4e5a-8d0f-43159ccd229d" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080136Z:d94bb5d8-23b5-4e5a-8d0f-43159ccd229d" ], - "Date": [ "Tue, 29 Aug 2023 08:01:35 GMT" ] + "x-ms-correlation-request-id": [ "ac78fc02-71b8-495a-802e-6de40f406d0a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043518Z:ac78fc02-71b8-495a-802e-6de40f406d0a" ], + "Date": [ "Mon, 25 Dec 2023 04:35:18 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+17": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "1cc9e816-92a7-41a5-a711-82ad0178bb15" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "5e63bb34-133a-4ae4-ab21-620c2ba45022" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -698,32 +698,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "148f1b1e-1b40-4911-a8d5-b33a54a57076" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080142Z:148f1b1e-1b40-4911-a8d5-b33a54a57076" ], - "Date": [ "Tue, 29 Aug 2023 08:01:41 GMT" ] + "x-ms-correlation-request-id": [ "796fede2-96e0-4ce4-b61c-28562261ede5" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043524Z:796fede2-96e0-4ce4-b61c-28562261ede5" ], + "Date": [ "Mon, 25 Dec 2023 04:35:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+18": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "191678f4-dc9d-4c33-b096-e00d9aaf88cf" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "9be0f98d-90dd-40e9-a2e5-9cdc92ff9b40" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -740,32 +740,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "2127c309-5d2b-4b95-bd58-87110f2b54ac" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080148Z:2127c309-5d2b-4b95-bd58-87110f2b54ac" ], - "Date": [ "Tue, 29 Aug 2023 08:01:47 GMT" ] + "x-ms-correlation-request-id": [ "0c82978a-ccd0-4b5f-8c56-2d9d19c249ea" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043529Z:0c82978a-ccd0-4b5f-8c56-2d9d19c249ea" ], + "Date": [ "Mon, 25 Dec 2023 04:35:29 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+19": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "c3d49be7-a7d0-4a66-a0ce-9b3702f3873e" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "77193f75-75fa-4fe1-aec1-ed8cc3028138" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -782,32 +782,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "226ab4b1-d285-49ac-8533-daf5071f19d5" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080153Z:226ab4b1-d285-49ac-8533-daf5071f19d5" ], - "Date": [ "Tue, 29 Aug 2023 08:01:53 GMT" ] + "x-ms-correlation-request-id": [ "86e6e552-06df-4a2c-81fe-e640f45fbe8b" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043535Z:86e6e552-06df-4a2c-81fe-e640f45fbe8b" ], + "Date": [ "Mon, 25 Dec 2023 04:35:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+20": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "763151f9-92cf-4025-88eb-ec256b74f154" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "a0bb6481-fa34-4b7a-a183-0e8ea5defd55" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -824,32 +824,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "250117e0-831d-4381-9681-f0365dd6433f" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080159Z:250117e0-831d-4381-9681-f0365dd6433f" ], - "Date": [ "Tue, 29 Aug 2023 08:01:58 GMT" ] + "x-ms-correlation-request-id": [ "ed0442d2-1eb4-4146-9eec-1338c97efb33" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043541Z:ed0442d2-1eb4-4146-9eec-1338c97efb33" ], + "Date": [ "Mon, 25 Dec 2023 04:35:40 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+21": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "c591dd31-db77-479f-8112-9ddb390d9a07" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "21740fd2-d4d6-454e-89ce-115330681351" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -866,32 +866,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "d216194e-9b98-403d-9ad4-9aba9a70bbd6" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080205Z:d216194e-9b98-403d-9ad4-9aba9a70bbd6" ], - "Date": [ "Tue, 29 Aug 2023 08:02:04 GMT" ] + "x-ms-correlation-request-id": [ "ebccdefd-faae-4f68-99ab-9eebd596d18a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043546Z:ebccdefd-faae-4f68-99ab-9eebd596d18a" ], + "Date": [ "Mon, 25 Dec 2023 04:35:46 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+22": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "15f9e71f-344b-47e3-a379-f082fe8c53f2" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "d4156261-f5e2-45f2-ae2f-1639dbc4740d" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -908,32 +908,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "38e81421-e006-4e77-b19c-9e7305bddfac" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080211Z:38e81421-e006-4e77-b19c-9e7305bddfac" ], - "Date": [ "Tue, 29 Aug 2023 08:02:10 GMT" ] + "x-ms-correlation-request-id": [ "fc0934f6-403b-4d7f-bb8b-ed62637990a2" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043553Z:fc0934f6-403b-4d7f-bb8b-ed62637990a2" ], + "Date": [ "Mon, 25 Dec 2023 04:35:53 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+23": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "7f29ed9d-f85b-46e5-907d-24ade008421f" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "8dd3a597-9b19-47c4-9949-5c9d98495546" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -950,32 +950,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "a1371d1e-8af8-406f-b6b9-a085ea7cc8d8" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080217Z:a1371d1e-8af8-406f-b6b9-a085ea7cc8d8" ], - "Date": [ "Tue, 29 Aug 2023 08:02:16 GMT" ] + "x-ms-correlation-request-id": [ "907557dc-a372-4f4f-b34f-aa08042edb85" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043559Z:907557dc-a372-4f4f-b34f-aa08042edb85" ], + "Date": [ "Mon, 25 Dec 2023 04:35:58 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+24": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "d5ef6040-b3ae-48c3-9a47-e6d3a7e14a1f" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "926c1a86-3422-47ed-b3c0-b4a0a64c88b6" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -992,32 +992,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "2609ca99-1f72-4c54-b087-b36afcfe6d32" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080223Z:2609ca99-1f72-4c54-b087-b36afcfe6d32" ], - "Date": [ "Tue, 29 Aug 2023 08:02:23 GMT" ] + "x-ms-correlation-request-id": [ "92a1dab9-d3cb-43a4-827d-8b5b7122189a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043604Z:92a1dab9-d3cb-43a4-827d-8b5b7122189a" ], + "Date": [ "Mon, 25 Dec 2023 04:36:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+25": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "59c6a171-3fe2-47f5-8c55-cf35b9a68ee8" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "e71c7f13-4886-4c59-83a7-a9f0e4933122" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1034,32 +1034,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "d42306da-06ee-4860-8039-b5bcc2804ce6" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080228Z:d42306da-06ee-4860-8039-b5bcc2804ce6" ], - "Date": [ "Tue, 29 Aug 2023 08:02:28 GMT" ] + "x-ms-correlation-request-id": [ "2e60e226-2a0d-499a-9e9e-6f68927f01bd" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043610Z:2e60e226-2a0d-499a-9e9e-6f68927f01bd" ], + "Date": [ "Mon, 25 Dec 2023 04:36:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+26": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "ae80849b-e160-4ad8-af9e-02bbedb47200" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "cc95b8d0-658a-4bc1-a897-26933a8ec56f" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1076,32 +1076,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "987b350a-3227-4f05-be64-7d6fdfa7ee68" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080234Z:987b350a-3227-4f05-be64-7d6fdfa7ee68" ], - "Date": [ "Tue, 29 Aug 2023 08:02:34 GMT" ] + "x-ms-correlation-request-id": [ "c766ea8a-9a28-424c-8a0b-4286f49ef686" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043616Z:c766ea8a-9a28-424c-8a0b-4286f49ef686" ], + "Date": [ "Mon, 25 Dec 2023 04:36:15 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+27": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+27": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "3d84d635-07ac-45a6-b1ac-5fab27bc3e39" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "2a7241d5-f1c0-488a-9fa6-8fbb7f72b77c" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1118,32 +1118,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "f6783e59-8b20-4f83-8ddb-2dcac249841f" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080240Z:f6783e59-8b20-4f83-8ddb-2dcac249841f" ], - "Date": [ "Tue, 29 Aug 2023 08:02:40 GMT" ] + "x-ms-correlation-request-id": [ "f4bb8a85-92bf-491a-bbf0-fe4bc9e5dd29" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043622Z:f4bb8a85-92bf-491a-bbf0-fe4bc9e5dd29" ], + "Date": [ "Mon, 25 Dec 2023 04:36:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+28": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+28": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "2b4c323a-da20-4166-b2a0-d3d8fdcd6ee9" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "1fcedaed-50d9-4c05-87f9-8947f9ec7fbc" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1160,32 +1160,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "5f7a16bc-e07b-4dba-ac9b-45c788569fd4" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080246Z:5f7a16bc-e07b-4dba-ac9b-45c788569fd4" ], - "Date": [ "Tue, 29 Aug 2023 08:02:46 GMT" ] + "x-ms-correlation-request-id": [ "65b50acc-01f4-4f03-a4f6-3a9692a0eebd" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043627Z:65b50acc-01f4-4f03-a4f6-3a9692a0eebd" ], + "Date": [ "Mon, 25 Dec 2023 04:36:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+29": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "c62b0bb4-80b9-4cce-a95e-b3b0f534c953" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "79a90cbe-5be5-464d-8ba0-5ca3b1f861c8" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1202,32 +1202,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "dd2b457e-ed2b-4099-bc9c-359c865d3d92" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080252Z:dd2b457e-ed2b-4099-bc9c-359c865d3d92" ], - "Date": [ "Tue, 29 Aug 2023 08:02:51 GMT" ] + "x-ms-correlation-request-id": [ "69971bb7-1bbc-4e8b-a9c9-5d71f2514c85" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043633Z:69971bb7-1bbc-4e8b-a9c9-5d71f2514c85" ], + "Date": [ "Mon, 25 Dec 2023 04:36:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+30": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+30": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "90c5d5c2-5a49-47bd-9f77-d08d030b2453" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "74238335-ae00-4268-8c93-2e414f0a9a95" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1244,32 +1244,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "a07a57f6-c3bd-428b-b598-e88540f49045" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080258Z:a07a57f6-c3bd-428b-b598-e88540f49045" ], - "Date": [ "Tue, 29 Aug 2023 08:02:57 GMT" ] + "x-ms-correlation-request-id": [ "657f0abc-6a53-4117-a8f7-5e3a5fea8278" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043639Z:657f0abc-6a53-4117-a8f7-5e3a5fea8278" ], + "Date": [ "Mon, 25 Dec 2023 04:36:38 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2155" ], + "Content-Length": [ "2179" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T07%3A59%3A54.911246Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A33%3A38.8046726Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01+31": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+BackupExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01+31": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "31" ], - "x-ms-client-request-id": [ "9eb815a3-de74-41a8-bbc5-ddd7cfaf63a3" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "84534bc9-d84e-4eda-aefd-d0ed39d69e72" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1286,32 +1286,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "4551a82c-9b6b-496e-8b42-2a1b1dfe96f8" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080304Z:4551a82c-9b6b-496e-8b42-2a1b1dfe96f8" ], - "Date": [ "Tue, 29 Aug 2023 08:03:03 GMT" ] + "x-ms-correlation-request-id": [ "5cab8948-458c-459c-a402-17c2992e0a4d" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043644Z:5cab8948-458c-459c-a402-17c2992e0a4d" ], + "Date": [ "Mon, 25 Dec 2023 04:36:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2435" ], + "Content-Length": [ "2457" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":\"OperationalTierStore\",\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T08%3A03%3A01.2982579Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T07:59:54.622214Z\",\"endTime\":\"2023-08-29T08:03:00.9542011Z\",\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT3M6.3319871S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":{\"recoveryPointID\":\"9e8df69b413e428eaf56bb40800323ed\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"68719476736\",\"TaskId\":\"8799badc-0f01-4251-82d8-557bc98e48fc\",\"DatasourceType\":\"Microsoft.Compute/disks\"}}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"name\":\"24d43357-5edc-4cdb-a035-1a0b1e2ff164\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":\"OperationalTierStore\",\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A36%3A44.420854Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:33:38.5702804Z\",\"endTime\":\"2023-12-25T04:36:44.0703888Z\",\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT3M5.5001084S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":{\"recoveryPointID\":\"b82d7a7a9aa14dac8409fe21ef71102e\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"68719476736\",\"TaskId\":\"94ea00d2-a1e9-4962-bb58-fe92755409ff\",\"DatasourceType\":\"Microsoft.Compute/disks\"}}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/e27e683f-c3ac-4e41-a73e-da39b352b608\",\"name\":\"e27e683f-c3ac-4e41-a73e-da39b352b608\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault?api-version=2023-05-01+1": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault?api-version=2023-11-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "ef415e6e-e6c6-41d2-a491-519df93b7278" ], + "x-ms-client-request-id": [ "915f21c9-046d-4e02-879e-9a7920053201" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1328,32 +1328,32 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], - "x-ms-correlation-request-id": [ "ae029248-2304-48c9-88e3-0991f50a3739" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080305Z:ae029248-2304-48c9-88e3-0991f50a3739" ], - "Date": [ "Tue, 29 Aug 2023 08:03:04 GMT" ] + "x-ms-correlation-request-id": [ "f89f964f-91c1-4c30-9964-ccaf4f7c80ff" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043645Z:f89f964f-91c1-4c30-9964-ccaf4f7c80ff" ], + "Date": [ "Mon, 25 Dec 2023 04:36:45 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "712" ], + "Content-Length": [ "806" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"MABUsed\":\"Yes\",\"Owner\":\"hiaga\",\"Purpose\":\"testing\",\"DeleteBy\":\"01-2099\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"74ad0080-cf50-42ae-a83a-7c5f1126cae2\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"GeoRedundant\"},{\"datastoreType\":\"ArchiveStore\",\"type\":\"GeoRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"secureScore\":\"None\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault\",\"name\":\"oss-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"MABUsed\":\"Yes\",\"Owner\":\"hiaga\",\"Purpose\":\"testing\",\"DeleteBy\":\"01-2099\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"74ad0080-cf50-42ae-a83a-7c5f1126cae2\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"GeoRedundant\"},{\"datastoreType\":\"ArchiveStore\",\"type\":\"GeoRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"featureSettings\":{\"crossRegionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"None\",\"replicatedRegions\":[\"\"]},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault\",\"name\":\"oss-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-05-01+2": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-11-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "c9f8c080-4d67-4c5f-8d83-701f61f8f842" ], + "x-ms-client-request-id": [ "81cc34c6-ff44-4d8a-b732-f5a85c8a9017" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1370,9 +1370,9 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-correlation-request-id": [ "7fce13a4-a7d8-4c30-9d72-21393a9d9ce7" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080305Z:7fce13a4-a7d8-4c30-9d72-21393a9d9ce7" ], - "Date": [ "Tue, 29 Aug 2023 08:03:05 GMT" ] + "x-ms-correlation-request-id": [ "4bae3a60-cb7c-4f60-bd45-43fd71ab7cb4" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043646Z:4bae3a60-cb7c-4f60-bd45-43fd71ab7cb4" ], + "Date": [ "Mon, 25 Dec 2023 04:36:46 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2939" ], @@ -1383,19 +1383,19 @@ "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances?api-version=2023-05-01+3": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances?api-version=2023-11-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "c599cda7-a453-480f-a23e-70c43e57ec68" ], + "x-ms-client-request-id": [ "dfa4ff9e-4890-4fa5-83e8-c90b83807860" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1412,9 +1412,9 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1998" ], - "x-ms-correlation-request-id": [ "19a48662-d042-4abf-a0f3-06100e960a20" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080306Z:19a48662-d042-4abf-a0f3-06100e960a20" ], - "Date": [ "Tue, 29 Aug 2023 08:03:06 GMT" ] + "x-ms-correlation-request-id": [ "05f443dd-f254-46c8-b4f7-21e4cb88efab" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043647Z:05f443dd-f254-46c8-b4f7-21e4cb88efab" ], + "Date": [ "Mon, 25 Dec 2023 04:36:46 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1942" ], @@ -1425,10 +1425,10 @@ "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/backup?api-version=2023-05-01+4": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/backup?api-version=2023-11-01+4": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/backup?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/backup?api-version=2023-11-01", "Content": "{\r\n \"backupRuleOptions\": {\r\n \"triggerOption\": {\r\n \"retentionTagOverride\": \"Default\"\r\n },\r\n \"ruleName\": \"BackupWeekly\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -1443,17 +1443,17 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzk0NDFhZmI3LWMyOTAtNGE2ZC05N2M5LTNjMWM0ZjBlN2IwOQ==?api-version=2023-05-01\u0026t=2023-08-29T08%3a03%3a07\u0026c=MIIHHjCCBgagAwIBAgITfwHPlNk5zKbiOmpQOgAEAc-U2TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjMwODAyMTQyOTEwWhcNMjQwNzI3MTQyOTEwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQBgteLdN0B1F-lDLmirYilXbF-rW5tdvEKFR4TJYpU0ApbXM2wV_7K-Di8BilD1v-u5wagyRw3Oxzkwk7MWpYVBUacakvc59LTktALiRGS21JHb1f7iSxAA_tI_L2DTFfjITsLVzOZFbceGxgOJPn4Tl7I6lvKbZQjWE7W9o62gXlVvF1vq5cZlM19cg5puv9X5GCgQDWuNh760p_olxGCezP6SHrJJSLKO9LvZxd2fos4DhWjwMSsgSAzPDVME_S_LDSbwRhUthk2o0R2i0yyEYUEUIvvg5N6zjnc2PaXnklfwa0rH6-MoXMUF0AStfS8_TYziOziVKpQvbLB0t0CAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBTF-BtgEBUftJbzGBfkt4JiModZZTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHfodyS1pQdmHJOrylKnDXeYTAuLp_OBi3BKVB7o8vAbxKiRAgZfm5wbqen_XdwowZWOf4tmOZiBbpD2dO4Iw0C42D_A0M6UJAoddT7_Rl1kuS-evxswpkTBqiF4PWEG1hbbOEW8NuzZ3tWUt1nuJ4u3TluZQwTHf0p30ayxHtsjEXSHa94lMNauB44QSpepD6NGXoZ0uRA2C0RvUxtCQM984iZuIQMqdVPnt4Hy6uZJ978u1UMhz7sMtIKxFlAUbCobbS0wFy6sHXhnAn6p1eZhaAGenU0yDnoyn_kI4KoDd6OQ8ekHvsiIF0WLM5vsWRnrs9q0PVXZZ0JFtXZ_a8Y\u0026s=s_xaT9ohCuJuQDwxKuTRJmonZoDa99f0vJ7sqLO8h4AavT1xBMtNrcMeEJ6PQKX_mVQjn5aJOJ8Xn7tXHnh11nzOA3PnGORqyqqTvSvhWchanOrNajIAuk4FIJVKUD9ueZvDC_fVOu6xYmIHDHnvth7qoOnFEA00aum-PEUvNsdN8FYQzsTGP6yBVKFHvaKrJ2Xj6jynuxqBsyPlpRSMDncfXfrSfzGY0YRqW5Ds7FiXZC_ZcrMuMoIpTYWh1Mg77Yb9_8-Zg06t6rQR5ApBOBPBee2EHvgeRf1ZTU7V4bGi5HLDG0sFu6rV-bKkNuMWxzLHfDwDhBiImlQ3PsXDYg\u0026h=7tg7b9FbYms9O_VkdTvuYTkfun0XxHu4tk_fviylKJ0" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzZhZmY1ZTc1LTZhZmEtNGRmMC04N2IyLWEzZTE3NTg1Yzk4Nw==?api-version=2023-11-01\u0026t=638390758085606029\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=IFDTXIVqGH32YqRJazcyeVNPMKSZUSI1TihzGORbH6KZGSRvhYhkFWXlF33aR2LST9t_RTuLDetlC0CJVaA9-SGhe32g9Bg05zQMLauduKRe0rGzlU1I4glkgSxmcnkuvBLMtvkpjLylRQvrsKSnlxfaQUisU2PMUrbHBo2D44JwDslQWP7qj1QkXFtozdGpH0lfOFzaaz-wCbw1jUMMDfc9ZvvlJmmttE8QWYPnotiyDaFGq4ZMbypAl3RDpaSX81RbHdBQCZc0UgbzSUFk_1OVsRZ-rYdpf_cZ2i5a2BGGUx2a2V5agAXfiu0pqxMwN4J0IKSQPH4ZCz3B4pz69g\u0026h=CFwZuzblZmSeskYGENPcyK85KB7KkPL54kkQODz3gX4" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzk0NDFhZmI3LWMyOTAtNGE2ZC05N2M5LTNjMWM0ZjBlN2IwOQ==?api-version=2023-05-01\u0026t=2023-08-29T08%3a03%3a07\u0026c=MIIHHjCCBgagAwIBAgITfwHPlNk5zKbiOmpQOgAEAc-U2TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjMwODAyMTQyOTEwWhcNMjQwNzI3MTQyOTEwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQBgteLdN0B1F-lDLmirYilXbF-rW5tdvEKFR4TJYpU0ApbXM2wV_7K-Di8BilD1v-u5wagyRw3Oxzkwk7MWpYVBUacakvc59LTktALiRGS21JHb1f7iSxAA_tI_L2DTFfjITsLVzOZFbceGxgOJPn4Tl7I6lvKbZQjWE7W9o62gXlVvF1vq5cZlM19cg5puv9X5GCgQDWuNh760p_olxGCezP6SHrJJSLKO9LvZxd2fos4DhWjwMSsgSAzPDVME_S_LDSbwRhUthk2o0R2i0yyEYUEUIvvg5N6zjnc2PaXnklfwa0rH6-MoXMUF0AStfS8_TYziOziVKpQvbLB0t0CAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBTF-BtgEBUftJbzGBfkt4JiModZZTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHfodyS1pQdmHJOrylKnDXeYTAuLp_OBi3BKVB7o8vAbxKiRAgZfm5wbqen_XdwowZWOf4tmOZiBbpD2dO4Iw0C42D_A0M6UJAoddT7_Rl1kuS-evxswpkTBqiF4PWEG1hbbOEW8NuzZ3tWUt1nuJ4u3TluZQwTHf0p30ayxHtsjEXSHa94lMNauB44QSpepD6NGXoZ0uRA2C0RvUxtCQM984iZuIQMqdVPnt4Hy6uZJ978u1UMhz7sMtIKxFlAUbCobbS0wFy6sHXhnAn6p1eZhaAGenU0yDnoyn_kI4KoDd6OQ8ekHvsiIF0WLM5vsWRnrs9q0PVXZZ0JFtXZ_a8Y\u0026s=cuxPrYcJiIILgoOYCdJWw6xY4uLS9PAf88vPQ6D9NqGhDGHGQ14tyrDAw1hImqvWG4gkroiukJI_AS8GayTu7GoA1Pl2XMRWCrdb4YyippIRlun6_ZUrRRecckE28Wnq-7mMtDR9jeAo3WY7Gekqm_MXf68KvPwwuyxJqxAvg9i6Yjt0fVvW2sQ-BS2EyzhEbUt_INExRSjpbuY4hAvWCIKF6W9d-pc0vEDSOVKSQA0XV7kdtb-nc7AWTg9roHu1GTPKgvb03QJPF39ZEXihceZbGIPyQkb0dPwHVraqDae3M3iQEH17EZkLQY_1RHpNCeFFJMo-pzZz9sE0agxXtQ\u0026h=yiDlrbARwb-1b-bQgM4CGJDMpZ_8d3rcGB511xkULqg" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzZhZmY1ZTc1LTZhZmEtNGRmMC04N2IyLWEzZTE3NTg1Yzk4Nw==?api-version=2023-11-01\u0026t=638390758085606029\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=v_A0ed1Q2MxAZTJgLgxzxfvVVPYw1E7W4pyiw4MjcvIJURdLbOM0tlZuYiMVSpX_Zmk0n4eHw-i37Go6Sc0Lj1v_SpgiOaxmTPVuMq8PY8y2YfTkhchyvqc7dePy1Em4tLhPaRO8Y4hNSBxWSgek8qhJ2Arsxox49hnQ18zO9f9UHZ1rZG-Xqlt6ZbcRRyy_aHYCSQ1x1ekiYxaGqwJ3_JjcFQly3W05PTr8N24YnAji2DdTI5Snf7rd4tDgQE3NY5gBJEHcKN_BlmEIFWAVLREjNqZTPHajULMTtfacRmHOg6ADkfdsKJDllkkq8vNcPo11Sb7D7codunUzpvvv0g\u0026h=Bn2OpEu-6YFBeWzMKxKCTFVCszoYSfTRS6k1MI3Umtc" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "eb916be9-7c8a-48fc-ac9f-369b48840215" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080307Z:eb916be9-7c8a-48fc-ac9f-369b48840215" ], - "Date": [ "Tue, 29 Aug 2023 08:03:07 GMT" ] + "x-ms-correlation-request-id": [ "2cc9d4dd-fa9c-4c67-bc2d-fc75871e9c82" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043648Z:2cc9d4dd-fa9c-4c67-bc2d-fc75871e9c82" ], + "Date": [ "Mon, 25 Dec 2023 04:36:48 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -1463,20 +1463,20 @@ "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzk0NDFhZmI3LWMyOTAtNGE2ZC05N2M5LTNjMWM0ZjBlN2IwOQ==?api-version=2023-05-01\u0026t=2023-08-29T08%3a03%3a07\u0026c=MIIHHjCCBgagAwIBAgITfwHPlNk5zKbiOmpQOgAEAc-U2TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjMwODAyMTQyOTEwWhcNMjQwNzI3MTQyOTEwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQBgteLdN0B1F-lDLmirYilXbF-rW5tdvEKFR4TJYpU0ApbXM2wV_7K-Di8BilD1v-u5wagyRw3Oxzkwk7MWpYVBUacakvc59LTktALiRGS21JHb1f7iSxAA_tI_L2DTFfjITsLVzOZFbceGxgOJPn4Tl7I6lvKbZQjWE7W9o62gXlVvF1vq5cZlM19cg5puv9X5GCgQDWuNh760p_olxGCezP6SHrJJSLKO9LvZxd2fos4DhWjwMSsgSAzPDVME_S_LDSbwRhUthk2o0R2i0yyEYUEUIvvg5N6zjnc2PaXnklfwa0rH6-MoXMUF0AStfS8_TYziOziVKpQvbLB0t0CAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBTF-BtgEBUftJbzGBfkt4JiModZZTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHfodyS1pQdmHJOrylKnDXeYTAuLp_OBi3BKVB7o8vAbxKiRAgZfm5wbqen_XdwowZWOf4tmOZiBbpD2dO4Iw0C42D_A0M6UJAoddT7_Rl1kuS-evxswpkTBqiF4PWEG1hbbOEW8NuzZ3tWUt1nuJ4u3TluZQwTHf0p30ayxHtsjEXSHa94lMNauB44QSpepD6NGXoZ0uRA2C0RvUxtCQM984iZuIQMqdVPnt4Hy6uZJ978u1UMhz7sMtIKxFlAUbCobbS0wFy6sHXhnAn6p1eZhaAGenU0yDnoyn_kI4KoDd6OQ8ekHvsiIF0WLM5vsWRnrs9q0PVXZZ0JFtXZ_a8Y\u0026s=cuxPrYcJiIILgoOYCdJWw6xY4uLS9PAf88vPQ6D9NqGhDGHGQ14tyrDAw1hImqvWG4gkroiukJI_AS8GayTu7GoA1Pl2XMRWCrdb4YyippIRlun6_ZUrRRecckE28Wnq-7mMtDR9jeAo3WY7Gekqm_MXf68KvPwwuyxJqxAvg9i6Yjt0fVvW2sQ-BS2EyzhEbUt_INExRSjpbuY4hAvWCIKF6W9d-pc0vEDSOVKSQA0XV7kdtb-nc7AWTg9roHu1GTPKgvb03QJPF39ZEXihceZbGIPyQkb0dPwHVraqDae3M3iQEH17EZkLQY_1RHpNCeFFJMo-pzZz9sE0agxXtQ\u0026h=yiDlrbARwb-1b-bQgM4CGJDMpZ_8d3rcGB511xkULqg+5": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzZhZmY1ZTc1LTZhZmEtNGRmMC04N2IyLWEzZTE3NTg1Yzk4Nw==?api-version=2023-11-01\u0026t=638390758085606029\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=v_A0ed1Q2MxAZTJgLgxzxfvVVPYw1E7W4pyiw4MjcvIJURdLbOM0tlZuYiMVSpX_Zmk0n4eHw-i37Go6Sc0Lj1v_SpgiOaxmTPVuMq8PY8y2YfTkhchyvqc7dePy1Em4tLhPaRO8Y4hNSBxWSgek8qhJ2Arsxox49hnQ18zO9f9UHZ1rZG-Xqlt6ZbcRRyy_aHYCSQ1x1ekiYxaGqwJ3_JjcFQly3W05PTr8N24YnAji2DdTI5Snf7rd4tDgQE3NY5gBJEHcKN_BlmEIFWAVLREjNqZTPHajULMTtfacRmHOg6ADkfdsKJDllkkq8vNcPo11Sb7D7codunUzpvvv0g\u0026h=Bn2OpEu-6YFBeWzMKxKCTFVCszoYSfTRS6k1MI3Umtc+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzk0NDFhZmI3LWMyOTAtNGE2ZC05N2M5LTNjMWM0ZjBlN2IwOQ==?api-version=2023-05-01\u0026t=2023-08-29T08%3a03%3a07\u0026c=MIIHHjCCBgagAwIBAgITfwHPlNk5zKbiOmpQOgAEAc-U2TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjMwODAyMTQyOTEwWhcNMjQwNzI3MTQyOTEwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQBgteLdN0B1F-lDLmirYilXbF-rW5tdvEKFR4TJYpU0ApbXM2wV_7K-Di8BilD1v-u5wagyRw3Oxzkwk7MWpYVBUacakvc59LTktALiRGS21JHb1f7iSxAA_tI_L2DTFfjITsLVzOZFbceGxgOJPn4Tl7I6lvKbZQjWE7W9o62gXlVvF1vq5cZlM19cg5puv9X5GCgQDWuNh760p_olxGCezP6SHrJJSLKO9LvZxd2fos4DhWjwMSsgSAzPDVME_S_LDSbwRhUthk2o0R2i0yyEYUEUIvvg5N6zjnc2PaXnklfwa0rH6-MoXMUF0AStfS8_TYziOziVKpQvbLB0t0CAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBTF-BtgEBUftJbzGBfkt4JiModZZTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHfodyS1pQdmHJOrylKnDXeYTAuLp_OBi3BKVB7o8vAbxKiRAgZfm5wbqen_XdwowZWOf4tmOZiBbpD2dO4Iw0C42D_A0M6UJAoddT7_Rl1kuS-evxswpkTBqiF4PWEG1hbbOEW8NuzZ3tWUt1nuJ4u3TluZQwTHf0p30ayxHtsjEXSHa94lMNauB44QSpepD6NGXoZ0uRA2C0RvUxtCQM984iZuIQMqdVPnt4Hy6uZJ978u1UMhz7sMtIKxFlAUbCobbS0wFy6sHXhnAn6p1eZhaAGenU0yDnoyn_kI4KoDd6OQ8ekHvsiIF0WLM5vsWRnrs9q0PVXZZ0JFtXZ_a8Y\u0026s=cuxPrYcJiIILgoOYCdJWw6xY4uLS9PAf88vPQ6D9NqGhDGHGQ14tyrDAw1hImqvWG4gkroiukJI_AS8GayTu7GoA1Pl2XMRWCrdb4YyippIRlun6_ZUrRRecckE28Wnq-7mMtDR9jeAo3WY7Gekqm_MXf68KvPwwuyxJqxAvg9i6Yjt0fVvW2sQ-BS2EyzhEbUt_INExRSjpbuY4hAvWCIKF6W9d-pc0vEDSOVKSQA0XV7kdtb-nc7AWTg9roHu1GTPKgvb03QJPF39ZEXihceZbGIPyQkb0dPwHVraqDae3M3iQEH17EZkLQY_1RHpNCeFFJMo-pzZz9sE0agxXtQ\u0026h=yiDlrbARwb-1b-bQgM4CGJDMpZ_8d3rcGB511xkULqg", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzZhZmY1ZTc1LTZhZmEtNGRmMC04N2IyLWEzZTE3NTg1Yzk4Nw==?api-version=2023-11-01\u0026t=638390758085606029\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=v_A0ed1Q2MxAZTJgLgxzxfvVVPYw1E7W4pyiw4MjcvIJURdLbOM0tlZuYiMVSpX_Zmk0n4eHw-i37Go6Sc0Lj1v_SpgiOaxmTPVuMq8PY8y2YfTkhchyvqc7dePy1Em4tLhPaRO8Y4hNSBxWSgek8qhJ2Arsxox49hnQ18zO9f9UHZ1rZG-Xqlt6ZbcRRyy_aHYCSQ1x1ekiYxaGqwJ3_JjcFQly3W05PTr8N24YnAji2DdTI5Snf7rd4tDgQE3NY5gBJEHcKN_BlmEIFWAVLREjNqZTPHajULMTtfacRmHOg6ADkfdsKJDllkkq8vNcPo11Sb7D7codunUzpvvv0g\u0026h=Bn2OpEu-6YFBeWzMKxKCTFVCszoYSfTRS6k1MI3Umtc", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "36" ], - "x-ms-client-request-id": [ "1457f461-7d37-4be1-a972-2871fdb05004" ], + "x-ms-client-request-id": [ "1044f271-d0a6-4159-a5da-d30fa4e0d3aa" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -1492,33 +1492,33 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "998" ], - "x-ms-correlation-request-id": [ "0921aa65-5d3a-4e5a-a780-e5aff5434624" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080338Z:0921aa65-5d3a-4e5a-a780-e5aff5434624" ], - "Date": [ "Tue, 29 Aug 2023 08:03:37 GMT" ] + "x-ms-correlation-request-id": [ "22f83788-60d7-4ac5-9dbe-7083d10795cd" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043719Z:22f83788-60d7-4ac5-9dbe-7083d10795cd" ], + "Date": [ "Mon, 25 Dec 2023 04:37:18 GMT" ] }, "ContentHeaders": { "Content-Length": [ "737" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzk0NDFhZmI3LWMyOTAtNGE2ZC05N2M5LTNjMWM0ZjBlN2IwOQ==\",\"name\":\"ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzk0NDFhZmI3LWMyOTAtNGE2ZC05N2M5LTNjMWM0ZjBlN2IwOQ==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-29T08:03:07.4615991Z\",\"endTime\":\"2023-08-29T08:03:08Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzZhZmY1ZTc1LTZhZmEtNGRmMC04N2IyLWEzZTE3NTg1Yzk4Nw==\",\"name\":\"ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzZhZmY1ZTc1LTZhZmEtNGRmMC04N2IyLWEzZTE3NTg1Yzk4Nw==\",\"status\":\"Succeeded\",\"startTime\":\"2023-12-25T04:36:48.1242628Z\",\"endTime\":\"2023-12-25T04:36:49Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0\",\"objectType\":\"OperationJobExtendedInfo\"}}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzk0NDFhZmI3LWMyOTAtNGE2ZC05N2M5LTNjMWM0ZjBlN2IwOQ==?api-version=2023-05-01\u0026t=2023-08-29T08%3a03%3a07\u0026c=MIIHHjCCBgagAwIBAgITfwHPlNk5zKbiOmpQOgAEAc-U2TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjMwODAyMTQyOTEwWhcNMjQwNzI3MTQyOTEwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQBgteLdN0B1F-lDLmirYilXbF-rW5tdvEKFR4TJYpU0ApbXM2wV_7K-Di8BilD1v-u5wagyRw3Oxzkwk7MWpYVBUacakvc59LTktALiRGS21JHb1f7iSxAA_tI_L2DTFfjITsLVzOZFbceGxgOJPn4Tl7I6lvKbZQjWE7W9o62gXlVvF1vq5cZlM19cg5puv9X5GCgQDWuNh760p_olxGCezP6SHrJJSLKO9LvZxd2fos4DhWjwMSsgSAzPDVME_S_LDSbwRhUthk2o0R2i0yyEYUEUIvvg5N6zjnc2PaXnklfwa0rH6-MoXMUF0AStfS8_TYziOziVKpQvbLB0t0CAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBTF-BtgEBUftJbzGBfkt4JiModZZTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHfodyS1pQdmHJOrylKnDXeYTAuLp_OBi3BKVB7o8vAbxKiRAgZfm5wbqen_XdwowZWOf4tmOZiBbpD2dO4Iw0C42D_A0M6UJAoddT7_Rl1kuS-evxswpkTBqiF4PWEG1hbbOEW8NuzZ3tWUt1nuJ4u3TluZQwTHf0p30ayxHtsjEXSHa94lMNauB44QSpepD6NGXoZ0uRA2C0RvUxtCQM984iZuIQMqdVPnt4Hy6uZJ978u1UMhz7sMtIKxFlAUbCobbS0wFy6sHXhnAn6p1eZhaAGenU0yDnoyn_kI4KoDd6OQ8ekHvsiIF0WLM5vsWRnrs9q0PVXZZ0JFtXZ_a8Y\u0026s=s_xaT9ohCuJuQDwxKuTRJmonZoDa99f0vJ7sqLO8h4AavT1xBMtNrcMeEJ6PQKX_mVQjn5aJOJ8Xn7tXHnh11nzOA3PnGORqyqqTvSvhWchanOrNajIAuk4FIJVKUD9ueZvDC_fVOu6xYmIHDHnvth7qoOnFEA00aum-PEUvNsdN8FYQzsTGP6yBVKFHvaKrJ2Xj6jynuxqBsyPlpRSMDncfXfrSfzGY0YRqW5Ds7FiXZC_ZcrMuMoIpTYWh1Mg77Yb9_8-Zg06t6rQR5ApBOBPBee2EHvgeRf1ZTU7V4bGi5HLDG0sFu6rV-bKkNuMWxzLHfDwDhBiImlQ3PsXDYg\u0026h=7tg7b9FbYms9O_VkdTvuYTkfun0XxHu4tk_fviylKJ0+6": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzZhZmY1ZTc1LTZhZmEtNGRmMC04N2IyLWEzZTE3NTg1Yzk4Nw==?api-version=2023-11-01\u0026t=638390758085606029\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=IFDTXIVqGH32YqRJazcyeVNPMKSZUSI1TihzGORbH6KZGSRvhYhkFWXlF33aR2LST9t_RTuLDetlC0CJVaA9-SGhe32g9Bg05zQMLauduKRe0rGzlU1I4glkgSxmcnkuvBLMtvkpjLylRQvrsKSnlxfaQUisU2PMUrbHBo2D44JwDslQWP7qj1QkXFtozdGpH0lfOFzaaz-wCbw1jUMMDfc9ZvvlJmmttE8QWYPnotiyDaFGq4ZMbypAl3RDpaSX81RbHdBQCZc0UgbzSUFk_1OVsRZ-rYdpf_cZ2i5a2BGGUx2a2V5agAXfiu0pqxMwN4J0IKSQPH4ZCz3B4pz69g\u0026h=CFwZuzblZmSeskYGENPcyK85KB7KkPL54kkQODz3gX4+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzk0NDFhZmI3LWMyOTAtNGE2ZC05N2M5LTNjMWM0ZjBlN2IwOQ==?api-version=2023-05-01\u0026t=2023-08-29T08%3a03%3a07\u0026c=MIIHHjCCBgagAwIBAgITfwHPlNk5zKbiOmpQOgAEAc-U2TANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDIwHhcNMjMwODAyMTQyOTEwWhcNMjQwNzI3MTQyOTEwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOQBgteLdN0B1F-lDLmirYilXbF-rW5tdvEKFR4TJYpU0ApbXM2wV_7K-Di8BilD1v-u5wagyRw3Oxzkwk7MWpYVBUacakvc59LTktALiRGS21JHb1f7iSxAA_tI_L2DTFfjITsLVzOZFbceGxgOJPn4Tl7I6lvKbZQjWE7W9o62gXlVvF1vq5cZlM19cg5puv9X5GCgQDWuNh760p_olxGCezP6SHrJJSLKO9LvZxd2fos4DhWjwMSsgSAzPDVME_S_LDSbwRhUthk2o0R2i0yyEYUEUIvvg5N6zjnc2PaXnklfwa0rH6-MoXMUF0AStfS8_TYziOziVKpQvbLB0t0CAwEAAaOCBAswggQHMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDAyKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwMig0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3J0MB0GA1UdDgQWBBTF-BtgEBUftJbzGBfkt4JiModZZTAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDIoNCkuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBSuecJrXSWIEwb2BwnDl3x7l48dVTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAHfodyS1pQdmHJOrylKnDXeYTAuLp_OBi3BKVB7o8vAbxKiRAgZfm5wbqen_XdwowZWOf4tmOZiBbpD2dO4Iw0C42D_A0M6UJAoddT7_Rl1kuS-evxswpkTBqiF4PWEG1hbbOEW8NuzZ3tWUt1nuJ4u3TluZQwTHf0p30ayxHtsjEXSHa94lMNauB44QSpepD6NGXoZ0uRA2C0RvUxtCQM984iZuIQMqdVPnt4Hy6uZJ978u1UMhz7sMtIKxFlAUbCobbS0wFy6sHXhnAn6p1eZhaAGenU0yDnoyn_kI4KoDd6OQ8ekHvsiIF0WLM5vsWRnrs9q0PVXZZ0JFtXZ_a8Y\u0026s=s_xaT9ohCuJuQDwxKuTRJmonZoDa99f0vJ7sqLO8h4AavT1xBMtNrcMeEJ6PQKX_mVQjn5aJOJ8Xn7tXHnh11nzOA3PnGORqyqqTvSvhWchanOrNajIAuk4FIJVKUD9ueZvDC_fVOu6xYmIHDHnvth7qoOnFEA00aum-PEUvNsdN8FYQzsTGP6yBVKFHvaKrJ2Xj6jynuxqBsyPlpRSMDncfXfrSfzGY0YRqW5Ds7FiXZC_ZcrMuMoIpTYWh1Mg77Yb9_8-Zg06t6rQR5ApBOBPBee2EHvgeRf1ZTU7V4bGi5HLDG0sFu6rV-bKkNuMWxzLHfDwDhBiImlQ3PsXDYg\u0026h=7tg7b9FbYms9O_VkdTvuYTkfun0XxHu4tk_fviylKJ0", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzZhZmY1ZTc1LTZhZmEtNGRmMC04N2IyLWEzZTE3NTg1Yzk4Nw==?api-version=2023-11-01\u0026t=638390758085606029\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=IFDTXIVqGH32YqRJazcyeVNPMKSZUSI1TihzGORbH6KZGSRvhYhkFWXlF33aR2LST9t_RTuLDetlC0CJVaA9-SGhe32g9Bg05zQMLauduKRe0rGzlU1I4glkgSxmcnkuvBLMtvkpjLylRQvrsKSnlxfaQUisU2PMUrbHBo2D44JwDslQWP7qj1QkXFtozdGpH0lfOFzaaz-wCbw1jUMMDfc9ZvvlJmmttE8QWYPnotiyDaFGq4ZMbypAl3RDpaSX81RbHdBQCZc0UgbzSUFk_1OVsRZ-rYdpf_cZ2i5a2BGGUx2a2V5agAXfiu0pqxMwN4J0IKSQPH4ZCz3B4pz69g\u0026h=CFwZuzblZmSeskYGENPcyK85KB7KkPL54kkQODz3gX4", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "37" ], - "x-ms-client-request-id": [ "1457f461-7d37-4be1-a972-2871fdb05004" ], + "x-ms-client-request-id": [ "1044f271-d0a6-4159-a5da-d30fa4e0d3aa" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -1529,39 +1529,39 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzk0NDFhZmI3LWMyOTAtNGE2ZC05N2M5LTNjMWM0ZjBlN2IwOQ==?api-version=2023-05-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzZhZmY1ZTc1LTZhZmEtNGRmMC04N2IyLWEzZTE3NTg1Yzk4Nw==?api-version=2023-11-01" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-correlation-request-id": [ "66e1310b-abb1-45f9-9c34-07dc3595366e" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080338Z:66e1310b-abb1-45f9-9c34-07dc3595366e" ], - "Date": [ "Tue, 29 Aug 2023 08:03:38 GMT" ] + "x-ms-correlation-request-id": [ "ca1122db-72a2-4b57-bf47-51abd398a30f" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043719Z:ca1122db-72a2-4b57-bf47-51abd398a30f" ], + "Date": [ "Mon, 25 Dec 2023 04:37:18 GMT" ] }, "ContentHeaders": { "Content-Length": [ "245" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0\",\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f?api-version=2023-05-01+7": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0?api-version=2023-11-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "38" ], - "x-ms-client-request-id": [ "d1c90601-2dfe-4ff6-835d-0bdafe0f0caa" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "80338fd9-243e-42d4-adde-04ddaabe6a8c" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1578,32 +1578,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "a60c871c-e3c5-487c-92d7-a6850b117d62" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080349Z:a60c871c-e3c5-487c-92d7-a6850b117d62" ], - "Date": [ "Tue, 29 Aug 2023 08:03:49 GMT" ] + "x-ms-correlation-request-id": [ "0118b50b-04a6-48c4-a155-ff8102f6be1d" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043730Z:0118b50b-04a6-48c4-a155-ff8102f6be1d" ], + "Date": [ "Mon, 25 Dec 2023 04:37:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2248" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1457f461-7d37-4be1-a972-2871fdb05004\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-29T08%3A03%3A07.9356192Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T08:03:07.6525572Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f\",\"name\":\"6684799b-d6d0-489c-a006-c5fcbb1f170f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"1044f271-d0a6-4159-a5da-d30fa4e0d3aa\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A36%3A48.6868669Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:36:48.3831343Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0\",\"name\":\"09ac40ed-704c-4292-b4fc-c33939733fe0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f?api-version=2023-05-01+8": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0?api-version=2023-11-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "39" ], - "x-ms-client-request-id": [ "02eee99c-74ed-496a-8402-12474a76423c" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "99da6290-792a-42bb-b1b5-a74bbd90874a" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1620,32 +1620,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "788f7b9c-5f8c-4c1a-9d5e-ed70dfbdc1bd" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080400Z:788f7b9c-5f8c-4c1a-9d5e-ed70dfbdc1bd" ], - "Date": [ "Tue, 29 Aug 2023 08:04:00 GMT" ] + "x-ms-correlation-request-id": [ "e4541063-9e8d-46c8-8bdc-3789dc37801d" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043741Z:e4541063-9e8d-46c8-8bdc-3789dc37801d" ], + "Date": [ "Mon, 25 Dec 2023 04:37:40 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2248" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1457f461-7d37-4be1-a972-2871fdb05004\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-29T08%3A03%3A07.9356192Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T08:03:07.6525572Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f\",\"name\":\"6684799b-d6d0-489c-a006-c5fcbb1f170f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"1044f271-d0a6-4159-a5da-d30fa4e0d3aa\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A36%3A48.6868669Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:36:48.3831343Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0\",\"name\":\"09ac40ed-704c-4292-b4fc-c33939733fe0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f?api-version=2023-05-01+9": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0?api-version=2023-11-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "40" ], - "x-ms-client-request-id": [ "97fb1347-b458-432b-8f1c-ff8fdf8765e5" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "3a4d8397-660a-4d7d-b70e-0f0e2e7581eb" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1656,38 +1656,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "170" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "170" ], - "x-ms-correlation-request-id": [ "4f0b1b54-6f5f-4cd5-8be6-cd1307ff268a" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080411Z:4f0b1b54-6f5f-4cd5-8be6-cd1307ff268a" ], - "Date": [ "Tue, 29 Aug 2023 08:04:10 GMT" ] + "x-ms-correlation-request-id": [ "4bfe2c0e-f095-4a25-abc0-274a2bd99da2" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043751Z:4bfe2c0e-f095-4a25-abc0-274a2bd99da2" ], + "Date": [ "Mon, 25 Dec 2023 04:37:50 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2248" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1457f461-7d37-4be1-a972-2871fdb05004\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-29T08%3A03%3A07.9356192Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T08:03:07.6525572Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f\",\"name\":\"6684799b-d6d0-489c-a006-c5fcbb1f170f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"1044f271-d0a6-4159-a5da-d30fa4e0d3aa\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A36%3A48.6868669Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:36:48.3831343Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0\",\"name\":\"09ac40ed-704c-4292-b4fc-c33939733fe0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f?api-version=2023-05-01+10": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0?api-version=2023-11-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "41" ], - "x-ms-client-request-id": [ "a51c0a4e-d923-44a8-8070-bc14de579c86" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "67637e2d-a7e9-48e1-8d42-6984bf6548e0" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1698,38 +1698,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "169" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "60e1bd8e-d8d1-4d95-bde6-abf5d4e2db10" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080423Z:60e1bd8e-d8d1-4d95-bde6-abf5d4e2db10" ], - "Date": [ "Tue, 29 Aug 2023 08:04:22 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "169" ], + "x-ms-correlation-request-id": [ "88b220af-fb77-49c2-9cfa-f9c8456a032d" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043802Z:88b220af-fb77-49c2-9cfa-f9c8456a032d" ], + "Date": [ "Mon, 25 Dec 2023 04:38:01 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2248" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1457f461-7d37-4be1-a972-2871fdb05004\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-29T08%3A03%3A07.9356192Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T08:03:07.6525572Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f\",\"name\":\"6684799b-d6d0-489c-a006-c5fcbb1f170f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"1044f271-d0a6-4159-a5da-d30fa4e0d3aa\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A36%3A48.6868669Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:36:48.3831343Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0\",\"name\":\"09ac40ed-704c-4292-b4fc-c33939733fe0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f?api-version=2023-05-01+11": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0?api-version=2023-11-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "42" ], - "x-ms-client-request-id": [ "d27359b6-c65a-4e54-96c5-b8392f87e006" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "ce34f1b5-4c06-4da5-936b-1ff04b189ad6" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1746,32 +1746,32 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "920bd322-92aa-4441-a5e3-c2ce5fd95f1f" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080434Z:920bd322-92aa-4441-a5e3-c2ce5fd95f1f" ], - "Date": [ "Tue, 29 Aug 2023 08:04:33 GMT" ] + "x-ms-correlation-request-id": [ "f2209be6-bbac-4566-8d06-2843dd968728" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043814Z:f2209be6-bbac-4566-8d06-2843dd968728" ], + "Date": [ "Mon, 25 Dec 2023 04:38:13 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2248" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1457f461-7d37-4be1-a972-2871fdb05004\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-29T08%3A03%3A07.9356192Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T08:03:07.6525572Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f\",\"name\":\"6684799b-d6d0-489c-a006-c5fcbb1f170f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"1044f271-d0a6-4159-a5da-d30fa4e0d3aa\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A36%3A48.6868669Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:36:48.3831343Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0\",\"name\":\"09ac40ed-704c-4292-b4fc-c33939733fe0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f?api-version=2023-05-01+12": { + "Backup-AzDataProtectionBackupInstanceAdhoc+[NoContext]+OssBackup+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0?api-version=2023-11-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "43" ], - "x-ms-client-request-id": [ "2f4a69e6-cc6f-4a33-bf69-8d4f46dd1d40" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "709e8a3a-2e22-4f76-a5c8-4fc06ff83f86" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1788,16 +1788,16 @@ "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "80b19624-033d-49c7-bbda-08a0ae71ecc0" ], - "x-ms-routing-request-id": [ "JIOINDIAWEST:20230829T080445Z:80b19624-033d-49c7-bbda-08a0ae71ecc0" ], - "Date": [ "Tue, 29 Aug 2023 08:04:45 GMT" ] + "x-ms-correlation-request-id": [ "9bd86ba8-81f2-46c5-b819-7fab0a7564ae" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043824Z:9bd86ba8-81f2-46c5-b819-7fab0a7564ae" ], + "Date": [ "Mon, 25 Dec 2023 04:38:24 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2506" ], + "Content-Length": [ "2527" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"1457f461-7d37-4be1-a972-2871fdb05004\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-29T08%3A04%3A42.0071722Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T08:03:07.6525572Z\",\"endTime\":\"2023-08-29T08:04:41.7578995Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M34.1053423S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":2063.0,\"targetRecoverPoint\":{\"recoveryPointID\":\"e56f7dc119f24092b7f07564b6d5de3f\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"8802975\",\"TaskId\":\"1457f461-7d37-4be1-a972-2871fdb05004\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\"}}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/6684799b-d6d0-489c-a006-c5fcbb1f170f\",\"name\":\"6684799b-d6d0-489c-a006-c5fcbb1f170f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"1044f271-d0a6-4159-a5da-d30fa4e0d3aa\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A23.889302Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:36:48.3831343Z\",\"endTime\":\"2023-12-25T04:38:23.7134961Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M35.3303618S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":2063.0,\"targetRecoverPoint\":{\"recoveryPointID\":\"b7c6209d30ac48deba9d62e7c2218ed9\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"8802975\",\"TaskId\":\"1044f271-d0a6-4159-a5da-d30fa4e0d3aa\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\"}}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/09ac40ed-704c-4292-b4fc-c33939733fe0\",\"name\":\"09ac40ed-704c-4292-b4fc-c33939733fe0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } } diff --git a/src/DataProtection/DataProtection.Autorest/test/Backup-AzDataProtectionBackupInstanceAdhoc.Tests.ps1 b/src/DataProtection/DataProtection.Autorest/test/Backup-AzDataProtectionBackupInstanceAdhoc.Tests.ps1 index cee87410f576..b60376971826 100644 --- a/src/DataProtection/DataProtection.Autorest/test/Backup-AzDataProtectionBackupInstanceAdhoc.Tests.ps1 +++ b/src/DataProtection/DataProtection.Autorest/test/Backup-AzDataProtectionBackupInstanceAdhoc.Tests.ps1 @@ -28,7 +28,7 @@ Describe 'Backup-AzDataProtectionBackupInstanceAdhoc' { $jobstatus = "InProgress" while($jobstatus -eq "InProgress") { - Start-TestSleep -Seconds 5 + Start-Sleep -Seconds 5 $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName $jobstatus = $currentjob.Status } @@ -38,21 +38,21 @@ Describe 'Backup-AzDataProtectionBackupInstanceAdhoc' { It 'OssBackup' { # Test trigger Backup for Oss DB - # Delete this test + # Delete this test $sub = $env.TestOssBackupScenario.SubscriptionId $rgName = $env.TestOssBackupScenario.ResourceGroupName $vaultName = $env.TestOssBackupScenario.VaultName - $policyName = $env.TestOssBackupScenario.PolicyName + $policyName = $env.TestOssBackupScenario.PolicyName $dataSourceId = $env.TestOssBackupScenario.OssDbId $serverName = $env.TestOssBackupScenario.OssServerName $keyVault = $env.TestOssBackupScenario.KeyVault $secretURI = $env.TestOssBackupScenario.SecretURI - + $vault = Get-AzDataProtectionBackupVault -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName $policy = Get-AzDataProtectionBackupPolicy -SubscriptionId $sub -VaultName $vaultName -ResourceGroupName $rgName | where {$_.Name -eq $policyName} $instance = Get-AzDataProtectionBackupInstance -Subscription $sub -ResourceGroup $rgName -Vault $vaultName | Where-Object {($_.Property.DataSourceInfo.Type -eq "Microsoft.DBforPostgreSQL/servers/databases") -and ($_.Property.DataSourceInfo.ResourceId -match $serverName)} - + ($instance -ne $null) | Should be $true $backupJob = Backup-AzDataProtectionBackupInstanceAdhoc -BackupInstanceName $instance.Name -ResourceGroupName $rgName -SubscriptionId $sub -VaultName $vaultName -BackupRuleOptionRuleName $policy.Property.PolicyRule[0].Name -TriggerOptionRetentionTagOverride $policy.Property.PolicyRule[0].Trigger.TaggingCriterion[0].TagInfoTagName @@ -61,7 +61,7 @@ Describe 'Backup-AzDataProtectionBackupInstanceAdhoc' { $jobstatus = "InProgress" while($jobstatus -ne "Completed") { - Start-TestSleep -Seconds 10 + Start-Sleep -Seconds 10 $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName $jobstatus = $currentjob.Status } diff --git a/src/DataProtection/DataProtection.Autorest/test/BlobHardeningScenario.Tests.ps1 b/src/DataProtection/DataProtection.Autorest/test/BlobHardeningScenario.Tests.ps1 index 0c5d9540c724..0e31edeab58a 100644 --- a/src/DataProtection/DataProtection.Autorest/test/BlobHardeningScenario.Tests.ps1 +++ b/src/DataProtection/DataProtection.Autorest/test/BlobHardeningScenario.Tests.ps1 @@ -23,7 +23,7 @@ Describe 'BlobHardeningScenario' { $vault = Get-AzDataProtectionBackupVault -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $vaultName $pol = Get-AzDataProtectionBackupPolicy -SubscriptionId $subId -VaultName $vaultName -ResourceGroupName $resourceGroupName | Where { $_.Name -match $policyName } - + $instance = Get-AzDataProtectionBackupInstance -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $vaultName | Where { $_.Name -match $storageAcountName } # Remove-BI @@ -31,26 +31,26 @@ Describe 'BlobHardeningScenario' { Remove-AzDataProtectionBackupInstance -Name $instance[0].Name -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $vaultName } - Start-TestSleep -Seconds 8 + Start-Sleep -Seconds 8 # new backup config and initialize BI - - $storageAccount = Get-AzStorageAccount -ResourceGroupName $resourceGroupName -Name $storageAccountName + + $storageAccount = Get-AzStorageAccount -ResourceGroupName $resourceGroupName -Name $storageAccountName $containers=Get-AzStorageContainer -Context $storageAccount.Context - - $backupConfig = New-AzDataProtectionBackupConfigurationClientObject -DatasourceType AzureBlob -VaultedBackupContainer $containers.Name + + $backupConfig = New-AzDataProtectionBackupConfigurationClientObject -DatasourceType AzureBlob -VaultedBackupContainer $containers.Name $backupConfig.ContainersList = $backupConfig.ContainersList[1,3,4] $backupInstanceClientObject = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureBlob -DatasourceLocation $vault.Location -PolicyId $pol[0].Id -DatasourceId $storageAccId -BackupConfiguration $backupConfig - # assign permissions and validate + # assign permissions and validate Set-AzDataProtectionMSIPermission -VaultResourceGroup $resourceGroupName -VaultName $vaultName -BackupInstance $backupInstanceClientObject -PermissionsScope ResourceGroup $operationResponse = Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subId -BackupInstance $backupInstanceClientObject.Property -NoWait $operationId = $operationResponse.Target.Split("/")[-1].Split("?")[0] - + While((Get-AzDataProtectionOperationStatus -OperationId $operationId -Location $vault.Location -SubscriptionId $subId).Status -eq "Inprogress"){ - Start-TestSleep -Seconds 10 + Start-Sleep -Seconds 10 } # backup @@ -59,7 +59,7 @@ Describe 'BlobHardeningScenario' { $instance = Get-AzDataProtectionBackupInstance -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $vaultName | Where { $_.Name -match $storageAcountName } while($instance.Property.CurrentProtectionState -ne "ProtectionConfigured"){ - Start-TestSleep -Seconds 10 + Start-Sleep -Seconds 10 $instance = Get-AzDataProtectionBackupInstance -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $vaultName | Where { $_.Name -match $storageAcountName } } @@ -74,15 +74,15 @@ Describe 'BlobHardeningScenario' { $jobstatus = "InProgress" while($jobstatus -ne "Completed") { - Start-TestSleep -Seconds 10 + Start-Sleep -Seconds 10 $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $vaultName $jobstatus = $currentjob.Status } - $jobstatus | Should be "Completed" + $jobstatus | Should be "Completed" } It 'TriggerRestore' -skip { - # DppRef: OLR should throw an error in case of vaulted backups + # TODO: OLR should throw an error in case of vaulted backups $subId = $env.TestBlobHardeningScenario.SubscriptionId $crossSubscriptionId = $env.TestBlobHardeningScenario.CrossSubscriptionId @@ -112,7 +112,7 @@ Describe 'BlobHardeningScenario' { foreach($crossSubContainerName in $targetCrossSubContainers.Name){ Remove-AzStorageContainer -Context $targetCrossSubStorageAccount.Context -Name $crossSubContainerName -Confirm:$false -Force } - + # remove containers in target storage account Set-AzContext -SubscriptionId $subId $targetStorageAccount = Get-AzStorageAccount -ResourceGroupName $targetStorageAccountRGName -Name $targetStorageAccountName @@ -128,7 +128,7 @@ Describe 'BlobHardeningScenario' { $validateRestore.ObjectType | Should be "OperationJobExtendedInfo" $restoreJob = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId $subId -ResourceGroupName $resourceGroupName -VaultName $vaultName -BackupInstanceName $instance.BackupInstanceName -Parameter $restoreReq - + $restoreReqCSR = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore VaultStore -RestoreLocation $vault.Location -RecoveryPoint $rp[0].Name -ItemLevelRecovery -RestoreType AlternateLocation -TargetResourceId $targetCrossSubStorageAccId -ContainersList $backedUpContainers[0,1] $validateRestore = Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName $resourceGroupName -SubscriptionId $subId -VaultName $vaultName -RestoreRequest $restoreReqCSR diff --git a/src/DataProtection/DataProtection.Autorest/test/DiskBackupScenario.Recording.json b/src/DataProtection/DataProtection.Autorest/test/DiskBackupScenario.Recording.json index 7ee4c36ac8db..962ccc61d856 100644 --- a/src/DataProtection/DataProtection.Autorest/test/DiskBackupScenario.Recording.json +++ b/src/DataProtection/DataProtection.Autorest/test/DiskBackupScenario.Recording.json @@ -1,17 +1,17 @@ { - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault?api-version=2023-05-01+1": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault?api-version=2023-11-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "3a71fc69-eb92-4317-8419-8da9dca33e40" ], + "x-ms-unique-id": [ "44" ], + "x-ms-client-request-id": [ "ed6f6b14-fdda-4f6d-b6f2-353f19c73a5e" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -27,33 +27,33 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], - "x-ms-correlation-request-id": [ "c4450654-f0fb-4cbc-b126-b2cc9730a11d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T041945Z:c4450654-f0fb-4cbc-b126-b2cc9730a11d" ], - "Date": [ "Tue, 29 Aug 2023 04:19:45 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "498" ], + "x-ms-correlation-request-id": [ "8a2eb0c1-dfc4-4444-a7d7-73f2185eb2b3" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043826Z:8a2eb0c1-dfc4-4444-a7d7-73f2185eb2b3" ], + "Date": [ "Mon, 25 Dec 2023 04:38:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "965" ], + "Content-Length": [ "990" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"Purpose\":\"Testing\",\"Owner\":\"hiaga\",\"MABUsed\":\"Yes\",\"DeleteBy\":\"01-2029\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"878bf9a1-10a3-436e-ab11-22416d2d21d7\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"GeoRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"monitoringSettings\":{\"azureMonitorAlertSettings\":{\"alertsForAllJobFailures\":\"Enabled\"}},\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"AlwaysOn\",\"retentionDurationInDays\":125.0},\"immutabilitySettings\":{\"state\":\"Locked\"}},\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Disabled\"}},\"secureScore\":\"Adequate\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault\",\"name\":\"pstest-disk-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"Purpose\":\"Testing\",\"Owner\":\"hiaga\",\"MABUsed\":\"Yes\",\"DeleteBy\":\"01-2029\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"878bf9a1-10a3-436e-ab11-22416d2d21d7\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"GeoRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"monitoringSettings\":{\"azureMonitorAlertSettings\":{\"alertsForAllJobFailures\":\"Enabled\"}},\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"AlwaysOn\",\"retentionDurationInDays\":125.0},\"immutabilitySettings\":{\"state\":\"Locked\"}},\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Disabled\"}},\"secureScore\":\"Adequate\",\"replicatedRegions\":[\"\"]},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault\",\"name\":\"pstest-disk-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances?api-version=2023-05-01+2": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances?api-version=2023-11-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "d6556321-82b1-4bcc-a73c-bc9a2ede08ca" ], + "x-ms-unique-id": [ "45" ], + "x-ms-client-request-id": [ "f49d0458-6370-44a5-b3d5-2aa0fed2ef90" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -69,10 +69,10 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], - "x-ms-correlation-request-id": [ "85e2826d-c5c0-401b-b471-e728abc65df3" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T041947Z:85e2826d-c5c0-401b-b471-e728abc65df3" ], - "Date": [ "Tue, 29 Aug 2023 04:19:47 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1997" ], + "x-ms-correlation-request-id": [ "095b8dfe-d65f-4cb9-8c27-a51ae5d3d704" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043827Z:095b8dfe-d65f-4cb9-8c27-a51ae5d3d704" ], + "Date": [ "Mon, 25 Dec 2023 04:38:26 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1504" ], @@ -83,19 +83,19 @@ "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3?api-version=2023-05-01+3": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3?api-version=2023-11-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "9590f4dc-7355-42ea-a2d3-d286520927ef" ], + "x-ms-unique-id": [ "46" ], + "x-ms-client-request-id": [ "086cf4a0-fbb1-4799-b290-48c5deb87834" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -111,10 +111,10 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1998" ], - "x-ms-correlation-request-id": [ "48eb158f-48b7-409c-99a9-3b463802d101" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T041948Z:48eb158f-48b7-409c-99a9-3b463802d101" ], - "Date": [ "Tue, 29 Aug 2023 04:19:47 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1996" ], + "x-ms-correlation-request-id": [ "adeeee1f-11ef-4d0d-bfb3-b902e11289da" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043828Z:adeeee1f-11ef-4d0d-bfb3-b902e11289da" ], + "Date": [ "Mon, 25 Dec 2023 04:38:27 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1492" ], @@ -125,19 +125,19 @@ "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies?api-version=2023-05-01+4": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies?api-version=2023-11-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "cc5f65e6-eb38-4003-a57d-cc58dac28680" ], + "x-ms-unique-id": [ "47" ], + "x-ms-client-request-id": [ "32ea7f06-a6ab-4eb3-86e5-7baf7bb89bca" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -153,10 +153,10 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-correlation-request-id": [ "d66fede1-673c-43a6-a134-c260d05a6ffe" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T041949Z:d66fede1-673c-43a6-a134-c260d05a6ffe" ], - "Date": [ "Tue, 29 Aug 2023 04:19:48 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-correlation-request-id": [ "d07e12f2-b673-49bf-a060-90cfc57631fc" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043828Z:d07e12f2-b673-49bf-a060-90cfc57631fc" ], + "Date": [ "Mon, 25 Dec 2023 04:38:28 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1094" ], @@ -167,10 +167,10 @@ "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/backup?api-version=2023-05-01+5": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/backup?api-version=2023-11-01+5": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/backup?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/backup?api-version=2023-11-01", "Content": "{\r\n \"backupRuleOptions\": {\r\n \"triggerOption\": {\r\n \"retentionTagOverride\": \"Default\"\r\n },\r\n \"ruleName\": \"BackupHourly\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -185,17 +185,17 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2I0NmM4ZWNmLWM3YjItNDUwZS1hMzRhLTY2ZjU5YzA4MmQyMA==?api-version=2023-05-01\u0026t=2023-08-29T04%3a19%3a50\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=J6UbSpf8w27c7Cs9pthU7IN4boKHfLQOc2-0WHNCfQmHVhcjuy96pRjU6wPsa18SX3E8OrUdgkGaXqwaeMeNWqpZH_jO2HTlH8c8hxCK89xDM-TYjGfk-4Ss2-Bdzr96ktWHEh_6OPyHatMD8G9f-pMkfuvlj4L_U78YPaGurIFDKZo7VUfgbr_XqKZ2wGzTeYftNB6VwqO8_cA4K4HEvCpTnywXBkgNrdhgXMt19ukcsIL-cA1WsNctdcqXvrwsK4mY73mLysWrrzyffP0ciAXYlskpbrFHpsC99r9CyCVH9abIGuYbFzp3N2ybZGo2OcJrdMD-BZJzdI7NpzZuFg\u0026h=2mFR78eC3uAfIgNgrua2BSesUpgNuoHAKy8f9W-OCSA" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EwMzRhMGQ0LWU0MmYtNDkxZS1hZjg0LTkzYTk5YmM5OWY0Yw==?api-version=2023-11-01\u0026t=638390759097193711\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=SekbQvFykgS_SB9C95Bzy_EilU6MR35ATAjKLxLq-MQA6nMIJSktnXQwuHLSgc7RoYvhQ7ftKg7vrcTDtLJLBhBwkdbug7HkdbJvHkp68e04_kydOUg0GelGeCUlEgaYZ1UpyAdx_GQ17aVU7nqcXZ-zfi-x29V2Tpw4DpAIcqBBRVPtBsXUmUx9bS-h8VKDd1TU4r-oWRwivARKFickwqhNAu5ZtNXGZnSTEk68qFWjeZYYSXJyiXwRqFP5Yh5qWidlv0w48hifxqY7HToOEQOAwDTS9ItoXFvHdeKmR7hJfAyjAhB3ethWZsVOtCL64FBa2cTc5pHyggyE5O9WVA\u0026h=bxs4yeICQ2XrEf4oj_HMcKt2ek_9Se30xbdxnq_5G30" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2I0NmM4ZWNmLWM3YjItNDUwZS1hMzRhLTY2ZjU5YzA4MmQyMA==?api-version=2023-05-01\u0026t=2023-08-29T04%3a19%3a50\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=lXE3SrZhcIkctbG5v8PxJxmfqbjYjSS5mji2ZxJ2Jc6mpW1c1gOW31RisCfQ9ZoRXJRuv18UcsGJF93qMyDo6rF30Tg4gYxiuNhqxbd_Zjem34AsCUStbK9AuaeHHP5CiIHBlPLesHJG3AuB8cqD69H2eJFyDNlwX-7jLYVbGIHB6V9pHON1mvwprVTkD0qknuRD51qDjQ69VWDaEO4gA7Lwd-Y7ZSo1wD8ovIGk2-O9JYhdOwFhkKnmQYMIaXwtqt6ZHeGJHH3upf1cKYFYtnVX8llhVQDDTJWecXWVznHbX8Z8WGYjhxXvwJoC0_THKlanAcn8Hy-4xl3uW-djlg\u0026h=BvOCdHO2_5pqiWXNvNWGNyzIVWiSQ8WPagOzku0YH-o" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EwMzRhMGQ0LWU0MmYtNDkxZS1hZjg0LTkzYTk5YmM5OWY0Yw==?api-version=2023-11-01\u0026t=638390759097193711\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=BcUQ8TDi4ii8D62LIsCMuRzIpJLIjvrUt9MlKgeCJoypng4fKBBs0WCNr75IPObBQj2NC1PvMW6CDLs2PfBOL-uSuAI1CqRQ8lFz6shXIy4sf-Cen6WA6NMy1chl5a15T6xq-IYPuMZMvQU2PZJoc_u4cCMVSLYIFuvlgPcMXOyCOy6cAvYObOzpRLeWhKLEv8OfcX4Hp_YD7u_sE4KA4LKQXJHuIHnAd83sFXmioiAX72zabsV1j3rr7oNIBJ7DDlMg1Rwj6W-GcUblC8DNQ4BAhXee_rsr3b0CBobfdA3LS2qZI7V5sO8wBssomJ3CMSrU809GLj5Q6iZKECFAeA\u0026h=7k1sE122-_qPXp_KVO571BNFqKCriPsit5Dr0myemWo" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "83fb38d8-18ad-44ba-a9a0-e751c3562671" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T041950Z:83fb38d8-18ad-44ba-a9a0-e751c3562671" ], - "Date": [ "Tue, 29 Aug 2023 04:19:49 GMT" ] + "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], + "x-ms-correlation-request-id": [ "78b68d8f-2278-4be7-914e-b64abcb76bef" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043829Z:78b68d8f-2278-4be7-914e-b64abcb76bef" ], + "Date": [ "Mon, 25 Dec 2023 04:38:29 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -205,20 +205,20 @@ "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2I0NmM4ZWNmLWM3YjItNDUwZS1hMzRhLTY2ZjU5YzA4MmQyMA==?api-version=2023-05-01\u0026t=2023-08-29T04%3a19%3a50\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=lXE3SrZhcIkctbG5v8PxJxmfqbjYjSS5mji2ZxJ2Jc6mpW1c1gOW31RisCfQ9ZoRXJRuv18UcsGJF93qMyDo6rF30Tg4gYxiuNhqxbd_Zjem34AsCUStbK9AuaeHHP5CiIHBlPLesHJG3AuB8cqD69H2eJFyDNlwX-7jLYVbGIHB6V9pHON1mvwprVTkD0qknuRD51qDjQ69VWDaEO4gA7Lwd-Y7ZSo1wD8ovIGk2-O9JYhdOwFhkKnmQYMIaXwtqt6ZHeGJHH3upf1cKYFYtnVX8llhVQDDTJWecXWVznHbX8Z8WGYjhxXvwJoC0_THKlanAcn8Hy-4xl3uW-djlg\u0026h=BvOCdHO2_5pqiWXNvNWGNyzIVWiSQ8WPagOzku0YH-o+6": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EwMzRhMGQ0LWU0MmYtNDkxZS1hZjg0LTkzYTk5YmM5OWY0Yw==?api-version=2023-11-01\u0026t=638390759097193711\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=BcUQ8TDi4ii8D62LIsCMuRzIpJLIjvrUt9MlKgeCJoypng4fKBBs0WCNr75IPObBQj2NC1PvMW6CDLs2PfBOL-uSuAI1CqRQ8lFz6shXIy4sf-Cen6WA6NMy1chl5a15T6xq-IYPuMZMvQU2PZJoc_u4cCMVSLYIFuvlgPcMXOyCOy6cAvYObOzpRLeWhKLEv8OfcX4Hp_YD7u_sE4KA4LKQXJHuIHnAd83sFXmioiAX72zabsV1j3rr7oNIBJ7DDlMg1Rwj6W-GcUblC8DNQ4BAhXee_rsr3b0CBobfdA3LS2qZI7V5sO8wBssomJ3CMSrU809GLj5Q6iZKECFAeA\u0026h=7k1sE122-_qPXp_KVO571BNFqKCriPsit5Dr0myemWo+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2I0NmM4ZWNmLWM3YjItNDUwZS1hMzRhLTY2ZjU5YzA4MmQyMA==?api-version=2023-05-01\u0026t=2023-08-29T04%3a19%3a50\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=lXE3SrZhcIkctbG5v8PxJxmfqbjYjSS5mji2ZxJ2Jc6mpW1c1gOW31RisCfQ9ZoRXJRuv18UcsGJF93qMyDo6rF30Tg4gYxiuNhqxbd_Zjem34AsCUStbK9AuaeHHP5CiIHBlPLesHJG3AuB8cqD69H2eJFyDNlwX-7jLYVbGIHB6V9pHON1mvwprVTkD0qknuRD51qDjQ69VWDaEO4gA7Lwd-Y7ZSo1wD8ovIGk2-O9JYhdOwFhkKnmQYMIaXwtqt6ZHeGJHH3upf1cKYFYtnVX8llhVQDDTJWecXWVznHbX8Z8WGYjhxXvwJoC0_THKlanAcn8Hy-4xl3uW-djlg\u0026h=BvOCdHO2_5pqiWXNvNWGNyzIVWiSQ8WPagOzku0YH-o", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EwMzRhMGQ0LWU0MmYtNDkxZS1hZjg0LTkzYTk5YmM5OWY0Yw==?api-version=2023-11-01\u0026t=638390759097193711\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=BcUQ8TDi4ii8D62LIsCMuRzIpJLIjvrUt9MlKgeCJoypng4fKBBs0WCNr75IPObBQj2NC1PvMW6CDLs2PfBOL-uSuAI1CqRQ8lFz6shXIy4sf-Cen6WA6NMy1chl5a15T6xq-IYPuMZMvQU2PZJoc_u4cCMVSLYIFuvlgPcMXOyCOy6cAvYObOzpRLeWhKLEv8OfcX4Hp_YD7u_sE4KA4LKQXJHuIHnAd83sFXmioiAX72zabsV1j3rr7oNIBJ7DDlMg1Rwj6W-GcUblC8DNQ4BAhXee_rsr3b0CBobfdA3LS2qZI7V5sO8wBssomJ3CMSrU809GLj5Q6iZKECFAeA\u0026h=7k1sE122-_qPXp_KVO571BNFqKCriPsit5Dr0myemWo", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "7cf5f892-d3c8-4017-8453-ff2772535d14" ], + "x-ms-unique-id": [ "49" ], + "x-ms-client-request-id": [ "6a675ac6-8e3e-4c97-9bba-b4d64210385b" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -233,34 +233,34 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "x-ms-correlation-request-id": [ "cbef010e-8105-4c62-a454-478836fc0ed8" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042020Z:cbef010e-8105-4c62-a454-478836fc0ed8" ], - "Date": [ "Tue, 29 Aug 2023 04:20:20 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "997" ], + "x-ms-correlation-request-id": [ "cb084f80-5ff6-40ed-b8e8-890f3708a108" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043900Z:cb084f80-5ff6-40ed-b8e8-890f3708a108" ], + "Date": [ "Mon, 25 Dec 2023 04:39:00 GMT" ] }, "ContentHeaders": { "Content-Length": [ "739" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2I0NmM4ZWNmLWM3YjItNDUwZS1hMzRhLTY2ZjU5YzA4MmQyMA==\",\"name\":\"ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2I0NmM4ZWNmLWM3YjItNDUwZS1hMzRhLTY2ZjU5YzA4MmQyMA==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-29T04:19:49.9449862Z\",\"endTime\":\"2023-08-29T04:19:51Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EwMzRhMGQ0LWU0MmYtNDkxZS1hZjg0LTkzYTk5YmM5OWY0Yw==\",\"name\":\"ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EwMzRhMGQ0LWU0MmYtNDkxZS1hZjg0LTkzYTk5YmM5OWY0Yw==\",\"status\":\"Succeeded\",\"startTime\":\"2023-12-25T04:38:29.5318082Z\",\"endTime\":\"2023-12-25T04:38:30Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"objectType\":\"OperationJobExtendedInfo\"}}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2I0NmM4ZWNmLWM3YjItNDUwZS1hMzRhLTY2ZjU5YzA4MmQyMA==?api-version=2023-05-01\u0026t=2023-08-29T04%3a19%3a50\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=J6UbSpf8w27c7Cs9pthU7IN4boKHfLQOc2-0WHNCfQmHVhcjuy96pRjU6wPsa18SX3E8OrUdgkGaXqwaeMeNWqpZH_jO2HTlH8c8hxCK89xDM-TYjGfk-4Ss2-Bdzr96ktWHEh_6OPyHatMD8G9f-pMkfuvlj4L_U78YPaGurIFDKZo7VUfgbr_XqKZ2wGzTeYftNB6VwqO8_cA4K4HEvCpTnywXBkgNrdhgXMt19ukcsIL-cA1WsNctdcqXvrwsK4mY73mLysWrrzyffP0ciAXYlskpbrFHpsC99r9CyCVH9abIGuYbFzp3N2ybZGo2OcJrdMD-BZJzdI7NpzZuFg\u0026h=2mFR78eC3uAfIgNgrua2BSesUpgNuoHAKy8f9W-OCSA+7": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EwMzRhMGQ0LWU0MmYtNDkxZS1hZjg0LTkzYTk5YmM5OWY0Yw==?api-version=2023-11-01\u0026t=638390759097193711\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=SekbQvFykgS_SB9C95Bzy_EilU6MR35ATAjKLxLq-MQA6nMIJSktnXQwuHLSgc7RoYvhQ7ftKg7vrcTDtLJLBhBwkdbug7HkdbJvHkp68e04_kydOUg0GelGeCUlEgaYZ1UpyAdx_GQ17aVU7nqcXZ-zfi-x29V2Tpw4DpAIcqBBRVPtBsXUmUx9bS-h8VKDd1TU4r-oWRwivARKFickwqhNAu5ZtNXGZnSTEk68qFWjeZYYSXJyiXwRqFP5Yh5qWidlv0w48hifxqY7HToOEQOAwDTS9ItoXFvHdeKmR7hJfAyjAhB3ethWZsVOtCL64FBa2cTc5pHyggyE5O9WVA\u0026h=bxs4yeICQ2XrEf4oj_HMcKt2ek_9Se30xbdxnq_5G30+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2I0NmM4ZWNmLWM3YjItNDUwZS1hMzRhLTY2ZjU5YzA4MmQyMA==?api-version=2023-05-01\u0026t=2023-08-29T04%3a19%3a50\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=J6UbSpf8w27c7Cs9pthU7IN4boKHfLQOc2-0WHNCfQmHVhcjuy96pRjU6wPsa18SX3E8OrUdgkGaXqwaeMeNWqpZH_jO2HTlH8c8hxCK89xDM-TYjGfk-4Ss2-Bdzr96ktWHEh_6OPyHatMD8G9f-pMkfuvlj4L_U78YPaGurIFDKZo7VUfgbr_XqKZ2wGzTeYftNB6VwqO8_cA4K4HEvCpTnywXBkgNrdhgXMt19ukcsIL-cA1WsNctdcqXvrwsK4mY73mLysWrrzyffP0ciAXYlskpbrFHpsC99r9CyCVH9abIGuYbFzp3N2ybZGo2OcJrdMD-BZJzdI7NpzZuFg\u0026h=2mFR78eC3uAfIgNgrua2BSesUpgNuoHAKy8f9W-OCSA", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EwMzRhMGQ0LWU0MmYtNDkxZS1hZjg0LTkzYTk5YmM5OWY0Yw==?api-version=2023-11-01\u0026t=638390759097193711\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=SekbQvFykgS_SB9C95Bzy_EilU6MR35ATAjKLxLq-MQA6nMIJSktnXQwuHLSgc7RoYvhQ7ftKg7vrcTDtLJLBhBwkdbug7HkdbJvHkp68e04_kydOUg0GelGeCUlEgaYZ1UpyAdx_GQ17aVU7nqcXZ-zfi-x29V2Tpw4DpAIcqBBRVPtBsXUmUx9bS-h8VKDd1TU4r-oWRwivARKFickwqhNAu5ZtNXGZnSTEk68qFWjeZYYSXJyiXwRqFP5Yh5qWidlv0w48hifxqY7HToOEQOAwDTS9ItoXFvHdeKmR7hJfAyjAhB3ethWZsVOtCL64FBa2cTc5pHyggyE5O9WVA\u0026h=bxs4yeICQ2XrEf4oj_HMcKt2ek_9Se30xbdxnq_5G30", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "7cf5f892-d3c8-4017-8453-ff2772535d14" ], + "x-ms-unique-id": [ "50" ], + "x-ms-client-request-id": [ "6a675ac6-8e3e-4c97-9bba-b4d64210385b" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -271,81 +271,39 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2I0NmM4ZWNmLWM3YjItNDUwZS1hMzRhLTY2ZjU5YzA4MmQyMA==?api-version=2023-05-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2EwMzRhMGQ0LWU0MmYtNDkxZS1hZjg0LTkzYTk5YmM5OWY0Yw==?api-version=2023-11-01" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-correlation-request-id": [ "29e918c6-efb8-461c-a922-50aff803674f" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042021Z:29e918c6-efb8-461c-a922-50aff803674f" ], - "Date": [ "Tue, 29 Aug 2023 04:20:20 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], + "x-ms-correlation-request-id": [ "899697a6-ff4c-4258-a3d8-9c6985238e3a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043900Z:899697a6-ff4c-4258-a3d8-9c6985238e3a" ], + "Date": [ "Mon, 25 Dec 2023 04:39:00 GMT" ] }, "ContentHeaders": { "Content-Length": [ "246" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+8": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "1d58e0bc-6705-4e73-9e50-63cee708aee4" ], - "CommandName": [ "Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "X-Powered-By": [ "ASP.NET" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "c0e720fd-7eb6-4790-afc2-45530cc67123" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042027Z:c0e720fd-7eb6-4790-afc2-45530cc67123" ], - "Date": [ "Tue, 29 Aug 2023 04:20:27 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2157" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", - "isContentBase64": false - } - }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "08e901cb-67a1-4549-9bf7-8423d4c11ca8" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "51" ], + "x-ms-client-request-id": [ "a4e07cb6-c224-4527-89ee-73b68de3fb20" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -356,38 +314,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "166" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "08a902c2-b441-49db-a4a3-68ac35881319" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042032Z:08a902c2-b441-49db-a4a3-68ac35881319" ], - "Date": [ "Tue, 29 Aug 2023 04:20:32 GMT" ] + "x-ms-correlation-request-id": [ "9d8cd39c-7831-492b-a223-e394eb714b35" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043906Z:9d8cd39c-7831-492b-a223-e394eb714b35" ], + "Date": [ "Mon, 25 Dec 2023 04:39:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+10": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "d33f0913-c40e-4b10-b9c7-5ea5d724e96a" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "52" ], + "x-ms-client-request-id": [ "0df40cec-a8ab-4d68-99be-c159eb88225f" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -398,38 +356,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "165" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "c311e999-2e43-4b17-aeda-d653eca96964" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042038Z:c311e999-2e43-4b17-aeda-d653eca96964" ], - "Date": [ "Tue, 29 Aug 2023 04:20:38 GMT" ] + "x-ms-correlation-request-id": [ "8fe5a9b7-6c62-4b55-a5f3-50da0412d21d" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043912Z:8fe5a9b7-6c62-4b55-a5f3-50da0412d21d" ], + "Date": [ "Mon, 25 Dec 2023 04:39:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+11": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "93b65fc4-8783-4bd4-91b5-1693b560444a" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "53" ], + "x-ms-client-request-id": [ "6cba18de-5ef5-4c11-bcea-7d116b40ecdd" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -440,38 +398,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "164" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "2a373b27-65df-4468-854b-12c2fc409b6a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042044Z:2a373b27-65df-4468-854b-12c2fc409b6a" ], - "Date": [ "Tue, 29 Aug 2023 04:20:43 GMT" ] + "x-ms-correlation-request-id": [ "081eeb9d-66e1-4e56-b9bd-0b565a70f908" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043918Z:081eeb9d-66e1-4e56-b9bd-0b565a70f908" ], + "Date": [ "Mon, 25 Dec 2023 04:39:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+12": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "bdcd9b60-2f6b-44ac-a15d-debac1d2c0c9" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "54" ], + "x-ms-client-request-id": [ "0472a3de-4a23-4f99-a230-ac72512c618a" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -482,38 +440,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "195" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "163" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "b42f2d93-973c-4833-90a6-163ab36cd0d4" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042049Z:b42f2d93-973c-4833-90a6-163ab36cd0d4" ], - "Date": [ "Tue, 29 Aug 2023 04:20:49 GMT" ] + "x-ms-correlation-request-id": [ "d5a24f8a-1956-4fc0-80e3-8cedefb875b9" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043924Z:d5a24f8a-1956-4fc0-80e3-8cedefb875b9" ], + "Date": [ "Mon, 25 Dec 2023 04:39:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+13": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "36a9c16e-98d7-4904-8d78-52ee83c66d11" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "55" ], + "x-ms-client-request-id": [ "65095a7e-c1e4-4949-8cee-e4fb1dfff189" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -524,38 +482,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "194" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "162" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "7df4bb8d-dadf-4ba8-88e5-1068283d0219" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042055Z:7df4bb8d-dadf-4ba8-88e5-1068283d0219" ], - "Date": [ "Tue, 29 Aug 2023 04:20:54 GMT" ] + "x-ms-correlation-request-id": [ "60037bb4-265d-4dc4-b47f-dd6bec2e994d" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043929Z:60037bb4-265d-4dc4-b47f-dd6bec2e994d" ], + "Date": [ "Mon, 25 Dec 2023 04:39:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+14": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "ba7752f0-3c8b-488a-a6fd-55aed60e10bf" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "56" ], + "x-ms-client-request-id": [ "9fb15e1d-1603-4521-936f-dc1c843f7d86" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -566,38 +524,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "193" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "161" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "f328e994-445f-4902-8757-5a3972f6b2ff" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042101Z:f328e994-445f-4902-8757-5a3972f6b2ff" ], - "Date": [ "Tue, 29 Aug 2023 04:21:00 GMT" ] + "x-ms-correlation-request-id": [ "49b7cb40-94e8-43c7-83a1-dc51fe2fd688" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043935Z:49b7cb40-94e8-43c7-83a1-dc51fe2fd688" ], + "Date": [ "Mon, 25 Dec 2023 04:39:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+15": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "ac79ffa3-b39e-4495-9527-c1d763207397" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "57" ], + "x-ms-client-request-id": [ "c9e983bb-cff2-4136-8858-e91157d76707" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -608,38 +566,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "192" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "160" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "90cd62ed-b5bb-4a0c-a141-02e61e7fea99" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042106Z:90cd62ed-b5bb-4a0c-a141-02e61e7fea99" ], - "Date": [ "Tue, 29 Aug 2023 04:21:06 GMT" ] + "x-ms-correlation-request-id": [ "b2d3dbf3-94a2-43e4-ad48-a5b879686263" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043941Z:b2d3dbf3-94a2-43e4-ad48-a5b879686263" ], + "Date": [ "Mon, 25 Dec 2023 04:39:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+16": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "7b9009e4-a555-46b8-add4-748c68da9273" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "58" ], + "x-ms-client-request-id": [ "a81f2655-dc35-4da4-9766-afe8448170d5" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -650,38 +608,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "191" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "159" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "4c762eb1-7736-4d38-8ec8-15362dce0372" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042112Z:4c762eb1-7736-4d38-8ec8-15362dce0372" ], - "Date": [ "Tue, 29 Aug 2023 04:21:12 GMT" ] + "x-ms-correlation-request-id": [ "aa93544d-298b-4fe5-b20c-4dad0f063e06" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043947Z:aa93544d-298b-4fe5-b20c-4dad0f063e06" ], + "Date": [ "Mon, 25 Dec 2023 04:39:46 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+17": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "9e781d94-dbd0-4dac-a5e6-90f1a4524607" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "59" ], + "x-ms-client-request-id": [ "8ee256af-6de9-4cd2-9bdb-7823e7d9a6bf" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -692,38 +650,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "190" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "158" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "8b167e25-2277-4a9c-a72b-a3034a8a0b27" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042118Z:8b167e25-2277-4a9c-a72b-a3034a8a0b27" ], - "Date": [ "Tue, 29 Aug 2023 04:21:17 GMT" ] + "x-ms-correlation-request-id": [ "bbe622f4-752f-4f99-827d-dc8354a2d89e" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043952Z:bbe622f4-752f-4f99-827d-dc8354a2d89e" ], + "Date": [ "Mon, 25 Dec 2023 04:39:52 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+18": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "65b20974-d4f9-42b7-9cdb-bbcfb02d503f" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "60" ], + "x-ms-client-request-id": [ "1fc5c3f4-a978-4df9-9b52-24ad07264b85" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -734,38 +692,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "189" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "157" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "c82329df-c253-4420-98bb-084320c1de4e" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042124Z:c82329df-c253-4420-98bb-084320c1de4e" ], - "Date": [ "Tue, 29 Aug 2023 04:21:23 GMT" ] + "x-ms-correlation-request-id": [ "90672561-12d3-4649-8da3-2674a3c242c2" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T043958Z:90672561-12d3-4649-8da3-2674a3c242c2" ], + "Date": [ "Mon, 25 Dec 2023 04:39:58 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+19": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "7072c6f1-30e9-43ad-af93-da027ec38daa" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "61" ], + "x-ms-client-request-id": [ "21d41335-5c24-4e00-a3d5-75958697a3be" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -776,38 +734,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "188" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "156" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "7a9eb21b-9088-4c7a-a47c-d526878997c9" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042129Z:7a9eb21b-9088-4c7a-a47c-d526878997c9" ], - "Date": [ "Tue, 29 Aug 2023 04:21:29 GMT" ] + "x-ms-correlation-request-id": [ "f2124e0c-a880-43b8-a29f-ccf50eaf2f4b" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044004Z:f2124e0c-a880-43b8-a29f-ccf50eaf2f4b" ], + "Date": [ "Mon, 25 Dec 2023 04:40:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+20": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "f2ad8256-882e-42dc-a9e4-4238c841fdc9" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "62" ], + "x-ms-client-request-id": [ "4ed1fbdb-8c4e-426c-bda5-623ebb9dd021" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -818,38 +776,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "187" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "155" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "ac34494e-3847-49de-aedc-d0f7e67eaf05" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042135Z:ac34494e-3847-49de-aedc-d0f7e67eaf05" ], - "Date": [ "Tue, 29 Aug 2023 04:21:34 GMT" ] + "x-ms-correlation-request-id": [ "decf856b-604c-44d8-9a6a-b2944556dae7" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044009Z:decf856b-604c-44d8-9a6a-b2944556dae7" ], + "Date": [ "Mon, 25 Dec 2023 04:40:09 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+21": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "f248899a-c5b4-4e19-badc-b8054a735306" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "63" ], + "x-ms-client-request-id": [ "1425ed87-3d1b-420c-a6f8-e60dceffc9da" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -860,38 +818,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "186" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "154" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "7b138397-98a7-4d97-8a3e-bae1442895e0" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042141Z:7b138397-98a7-4d97-8a3e-bae1442895e0" ], - "Date": [ "Tue, 29 Aug 2023 04:21:40 GMT" ] + "x-ms-correlation-request-id": [ "8ca45d72-3946-4283-9c13-494e9b73ee43" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044015Z:8ca45d72-3946-4283-9c13-494e9b73ee43" ], + "Date": [ "Mon, 25 Dec 2023 04:40:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+22": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "66365f8e-6c9f-4720-a4d2-f6cb75c051bc" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "64" ], + "x-ms-client-request-id": [ "473c9a24-f533-4ee1-90f5-ba9892711c82" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -902,38 +860,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "185" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "153" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "ac91e21c-d81a-41e3-a540-db226373f780" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042146Z:ac91e21c-d81a-41e3-a540-db226373f780" ], - "Date": [ "Tue, 29 Aug 2023 04:21:46 GMT" ] + "x-ms-correlation-request-id": [ "dd66c3c6-68c9-430f-9e7b-0e339471a637" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044021Z:dd66c3c6-68c9-430f-9e7b-0e339471a637" ], + "Date": [ "Mon, 25 Dec 2023 04:40:20 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+23": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "c55e615f-d5d7-43d2-be25-7b19013b7ee9" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "65" ], + "x-ms-client-request-id": [ "b926bbae-6bc5-4e23-ba35-60f829e9a8ce" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -944,38 +902,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "184" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "152" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "71b56622-1139-489c-abaa-2447949009c5" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042152Z:71b56622-1139-489c-abaa-2447949009c5" ], - "Date": [ "Tue, 29 Aug 2023 04:21:51 GMT" ] + "x-ms-correlation-request-id": [ "5f6d5f06-2bbe-4eab-897a-538573d37034" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044027Z:5f6d5f06-2bbe-4eab-897a-538573d37034" ], + "Date": [ "Mon, 25 Dec 2023 04:40:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+24": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "37fe8a17-a1e7-4259-9da2-3092ebfea5e7" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "66" ], + "x-ms-client-request-id": [ "73b6c270-10e6-466c-bf0d-251034b077ca" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -986,38 +944,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "183" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "151" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "1597802c-820a-41a0-9351-824f0d15590b" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042158Z:1597802c-820a-41a0-9351-824f0d15590b" ], - "Date": [ "Tue, 29 Aug 2023 04:21:57 GMT" ] + "x-ms-correlation-request-id": [ "738265c6-95ae-46f7-93b8-11a61cc49d70" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044032Z:738265c6-95ae-46f7-93b8-11a61cc49d70" ], + "Date": [ "Mon, 25 Dec 2023 04:40:31 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+25": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "e2a9b01e-241c-43bf-9760-68205494c282" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "67" ], + "x-ms-client-request-id": [ "654bc3de-52db-479e-80a8-a06a5f49c8ae" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1028,38 +986,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "182" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "150" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "83d7fca5-33e4-4d3b-8430-b05fe752a312" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042204Z:83d7fca5-33e4-4d3b-8430-b05fe752a312" ], - "Date": [ "Tue, 29 Aug 2023 04:22:03 GMT" ] + "x-ms-correlation-request-id": [ "1a7d66d1-1426-40ca-8942-1837bfc4cb1c" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044038Z:1a7d66d1-1426-40ca-8942-1837bfc4cb1c" ], + "Date": [ "Mon, 25 Dec 2023 04:40:38 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+26": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "97fb4205-80b4-49b9-91f2-c8643aa7b9ed" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "68" ], + "x-ms-client-request-id": [ "d1137a83-730f-465e-ba3f-28b08ea75298" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1070,38 +1028,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "181" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "149" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "0c93b859-c81b-4665-a967-d34c4cb1dadb" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042209Z:0c93b859-c81b-4665-a967-d34c4cb1dadb" ], - "Date": [ "Tue, 29 Aug 2023 04:22:09 GMT" ] + "x-ms-correlation-request-id": [ "b12dea2e-48b9-4300-b967-c81965074af3" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044044Z:b12dea2e-48b9-4300-b967-c81965074af3" ], + "Date": [ "Mon, 25 Dec 2023 04:40:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+27": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "4c06fa1a-d287-40b9-80df-0113da0469cb" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "69" ], + "x-ms-client-request-id": [ "ba637ec8-e684-453a-bdf1-74f26f0926cc" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1112,38 +1070,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "180" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "148" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "11660469-88d2-454a-b514-80de07b4d202" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042215Z:11660469-88d2-454a-b514-80de07b4d202" ], - "Date": [ "Tue, 29 Aug 2023 04:22:15 GMT" ] + "x-ms-correlation-request-id": [ "f4737612-e2be-41c9-b4a0-66f5f62a7d8b" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044049Z:f4737612-e2be-41c9-b4a0-66f5f62a7d8b" ], + "Date": [ "Mon, 25 Dec 2023 04:40:49 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+28": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+27": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "cddf3403-9738-4392-abe1-2e553c9da3b2" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "70" ], + "x-ms-client-request-id": [ "c3af51dc-fb25-44b8-8281-48f45be6f881" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1154,38 +1112,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "179" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "147" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "2938d412-d6d9-47f5-9001-f2cefa59ff0a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042221Z:2938d412-d6d9-47f5-9001-f2cefa59ff0a" ], - "Date": [ "Tue, 29 Aug 2023 04:22:21 GMT" ] + "x-ms-correlation-request-id": [ "1f7554b9-e0f3-47c9-9951-c3b2cf9d2d5d" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044055Z:1f7554b9-e0f3-47c9-9951-c3b2cf9d2d5d" ], + "Date": [ "Mon, 25 Dec 2023 04:40:55 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+29": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+28": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "9ac6f010-7916-4434-b003-cc6cbecd2d4c" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "71" ], + "x-ms-client-request-id": [ "3d80766a-bddb-42f0-948b-27664b5afed3" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1196,38 +1154,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "178" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "146" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "e31952bd-faf4-44ef-8370-fd5a8a20f33e" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042227Z:e31952bd-faf4-44ef-8370-fd5a8a20f33e" ], - "Date": [ "Tue, 29 Aug 2023 04:22:26 GMT" ] + "x-ms-correlation-request-id": [ "44a8bc77-51eb-4f82-b15f-1a31bb5c1a7a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044101Z:44a8bc77-51eb-4f82-b15f-1a31bb5c1a7a" ], + "Date": [ "Mon, 25 Dec 2023 04:41:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+30": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "44d67ca7-2492-462b-a2bf-17895e201436" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "72" ], + "x-ms-client-request-id": [ "d48593a0-adb3-4fb7-9133-1bfc4f0194d6" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1238,38 +1196,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "177" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "145" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "b51947ee-964c-4170-ac76-991b5cd6e56e" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042232Z:b51947ee-964c-4170-ac76-991b5cd6e56e" ], - "Date": [ "Tue, 29 Aug 2023 04:22:32 GMT" ] + "x-ms-correlation-request-id": [ "9d6c3f54-a41b-464c-aa89-0b265e4a6976" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044107Z:9d6c3f54-a41b-464c-aa89-0b265e4a6976" ], + "Date": [ "Mon, 25 Dec 2023 04:41:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+31": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+30": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "31" ], - "x-ms-client-request-id": [ "e8027821-c291-4a18-b46f-360038d095c4" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "73" ], + "x-ms-client-request-id": [ "f6e81a0b-4eda-4bbb-8657-78848277efa6" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1280,38 +1238,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "176" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "144" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "7feafea7-755f-4b0c-9d7a-48fd8a9cc0de" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042238Z:7feafea7-755f-4b0c-9d7a-48fd8a9cc0de" ], - "Date": [ "Tue, 29 Aug 2023 04:22:37 GMT" ] + "x-ms-correlation-request-id": [ "f3d7c479-681e-4009-91dc-e1a12e2be962" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044112Z:f3d7c479-681e-4009-91dc-e1a12e2be962" ], + "Date": [ "Mon, 25 Dec 2023 04:41:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+32": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+31": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "f53c8a94-87e5-481c-a949-4e2f0c379c45" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "74" ], + "x-ms-client-request-id": [ "74ed3b35-f233-4f59-bec2-73a3c0fcb654" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1322,38 +1280,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "175" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "143" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "d097a607-8cb3-4920-b9ef-6c0a476149c5" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042244Z:d097a607-8cb3-4920-b9ef-6c0a476149c5" ], - "Date": [ "Tue, 29 Aug 2023 04:22:44 GMT" ] + "x-ms-correlation-request-id": [ "6296cb2e-ca90-40aa-86c6-974d855440fd" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044118Z:6296cb2e-ca90-40aa-86c6-974d855440fd" ], + "Date": [ "Mon, 25 Dec 2023 04:41:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+33": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+32": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "95a23cbf-2a1f-4c8d-9f6d-7923754ccf14" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "75" ], + "x-ms-client-request-id": [ "124f44e7-4e17-488f-9f1c-fb721e985f6b" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1364,38 +1322,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "174" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "142" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "ffdc8fb2-7425-4dc0-bc46-e26ba4d2e03a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042250Z:ffdc8fb2-7425-4dc0-bc46-e26ba4d2e03a" ], - "Date": [ "Tue, 29 Aug 2023 04:22:50 GMT" ] + "x-ms-correlation-request-id": [ "32136965-67ce-4163-b377-12e3a3274574" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044124Z:32136965-67ce-4163-b377-12e3a3274574" ], + "Date": [ "Mon, 25 Dec 2023 04:41:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+34": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+33": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "4f8679ed-4634-49bc-a590-db7357c39b13" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "76" ], + "x-ms-client-request-id": [ "9b567178-45db-4141-b67f-ced3094651ef" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1406,38 +1364,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "173" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "141" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "2f1d204e-3341-4462-9cf6-55ce22220cd1" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042256Z:2f1d204e-3341-4462-9cf6-55ce22220cd1" ], - "Date": [ "Tue, 29 Aug 2023 04:22:55 GMT" ] + "x-ms-correlation-request-id": [ "6f7ce78b-2caa-4c01-82f5-bc6d3a32c1a1" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044130Z:6f7ce78b-2caa-4c01-82f5-bc6d3a32c1a1" ], + "Date": [ "Mon, 25 Dec 2023 04:41:29 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2157" ], + "Content-Length": [ "2178" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A19%3A50.3846741Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A38%3A30.036928Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01+35": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01+34": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "35" ], - "x-ms-client-request-id": [ "a6e1414a-023f-41fc-8ec0-ac8bcc0fb8b0" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "77" ], + "x-ms-client-request-id": [ "ccd611e3-49cf-45b8-9518-e5dec15b0916" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1448,38 +1406,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "172" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "140" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "e63d268d-f483-48da-83cb-7cd09066d9a2" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042302Z:e63d268d-f483-48da-83cb-7cd09066d9a2" ], - "Date": [ "Tue, 29 Aug 2023 04:23:01 GMT" ] + "x-ms-correlation-request-id": [ "99ba1bd0-cd30-4a51-b1b0-537857bff553" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044135Z:99ba1bd0-cd30-4a51-b1b0-537857bff553" ], + "Date": [ "Mon, 25 Dec 2023 04:41:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2435" ], + "Content-Length": [ "2457" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":\"OperationalTierStore\",\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A22%3A56.7118845Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:19:50.1440261Z\",\"endTime\":\"2023-08-29T04:22:56.337473Z\",\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT3M6.1934469S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"68719476736\",\"TaskId\":\"7cf5f892-d3c8-4017-8453-ff2772535d14\",\"DatasourceType\":\"Microsoft.Compute/disks\"}}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/70006ca7-bb29-4d19-bc22-8b2003202848\",\"name\":\"70006ca7-bb29-4d19-bc22-8b2003202848\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":\"OperationalTierStore\",\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A35.4315373Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:38:29.8012895Z\",\"endTime\":\"2023-12-25T04:41:35.067743Z\",\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT3M5.2664535S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"68719476736\",\"TaskId\":\"6a675ac6-8e3e-4c97-9bba-b4d64210385b\",\"DatasourceType\":\"Microsoft.Compute/disks\"}}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"name\":\"9d58bff1-0d3c-48f0-863e-8afdddd1a490\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints?api-version=2023-05-01+36": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints?api-version=2023-11-01+35": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "36" ], - "x-ms-client-request-id": [ "886f0f94-84e7-4e69-84cd-e50a51425da8" ], + "x-ms-unique-id": [ "78" ], + "x-ms-client-request-id": [ "e7140cd5-6cde-47de-abb3-f3092c9b1245" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionRecoveryPoint" ], "FullCommandName": [ "Get-AzDataProtectionRecoveryPoint_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1496,30 +1454,30 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], - "x-ms-correlation-request-id": [ "23e83949-9b16-4895-a21c-ad7a376cc84a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042303Z:23e83949-9b16-4895-a21c-ad7a376cc84a" ], - "Date": [ "Tue, 29 Aug 2023 04:23:02 GMT" ] + "x-ms-correlation-request-id": [ "09356336-c26c-4a7c-9b00-6436db4a4e44" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044136Z:09356336-c26c-4a7c-9b00-6436db4a4e44" ], + "Date": [ "Mon, 25 Dec 2023 04:41:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "50591" ], + "Content-Length": [ "44809" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-29T04:21:00.4226417Z\",\"expiryTime\":\"2023-09-05T04:21:00.4226417Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-05T04:21:00.4226417Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/c55c7b9d57e24c8b9d12dd4a60d34378\",\"name\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5135c1eedbdf42e7bc74c7e9861a6b18\",\"recoveryPointTime\":\"2023-08-29T03:56:42.8094474Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"5135c1eedbdf42e7bc74c7e9861a6b18\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-29T03:55:32.0013226Z\",\"expiryTime\":\"2023-09-05T03:55:32.0013226Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-05T03:55:32.0013226Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/5135c1eedbdf42e7bc74c7e9861a6b18\",\"name\":\"5135c1eedbdf42e7bc74c7e9861a6b18\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c95cca1e1182489d9b30af7d1e94f929\",\"recoveryPointTime\":\"2023-08-29T01:02:20.2410080Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"c95cca1e1182489d9b30af7d1e94f929\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-29T01:01:09.7820898Z\",\"expiryTime\":\"2023-09-05T01:01:09.7820898Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-05T01:01:09.7820898Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/c95cca1e1182489d9b30af7d1e94f929\",\"name\":\"c95cca1e1182489d9b30af7d1e94f929\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"69bd46ac26a44df093fe175c2da19a84\",\"recoveryPointTime\":\"2023-08-28T21:02:31.2698190Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"69bd46ac26a44df093fe175c2da19a84\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-28T21:01:19.2220691Z\",\"expiryTime\":\"2023-09-04T21:01:19.2220691Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-04T21:01:19.2220691Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/69bd46ac26a44df093fe175c2da19a84\",\"name\":\"69bd46ac26a44df093fe175c2da19a84\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2112048a60ae40a1998e9f83decb9c77\",\"recoveryPointTime\":\"2023-08-28T17:02:43.3873656Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"2112048a60ae40a1998e9f83decb9c77\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-28T17:01:34.1778560Z\",\"expiryTime\":\"2023-09-04T17:01:34.1778560Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-04T17:01:34.1778560Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/2112048a60ae40a1998e9f83decb9c77\",\"name\":\"2112048a60ae40a1998e9f83decb9c77\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"852ab1da744a4bebad3b346ac2ad6d5b\",\"recoveryPointTime\":\"2023-08-28T13:34:06.4864223Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"852ab1da744a4bebad3b346ac2ad6d5b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-28T13:32:53.2169841Z\",\"expiryTime\":\"2023-09-04T13:32:53.2169841Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-04T13:32:53.2169841Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/852ab1da744a4bebad3b346ac2ad6d5b\",\"name\":\"852ab1da744a4bebad3b346ac2ad6d5b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4fe2be6295ce4b6db6c379cf952382c7\",\"recoveryPointTime\":\"2023-08-28T13:02:22.7515763Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"4fe2be6295ce4b6db6c379cf952382c7\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-28T13:01:11.0997803Z\",\"expiryTime\":\"2023-09-04T13:01:11.0997803Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-04T13:01:11.0997803Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/4fe2be6295ce4b6db6c379cf952382c7\",\"name\":\"4fe2be6295ce4b6db6c379cf952382c7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3faa974b672242c4ba04778ff5de9a3f\",\"recoveryPointTime\":\"2023-08-28T09:02:16.8023890Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"3faa974b672242c4ba04778ff5de9a3f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-28T09:01:06.1449843Z\",\"expiryTime\":\"2023-09-04T09:01:06.1449843Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-04T09:01:06.1449843Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/3faa974b672242c4ba04778ff5de9a3f\",\"name\":\"3faa974b672242c4ba04778ff5de9a3f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"aafeca3ec8b444ce9086a53ba8c4e9be\",\"recoveryPointTime\":\"2023-08-28T05:02:41.8382316Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"aafeca3ec8b444ce9086a53ba8c4e9be\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-28T05:01:29.1450546Z\",\"expiryTime\":\"2023-09-04T05:01:29.1450546Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-04T05:01:29.1450546Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/aafeca3ec8b444ce9086a53ba8c4e9be\",\"name\":\"aafeca3ec8b444ce9086a53ba8c4e9be\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"73519c0802434eef906bb3643c3265d2\",\"recoveryPointTime\":\"2023-08-28T01:02:38.4416123Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"73519c0802434eef906bb3643c3265d2\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-28T01:01:27.9199345Z\",\"expiryTime\":\"2023-09-04T01:01:27.9199345Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-04T01:01:27.9199345Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/73519c0802434eef906bb3643c3265d2\",\"name\":\"73519c0802434eef906bb3643c3265d2\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"773834a307d0463aba3d1b68dee764d0\",\"recoveryPointTime\":\"2023-08-27T21:02:15.4986318Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"773834a307d0463aba3d1b68dee764d0\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-27T21:01:04.5081661Z\",\"expiryTime\":\"2023-09-03T21:01:04.5081661Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-03T21:01:04.5081661Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/773834a307d0463aba3d1b68dee764d0\",\"name\":\"773834a307d0463aba3d1b68dee764d0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"8b8de5ddd99b45749382867f3f94199e\",\"recoveryPointTime\":\"2023-08-27T17:02:40.5420592Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"8b8de5ddd99b45749382867f3f94199e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-27T17:01:27.5645987Z\",\"expiryTime\":\"2023-09-03T17:01:27.5645987Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-03T17:01:27.5645987Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/8b8de5ddd99b45749382867f3f94199e\",\"name\":\"8b8de5ddd99b45749382867f3f94199e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5f4f708e0a2f45ae89077dde0ddd3140\",\"recoveryPointTime\":\"2023-08-27T13:02:20.3405964Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"5f4f708e0a2f45ae89077dde0ddd3140\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-27T13:01:10.3327815Z\",\"expiryTime\":\"2023-09-03T13:01:10.3327815Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-03T13:01:10.3327815Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/5f4f708e0a2f45ae89077dde0ddd3140\",\"name\":\"5f4f708e0a2f45ae89077dde0ddd3140\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"777f01b021c84969a2b3cd44fd8c74cb\",\"recoveryPointTime\":\"2023-08-27T09:02:33.2524980Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"777f01b021c84969a2b3cd44fd8c74cb\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-27T09:01:22.8549390Z\",\"expiryTime\":\"2023-09-03T09:01:22.8549390Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-03T09:01:22.8549390Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/777f01b021c84969a2b3cd44fd8c74cb\",\"name\":\"777f01b021c84969a2b3cd44fd8c74cb\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b306960ef351475ea4c4744da4c09801\",\"recoveryPointTime\":\"2023-08-27T05:02:22.7913577Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"b306960ef351475ea4c4744da4c09801\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-27T05:01:11.8444371Z\",\"expiryTime\":\"2023-09-03T05:01:11.8444371Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-03T05:01:11.8444371Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/b306960ef351475ea4c4744da4c09801\",\"name\":\"b306960ef351475ea4c4744da4c09801\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"7ff03956046b4556928667e2c87d878a\",\"recoveryPointTime\":\"2023-08-27T01:02:16.9769709Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"7ff03956046b4556928667e2c87d878a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-27T01:01:06.1585765Z\",\"expiryTime\":\"2023-09-03T01:01:06.1585765Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-03T01:01:06.1585765Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/7ff03956046b4556928667e2c87d878a\",\"name\":\"7ff03956046b4556928667e2c87d878a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"a5c090d25e2842fe80815136e0420d96\",\"recoveryPointTime\":\"2023-08-26T21:02:27.1649419Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"a5c090d25e2842fe80815136e0420d96\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-26T21:01:16.8445352Z\",\"expiryTime\":\"2023-09-02T21:01:16.8445352Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-02T21:01:16.8445352Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/a5c090d25e2842fe80815136e0420d96\",\"name\":\"a5c090d25e2842fe80815136e0420d96\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c711b97a917d457a96418b45858927e0\",\"recoveryPointTime\":\"2023-08-26T17:02:44.0315227Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"c711b97a917d457a96418b45858927e0\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-26T17:01:31.6365173Z\",\"expiryTime\":\"2023-09-02T17:01:31.6365173Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-02T17:01:31.6365173Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/c711b97a917d457a96418b45858927e0\",\"name\":\"c711b97a917d457a96418b45858927e0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"898290fb5cab47d7b525c519c8ae035a\",\"recoveryPointTime\":\"2023-08-26T13:02:28.3060320Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"898290fb5cab47d7b525c519c8ae035a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-26T13:01:17.9106715Z\",\"expiryTime\":\"2023-09-02T13:01:17.9106715Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-02T13:01:17.9106715Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/898290fb5cab47d7b525c519c8ae035a\",\"name\":\"898290fb5cab47d7b525c519c8ae035a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c60b7eb57cc146da9455b14b5136fcf6\",\"recoveryPointTime\":\"2023-08-26T09:02:21.3252568Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"c60b7eb57cc146da9455b14b5136fcf6\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-26T09:01:10.9508824Z\",\"expiryTime\":\"2023-09-02T09:01:10.9508824Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-02T09:01:10.9508824Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/c60b7eb57cc146da9455b14b5136fcf6\",\"name\":\"c60b7eb57cc146da9455b14b5136fcf6\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9fef5f9fcc344d568ae1dd7d625e6901\",\"recoveryPointTime\":\"2023-08-26T05:02:25.3200448Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"9fef5f9fcc344d568ae1dd7d625e6901\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-26T05:01:14.9024941Z\",\"expiryTime\":\"2023-09-02T05:01:14.9024941Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-02T05:01:14.9024941Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/9fef5f9fcc344d568ae1dd7d625e6901\",\"name\":\"9fef5f9fcc344d568ae1dd7d625e6901\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"7dd5355575994cdb92e3d78d4add7f25\",\"recoveryPointTime\":\"2023-08-26T01:02:39.2666927Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"7dd5355575994cdb92e3d78d4add7f25\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-26T01:01:26.2326542Z\",\"expiryTime\":\"2023-09-02T01:01:26.2326542Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-02T01:01:26.2326542Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/7dd5355575994cdb92e3d78d4add7f25\",\"name\":\"7dd5355575994cdb92e3d78d4add7f25\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"d573b20dcf764f6b81af3856bc9f5fb0\",\"recoveryPointTime\":\"2023-08-25T21:02:16.0983721Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"d573b20dcf764f6b81af3856bc9f5fb0\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-25T21:01:05.4932504Z\",\"expiryTime\":\"2023-09-01T21:01:05.4932504Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-01T21:01:05.4932504Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/d573b20dcf764f6b81af3856bc9f5fb0\",\"name\":\"d573b20dcf764f6b81af3856bc9f5fb0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"cc504c24c0584aad80e33edf332a89a3\",\"recoveryPointTime\":\"2023-08-25T17:02:36.6244044Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"cc504c24c0584aad80e33edf332a89a3\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-25T17:01:25.7078642Z\",\"expiryTime\":\"2023-09-01T17:01:25.7078642Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-01T17:01:25.7078642Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/cc504c24c0584aad80e33edf332a89a3\",\"name\":\"cc504c24c0584aad80e33edf332a89a3\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"92e29eae2b884dd59ebeaf169e2f12a2\",\"recoveryPointTime\":\"2023-08-25T13:02:42.5226603Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"92e29eae2b884dd59ebeaf169e2f12a2\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-25T13:01:32.8167892Z\",\"expiryTime\":\"2023-09-01T13:01:32.8167892Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-01T13:01:32.8167892Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/92e29eae2b884dd59ebeaf169e2f12a2\",\"name\":\"92e29eae2b884dd59ebeaf169e2f12a2\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"6d081e5853ea4e7498d036b2db1786ae\",\"recoveryPointTime\":\"2023-08-25T09:02:23.5986095Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"6d081e5853ea4e7498d036b2db1786ae\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-25T09:01:13.9122786Z\",\"expiryTime\":\"2023-09-01T09:01:13.9122786Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-01T09:01:13.9122786Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/6d081e5853ea4e7498d036b2db1786ae\",\"name\":\"6d081e5853ea4e7498d036b2db1786ae\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c59c53a2cb5742c492e38b2966f4161f\",\"recoveryPointTime\":\"2023-08-25T05:02:18.9913374Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"c59c53a2cb5742c492e38b2966f4161f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-25T05:01:09.6302457Z\",\"expiryTime\":\"2023-09-01T05:01:09.6302457Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-01T05:01:09.6302457Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/c59c53a2cb5742c492e38b2966f4161f\",\"name\":\"c59c53a2cb5742c492e38b2966f4161f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"7b7f041c2c4041e3847be303399a5e57\",\"recoveryPointTime\":\"2023-08-25T01:02:30.2266783Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"7b7f041c2c4041e3847be303399a5e57\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-25T01:01:21.1084819Z\",\"expiryTime\":\"2023-09-01T01:01:21.1084819Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-01T01:01:21.1084819Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/7b7f041c2c4041e3847be303399a5e57\",\"name\":\"7b7f041c2c4041e3847be303399a5e57\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"419e2c72621743909e3857e09dee5bfa\",\"recoveryPointTime\":\"2023-08-24T21:02:20.7325429Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"419e2c72621743909e3857e09dee5bfa\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-24T21:01:09.5285699Z\",\"expiryTime\":\"2023-08-31T21:01:09.5285699Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-31T21:01:09.5285699Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/419e2c72621743909e3857e09dee5bfa\",\"name\":\"419e2c72621743909e3857e09dee5bfa\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"adb53b3ec2d9484a8eb33aad99431b1f\",\"recoveryPointTime\":\"2023-08-24T17:02:22.2315867Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"adb53b3ec2d9484a8eb33aad99431b1f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-24T17:01:13.3205269Z\",\"expiryTime\":\"2023-08-31T17:01:13.3205269Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-31T17:01:13.3205269Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/adb53b3ec2d9484a8eb33aad99431b1f\",\"name\":\"adb53b3ec2d9484a8eb33aad99431b1f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b88594b4b6364d43823c01d0f4cd460b\",\"recoveryPointTime\":\"2023-08-24T13:02:20.7034301Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"b88594b4b6364d43823c01d0f4cd460b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-24T13:01:11.2804484Z\",\"expiryTime\":\"2023-08-31T13:01:11.2804484Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-31T13:01:11.2804484Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/b88594b4b6364d43823c01d0f4cd460b\",\"name\":\"b88594b4b6364d43823c01d0f4cd460b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"6be858ac2f75400aaa62a0296201e645\",\"recoveryPointTime\":\"2023-08-24T09:44:26.8469648Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"6be858ac2f75400aaa62a0296201e645\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-24T09:43:17.1767429Z\",\"expiryTime\":\"2023-08-31T09:43:17.1767429Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-31T09:43:17.1767429Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/6be858ac2f75400aaa62a0296201e645\",\"name\":\"6be858ac2f75400aaa62a0296201e645\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"6a0cb780811b439dac168837b80a4bab\",\"recoveryPointTime\":\"2023-08-24T05:02:38.2358382Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"6a0cb780811b439dac168837b80a4bab\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-24T05:01:29.0028429Z\",\"expiryTime\":\"2023-08-31T05:01:29.0028429Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-31T05:01:29.0028429Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/6a0cb780811b439dac168837b80a4bab\",\"name\":\"6a0cb780811b439dac168837b80a4bab\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"935f48f3189b46799ee55e618f90e677\",\"recoveryPointTime\":\"2023-08-24T01:02:32.4155592Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"935f48f3189b46799ee55e618f90e677\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-24T01:01:22.6165987Z\",\"expiryTime\":\"2023-08-31T01:01:22.6165987Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-31T01:01:22.6165987Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/935f48f3189b46799ee55e618f90e677\",\"name\":\"935f48f3189b46799ee55e618f90e677\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"dc6480b8ad0b470eaacbd0cb84861590\",\"recoveryPointTime\":\"2023-08-23T21:02:45.6844009Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"dc6480b8ad0b470eaacbd0cb84861590\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-23T21:01:36.1330652Z\",\"expiryTime\":\"2023-08-30T21:01:36.1330652Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-30T21:01:36.1330652Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/dc6480b8ad0b470eaacbd0cb84861590\",\"name\":\"dc6480b8ad0b470eaacbd0cb84861590\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"80dc98b09fca46e984211b319a3f08aa\",\"recoveryPointTime\":\"2023-08-23T17:02:31.7743117Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"80dc98b09fca46e984211b319a3f08aa\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-23T17:01:21.8203921Z\",\"expiryTime\":\"2023-08-30T17:01:21.8203921Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-30T17:01:21.8203921Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/80dc98b09fca46e984211b319a3f08aa\",\"name\":\"80dc98b09fca46e984211b319a3f08aa\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3e26bebedf5549648372b5b4a8d0e192\",\"recoveryPointTime\":\"2023-08-23T13:02:24.4419161Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"3e26bebedf5549648372b5b4a8d0e192\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-23T13:01:15.2598963Z\",\"expiryTime\":\"2023-08-30T13:01:15.2598963Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-30T13:01:15.2598963Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/3e26bebedf5549648372b5b4a8d0e192\",\"name\":\"3e26bebedf5549648372b5b4a8d0e192\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b2b183f593044d5a8aaf5e93eba7067f\",\"recoveryPointTime\":\"2023-08-23T09:02:28.7756341Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"b2b183f593044d5a8aaf5e93eba7067f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-23T09:01:18.8826716Z\",\"expiryTime\":\"2023-08-30T09:01:18.8826716Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-30T09:01:18.8826716Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/b2b183f593044d5a8aaf5e93eba7067f\",\"name\":\"b2b183f593044d5a8aaf5e93eba7067f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"63016764b90b4d9d9c4b470efd362089\",\"recoveryPointTime\":\"2023-08-23T05:02:32.8122127Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"63016764b90b4d9d9c4b470efd362089\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-23T05:01:23.5169457Z\",\"expiryTime\":\"2023-08-30T05:01:23.5169457Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-30T05:01:23.5169457Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/63016764b90b4d9d9c4b470efd362089\",\"name\":\"63016764b90b4d9d9c4b470efd362089\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"24b65ca1ad704de6b6ec4c4740073413\",\"recoveryPointTime\":\"2023-08-23T01:02:10.9673005Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"24b65ca1ad704de6b6ec4c4740073413\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-23T01:01:01.3302217Z\",\"expiryTime\":\"2023-08-30T01:01:01.3302217Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-30T01:01:01.3302217Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/24b65ca1ad704de6b6ec4c4740073413\",\"name\":\"24b65ca1ad704de6b6ec4c4740073413\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"94717bbc104f41f8adc12987ddfcd749\",\"recoveryPointTime\":\"2023-08-22T21:02:29.1934315Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"94717bbc104f41f8adc12987ddfcd749\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-22T21:01:19.6029487Z\",\"expiryTime\":\"2023-08-29T21:01:19.6029487Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-29T21:01:19.6029487Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/94717bbc104f41f8adc12987ddfcd749\",\"name\":\"94717bbc104f41f8adc12987ddfcd749\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"814ea7bb15c64e9684d54dd65af2beaa\",\"recoveryPointTime\":\"2023-08-22T17:02:32.3230871Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"814ea7bb15c64e9684d54dd65af2beaa\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-22T17:01:21.6043440Z\",\"expiryTime\":\"2023-08-29T17:01:21.6043440Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-29T17:01:21.6043440Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/814ea7bb15c64e9684d54dd65af2beaa\",\"name\":\"814ea7bb15c64e9684d54dd65af2beaa\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9d1d61efc0474862b328f0a4fc6ea959\",\"recoveryPointTime\":\"2023-08-22T13:02:36.9201445Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"9d1d61efc0474862b328f0a4fc6ea959\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-22T13:01:26.9090080Z\",\"expiryTime\":\"2023-08-29T13:01:26.9090080Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-29T13:01:26.9090080Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/9d1d61efc0474862b328f0a4fc6ea959\",\"name\":\"9d1d61efc0474862b328f0a4fc6ea959\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e9bdbfc11c0440d2a2497e146fc13898\",\"recoveryPointTime\":\"2023-08-22T09:02:21.1812452Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"e9bdbfc11c0440d2a2497e146fc13898\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-22T09:01:10.9403291Z\",\"expiryTime\":\"2023-08-29T09:01:10.9403291Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-29T09:01:10.9403291Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/e9bdbfc11c0440d2a2497e146fc13898\",\"name\":\"e9bdbfc11c0440d2a2497e146fc13898\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"63e39b77191f4377ad40abf4b0ca029e\",\"recoveryPointTime\":\"2023-08-22T05:02:36.1767537Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"63e39b77191f4377ad40abf4b0ca029e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-22T05:01:26.4381570Z\",\"expiryTime\":\"2023-08-29T05:01:26.4381570Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-29T05:01:26.4381570Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/63e39b77191f4377ad40abf4b0ca029e\",\"name\":\"63e39b77191f4377ad40abf4b0ca029e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}]}", + "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-25T04:39:24.6963021Z\",\"expiryTime\":null,\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":null,\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/98e0523d83004753baa0aa25687d9307\",\"name\":\"98e0523d83004753baa0aa25687d9307\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b82d7a7a9aa14dac8409fe21ef71102e\",\"recoveryPointTime\":\"2023-12-25T04:35:42.7366149Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"b82d7a7a9aa14dac8409fe21ef71102e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-25T04:34:33.4371272Z\",\"expiryTime\":\"2024-01-01T04:34:33.4371272Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-01T04:34:33.4371272Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/b82d7a7a9aa14dac8409fe21ef71102e\",\"name\":\"b82d7a7a9aa14dac8409fe21ef71102e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9bbad33aee7c49669e25b0f9c09f5be9\",\"recoveryPointTime\":\"2023-12-25T01:02:23.1528112Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"9bbad33aee7c49669e25b0f9c09f5be9\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-25T01:01:12.8341663Z\",\"expiryTime\":\"2024-01-01T01:01:12.8341663Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-01T01:01:12.8341663Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/9bbad33aee7c49669e25b0f9c09f5be9\",\"name\":\"9bbad33aee7c49669e25b0f9c09f5be9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"91a3a0b0efbe4f5b97e99709e1ccc9ca\",\"recoveryPointTime\":\"2023-12-24T21:02:20.3087596Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"91a3a0b0efbe4f5b97e99709e1ccc9ca\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-24T21:01:09.9661070Z\",\"expiryTime\":\"2023-12-31T21:01:09.9661070Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-31T21:01:09.9661070Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/91a3a0b0efbe4f5b97e99709e1ccc9ca\",\"name\":\"91a3a0b0efbe4f5b97e99709e1ccc9ca\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"82bf475dcaa947f0be2f0e85ca9ab95e\",\"recoveryPointTime\":\"2023-12-24T17:02:24.3248382Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"82bf475dcaa947f0be2f0e85ca9ab95e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-24T17:01:14.9273489Z\",\"expiryTime\":\"2023-12-31T17:01:14.9273489Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-31T17:01:14.9273489Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/82bf475dcaa947f0be2f0e85ca9ab95e\",\"name\":\"82bf475dcaa947f0be2f0e85ca9ab95e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"32ea99bb1cda4baaaff7630020a5af1c\",\"recoveryPointTime\":\"2023-12-24T13:02:21.6903198Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"32ea99bb1cda4baaaff7630020a5af1c\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-24T13:01:11.6197915Z\",\"expiryTime\":\"2023-12-31T13:01:11.6197915Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-31T13:01:11.6197915Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/32ea99bb1cda4baaaff7630020a5af1c\",\"name\":\"32ea99bb1cda4baaaff7630020a5af1c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2c6713f215c847b9b8b6800dbe588b07\",\"recoveryPointTime\":\"2023-12-24T09:57:06.0939024Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"2c6713f215c847b9b8b6800dbe588b07\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-24T09:55:55.9606462Z\",\"expiryTime\":\"2023-12-31T09:55:55.9606462Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-31T09:55:55.9606462Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/2c6713f215c847b9b8b6800dbe588b07\",\"name\":\"2c6713f215c847b9b8b6800dbe588b07\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"dd5475a1f7fb40f7b7f59f9ac2ef7933\",\"recoveryPointTime\":\"2023-12-24T05:02:17.7239288Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"dd5475a1f7fb40f7b7f59f9ac2ef7933\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-24T05:01:07.4511355Z\",\"expiryTime\":\"2023-12-31T05:01:07.4511355Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-31T05:01:07.4511355Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/dd5475a1f7fb40f7b7f59f9ac2ef7933\",\"name\":\"dd5475a1f7fb40f7b7f59f9ac2ef7933\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"de6e123d67c440398a1dd6509f9a8470\",\"recoveryPointTime\":\"2023-12-24T01:02:30.4244348Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"de6e123d67c440398a1dd6509f9a8470\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-24T01:01:19.5458870Z\",\"expiryTime\":\"2023-12-31T01:01:19.5458870Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-31T01:01:19.5458870Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/de6e123d67c440398a1dd6509f9a8470\",\"name\":\"de6e123d67c440398a1dd6509f9a8470\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"71052cf97c2140838123b849e47700c8\",\"recoveryPointTime\":\"2023-12-23T21:33:53.7004935Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"71052cf97c2140838123b849e47700c8\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-23T21:32:43.6466616Z\",\"expiryTime\":\"2023-12-30T21:32:43.6466616Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-30T21:32:43.6466616Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/71052cf97c2140838123b849e47700c8\",\"name\":\"71052cf97c2140838123b849e47700c8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9f9e998377ca47649bfa6c5e145d40cb\",\"recoveryPointTime\":\"2023-12-23T17:02:36.6184843Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"9f9e998377ca47649bfa6c5e145d40cb\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-23T17:01:26.6782613Z\",\"expiryTime\":\"2023-12-30T17:01:26.6782613Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-30T17:01:26.6782613Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/9f9e998377ca47649bfa6c5e145d40cb\",\"name\":\"9f9e998377ca47649bfa6c5e145d40cb\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"aef1f7c379894691b7414bd8f1e7c5d4\",\"recoveryPointTime\":\"2023-12-23T13:02:56.5619889Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"aef1f7c379894691b7414bd8f1e7c5d4\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-23T13:01:46.6485771Z\",\"expiryTime\":\"2023-12-30T13:01:46.6485771Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-30T13:01:46.6485771Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/aef1f7c379894691b7414bd8f1e7c5d4\",\"name\":\"aef1f7c379894691b7414bd8f1e7c5d4\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"73def665d7304b889ec9f6431e7f8cff\",\"recoveryPointTime\":\"2023-12-23T09:02:25.7009367Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"73def665d7304b889ec9f6431e7f8cff\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-23T09:01:15.6388196Z\",\"expiryTime\":\"2023-12-30T09:01:15.6388196Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-30T09:01:15.6388196Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/73def665d7304b889ec9f6431e7f8cff\",\"name\":\"73def665d7304b889ec9f6431e7f8cff\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"caa9c5feb7fa42f5ab43201133c95d20\",\"recoveryPointTime\":\"2023-12-23T05:02:34.3556913Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"caa9c5feb7fa42f5ab43201133c95d20\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-23T05:01:24.8705842Z\",\"expiryTime\":\"2023-12-30T05:01:24.8705842Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-30T05:01:24.8705842Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/caa9c5feb7fa42f5ab43201133c95d20\",\"name\":\"caa9c5feb7fa42f5ab43201133c95d20\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"ab01e1be8c0a477cad4abc7bbd4cdd79\",\"recoveryPointTime\":\"2023-12-23T01:02:39.9398000Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"ab01e1be8c0a477cad4abc7bbd4cdd79\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-23T01:01:28.3403974Z\",\"expiryTime\":\"2023-12-30T01:01:28.3403974Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-30T01:01:28.3403974Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/ab01e1be8c0a477cad4abc7bbd4cdd79\",\"name\":\"ab01e1be8c0a477cad4abc7bbd4cdd79\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"07e6b57cc11741c5b0f62370884859f4\",\"recoveryPointTime\":\"2023-12-22T21:02:19.5196897Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"07e6b57cc11741c5b0f62370884859f4\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-22T21:01:09.7849400Z\",\"expiryTime\":\"2023-12-29T21:01:09.7849400Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-29T21:01:09.7849400Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/07e6b57cc11741c5b0f62370884859f4\",\"name\":\"07e6b57cc11741c5b0f62370884859f4\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c57faaad47294182b53146a512c8fe29\",\"recoveryPointTime\":\"2023-12-22T17:02:25.8100770Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"c57faaad47294182b53146a512c8fe29\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-22T17:01:14.9445024Z\",\"expiryTime\":\"2023-12-29T17:01:14.9445024Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-29T17:01:14.9445024Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/c57faaad47294182b53146a512c8fe29\",\"name\":\"c57faaad47294182b53146a512c8fe29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"31651ea60c944016aa5cc0c0155fd537\",\"recoveryPointTime\":\"2023-12-22T13:02:26.7632315Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"31651ea60c944016aa5cc0c0155fd537\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-22T13:01:16.4336048Z\",\"expiryTime\":\"2023-12-29T13:01:16.4336048Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-29T13:01:16.4336048Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/31651ea60c944016aa5cc0c0155fd537\",\"name\":\"31651ea60c944016aa5cc0c0155fd537\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"bc40d05d536e4f089437c98b1f93d254\",\"recoveryPointTime\":\"2023-12-22T09:02:17.9061108Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"bc40d05d536e4f089437c98b1f93d254\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-22T09:01:08.2870954Z\",\"expiryTime\":\"2023-12-29T09:01:08.2870954Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-29T09:01:08.2870954Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/bc40d05d536e4f089437c98b1f93d254\",\"name\":\"bc40d05d536e4f089437c98b1f93d254\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f4b230bb7d2d4a34aaf53a9e973bfe79\",\"recoveryPointTime\":\"2023-12-22T05:02:18.8514208Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"f4b230bb7d2d4a34aaf53a9e973bfe79\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-22T05:01:08.5087295Z\",\"expiryTime\":\"2023-12-29T05:01:08.5087295Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-29T05:01:08.5087295Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/f4b230bb7d2d4a34aaf53a9e973bfe79\",\"name\":\"f4b230bb7d2d4a34aaf53a9e973bfe79\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2f3709ceaa9b4143b08f47ad44115a9e\",\"recoveryPointTime\":\"2023-12-22T01:02:29.4632271Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"2f3709ceaa9b4143b08f47ad44115a9e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-22T01:01:19.3048445Z\",\"expiryTime\":\"2023-12-29T01:01:19.3048445Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-29T01:01:19.3048445Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/2f3709ceaa9b4143b08f47ad44115a9e\",\"name\":\"2f3709ceaa9b4143b08f47ad44115a9e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"bb416abfb9bb49c19fb3a279230a0eda\",\"recoveryPointTime\":\"2023-12-21T21:02:33.3967257Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"bb416abfb9bb49c19fb3a279230a0eda\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-21T21:01:22.8894727Z\",\"expiryTime\":\"2023-12-28T21:01:22.8894727Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-28T21:01:22.8894727Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/bb416abfb9bb49c19fb3a279230a0eda\",\"name\":\"bb416abfb9bb49c19fb3a279230a0eda\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"72a268fc83f542e88b1f756c76e61090\",\"recoveryPointTime\":\"2023-12-21T17:02:23.9915887Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"72a268fc83f542e88b1f756c76e61090\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-21T17:01:13.6630434Z\",\"expiryTime\":\"2023-12-28T17:01:13.6630434Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-28T17:01:13.6630434Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/72a268fc83f542e88b1f756c76e61090\",\"name\":\"72a268fc83f542e88b1f756c76e61090\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"afaeeb63314545d2a67ca8664fe940d9\",\"recoveryPointTime\":\"2023-12-21T13:02:20.8359136Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"afaeeb63314545d2a67ca8664fe940d9\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-21T13:01:10.1995324Z\",\"expiryTime\":\"2023-12-28T13:01:10.1995324Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-28T13:01:10.1995324Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/afaeeb63314545d2a67ca8664fe940d9\",\"name\":\"afaeeb63314545d2a67ca8664fe940d9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"7ea7cb8427cf464eaa403fbd4b1064bd\",\"recoveryPointTime\":\"2023-12-21T09:08:43.7367081Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"7ea7cb8427cf464eaa403fbd4b1064bd\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-21T09:07:33.1220135Z\",\"expiryTime\":\"2023-12-28T09:07:33.1220135Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-28T09:07:33.1220135Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/7ea7cb8427cf464eaa403fbd4b1064bd\",\"name\":\"7ea7cb8427cf464eaa403fbd4b1064bd\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"d7e1dc1924af48d3a57fa26db0d2e509\",\"recoveryPointTime\":\"2023-12-20T09:02:29.1054234Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"d7e1dc1924af48d3a57fa26db0d2e509\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-20T09:01:19.4159566Z\",\"expiryTime\":\"2023-12-27T09:01:19.4159566Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-27T09:01:19.4159566Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/d7e1dc1924af48d3a57fa26db0d2e509\",\"name\":\"d7e1dc1924af48d3a57fa26db0d2e509\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b52643a1ab5844ae8430742f92e7405c\",\"recoveryPointTime\":\"2023-12-20T05:02:37.7798812Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"b52643a1ab5844ae8430742f92e7405c\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-20T05:01:28.2935023Z\",\"expiryTime\":\"2023-12-27T05:01:28.2935023Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-27T05:01:28.2935023Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/b52643a1ab5844ae8430742f92e7405c\",\"name\":\"b52643a1ab5844ae8430742f92e7405c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5726291472a742da9fcdbabea3088075\",\"recoveryPointTime\":\"2023-12-20T01:02:34.2630854Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"5726291472a742da9fcdbabea3088075\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-20T01:01:23.0888542Z\",\"expiryTime\":\"2023-12-27T01:01:23.0888542Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-27T01:01:23.0888542Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/5726291472a742da9fcdbabea3088075\",\"name\":\"5726291472a742da9fcdbabea3088075\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"71529d01b04c4e1181f96c964cacc247\",\"recoveryPointTime\":\"2023-12-19T21:02:21.8012105Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"71529d01b04c4e1181f96c964cacc247\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-19T21:01:10.4337833Z\",\"expiryTime\":\"2023-12-26T21:01:10.4337833Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-26T21:01:10.4337833Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/71529d01b04c4e1181f96c964cacc247\",\"name\":\"71529d01b04c4e1181f96c964cacc247\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"44f30f1ef426487bbbaad79633789f7a\",\"recoveryPointTime\":\"2023-12-19T17:02:28.4838539Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"44f30f1ef426487bbbaad79633789f7a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-19T17:01:17.2423405Z\",\"expiryTime\":\"2023-12-26T17:01:17.2423405Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-26T17:01:17.2423405Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/44f30f1ef426487bbbaad79633789f7a\",\"name\":\"44f30f1ef426487bbbaad79633789f7a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0abc2086b2274fdba6660f0279054e02\",\"recoveryPointTime\":\"2023-12-19T13:02:20.6575116Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"0abc2086b2274fdba6660f0279054e02\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-19T13:01:10.8054537Z\",\"expiryTime\":\"2023-12-26T13:01:10.8054537Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-26T13:01:10.8054537Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/0abc2086b2274fdba6660f0279054e02\",\"name\":\"0abc2086b2274fdba6660f0279054e02\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3a46dfdf382443278df458cf84111fdc\",\"recoveryPointTime\":\"2023-12-19T09:02:23.6676659Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"3a46dfdf382443278df458cf84111fdc\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-19T09:01:12.2994707Z\",\"expiryTime\":\"2023-12-26T09:01:12.2994707Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-26T09:01:12.2994707Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/3a46dfdf382443278df458cf84111fdc\",\"name\":\"3a46dfdf382443278df458cf84111fdc\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e66c40db8ac641d0bf856d68dab3029b\",\"recoveryPointTime\":\"2023-12-19T05:02:24.8326015Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"e66c40db8ac641d0bf856d68dab3029b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-19T05:01:14.7862996Z\",\"expiryTime\":\"2023-12-26T05:01:14.7862996Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-26T05:01:14.7862996Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/e66c40db8ac641d0bf856d68dab3029b\",\"name\":\"e66c40db8ac641d0bf856d68dab3029b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"611a39dc1b904e279af9452b61340665\",\"recoveryPointTime\":\"2023-12-19T01:02:37.9501105Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"611a39dc1b904e279af9452b61340665\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-19T01:01:26.1087394Z\",\"expiryTime\":\"2023-12-26T01:01:26.1087394Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-26T01:01:26.1087394Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/611a39dc1b904e279af9452b61340665\",\"name\":\"611a39dc1b904e279af9452b61340665\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2d80c1bffd6f4cff9b74bc837f4c56c4\",\"recoveryPointTime\":\"2023-12-18T21:02:42.5817148Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"2d80c1bffd6f4cff9b74bc837f4c56c4\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-18T21:01:33.2124356Z\",\"expiryTime\":\"2023-12-25T21:01:33.2124356Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-25T21:01:33.2124356Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/2d80c1bffd6f4cff9b74bc837f4c56c4\",\"name\":\"2d80c1bffd6f4cff9b74bc837f4c56c4\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"ef7dd008d45b4b6590ecc768ffa11f57\",\"recoveryPointTime\":\"2023-12-18T17:02:19.3532017Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"ef7dd008d45b4b6590ecc768ffa11f57\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-18T17:01:09.2993345Z\",\"expiryTime\":\"2023-12-25T17:01:09.2993345Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-25T17:01:09.2993345Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/ef7dd008d45b4b6590ecc768ffa11f57\",\"name\":\"ef7dd008d45b4b6590ecc768ffa11f57\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"23e68885cf13434d8ab771813c7d9caa\",\"recoveryPointTime\":\"2023-12-18T13:02:32.5735378Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"23e68885cf13434d8ab771813c7d9caa\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-18T13:01:22.5864273Z\",\"expiryTime\":\"2023-12-25T13:01:22.5864273Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-25T13:01:22.5864273Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/23e68885cf13434d8ab771813c7d9caa\",\"name\":\"23e68885cf13434d8ab771813c7d9caa\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"60c903ee278147d194dde50ed4bdbc6f\",\"recoveryPointTime\":\"2023-12-18T09:02:23.1989358Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"60c903ee278147d194dde50ed4bdbc6f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-18T09:01:11.9574188Z\",\"expiryTime\":\"2023-12-25T09:01:11.9574188Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-25T09:01:11.9574188Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/60c903ee278147d194dde50ed4bdbc6f\",\"name\":\"60c903ee278147d194dde50ed4bdbc6f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"352098c4c72b40dd981cdf62ba082868\",\"recoveryPointTime\":\"2023-12-18T05:02:19.0737955Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"352098c4c72b40dd981cdf62ba082868\",\"recoveryPointDataStoresDetails\":[{\"id\":\"38b82871-b6dd-47ca-b0aa-91ab37389442\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-18T05:01:08.9132098Z\",\"expiryTime\":\"2023-12-25T05:01:08.9132098Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638087491867877278\",\"policyName\":\"pstest-diskpolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-25T05:01:08.9132098Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/recoveryPoints/352098c4c72b40dd981cdf62ba082868\",\"name\":\"352098c4c72b40dd981cdf62ba082868\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}]}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/restore?api-version=2023-05-01+37": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/restore?api-version=2023-11-01+36": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/restore?api-version=2023-05-01", - "Content": "{\r\n \"objectType\": \"AzureBackupRecoveryPointBasedRestoreRequest\",\r\n \"restoreTargetInfo\": {\r\n \"objectType\": \"restoreTargetInfo\",\r\n \"recoveryOption\": \"FailIfExists\",\r\n \"restoreLocation\": \"centraluseuap\",\r\n \"datasourceInfo\": {\r\n \"datasourceType\": \"Microsoft.Compute/disks\",\r\n \"objectType\": \"Datasource\",\r\n \"resourceID\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\r\n \"resourceLocation\": \"centraluseuap\",\r\n \"resourceName\": \"pstest-restoreddisk-28-08-2023-3-11-11\",\r\n \"resourceType\": \"Microsoft.Compute/disks\",\r\n \"resourceUri\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"recoveryPointId\": \"c55c7b9d57e24c8b9d12dd4a60d34378\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3/restore?api-version=2023-11-01", + "Content": "{\r\n \"objectType\": \"AzureBackupRecoveryPointBasedRestoreRequest\",\r\n \"restoreTargetInfo\": {\r\n \"objectType\": \"restoreTargetInfo\",\r\n \"recoveryOption\": \"FailIfExists\",\r\n \"restoreLocation\": \"centraluseuap\",\r\n \"datasourceInfo\": {\r\n \"datasourceType\": \"Microsoft.Compute/disks\",\r\n \"objectType\": \"Datasource\",\r\n \"resourceID\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\r\n \"resourceLocation\": \"centraluseuap\",\r\n \"resourceName\": \"pstest-restoreddisk-25-12-2023-11-11-11\",\r\n \"resourceType\": \"Microsoft.Compute/disks\",\r\n \"resourceUri\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"recoveryPointId\": \"98e0523d83004753baa0aa25687d9307\"\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "957" ] + "Content-Length": [ "960" ] } }, "Response": { @@ -1527,17 +1485,17 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RiYThkN2M2LTdlY2ItNDQ3Yi1iZDY3LWEzNzlhYmEyM2VmOA==?api-version=2023-05-01\u0026t=2023-08-29T04%3a23%3a04\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=TP4FXjijcT6gc7jc9CdlRyvX61hYrMuENSFkmRCvzIwxUWLgZgAUjeJUVxi20UFk7NSpXsLUX-l2BmMXUuAghrADzknwkHdY2Mxz-GIO7x7_nHeR0L65NHai6mubjS1P3hM0K9sdAmirB-qcFfAryEFoJAo3Vj_X4tysg_GlViSwivtPeRuQnuAjzBmO76bmvswyBCK7b1_aNQ2kuMg42RzvOuMIQyvRTPfHtbsq3HthLImyWQLkCuzVWv0Xg4ZtTmhMKNILssYdr6MBX6rohkxvZCKns_O4oGSEuGI-8c4tTrM0exQook2CKI2RU44hml3YuBxyclwQTBHtsNHUiw\u0026h=Z9SneLQxUjbDZ99Gj_NnpoRGv_-jzSjvJnODodJlBTc" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzRlZjQyZDMxLWY2NzctNDZhNS04MDg2LTQ4NzE3OTExODMxZg==?api-version=2023-11-01\u0026t=638390760977457464\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=DJt9yw8PGO-KoP8hKMfjn9b-rpfDcnAjomsEMenlksSJydyjNLUQ0w9ZAy1JSTiE035iV2ZQQJBeIo0fRLYgnH-sTYgRZu3lhWBFGD4b0Rm4IX8Tnyj4pMQsR-NeEmMw4BNAZu99ZTrSa_OiT1VWMMFwfNYk5CFsxxfhsSny8JrGCFUB83w_j76kY7ymm_v6FErhNjwN9hh28rF_lwYbj_x_VojG4hSmXQNJUNtvFtUPr_UimB5WWLLyya4G0TrNVc6BqOAmNXqDHpvL1oejs1O_IKwhA8gKdZ2W4IogUHLUuETiV3J6dYxT4NLKfa1i5EFtOacJjnrfx6zycpIF4g\u0026h=6Wj6QCJfSQ5RP6BZ9syOAXi4qeQjbxksNZIsAXzGvXY" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RiYThkN2M2LTdlY2ItNDQ3Yi1iZDY3LWEzNzlhYmEyM2VmOA==?api-version=2023-05-01\u0026t=2023-08-29T04%3a23%3a04\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=OSnogOHl0mp92lK1zrPGyBou59duukh0btmvWK2x8JaEu85A0BIVtjU4_2wcJXrTzTxPL5wToyEUz48YSskAOVqWsmFtMQoSHy9wOlEzD9XG56NPLJClTgmFi4KIBOuXzD2ya0EjBp9N34pJs5eV-TPsrl-fFwjspbwFDKDuYxFrt3YRhNdOAh1ix1vgD852_zdedoibYOXIzY7euShKQRTBPA9s7T4RRJDhYRYjAv7x62Ip8ythyUEJzAmJaJeCu3JBwIl3WFZrsuEH0rU2Y0JvwWXBRJTGefHgfUUyxxWoOhdl8qt8DHkQ1F5V_5rd25lNuRgHiWWmFSroiRRHHA\u0026h=Ces-UT-N5RVl8n8nB84rpM6TJvPC2rF9j4Sgp4T31Tc" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzRlZjQyZDMxLWY2NzctNDZhNS04MDg2LTQ4NzE3OTExODMxZg==?api-version=2023-11-01\u0026t=638390760977301184\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=AfVbTUyIY6JFL3IFhQ-dEnKWtgZ5bvH4XoK1uWUotu6PHyEM5ghKQ6NvZR3IWHMm7p41gHLmk7E_XpgDKs8qRNJr-QPLKTAaeu1YAdiWnzePZURljJ-29OllgtzNXNB8Xilq22162MrYgj4xB5u_dpsavDoAt7UIdYNUoI7NX2k2R6BBidrrce0kqRHUNseArfzRWPPbGU93qAY5Tk3qSmL9qimRrZvIU4FTjUsQsOzEK2LcLJFvEwJgAxKQlu5qWGe9nUXkeq-OyfwN_8rIDF8cu78nlOBohOSELt-VGlf6avLF_OjKIC_dJdSWo_kIY4ruLMmQTrMPHh-v_eeXhQ\u0026h=xnnd3fD2Nt24t-yugon1lzoZ0B6Y49_eIbQbMp6raXI" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "5cfd6b65-e802-4574-a046-10bce67f7043" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042304Z:5cfd6b65-e802-4574-a046-10bce67f7043" ], - "Date": [ "Tue, 29 Aug 2023 04:23:03 GMT" ] + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-correlation-request-id": [ "816f8996-bf05-42da-abf2-8f992ed22d16" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044137Z:816f8996-bf05-42da-abf2-8f992ed22d16" ], + "Date": [ "Mon, 25 Dec 2023 04:41:36 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -1547,20 +1505,20 @@ "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RiYThkN2M2LTdlY2ItNDQ3Yi1iZDY3LWEzNzlhYmEyM2VmOA==?api-version=2023-05-01\u0026t=2023-08-29T04%3a23%3a04\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=OSnogOHl0mp92lK1zrPGyBou59duukh0btmvWK2x8JaEu85A0BIVtjU4_2wcJXrTzTxPL5wToyEUz48YSskAOVqWsmFtMQoSHy9wOlEzD9XG56NPLJClTgmFi4KIBOuXzD2ya0EjBp9N34pJs5eV-TPsrl-fFwjspbwFDKDuYxFrt3YRhNdOAh1ix1vgD852_zdedoibYOXIzY7euShKQRTBPA9s7T4RRJDhYRYjAv7x62Ip8ythyUEJzAmJaJeCu3JBwIl3WFZrsuEH0rU2Y0JvwWXBRJTGefHgfUUyxxWoOhdl8qt8DHkQ1F5V_5rd25lNuRgHiWWmFSroiRRHHA\u0026h=Ces-UT-N5RVl8n8nB84rpM6TJvPC2rF9j4Sgp4T31Tc+38": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzRlZjQyZDMxLWY2NzctNDZhNS04MDg2LTQ4NzE3OTExODMxZg==?api-version=2023-11-01\u0026t=638390760977301184\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=AfVbTUyIY6JFL3IFhQ-dEnKWtgZ5bvH4XoK1uWUotu6PHyEM5ghKQ6NvZR3IWHMm7p41gHLmk7E_XpgDKs8qRNJr-QPLKTAaeu1YAdiWnzePZURljJ-29OllgtzNXNB8Xilq22162MrYgj4xB5u_dpsavDoAt7UIdYNUoI7NX2k2R6BBidrrce0kqRHUNseArfzRWPPbGU93qAY5Tk3qSmL9qimRrZvIU4FTjUsQsOzEK2LcLJFvEwJgAxKQlu5qWGe9nUXkeq-OyfwN_8rIDF8cu78nlOBohOSELt-VGlf6avLF_OjKIC_dJdSWo_kIY4ruLMmQTrMPHh-v_eeXhQ\u0026h=xnnd3fD2Nt24t-yugon1lzoZ0B6Y49_eIbQbMp6raXI+37": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RiYThkN2M2LTdlY2ItNDQ3Yi1iZDY3LWEzNzlhYmEyM2VmOA==?api-version=2023-05-01\u0026t=2023-08-29T04%3a23%3a04\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=OSnogOHl0mp92lK1zrPGyBou59duukh0btmvWK2x8JaEu85A0BIVtjU4_2wcJXrTzTxPL5wToyEUz48YSskAOVqWsmFtMQoSHy9wOlEzD9XG56NPLJClTgmFi4KIBOuXzD2ya0EjBp9N34pJs5eV-TPsrl-fFwjspbwFDKDuYxFrt3YRhNdOAh1ix1vgD852_zdedoibYOXIzY7euShKQRTBPA9s7T4RRJDhYRYjAv7x62Ip8ythyUEJzAmJaJeCu3JBwIl3WFZrsuEH0rU2Y0JvwWXBRJTGefHgfUUyxxWoOhdl8qt8DHkQ1F5V_5rd25lNuRgHiWWmFSroiRRHHA\u0026h=Ces-UT-N5RVl8n8nB84rpM6TJvPC2rF9j4Sgp4T31Tc", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzRlZjQyZDMxLWY2NzctNDZhNS04MDg2LTQ4NzE3OTExODMxZg==?api-version=2023-11-01\u0026t=638390760977301184\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=AfVbTUyIY6JFL3IFhQ-dEnKWtgZ5bvH4XoK1uWUotu6PHyEM5ghKQ6NvZR3IWHMm7p41gHLmk7E_XpgDKs8qRNJr-QPLKTAaeu1YAdiWnzePZURljJ-29OllgtzNXNB8Xilq22162MrYgj4xB5u_dpsavDoAt7UIdYNUoI7NX2k2R6BBidrrce0kqRHUNseArfzRWPPbGU93qAY5Tk3qSmL9qimRrZvIU4FTjUsQsOzEK2LcLJFvEwJgAxKQlu5qWGe9nUXkeq-OyfwN_8rIDF8cu78nlOBohOSELt-VGlf6avLF_OjKIC_dJdSWo_kIY4ruLMmQTrMPHh-v_eeXhQ\u0026h=xnnd3fD2Nt24t-yugon1lzoZ0B6Y49_eIbQbMp6raXI", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "38" ], - "x-ms-client-request-id": [ "7cac4154-4d8a-4954-8b8d-168f06ad7717" ], - "CommandName": [ "Start-AzDataProtectionBackupInstanceRestore" ], + "x-ms-unique-id": [ "80" ], + "x-ms-client-request-id": [ "05edc310-ec83-4ff4-a117-88da10793abb" ], + "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -1575,34 +1533,34 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "998" ], - "x-ms-correlation-request-id": [ "269f310d-4e95-456d-93ca-e11c69ff8a49" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042334Z:269f310d-4e95-456d-93ca-e11c69ff8a49" ], - "Date": [ "Tue, 29 Aug 2023 04:23:34 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "996" ], + "x-ms-correlation-request-id": [ "a99bc4ea-12e3-4e1e-8ca2-a35b2a56098f" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044208Z:a99bc4ea-12e3-4e1e-8ca2-a35b2a56098f" ], + "Date": [ "Mon, 25 Dec 2023 04:42:07 GMT" ] }, "ContentHeaders": { "Content-Length": [ "739" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RiYThkN2M2LTdlY2ItNDQ3Yi1iZDY3LWEzNzlhYmEyM2VmOA==\",\"name\":\"ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RiYThkN2M2LTdlY2ItNDQ3Yi1iZDY3LWEzNzlhYmEyM2VmOA==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-29T04:23:03.8820842Z\",\"endTime\":\"2023-08-29T04:23:05Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzRlZjQyZDMxLWY2NzctNDZhNS04MDg2LTQ4NzE3OTExODMxZg==\",\"name\":\"ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzRlZjQyZDMxLWY2NzctNDZhNS04MDg2LTQ4NzE3OTExODMxZg==\",\"status\":\"Succeeded\",\"startTime\":\"2023-12-25T04:41:37.5673863Z\",\"endTime\":\"2023-12-25T04:41:38Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"objectType\":\"OperationJobExtendedInfo\"}}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RiYThkN2M2LTdlY2ItNDQ3Yi1iZDY3LWEzNzlhYmEyM2VmOA==?api-version=2023-05-01\u0026t=2023-08-29T04%3a23%3a04\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=TP4FXjijcT6gc7jc9CdlRyvX61hYrMuENSFkmRCvzIwxUWLgZgAUjeJUVxi20UFk7NSpXsLUX-l2BmMXUuAghrADzknwkHdY2Mxz-GIO7x7_nHeR0L65NHai6mubjS1P3hM0K9sdAmirB-qcFfAryEFoJAo3Vj_X4tysg_GlViSwivtPeRuQnuAjzBmO76bmvswyBCK7b1_aNQ2kuMg42RzvOuMIQyvRTPfHtbsq3HthLImyWQLkCuzVWv0Xg4ZtTmhMKNILssYdr6MBX6rohkxvZCKns_O4oGSEuGI-8c4tTrM0exQook2CKI2RU44hml3YuBxyclwQTBHtsNHUiw\u0026h=Z9SneLQxUjbDZ99Gj_NnpoRGv_-jzSjvJnODodJlBTc+39": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzRlZjQyZDMxLWY2NzctNDZhNS04MDg2LTQ4NzE3OTExODMxZg==?api-version=2023-11-01\u0026t=638390760977457464\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=DJt9yw8PGO-KoP8hKMfjn9b-rpfDcnAjomsEMenlksSJydyjNLUQ0w9ZAy1JSTiE035iV2ZQQJBeIo0fRLYgnH-sTYgRZu3lhWBFGD4b0Rm4IX8Tnyj4pMQsR-NeEmMw4BNAZu99ZTrSa_OiT1VWMMFwfNYk5CFsxxfhsSny8JrGCFUB83w_j76kY7ymm_v6FErhNjwN9hh28rF_lwYbj_x_VojG4hSmXQNJUNtvFtUPr_UimB5WWLLyya4G0TrNVc6BqOAmNXqDHpvL1oejs1O_IKwhA8gKdZ2W4IogUHLUuETiV3J6dYxT4NLKfa1i5EFtOacJjnrfx6zycpIF4g\u0026h=6Wj6QCJfSQ5RP6BZ9syOAXi4qeQjbxksNZIsAXzGvXY+38": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RiYThkN2M2LTdlY2ItNDQ3Yi1iZDY3LWEzNzlhYmEyM2VmOA==?api-version=2023-05-01\u0026t=2023-08-29T04%3a23%3a04\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=TP4FXjijcT6gc7jc9CdlRyvX61hYrMuENSFkmRCvzIwxUWLgZgAUjeJUVxi20UFk7NSpXsLUX-l2BmMXUuAghrADzknwkHdY2Mxz-GIO7x7_nHeR0L65NHai6mubjS1P3hM0K9sdAmirB-qcFfAryEFoJAo3Vj_X4tysg_GlViSwivtPeRuQnuAjzBmO76bmvswyBCK7b1_aNQ2kuMg42RzvOuMIQyvRTPfHtbsq3HthLImyWQLkCuzVWv0Xg4ZtTmhMKNILssYdr6MBX6rohkxvZCKns_O4oGSEuGI-8c4tTrM0exQook2CKI2RU44hml3YuBxyclwQTBHtsNHUiw\u0026h=Z9SneLQxUjbDZ99Gj_NnpoRGv_-jzSjvJnODodJlBTc", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzRlZjQyZDMxLWY2NzctNDZhNS04MDg2LTQ4NzE3OTExODMxZg==?api-version=2023-11-01\u0026t=638390760977457464\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=DJt9yw8PGO-KoP8hKMfjn9b-rpfDcnAjomsEMenlksSJydyjNLUQ0w9ZAy1JSTiE035iV2ZQQJBeIo0fRLYgnH-sTYgRZu3lhWBFGD4b0Rm4IX8Tnyj4pMQsR-NeEmMw4BNAZu99ZTrSa_OiT1VWMMFwfNYk5CFsxxfhsSny8JrGCFUB83w_j76kY7ymm_v6FErhNjwN9hh28rF_lwYbj_x_VojG4hSmXQNJUNtvFtUPr_UimB5WWLLyya4G0TrNVc6BqOAmNXqDHpvL1oejs1O_IKwhA8gKdZ2W4IogUHLUuETiV3J6dYxT4NLKfa1i5EFtOacJjnrfx6zycpIF4g\u0026h=6Wj6QCJfSQ5RP6BZ9syOAXi4qeQjbxksNZIsAXzGvXY", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "39" ], - "x-ms-client-request-id": [ "7cac4154-4d8a-4954-8b8d-168f06ad7717" ], - "CommandName": [ "Start-AzDataProtectionBackupInstanceRestore" ], + "x-ms-unique-id": [ "81" ], + "x-ms-client-request-id": [ "05edc310-ec83-4ff4-a117-88da10793abb" ], + "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -1613,39 +1571,39 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjO2RiYThkN2M2LTdlY2ItNDQ3Yi1iZDY3LWEzNzlhYmEyM2VmOA==?api-version=2023-05-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZjViOGE1NDItMDZjZi00NjY5LTg2OTgtODM2ZmIxN2JlMzNjOzRlZjQyZDMxLWY2NzctNDZhNS04MDg2LTQ4NzE3OTExODMxZg==?api-version=2023-11-01" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-correlation-request-id": [ "c4dcdc9b-6b66-44ae-8508-296bacb1c570" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042335Z:c4dcdc9b-6b66-44ae-8508-296bacb1c570" ], - "Date": [ "Tue, 29 Aug 2023 04:23:34 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], + "x-ms-correlation-request-id": [ "aaa1ca68-f1db-4583-9705-0c09ae516069" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044208Z:aaa1ca68-f1db-4583-9705-0c09ae516069" ], + "Date": [ "Mon, 25 Dec 2023 04:42:08 GMT" ] }, "ContentHeaders": { "Content-Length": [ "246" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+40": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+39": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "40" ], - "x-ms-client-request-id": [ "737ec4a0-16fd-4508-8f79-4ee186194ccf" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "82" ], + "x-ms-client-request-id": [ "ac1dd3d7-309c-48b6-8f3f-a8f44c147a1e" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1656,38 +1614,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "171" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "139" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "40c6dd01-2541-448c-aa38-12172a35b905" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042340Z:40c6dd01-2541-448c-aa38-12172a35b905" ], - "Date": [ "Tue, 29 Aug 2023 04:23:39 GMT" ] + "x-ms-correlation-request-id": [ "11e80a60-8e67-464d-bb0c-ff9db50bf583" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044214Z:11e80a60-8e67-464d-bb0c-ff9db50bf583" ], + "Date": [ "Mon, 25 Dec 2023 04:42:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+41": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+40": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "41" ], - "x-ms-client-request-id": [ "0dd89bbe-1ea3-44d4-90f3-32da0a7a6a5a" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "83" ], + "x-ms-client-request-id": [ "ebbc25bb-d4b7-45ca-8604-bba357ac0629" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1698,38 +1656,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "170" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "138" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "3f2fd316-3a23-4e5a-b974-7753267e7e8a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042346Z:3f2fd316-3a23-4e5a-b974-7753267e7e8a" ], - "Date": [ "Tue, 29 Aug 2023 04:23:46 GMT" ] + "x-ms-correlation-request-id": [ "8eb0aea3-466b-423f-ab68-d1e1928af83e" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044220Z:8eb0aea3-466b-423f-ab68-d1e1928af83e" ], + "Date": [ "Mon, 25 Dec 2023 04:42:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+42": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+41": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "42" ], - "x-ms-client-request-id": [ "805dd69f-f384-4ffc-85b1-189ea6b60cd5" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "84" ], + "x-ms-client-request-id": [ "0112e0c3-e753-4621-b5d1-c87dc21aa378" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1740,38 +1698,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "169" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "137" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "a4da4d73-f4b0-4e4d-b371-a53dc257b58e" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042352Z:a4da4d73-f4b0-4e4d-b371-a53dc257b58e" ], - "Date": [ "Tue, 29 Aug 2023 04:23:52 GMT" ] + "x-ms-correlation-request-id": [ "f54ebdad-a7e2-4ab3-b80c-8ad41cbf754b" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044226Z:f54ebdad-a7e2-4ab3-b80c-8ad41cbf754b" ], + "Date": [ "Mon, 25 Dec 2023 04:42:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+43": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+42": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "43" ], - "x-ms-client-request-id": [ "f0d54ec6-c1dc-4417-ad1e-8f89817dadb2" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "85" ], + "x-ms-client-request-id": [ "b510a3ff-d40e-42f2-85ce-e9376055a557" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1782,38 +1740,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "168" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "136" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "75054a50-efc7-46e0-b5ff-6cfeb30efa87" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042358Z:75054a50-efc7-46e0-b5ff-6cfeb30efa87" ], - "Date": [ "Tue, 29 Aug 2023 04:23:57 GMT" ] + "x-ms-correlation-request-id": [ "68b8a3af-c88e-48ef-a349-14d872ac2816" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044231Z:68b8a3af-c88e-48ef-a349-14d872ac2816" ], + "Date": [ "Mon, 25 Dec 2023 04:42:31 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+44": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+43": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "44" ], - "x-ms-client-request-id": [ "a1db35b4-66d4-4d10-bfa6-94054c287059" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "86" ], + "x-ms-client-request-id": [ "f133fbe4-6dd8-4d2d-86a0-14948bd143ec" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1824,38 +1782,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "167" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "ab554918-84bc-4e2b-aee0-49536a48ffc4" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042403Z:ab554918-84bc-4e2b-aee0-49536a48ffc4" ], - "Date": [ "Tue, 29 Aug 2023 04:24:03 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "135" ], + "x-ms-correlation-request-id": [ "5bd17888-1a7d-4270-8285-6fef57f99399" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044237Z:5bd17888-1a7d-4270-8285-6fef57f99399" ], + "Date": [ "Mon, 25 Dec 2023 04:42:36 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+45": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+44": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "45" ], - "x-ms-client-request-id": [ "b0792b00-187d-4b14-aecd-dcb1a05b73ae" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "87" ], + "x-ms-client-request-id": [ "72334dfc-2e07-4aef-a38d-c0c8c58aee3a" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1866,38 +1824,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "166" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "134" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "c1c59f32-9e89-4ab5-a535-9f9827cda939" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042409Z:c1c59f32-9e89-4ab5-a535-9f9827cda939" ], - "Date": [ "Tue, 29 Aug 2023 04:24:08 GMT" ] + "x-ms-correlation-request-id": [ "4270508a-8721-4ab6-979e-95db923cd492" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044244Z:4270508a-8721-4ab6-979e-95db923cd492" ], + "Date": [ "Mon, 25 Dec 2023 04:42:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+46": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+45": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "46" ], - "x-ms-client-request-id": [ "09175177-7f71-43d4-b2af-66b416112019" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "88" ], + "x-ms-client-request-id": [ "7fadd1b7-4058-4506-becc-4746628ad80e" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1908,38 +1866,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "165" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "133" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "fc1fee61-7a49-45d9-935b-5f2f9288646e" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042415Z:fc1fee61-7a49-45d9-935b-5f2f9288646e" ], - "Date": [ "Tue, 29 Aug 2023 04:24:14 GMT" ] + "x-ms-correlation-request-id": [ "a85ee2c7-4ef3-4937-a771-97c2cd099e15" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044250Z:a85ee2c7-4ef3-4937-a771-97c2cd099e15" ], + "Date": [ "Mon, 25 Dec 2023 04:42:50 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+47": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+46": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "47" ], - "x-ms-client-request-id": [ "3c8d177d-edc0-45d0-a79e-ac556c578e61" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "89" ], + "x-ms-client-request-id": [ "1aee47c6-5361-4f19-a7c7-bd1b314eec23" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1950,38 +1908,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "164" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "132" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "4707614f-e28d-448a-86c4-0ed59e17a429" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042420Z:4707614f-e28d-448a-86c4-0ed59e17a429" ], - "Date": [ "Tue, 29 Aug 2023 04:24:20 GMT" ] + "x-ms-correlation-request-id": [ "1988f32a-3597-47ec-bbb5-8ac2d256624c" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044256Z:1988f32a-3597-47ec-bbb5-8ac2d256624c" ], + "Date": [ "Mon, 25 Dec 2023 04:42:55 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+48": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+47": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "48" ], - "x-ms-client-request-id": [ "fe212232-a2ac-429f-b7ca-d6937e34d245" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "90" ], + "x-ms-client-request-id": [ "0a504509-7038-4232-a3db-a0b85eae187c" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1992,38 +1950,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "163" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "131" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "9c6e0d50-2bd7-47ea-a741-2daadcb0b062" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042426Z:9c6e0d50-2bd7-47ea-a741-2daadcb0b062" ], - "Date": [ "Tue, 29 Aug 2023 04:24:26 GMT" ] + "x-ms-correlation-request-id": [ "c6a1489b-ca49-4c8a-b8c6-20ac6df8fbac" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044301Z:c6a1489b-ca49-4c8a-b8c6-20ac6df8fbac" ], + "Date": [ "Mon, 25 Dec 2023 04:43:01 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+49": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+48": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "49" ], - "x-ms-client-request-id": [ "53d1f6dc-2a87-4ace-8da3-fc7f8dc3b7ba" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "91" ], + "x-ms-client-request-id": [ "84d3daab-77cb-4848-9b77-0f1dc95bc082" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2034,38 +1992,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "162" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "130" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "f0202f7c-8811-4146-8da5-3e0cf08892a6" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042432Z:f0202f7c-8811-4146-8da5-3e0cf08892a6" ], - "Date": [ "Tue, 29 Aug 2023 04:24:31 GMT" ] + "x-ms-correlation-request-id": [ "3e3a4853-a368-4995-b0f0-24c3ea73956a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044307Z:3e3a4853-a368-4995-b0f0-24c3ea73956a" ], + "Date": [ "Mon, 25 Dec 2023 04:43:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+50": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+49": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "50" ], - "x-ms-client-request-id": [ "0b2dce4f-9417-4d56-9e76-ef27a1b912e0" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "92" ], + "x-ms-client-request-id": [ "572f3ec5-606b-4d1b-8f55-4444db10ccfc" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2076,38 +2034,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "161" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "129" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "c3ccfdde-ecf5-43ad-a821-02f258082e29" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042437Z:c3ccfdde-ecf5-43ad-a821-02f258082e29" ], - "Date": [ "Tue, 29 Aug 2023 04:24:37 GMT" ] + "x-ms-correlation-request-id": [ "567d5657-c344-4dff-94c3-4a8c199817ee" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044313Z:567d5657-c344-4dff-94c3-4a8c199817ee" ], + "Date": [ "Mon, 25 Dec 2023 04:43:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+51": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+50": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "51" ], - "x-ms-client-request-id": [ "1b1b5e59-953d-4ca1-92ad-e8f52c383630" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "93" ], + "x-ms-client-request-id": [ "4426896c-b9d4-4b02-b1fe-ad9f713203f4" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2118,38 +2076,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "160" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "128" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "3e9248bb-63b2-4921-a812-a5715cdb96ae" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042443Z:3e9248bb-63b2-4921-a812-a5715cdb96ae" ], - "Date": [ "Tue, 29 Aug 2023 04:24:43 GMT" ] + "x-ms-correlation-request-id": [ "39809034-287e-49ed-b01c-b3bca1c05c0f" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044318Z:39809034-287e-49ed-b01c-b3bca1c05c0f" ], + "Date": [ "Mon, 25 Dec 2023 04:43:18 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+52": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+51": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "52" ], - "x-ms-client-request-id": [ "1fbebd9b-a06f-49dd-9fa2-af622759dda0" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "94" ], + "x-ms-client-request-id": [ "b766da65-dc62-4091-8fc5-19ee34dc0c65" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2160,38 +2118,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "159" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "127" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "87d3e221-4c4b-4363-9087-89968b87d163" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042449Z:87d3e221-4c4b-4363-9087-89968b87d163" ], - "Date": [ "Tue, 29 Aug 2023 04:24:49 GMT" ] + "x-ms-correlation-request-id": [ "6f85055e-ee2f-4ae6-9ee0-622637115233" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044324Z:6f85055e-ee2f-4ae6-9ee0-622637115233" ], + "Date": [ "Mon, 25 Dec 2023 04:43:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+53": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+52": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "53" ], - "x-ms-client-request-id": [ "8f2fc67d-4b74-4fb1-a9f3-8dec4d413327" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "95" ], + "x-ms-client-request-id": [ "68f15283-e972-4d2f-bcb6-a7e30c788887" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2202,38 +2160,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "158" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "126" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "875d1a71-6b99-4be3-b439-97283bb3adec" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042455Z:875d1a71-6b99-4be3-b439-97283bb3adec" ], - "Date": [ "Tue, 29 Aug 2023 04:24:54 GMT" ] + "x-ms-correlation-request-id": [ "25e041ee-d58f-4fd2-8ea4-2a18f07188c2" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044330Z:25e041ee-d58f-4fd2-8ea4-2a18f07188c2" ], + "Date": [ "Mon, 25 Dec 2023 04:43:29 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+54": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+53": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "54" ], - "x-ms-client-request-id": [ "2c25a449-846a-4c34-adea-97bd1bce0610" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "96" ], + "x-ms-client-request-id": [ "e1f88adc-813b-4af1-be1c-447624bb9da9" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2244,38 +2202,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "157" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "125" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "89284e1f-6c9a-4206-8072-19bc349a294b" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042501Z:89284e1f-6c9a-4206-8072-19bc349a294b" ], - "Date": [ "Tue, 29 Aug 2023 04:25:00 GMT" ] + "x-ms-correlation-request-id": [ "3f64a4a4-3523-4585-88a4-9024941ca40c" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044336Z:3f64a4a4-3523-4585-88a4-9024941ca40c" ], + "Date": [ "Mon, 25 Dec 2023 04:43:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+55": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+54": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "55" ], - "x-ms-client-request-id": [ "06b78579-4f7c-40cc-888e-499a0c8d235e" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "97" ], + "x-ms-client-request-id": [ "264fe2b6-1f68-4140-b4bc-19a7b049a0d5" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2286,38 +2244,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "156" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "124" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "c2bce469-7661-40e3-9c76-1b3e9808638f" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042506Z:c2bce469-7661-40e3-9c76-1b3e9808638f" ], - "Date": [ "Tue, 29 Aug 2023 04:25:05 GMT" ] + "x-ms-correlation-request-id": [ "386b6d19-f6c9-417b-988b-97e667b3231f" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044341Z:386b6d19-f6c9-417b-988b-97e667b3231f" ], + "Date": [ "Mon, 25 Dec 2023 04:43:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+56": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+55": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "56" ], - "x-ms-client-request-id": [ "c9f97af8-7ee3-4b4b-bca1-b05f38564544" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "98" ], + "x-ms-client-request-id": [ "c09faec2-f199-4bb2-8f01-e418d7c50de8" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2328,38 +2286,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "155" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "123" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "ce527f52-c616-4524-86d2-02d83500f2e8" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042512Z:ce527f52-c616-4524-86d2-02d83500f2e8" ], - "Date": [ "Tue, 29 Aug 2023 04:25:12 GMT" ] + "x-ms-correlation-request-id": [ "d0b7dee9-a6cb-4209-bd4e-0403fab6d9fe" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044347Z:d0b7dee9-a6cb-4209-bd4e-0403fab6d9fe" ], + "Date": [ "Mon, 25 Dec 2023 04:43:47 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+57": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+56": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "57" ], - "x-ms-client-request-id": [ "a49eed6a-38b9-4d36-b613-4434bcf466bb" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "99" ], + "x-ms-client-request-id": [ "d2b1e358-7d05-4a7e-ace0-e53459c51435" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2370,38 +2328,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "154" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "122" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "0cbf3f89-e65a-496a-a477-ea368ece4e2e" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042518Z:0cbf3f89-e65a-496a-a477-ea368ece4e2e" ], - "Date": [ "Tue, 29 Aug 2023 04:25:17 GMT" ] + "x-ms-correlation-request-id": [ "a79a10d6-985a-44ce-a2ee-48ba06b07d0c" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044353Z:a79a10d6-985a-44ce-a2ee-48ba06b07d0c" ], + "Date": [ "Mon, 25 Dec 2023 04:43:53 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+58": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+57": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "58" ], - "x-ms-client-request-id": [ "6f5a923f-c508-45ce-8731-7d0df437939f" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "100" ], + "x-ms-client-request-id": [ "dd658785-9c7f-42be-acbf-1ea69f1adb34" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2412,38 +2370,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "153" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "121" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "2ad83230-a0f5-4806-8291-c56c086ad550" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042523Z:2ad83230-a0f5-4806-8291-c56c086ad550" ], - "Date": [ "Tue, 29 Aug 2023 04:25:23 GMT" ] + "x-ms-correlation-request-id": [ "217db422-07b0-41d6-8528-1128b1315783" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044359Z:217db422-07b0-41d6-8528-1128b1315783" ], + "Date": [ "Mon, 25 Dec 2023 04:43:58 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+59": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+58": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "59" ], - "x-ms-client-request-id": [ "490bc51a-d6a6-444c-b903-91ece354fe5b" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "101" ], + "x-ms-client-request-id": [ "50d486b2-66d4-4899-965c-aa27508671d0" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2454,38 +2412,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "152" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "120" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "3a264f42-b685-4359-8239-b4d800ec8348" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042529Z:3a264f42-b685-4359-8239-b4d800ec8348" ], - "Date": [ "Tue, 29 Aug 2023 04:25:28 GMT" ] + "x-ms-correlation-request-id": [ "76f7cd64-5a68-46a2-a282-67a3135e5be6" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044405Z:76f7cd64-5a68-46a2-a282-67a3135e5be6" ], + "Date": [ "Mon, 25 Dec 2023 04:44:04 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+60": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+59": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "60" ], - "x-ms-client-request-id": [ "08b9df71-99ab-436e-8368-0b4666e4ad90" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "102" ], + "x-ms-client-request-id": [ "42034c14-589f-4a24-8f38-00b172dc9c0b" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2496,38 +2454,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "151" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "119" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "cb07590b-9d03-427a-a7f1-87449d4fb3b1" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042535Z:cb07590b-9d03-427a-a7f1-87449d4fb3b1" ], - "Date": [ "Tue, 29 Aug 2023 04:25:34 GMT" ] + "x-ms-correlation-request-id": [ "37fbea7a-d2a0-4936-aa9a-6f5cb9fd7060" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044410Z:37fbea7a-d2a0-4936-aa9a-6f5cb9fd7060" ], + "Date": [ "Mon, 25 Dec 2023 04:44:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+61": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+60": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "61" ], - "x-ms-client-request-id": [ "fbb68cd1-2e37-44a7-8c24-8d239e5f55a8" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "103" ], + "x-ms-client-request-id": [ "7e043923-fdd5-4d76-9553-480e4444eecc" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2538,38 +2496,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "150" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "118" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "9863e329-eb6d-4dbd-ae93-f31d2e90395a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042541Z:9863e329-eb6d-4dbd-ae93-f31d2e90395a" ], - "Date": [ "Tue, 29 Aug 2023 04:25:40 GMT" ] + "x-ms-correlation-request-id": [ "2e77e7ed-2a20-473e-9354-effd55e08249" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044416Z:2e77e7ed-2a20-473e-9354-effd55e08249" ], + "Date": [ "Mon, 25 Dec 2023 04:44:16 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+62": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+61": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "62" ], - "x-ms-client-request-id": [ "276a4350-b2bd-4a5b-a5cd-c0bd9e36ffbe" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "104" ], + "x-ms-client-request-id": [ "f028dc76-518b-47a7-9abc-836f830afed1" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2580,38 +2538,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "117" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "149" ], - "x-ms-correlation-request-id": [ "e0f89bb2-2a36-49ee-8b3c-355eb6b2de3c" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042546Z:e0f89bb2-2a36-49ee-8b3c-355eb6b2de3c" ], - "Date": [ "Tue, 29 Aug 2023 04:25:46 GMT" ] + "x-ms-correlation-request-id": [ "db202018-cb8c-4e48-8adb-ca4ea8e3e1f0" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044422Z:db202018-cb8c-4e48-8adb-ca4ea8e3e1f0" ], + "Date": [ "Mon, 25 Dec 2023 04:44:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+63": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+62": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "63" ], - "x-ms-client-request-id": [ "0a893b0d-6c1e-499d-b672-22b87d8ec75d" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "105" ], + "x-ms-client-request-id": [ "dad21814-36c0-4280-be84-92093d156603" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2622,38 +2580,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "148" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "116" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "876f6e3a-0f7f-4502-84d5-eb803c241272" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042553Z:876f6e3a-0f7f-4502-84d5-eb803c241272" ], - "Date": [ "Tue, 29 Aug 2023 04:25:53 GMT" ] + "x-ms-correlation-request-id": [ "b8c26526-4567-4cf9-84fd-a34c92c170fc" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044428Z:b8c26526-4567-4cf9-84fd-a34c92c170fc" ], + "Date": [ "Mon, 25 Dec 2023 04:44:27 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+64": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+63": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "64" ], - "x-ms-client-request-id": [ "07bc18ff-ac61-42ab-8c3f-9fa7989e62c7" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "106" ], + "x-ms-client-request-id": [ "574c186d-3cb2-4566-96a8-8d66843a68c1" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2664,38 +2622,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "147" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "115" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "d1799a41-bd75-41fc-89ba-56e135c60dd4" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042559Z:d1799a41-bd75-41fc-89ba-56e135c60dd4" ], - "Date": [ "Tue, 29 Aug 2023 04:25:59 GMT" ] + "x-ms-correlation-request-id": [ "fd1a9ff6-d832-4306-b4be-6a28fbf2b2c8" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044433Z:fd1a9ff6-d832-4306-b4be-6a28fbf2b2c8" ], + "Date": [ "Mon, 25 Dec 2023 04:44:33 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+65": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+64": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "65" ], - "x-ms-client-request-id": [ "78fe6253-e6bf-42ef-b217-606fb2ee7cf9" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "107" ], + "x-ms-client-request-id": [ "aec8ce88-b861-4edf-a378-5d74f62b5ed3" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2706,38 +2664,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "146" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "114" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "10a02373-373e-4a90-b8ae-88d1eba6087e" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042605Z:10a02373-373e-4a90-b8ae-88d1eba6087e" ], - "Date": [ "Tue, 29 Aug 2023 04:26:04 GMT" ] + "x-ms-correlation-request-id": [ "542aa727-57a3-43c0-b51a-7f006e77f5fe" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044439Z:542aa727-57a3-43c0-b51a-7f006e77f5fe" ], + "Date": [ "Mon, 25 Dec 2023 04:44:39 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+66": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+65": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "66" ], - "x-ms-client-request-id": [ "30c6ebd0-29a4-40d5-8115-0b53532e90e3" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "108" ], + "x-ms-client-request-id": [ "1583ada4-f448-42b8-90ca-0b11135cf38b" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2748,38 +2706,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "145" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "113" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "608318a6-4e05-475f-89f9-c8b47f0926d0" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042611Z:608318a6-4e05-475f-89f9-c8b47f0926d0" ], - "Date": [ "Tue, 29 Aug 2023 04:26:10 GMT" ] + "x-ms-correlation-request-id": [ "86d59499-527e-4bf5-9973-7de3dc718b3a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044445Z:86d59499-527e-4bf5-9973-7de3dc718b3a" ], + "Date": [ "Mon, 25 Dec 2023 04:44:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+67": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+66": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "67" ], - "x-ms-client-request-id": [ "c8604dee-3c96-4784-8aac-e9eb8ffe4b2c" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "109" ], + "x-ms-client-request-id": [ "edfe61f8-117c-476f-bee1-9877d5d8adab" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2790,38 +2748,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "144" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "112" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "47bb340b-7da3-4dfd-9aa6-6a6e2394f62f" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042616Z:47bb340b-7da3-4dfd-9aa6-6a6e2394f62f" ], - "Date": [ "Tue, 29 Aug 2023 04:26:16 GMT" ] + "x-ms-correlation-request-id": [ "a089408a-dfa4-4e3c-b308-85a228ce5adb" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044451Z:a089408a-dfa4-4e3c-b308-85a228ce5adb" ], + "Date": [ "Mon, 25 Dec 2023 04:44:50 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+68": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+67": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "68" ], - "x-ms-client-request-id": [ "358878fc-ae24-4e32-9ebc-111409db8db0" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "110" ], + "x-ms-client-request-id": [ "913b3d06-d556-45e3-9de7-d113e2b086fe" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2832,38 +2790,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "143" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "111" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "6ac777e6-f30e-49fb-9c72-e8a0cf5c90f7" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042622Z:6ac777e6-f30e-49fb-9c72-e8a0cf5c90f7" ], - "Date": [ "Tue, 29 Aug 2023 04:26:21 GMT" ] + "x-ms-correlation-request-id": [ "2eb2ea24-d531-45d1-ad0b-cf87f2f4bbb1" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044456Z:2eb2ea24-d531-45d1-ad0b-cf87f2f4bbb1" ], + "Date": [ "Mon, 25 Dec 2023 04:44:55 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+69": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+68": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "69" ], - "x-ms-client-request-id": [ "0a5015a2-39ad-41f5-adad-3d7ed2ec10ad" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "111" ], + "x-ms-client-request-id": [ "2dac3698-ff2c-456f-a26e-ec67a3758dbd" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2874,38 +2832,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "142" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "110" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "e55bc6d0-1978-430c-98f7-63009649fa77" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042628Z:e55bc6d0-1978-430c-98f7-63009649fa77" ], - "Date": [ "Tue, 29 Aug 2023 04:26:27 GMT" ] + "x-ms-correlation-request-id": [ "da94dce2-e456-4c63-aade-a8ca7d76da7c" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044502Z:da94dce2-e456-4c63-aade-a8ca7d76da7c" ], + "Date": [ "Mon, 25 Dec 2023 04:45:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+70": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+69": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "70" ], - "x-ms-client-request-id": [ "db5ef8e0-fa3c-4f62-85a1-2a6a20110627" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "112" ], + "x-ms-client-request-id": [ "9fc64880-37a3-441e-9362-4f0629587d01" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2916,38 +2874,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "141" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "109" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "3646fbce-f208-4e9c-b9f7-81a6a54aa9a7" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042634Z:3646fbce-f208-4e9c-b9f7-81a6a54aa9a7" ], - "Date": [ "Tue, 29 Aug 2023 04:26:33 GMT" ] + "x-ms-correlation-request-id": [ "4559ffbc-41cc-4170-a581-25ee0ca224b5" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044508Z:4559ffbc-41cc-4170-a581-25ee0ca224b5" ], + "Date": [ "Mon, 25 Dec 2023 04:45:08 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+71": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+70": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "71" ], - "x-ms-client-request-id": [ "94adda44-6397-485a-99fb-06b01dd37ddc" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "113" ], + "x-ms-client-request-id": [ "a28d971e-9cbb-42bc-abe2-616360db8522" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2958,38 +2916,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "140" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "108" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "d1f375a5-f44d-4d33-97f0-3abec2351406" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042639Z:d1f375a5-f44d-4d33-97f0-3abec2351406" ], - "Date": [ "Tue, 29 Aug 2023 04:26:39 GMT" ] + "x-ms-correlation-request-id": [ "8be279fd-6e4c-4c21-a6b7-7de395571449" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044514Z:8be279fd-6e4c-4c21-a6b7-7de395571449" ], + "Date": [ "Mon, 25 Dec 2023 04:45:13 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+72": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+71": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "72" ], - "x-ms-client-request-id": [ "2f488671-d131-4829-8fde-b30bcee280cf" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "114" ], + "x-ms-client-request-id": [ "780ba652-5474-43c4-b50f-a0acb382a7cc" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3000,38 +2958,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "139" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "107" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "057d1571-e4ed-4322-a656-ca24265a09e7" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042645Z:057d1571-e4ed-4322-a656-ca24265a09e7" ], - "Date": [ "Tue, 29 Aug 2023 04:26:44 GMT" ] + "x-ms-correlation-request-id": [ "d8ff0240-e303-4d2a-bb2d-1e8efd62596c" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044519Z:d8ff0240-e303-4d2a-bb2d-1e8efd62596c" ], + "Date": [ "Mon, 25 Dec 2023 04:45:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+73": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+72": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "73" ], - "x-ms-client-request-id": [ "56056df7-ad3d-4d75-a2a5-b7741c52e606" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "115" ], + "x-ms-client-request-id": [ "fb275455-70b6-4f1d-9aa1-8d0800cceeb9" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3042,38 +3000,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "138" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "106" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "df5e6d4a-339a-4711-875f-2c0ab1208728" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042651Z:df5e6d4a-339a-4711-875f-2c0ab1208728" ], - "Date": [ "Tue, 29 Aug 2023 04:26:50 GMT" ] + "x-ms-correlation-request-id": [ "5c58bd9b-2c3d-4b0e-9340-f6633cd63e0c" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044525Z:5c58bd9b-2c3d-4b0e-9340-f6633cd63e0c" ], + "Date": [ "Mon, 25 Dec 2023 04:45:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+74": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+73": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "74" ], - "x-ms-client-request-id": [ "6518c863-ca9a-4e21-9bfb-5461bf391281" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "116" ], + "x-ms-client-request-id": [ "fbdd240e-d864-4c75-9277-cb92812e110c" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3084,38 +3042,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "137" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "105" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "63060dac-8772-4e4b-974b-2dea77a05a87" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042656Z:63060dac-8772-4e4b-974b-2dea77a05a87" ], - "Date": [ "Tue, 29 Aug 2023 04:26:56 GMT" ] + "x-ms-correlation-request-id": [ "6361fd11-a952-43d0-8796-09262be32fda" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044531Z:6361fd11-a952-43d0-8796-09262be32fda" ], + "Date": [ "Mon, 25 Dec 2023 04:45:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+75": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+74": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "75" ], - "x-ms-client-request-id": [ "102fb530-77b0-42b4-a2c4-f600a8411126" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "117" ], + "x-ms-client-request-id": [ "4b695193-3c48-429b-8903-f5222b232ca8" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3126,38 +3084,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "136" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "104" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "7ecab5b5-fd00-44a6-b98d-f40688d1e424" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042702Z:7ecab5b5-fd00-44a6-b98d-f40688d1e424" ], - "Date": [ "Tue, 29 Aug 2023 04:27:02 GMT" ] + "x-ms-correlation-request-id": [ "1429fd21-b698-46fe-a0d8-5ee650a0b163" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044536Z:1429fd21-b698-46fe-a0d8-5ee650a0b163" ], + "Date": [ "Mon, 25 Dec 2023 04:45:36 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+76": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+75": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "76" ], - "x-ms-client-request-id": [ "8a288be4-9698-4324-9569-4bd088338db1" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "118" ], + "x-ms-client-request-id": [ "ff3b5698-2234-45bf-af92-df76a869039e" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3168,38 +3126,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "135" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "103" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "19841c5d-f0ec-4e57-a0a3-f182a56727b4" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042708Z:19841c5d-f0ec-4e57-a0a3-f182a56727b4" ], - "Date": [ "Tue, 29 Aug 2023 04:27:07 GMT" ] + "x-ms-correlation-request-id": [ "a775a682-791e-40c5-a2bd-7c84ef35f0c7" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044542Z:a775a682-791e-40c5-a2bd-7c84ef35f0c7" ], + "Date": [ "Mon, 25 Dec 2023 04:45:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+77": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+76": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "77" ], - "x-ms-client-request-id": [ "826110cf-a4fb-482e-9bb3-2cb75f399424" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "119" ], + "x-ms-client-request-id": [ "e4a876b2-703a-4ae8-a92c-fe1ab0c629c6" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3210,38 +3168,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "134" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "102" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "4e4c6dcd-3261-45b8-ba17-f992bc114c41" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042714Z:4e4c6dcd-3261-45b8-ba17-f992bc114c41" ], - "Date": [ "Tue, 29 Aug 2023 04:27:13 GMT" ] + "x-ms-correlation-request-id": [ "0328ccc5-b4f7-46be-947a-5a8441cbeaa5" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044548Z:0328ccc5-b4f7-46be-947a-5a8441cbeaa5" ], + "Date": [ "Mon, 25 Dec 2023 04:45:48 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+78": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+77": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "78" ], - "x-ms-client-request-id": [ "f85fbd9e-8e6e-4059-8333-7d0367113f60" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "120" ], + "x-ms-client-request-id": [ "ab9ef5ac-3e8d-4258-80c1-254aeeffc052" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3252,38 +3210,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "133" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "101" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "0700da2a-0b22-4873-9d99-3042faf893a6" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042719Z:0700da2a-0b22-4873-9d99-3042faf893a6" ], - "Date": [ "Tue, 29 Aug 2023 04:27:19 GMT" ] + "x-ms-correlation-request-id": [ "e4cc698d-7058-4789-819d-d67ddd4727bc" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044554Z:e4cc698d-7058-4789-819d-d67ddd4727bc" ], + "Date": [ "Mon, 25 Dec 2023 04:45:54 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+79": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+78": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "79" ], - "x-ms-client-request-id": [ "6bcbfbe2-30e9-475b-9a55-2edba82f0d44" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "121" ], + "x-ms-client-request-id": [ "9529d8c9-925d-41b8-9980-62c4496b4ad0" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3294,38 +3252,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "132" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "100" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "28699293-d6fb-4b81-920c-76e741a70ad3" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042725Z:28699293-d6fb-4b81-920c-76e741a70ad3" ], - "Date": [ "Tue, 29 Aug 2023 04:27:24 GMT" ] + "x-ms-correlation-request-id": [ "e92d9bcd-8965-45d6-aba1-ca435b9ad156" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044600Z:e92d9bcd-8965-45d6-aba1-ca435b9ad156" ], + "Date": [ "Mon, 25 Dec 2023 04:45:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+80": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+79": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "80" ], - "x-ms-client-request-id": [ "1ffb2b07-8586-4c82-80f9-88976ca2246d" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "122" ], + "x-ms-client-request-id": [ "978c40ad-7078-4eef-9a5c-4090d24ef503" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3336,38 +3294,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "131" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "97b829e1-f508-4e15-b744-38780f05b855" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042731Z:97b829e1-f508-4e15-b744-38780f05b855" ], - "Date": [ "Tue, 29 Aug 2023 04:27:31 GMT" ] + "x-ms-correlation-request-id": [ "77121456-fe61-4cfb-bb57-4e44ecc10b79" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044605Z:77121456-fe61-4cfb-bb57-4e44ecc10b79" ], + "Date": [ "Mon, 25 Dec 2023 04:46:05 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+81": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+80": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "81" ], - "x-ms-client-request-id": [ "744efc94-4abb-4644-97ca-b123abbc31ee" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "123" ], + "x-ms-client-request-id": [ "fa96e51a-c909-476b-b26e-7461131dd03c" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3378,38 +3336,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "130" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "98" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "d24fa4e4-9541-47a7-afeb-74b35c207f8d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042739Z:d24fa4e4-9541-47a7-afeb-74b35c207f8d" ], - "Date": [ "Tue, 29 Aug 2023 04:27:38 GMT" ] + "x-ms-correlation-request-id": [ "1c6ecddb-12d2-40b4-ad1b-7eb0a2c22257" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044611Z:1c6ecddb-12d2-40b4-ad1b-7eb0a2c22257" ], + "Date": [ "Mon, 25 Dec 2023 04:46:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+82": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+81": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "82" ], - "x-ms-client-request-id": [ "69863fc4-21e2-41f6-868a-fc63900c30dd" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "124" ], + "x-ms-client-request-id": [ "62984a17-5672-4c9b-bebf-ba3f7d197471" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3420,38 +3378,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "129" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "97" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "849e8f22-459c-4bec-b3e0-e9aaf58a8a3c" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042744Z:849e8f22-459c-4bec-b3e0-e9aaf58a8a3c" ], - "Date": [ "Tue, 29 Aug 2023 04:27:44 GMT" ] + "x-ms-correlation-request-id": [ "d0a00fd4-92f0-45ce-999c-8a4095cb6e5a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044617Z:d0a00fd4-92f0-45ce-999c-8a4095cb6e5a" ], + "Date": [ "Mon, 25 Dec 2023 04:46:16 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+83": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+82": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "83" ], - "x-ms-client-request-id": [ "49b57395-c258-47e1-b56a-7f870fee319e" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "125" ], + "x-ms-client-request-id": [ "cad0d53d-3d83-4438-a6b1-2333a0e69148" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3462,38 +3420,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "128" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "96" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "7da7a33a-7d6b-428b-ba7d-edfdfe2fe47d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042750Z:7da7a33a-7d6b-428b-ba7d-edfdfe2fe47d" ], - "Date": [ "Tue, 29 Aug 2023 04:27:50 GMT" ] + "x-ms-correlation-request-id": [ "c8b35046-db3b-46c2-82bf-25ee9b8d55b9" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044623Z:c8b35046-db3b-46c2-82bf-25ee9b8d55b9" ], + "Date": [ "Mon, 25 Dec 2023 04:46:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+84": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+83": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "84" ], - "x-ms-client-request-id": [ "be711056-6fe3-4581-b428-8947dd0b23c8" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "126" ], + "x-ms-client-request-id": [ "45323c2d-a898-435d-b523-665ded8bfcc0" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3504,38 +3462,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "127" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "95" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "909b965f-0397-4b3a-b88e-b47a2af6497b" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042756Z:909b965f-0397-4b3a-b88e-b47a2af6497b" ], - "Date": [ "Tue, 29 Aug 2023 04:27:55 GMT" ] + "x-ms-correlation-request-id": [ "de7d7bbf-02d3-4125-b576-b9e3ac66a84c" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044628Z:de7d7bbf-02d3-4125-b576-b9e3ac66a84c" ], + "Date": [ "Mon, 25 Dec 2023 04:46:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+85": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+84": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "85" ], - "x-ms-client-request-id": [ "77f211be-5bc3-4e81-8de6-7d8b693e21b9" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "127" ], + "x-ms-client-request-id": [ "6afc6f40-f073-40a4-8d4b-438c2bb0dc84" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3546,38 +3504,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "126" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "94" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "61445fe1-df7b-43db-9e90-95c11f9f6421" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042801Z:61445fe1-df7b-43db-9e90-95c11f9f6421" ], - "Date": [ "Tue, 29 Aug 2023 04:28:01 GMT" ] + "x-ms-correlation-request-id": [ "fc4acff0-2a51-4299-ae93-25f1a6ac8a43" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044634Z:fc4acff0-2a51-4299-ae93-25f1a6ac8a43" ], + "Date": [ "Mon, 25 Dec 2023 04:46:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+86": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+85": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "86" ], - "x-ms-client-request-id": [ "aa59f14b-a962-46e3-9511-821051b04b2d" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "128" ], + "x-ms-client-request-id": [ "a3f5a662-c504-4960-ae33-50e7b5610434" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3588,38 +3546,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "125" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "93" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "4858b7cb-7aaa-4896-b150-3c8d752c8a68" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042808Z:4858b7cb-7aaa-4896-b150-3c8d752c8a68" ], - "Date": [ "Tue, 29 Aug 2023 04:28:07 GMT" ] + "x-ms-correlation-request-id": [ "3044e979-0511-4aa4-ae1c-fe0fec890036" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044640Z:3044e979-0511-4aa4-ae1c-fe0fec890036" ], + "Date": [ "Mon, 25 Dec 2023 04:46:39 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+87": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+86": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "87" ], - "x-ms-client-request-id": [ "10d149b0-70c2-4319-9bf0-550da423a1ff" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "129" ], + "x-ms-client-request-id": [ "c40b7acc-d5da-409e-aef6-9e20dec9ea21" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3630,38 +3588,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "124" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "92" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "d0ea4eb3-bb60-47c6-8ef3-76b3c308cc8e" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042813Z:d0ea4eb3-bb60-47c6-8ef3-76b3c308cc8e" ], - "Date": [ "Tue, 29 Aug 2023 04:28:13 GMT" ] + "x-ms-correlation-request-id": [ "ac298357-0d7f-4ca2-8815-b03b43d5ea9a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044645Z:ac298357-0d7f-4ca2-8815-b03b43d5ea9a" ], + "Date": [ "Mon, 25 Dec 2023 04:46:45 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+88": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+87": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "88" ], - "x-ms-client-request-id": [ "100efde7-644a-4870-b395-4b57bd4ec309" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "130" ], + "x-ms-client-request-id": [ "50bfa050-8160-4545-80dc-df86dbb33625" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3672,38 +3630,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "123" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "91" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "e063076c-131d-44db-ad9a-d25808bc864e" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042819Z:e063076c-131d-44db-ad9a-d25808bc864e" ], - "Date": [ "Tue, 29 Aug 2023 04:28:19 GMT" ] + "x-ms-correlation-request-id": [ "cc7763a6-69e6-4362-bc0b-2fd5f2fa3d10" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044651Z:cc7763a6-69e6-4362-bc0b-2fd5f2fa3d10" ], + "Date": [ "Mon, 25 Dec 2023 04:46:51 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+89": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+88": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "89" ], - "x-ms-client-request-id": [ "5f43ea18-fe44-415a-9e4b-966f42f4feb1" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "131" ], + "x-ms-client-request-id": [ "a1883baa-7eb1-458f-95eb-fd4e31d1660e" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3714,38 +3672,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "122" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "90" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "0fe707fa-f312-41bf-910a-17443b6623e2" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042825Z:0fe707fa-f312-41bf-910a-17443b6623e2" ], - "Date": [ "Tue, 29 Aug 2023 04:28:24 GMT" ] + "x-ms-correlation-request-id": [ "b07a7186-8b40-4905-a791-23a8c4747a1f" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044657Z:b07a7186-8b40-4905-a791-23a8c4747a1f" ], + "Date": [ "Mon, 25 Dec 2023 04:46:56 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+90": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+89": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "90" ], - "x-ms-client-request-id": [ "7515196c-9a99-4873-8306-3f07cc8fb135" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "132" ], + "x-ms-client-request-id": [ "95ff1058-5bb4-4d09-8148-07d6295bb59c" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3756,38 +3714,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "121" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "89" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "80f53f29-8f6c-48c7-b5f7-5a1719ea28b4" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042831Z:80f53f29-8f6c-48c7-b5f7-5a1719ea28b4" ], - "Date": [ "Tue, 29 Aug 2023 04:28:30 GMT" ] + "x-ms-correlation-request-id": [ "4711d12f-3b21-4449-a275-2f367f78e790" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044703Z:4711d12f-3b21-4449-a275-2f367f78e790" ], + "Date": [ "Mon, 25 Dec 2023 04:47:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+91": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+90": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "91" ], - "x-ms-client-request-id": [ "d8512718-90a6-40a3-afa0-b2347356eace" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "133" ], + "x-ms-client-request-id": [ "dc839eca-168d-4760-a899-a0686bf58ec1" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3798,38 +3756,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "120" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "886c20e4-c78d-4341-8214-c992fd9f71e5" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042836Z:886c20e4-c78d-4341-8214-c992fd9f71e5" ], - "Date": [ "Tue, 29 Aug 2023 04:28:35 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "88" ], + "x-ms-correlation-request-id": [ "f4ecb874-d548-4e0d-a6de-c74abff1e522" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044708Z:f4ecb874-d548-4e0d-a6de-c74abff1e522" ], + "Date": [ "Mon, 25 Dec 2023 04:47:08 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2404" ], + "Content-Length": [ "2427" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A23%3A04.4035196Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A41%3A38.1028326Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01+92": { + "DiskBackupScenario+[NoContext]+EndtoEndTest+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01+91": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "92" ], - "x-ms-client-request-id": [ "80617ff0-e151-4107-9a00-c423d98ceb88" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "134" ], + "x-ms-client-request-id": [ "5342afcb-f796-4200-959d-515fab88a9de" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -3840,22 +3798,22 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "119" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "87" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "98277eef-fe36-41e7-869c-0c1606ea4c56" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T042842Z:98277eef-fe36-41e7-869c-0c1606ea4c56" ], - "Date": [ "Tue, 29 Aug 2023 04:28:42 GMT" ] + "x-ms-correlation-request-id": [ "1a8195d1-a146-4dad-8ada-2009337a4cad" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044715Z:1a8195d1-a146-4dad-8ada-2009337a4cad" ], + "Date": [ "Mon, 25 Dec 2023 04:47:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2556" ], + "Content-Length": [ "2578" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-29T04%3A28%3A38.4520513Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-29T04:23:04.2170562Z\",\"endTime\":\"2023-08-29T04:28:38.2027183Z\",\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT5M33.9856621S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"c55c7b9d57e24c8b9d12dd4a60d34378\",\"recoveryPointTime\":\"2023-08-29T04:22:11.6759024Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"7cac4154-4d8a-4954-8b8d-168f06ad7717\",\"DatasourceType\":\"Microsoft.Compute/disks\"}}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/158f8b3e-473c-4cfb-8351-251515814c75\",\"name\":\"158f8b3e-473c-4cfb-8351-251515814c75\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupInstances/pstest-disk-pstest-disk-5801e30f-5a3c-4d32-88bb-faf06228fca3\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupPolicies/pstest-diskpolicy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk\",\"vaultName\":\"pstest-disk-vault\",\"backupInstanceFriendlyName\":\"pstest-disk\",\"policyName\":\"pstest-diskpolicy\",\"sourceResourceGroup\":\"pstest-diskrg\",\"dataSourceSetName\":null,\"dataSourceName\":\"pstest-disk\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A14.5469416Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:41:37.7921931Z\",\"endTime\":\"2023-12-25T04:47:14.2311351Z\",\"dataSourceType\":\"Microsoft.Compute/disks\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT5M36.438942S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"98e0523d83004753baa0aa25687d9307\",\"recoveryPointTime\":\"2023-12-25T04:40:35.3784127Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"05edc310-ec83-4ff4-a117-88da10793abb\",\"DatasourceType\":\"Microsoft.Compute/disks\"}}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.DataProtection/backupVaults/pstest-disk-vault/backupJobs/c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"name\":\"c9eb5b7a-ddb7-43b5-96d2-53c9a98e9fe9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } } diff --git a/src/DataProtection/DataProtection.Autorest/test/DiskBackupScenario.Tests.ps1 b/src/DataProtection/DataProtection.Autorest/test/DiskBackupScenario.Tests.ps1 index c158c1099b66..009c84c51f95 100644 --- a/src/DataProtection/DataProtection.Autorest/test/DiskBackupScenario.Tests.ps1 +++ b/src/DataProtection/DataProtection.Autorest/test/DiskBackupScenario.Tests.ps1 @@ -15,7 +15,7 @@ Describe 'DiskBackupScenario' { It 'EndtoEndTest' { $vaultName = $env.TestDiskBackupScenario.VaultName $rgName = $env.TestDiskBackupScenario.ResourceGroupName - $diskId = $env.TestDiskBackupScenario.DiskId + $diskId = $env.TestDiskBackupScenario.DiskId $snapshotRg = $env.TestDiskBackupScenario.SnapshotRG $restoreDiskId = $env.TestDiskBackupScenario.RestoreDiskId $policyName = $env.TestDiskBackupScenario.NewPolicyName @@ -25,7 +25,7 @@ Describe 'DiskBackupScenario' { $defaultPolicy = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDisk $policyId = "/subscriptions/" + $sub + "/resourceGroups/" + $rgName + "/providers/Microsoft.DataProtection/backupVaults/" + $vaultName + "/backupPolicies/" + $policyName $backupInstance = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureDisk -DatasourceLocation centraluseuap -PolicyId $policyId -DatasourceId $diskId -SnapshotResourceGroupId $snapshotRg - + $instances = Get-AzDataProtectionBackupInstance -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName $instance = $instances | where-Object {$_.Property.DataSourceInfo.ResourceId -eq $diskId} $backupInstanceName = $instance.Name @@ -34,7 +34,7 @@ Describe 'DiskBackupScenario' { $protectionStatus = $instance.Property.ProtectionStatus.Status while($protectionStatus -ne "ProtectionConfigured") { - Start-TestSleep -Seconds 5 + Start-Sleep -Seconds 5 $instance = Get-AzDataProtectionBackupInstance -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName -Name $backupInstanceName $protectionStatus = $instance.Property.ProtectionStatus.Status @@ -42,16 +42,16 @@ Describe 'DiskBackupScenario' { # configure backup if not configured } - $backupPolicyId = $instance.Property.PolicyInfo.PolicyId + $backupPolicyId = $instance.Property.PolicyInfo.PolicyId $policy = Get-AzDataProtectionBackupPolicy -SubscriptionId $sub -VaultName $vaultName -ResourceGroupName $rgName | Where-Object { $_.Id -eq $backupPolicyId } - + $job = Backup-AzDataProtectionBackupInstanceAdhoc -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName -BackupInstanceName $backupInstanceName -BackupRuleOptionRuleName $policy.Property.PolicyRule[0].Name -TriggerOptionRetentionTagOverride $policy.Property.PolicyRule[0].Trigger.TaggingCriterion[0].TagInfoTagName $jobid = $job.JobId.Split("/")[-1] $jobstatus = "InProgress" while($jobstatus -ne "Completed") { - Start-TestSleep -Seconds 5 + Start-Sleep -Seconds 5 $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName $jobstatus = $currentjob.Status } @@ -64,7 +64,7 @@ Describe 'DiskBackupScenario' { $jobstatus = "InProgress" while($jobstatus -ne "Completed") { - Start-TestSleep -Seconds 5 + Start-Sleep -Seconds 5 $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName $jobstatus = $currentjob.Status } diff --git a/src/DataProtection/DataProtection.Autorest/test/Find-AzDataProtectionRestorableTimeRange.Recording.json b/src/DataProtection/DataProtection.Autorest/test/Find-AzDataProtectionRestorableTimeRange.Recording.json index 8cdbde144dcf..0d74bdd3d92a 100644 --- a/src/DataProtection/DataProtection.Autorest/test/Find-AzDataProtectionRestorableTimeRange.Recording.json +++ b/src/DataProtection/DataProtection.Autorest/test/Find-AzDataProtectionRestorableTimeRange.Recording.json @@ -1,17 +1,17 @@ { - "Find-AzDataProtectionRestorableTimeRange+[NoContext]+PostExpanded+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances?api-version=2023-05-01+1": { + "Find-AzDataProtectionRestorableTimeRange+[NoContext]+PostExpanded+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances?api-version=2023-11-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "46ce427e-4f74-4176-9893-e2ea9b45d5ff" ], + "x-ms-unique-id": [ "135" ], + "x-ms-client-request-id": [ "312081d3-b23c-4812-97cb-fe53b584047d" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -25,11 +25,11 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "43c55dd4-c70f-4496-8bea-b17f437e38ee" ], - "x-ms-correlation-request-id": [ "43c55dd4-c70f-4496-8bea-b17f437e38ee" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T075447Z:43c55dd4-c70f-4496-8bea-b17f437e38ee" ], + "x-ms-request-id": [ "2863a297-2620-48f7-a331-b49303f140b8" ], + "x-ms-correlation-request-id": [ "2863a297-2620-48f7-a331-b49303f140b8" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044719Z:2863a297-2620-48f7-a331-b49303f140b8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Tue, 29 Aug 2023 07:54:46 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:47:19 GMT" ] }, "ContentHeaders": { "Content-Length": [ "8140" ], @@ -40,11 +40,11 @@ "isContentBase64": false } }, - "Find-AzDataProtectionRestorableTimeRange+[NoContext]+PostExpanded+$POST+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b/findRestorableTimeRanges?api-version=2023-05-01+2": { + "Find-AzDataProtectionRestorableTimeRange+[NoContext]+PostExpanded+$POST+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b/findRestorableTimeRanges?api-version=2023-11-01+2": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b/findRestorableTimeRanges?api-version=2023-05-01", - "Content": "{\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"startTime\": \"2023-07-30T13:24:46.0000000Z\",\r\n \"endTime\": \"2023-08-29T13:24:46.0000000Z\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b/findRestorableTimeRanges?api-version=2023-11-01", + "Content": "{\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"startTime\": \"2023-11-25T10:17:18.0000000Z\",\r\n \"endTime\": \"2023-12-25T10:17:18.0000000Z\"\r\n}", "isContentBase64": false, "Headers": { }, @@ -61,18 +61,18 @@ "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "308fb967-42ca-45f7-b9da-90f0d4d827d6" ], - "x-ms-correlation-request-id": [ "308fb967-42ca-45f7-b9da-90f0d4d827d6" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T075448Z:308fb967-42ca-45f7-b9da-90f0d4d827d6" ], + "x-ms-request-id": [ "6269648c-796d-4ba3-9297-e0097809659c" ], + "x-ms-correlation-request-id": [ "6269648c-796d-4ba3-9297-e0097809659c" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044720Z:6269648c-796d-4ba3-9297-e0097809659c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Tue, 29 Aug 2023 07:54:48 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:47:20 GMT" ] }, "ContentHeaders": { "Content-Length": [ "389" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"restorableTimeRanges\":[{\"startTime\":\"2023-07-30T13:24:46.0000000Z\",\"endTime\":\"2023-08-29T07:54:48.7551862Z\",\"objectType\":\"RestorableTimeRange\"}],\"objectType\":\"AzureBackupFindRestorableTimeRangesResponse\"},\"id\":\"jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/findRestorableTimeRanges\"}", + "Content": "{\"properties\":{\"restorableTimeRanges\":[{\"startTime\":\"2023-11-25T10:17:18.0000000Z\",\"endTime\":\"2023-12-25T04:47:20.8263614Z\",\"objectType\":\"RestorableTimeRange\"}],\"objectType\":\"AzureBackupFindRestorableTimeRangesResponse\"},\"id\":\"jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/findRestorableTimeRanges\"}", "isContentBase64": false } } diff --git a/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupInstance.Recording.json b/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupInstance.Recording.json index 92eae3c91a8a..d1d33a8c06e7 100644 --- a/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupInstance.Recording.json +++ b/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupInstance.Recording.json @@ -1,17 +1,17 @@ { - "Get-AzDataProtectionBackupInstance+[NoContext]+GetAll+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances?api-version=2023-05-01+1": { + "Get-AzDataProtectionBackupInstance+[NoContext]+GetAll+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances?api-version=2023-11-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "3864c5fc-652a-4949-9893-6f6e2e169108" ], + "x-ms-unique-id": [ "137" ], + "x-ms-client-request-id": [ "15e37002-c89a-405c-9706-e8e0ae43af00" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -27,33 +27,33 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], - "x-ms-correlation-request-id": [ "48018503-760e-4070-8d5d-f1a0981ed7af" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T081150Z:48018503-760e-4070-8d5d-f1a0981ed7af" ], - "Date": [ "Tue, 29 Aug 2023 08:11:50 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1998" ], + "x-ms-correlation-request-id": [ "2c79f3d8-a0fb-4a2b-8c92-b46c1cc4751c" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044722Z:2c79f3d8-a0fb-4a2b-8c92-b46c1cc4751c" ], + "Date": [ "Mon, 25 Dec 2023 04:47:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "31745" ], + "Content-Length": [ "33756" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"c12ccypod01otds1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"c12ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"c12ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"backupDatasourceParametersList\":[{\"objectType\":\"BlobBackupDatasourceParameters\",\"containersList\":[]}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/c12ccypod01otds1-c12ccypod01otds1-cecd7ec5-9695-484f-b1ff-76347ce94064\",\"name\":\"c12ccypod01otds1-c12ccypod01otds1-cecd7ec5-9695-484f-b1ff-76347ce94064\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"7k0ccypod01otds1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blob-Backup/providers/Microsoft.Storage/storageAccounts/7k0ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blob-Backup/providers/Microsoft.Storage/storageAccounts/7k0ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"7k0ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/7k0ccypod01otds1-7k0ccypod01otds1-520ff77c-75eb-4cd4-a0d2-ad4ebb32d097\",\"name\":\"7k0ccypod01otds1-7k0ccypod01otds1-520ff77c-75eb-4cd4-a0d2-ad4ebb32d097\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"clibugbashsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/ABC/providers/Microsoft.Storage/storageAccounts/clibugbashsa\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"clibugbashsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobclipolicy\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/clibugbashsa-clibugbashsa-9349e670-c432-11eb-aefe-b0a4601328c8\",\"name\":\"clibugbashsa-clibugbashsa-9349e670-c432-11eb-aefe-b0a4601328c8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathblobtestsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathblobtestsa-sarathblobtestsa-075a5052-30cd-42e8-9332-332929f9813e\",\"name\":\"sarathblobtestsa-sarathblobtestsa-075a5052-30cd-42e8-9332-332929f9813e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"randomsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/ABC/providers/Microsoft.Storage/storageAccounts/randomsa\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"randomsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"randomlocation\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobclipolicy\"},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Appropriate permissions to perform the operation is missing.\",\"recommendedAction\":[\"Grant appropriate permissions to perform this operation as mentioned at https://aka.ms/UserErrorMissingRequiredPermissions and retry the operation.\"],\"code\":\"UserErrorMissingRequiredPermissions\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"6ef868a7-ce1a-4273-9e9d-7623d3b3f052-Ibz\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Appropriate permissions to perform the operation is missing.\",\"recommendedAction\":[\"Grant appropriate permissions to perform this operation as mentioned at https://aka.ms/UserErrorMissingRequiredPermissions and retry the operation.\"],\"code\":\"UserErrorMissingRequiredPermissions\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"6ef868a7-ce1a-4273-9e9d-7623d3b3f052-Ibz\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/randomsa-randomsa-1445b05b-c439-11eb-b183-c8f750f92764\",\"name\":\"randomsa-randomsa-1445b05b-c439-11eb-b183-c8f750f92764\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathblobtestsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathblobtestsa-sarathblobtestsa-f35963fd-303e-43c8-811f-01294a6e10cf\",\"name\":\"sarathblobtestsa-sarathblobtestsa-f35963fd-303e-43c8-811f-01294a6e10cf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-restored-disk-1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\",\"dataStoreType\":\"OperationalStore\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-restored-disk-1-sarath-restored-disk-1-41f520c7-9e19-4b49-a762-e12ded4b5061\",\"name\":\"sarath-restored-disk-1-sarath-restored-disk-1-41f520c7-9e19-4b49-a762-e12ded4b5061\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp3\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp3\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp3\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"b17f01a6-bc95-11eb-b3aa-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"b17f01a6-bc95-11eb-b3aa-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp3-temp3-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp3-temp3-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk2\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/newdiskpolicy-vgxrh5mld6\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk2-sarathdisk2-53458665-ea63-46fd-a5d8-0a8063273054\",\"name\":\"sarathdisk2-sarathdisk2-53458665-ea63-46fd-a5d8-0a8063273054\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp2\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp2\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5119fb3a-1e8d-4c31-a4aa-94ec18b97039-Ibz\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5119fb3a-1e8d-4c31-a4aa-94ec18b97039-Ibz\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp2-temp2-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp2-temp2-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp5\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp5\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp5\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"059c9281-bca3-11eb-b183-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"059c9281-bca3-11eb-b183-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp5-temp5-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp5-temp5-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"clitest\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/clitest\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"clitest\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPSPolicy2\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionStopped\"},\"currentProtectionState\":\"ProtectionStopped\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/clitest-clitest-3165cfe7-a932-11eb-9d24-9cfce85d4fae\",\"name\":\"clitest-clitest-3165cfe7-a932-11eb-9d24-9cfce85d4fae\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-restored-disk-1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-restored-disk-1-sarath-restored-disk-1-cecd7ec5-9695-484f-b1ff-76347ce94087\",\"name\":\"sarath-restored-disk-1-sarath-restored-disk-1-cecd7ec5-9695-484f-b1ff-76347ce94087\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e594f166\",\"name\":\"sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e594f166\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-disk3\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-disk3\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-disk3\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-disk3\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionStopped\"},\"currentProtectionState\":\"ProtectionStopped\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-disk3-sarath-disk3-cbfbeccf-fa0b-4953-9853-a07a68f6eec6\",\"name\":\"sarath-disk3-sarath-disk3-cbfbeccf-fa0b-4953-9853-a07a68f6eec6\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp4\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp4\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp4\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5f08710a-bc96-11eb-863b-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5f08710a-bc96-11eb-863b-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp4-temp4-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp4-temp4-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk5-restored\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk5-restored\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk5-restored\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"identityDetails\":{\"useSystemAssignedIdentity\":false,\"userAssignedIdentityArmUrl\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sarathuami1\"},\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk5-restored-sarathdisk5-restored-772237d5-2117-4f2f-a117-23eeeea470c0\",\"name\":\"sarathdisk5-restored-sarathdisk5-restored-772237d5-2117-4f2f-a117-23eeeea470c0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"hiagaDisk1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/hiagaDisk1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/hiagaDisk1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"hiagaDisk1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/hiagaPSPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/hiagaDisk1-hiagaDisk1-7ec9b426-5a1b-4e3b-af37-213a40e0266b\",\"name\":\"hiagaDisk1-hiagaDisk1-7ec9b426-5a1b-4e3b-af37-213a40e0266b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", + "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"c12ccypod01otds1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"c12ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"c12ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"backupDatasourceParametersList\":[{\"objectType\":\"BlobBackupDatasourceParameters\",\"containersList\":[]}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/c12ccypod01otds1-c12ccypod01otds1-cecd7ec5-9695-484f-b1ff-76347ce94064\",\"name\":\"c12ccypod01otds1-c12ccypod01otds1-cecd7ec5-9695-484f-b1ff-76347ce94064\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"7k0ccypod01otds1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blob-Backup/providers/Microsoft.Storage/storageAccounts/7k0ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blob-Backup/providers/Microsoft.Storage/storageAccounts/7k0ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"7k0ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/7k0ccypod01otds1-7k0ccypod01otds1-520ff77c-75eb-4cd4-a0d2-ad4ebb32d097\",\"name\":\"7k0ccypod01otds1-7k0ccypod01otds1-520ff77c-75eb-4cd4-a0d2-ad4ebb32d097\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"clibugbashsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/ABC/providers/Microsoft.Storage/storageAccounts/clibugbashsa\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"clibugbashsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobclipolicy\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/clibugbashsa-clibugbashsa-9349e670-c432-11eb-aefe-b0a4601328c8\",\"name\":\"clibugbashsa-clibugbashsa-9349e670-c432-11eb-aefe-b0a4601328c8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathblobtestsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathblobtestsa-sarathblobtestsa-075a5052-30cd-42e8-9332-332929f9813e\",\"name\":\"sarathblobtestsa-sarathblobtestsa-075a5052-30cd-42e8-9332-332929f9813e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"randomsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/ABC/providers/Microsoft.Storage/storageAccounts/randomsa\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"randomsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"randomlocation\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobclipolicy\"},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Appropriate permissions to perform the operation is missing.\",\"recommendedAction\":[\"Grant appropriate permissions to perform this operation as mentioned at https://aka.ms/UserErrorMissingRequiredPermissions and retry the operation.\"],\"code\":\"UserErrorMissingRequiredPermissions\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"6ef868a7-ce1a-4273-9e9d-7623d3b3f052-Ibz\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Appropriate permissions to perform the operation is missing.\",\"recommendedAction\":[\"Grant appropriate permissions to perform this operation as mentioned at https://aka.ms/UserErrorMissingRequiredPermissions and retry the operation.\"],\"code\":\"UserErrorMissingRequiredPermissions\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"6ef868a7-ce1a-4273-9e9d-7623d3b3f052-Ibz\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/randomsa-randomsa-1445b05b-c439-11eb-b183-c8f750f92764\",\"name\":\"randomsa-randomsa-1445b05b-c439-11eb-b183-c8f750f92764\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathblobtestsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathblobtestsa-sarathblobtestsa-f35963fd-303e-43c8-811f-01294a6e10cf\",\"name\":\"sarathblobtestsa-sarathblobtestsa-f35963fd-303e-43c8-811f-01294a6e10cf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathjobtestsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathjobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathjobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathjobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathjobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathjobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathjobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/vaultpolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"backupDatasourceParametersList\":[{\"objectType\":\"BlobBackupDatasourceParameters\",\"containersList\":[\"test1\",\"test2\"]}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathjobtestsa-sarathjobtestsa-d66ef0cf-819a-41e1-bac0-ae043ba4808d\",\"name\":\"sarathjobtestsa-sarathjobtestsa-d66ef0cf-819a-41e1-bac0-ae043ba4808d\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-restored-disk-1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\",\"dataStoreType\":\"OperationalStore\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-restored-disk-1-sarath-restored-disk-1-41f520c7-9e19-4b49-a762-e12ded4b5061\",\"name\":\"sarath-restored-disk-1-sarath-restored-disk-1-41f520c7-9e19-4b49-a762-e12ded4b5061\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp3\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp3\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp3\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"b17f01a6-bc95-11eb-b3aa-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"b17f01a6-bc95-11eb-b3aa-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp3-temp3-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp3-temp3-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk2\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/newdiskpolicy-vgxrh5mld6\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk2-sarathdisk2-53458665-ea63-46fd-a5d8-0a8063273054\",\"name\":\"sarathdisk2-sarathdisk2-53458665-ea63-46fd-a5d8-0a8063273054\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp2\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp2\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5119fb3a-1e8d-4c31-a4aa-94ec18b97039-Ibz\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5119fb3a-1e8d-4c31-a4aa-94ec18b97039-Ibz\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp2-temp2-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp2-temp2-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp5\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp5\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp5\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"059c9281-bca3-11eb-b183-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"059c9281-bca3-11eb-b183-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp5-temp5-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp5-temp5-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"clitest\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/clitest\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"clitest\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPSPolicy2\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionStopped\"},\"currentProtectionState\":\"ProtectionStopped\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/clitest-clitest-3165cfe7-a932-11eb-9d24-9cfce85d4fae\",\"name\":\"clitest-clitest-3165cfe7-a932-11eb-9d24-9cfce85d4fae\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-restored-disk-1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-restored-disk-1-sarath-restored-disk-1-cecd7ec5-9695-484f-b1ff-76347ce94087\",\"name\":\"sarath-restored-disk-1-sarath-restored-disk-1-cecd7ec5-9695-484f-b1ff-76347ce94087\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e594f166\",\"name\":\"sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e594f166\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-disk3\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-disk3\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-disk3\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-disk3\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionStopped\"},\"currentProtectionState\":\"ProtectionStopped\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-disk3-sarath-disk3-cbfbeccf-fa0b-4953-9853-a07a68f6eec6\",\"name\":\"sarath-disk3-sarath-disk3-cbfbeccf-fa0b-4953-9853-a07a68f6eec6\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp4\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp4\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp4\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5f08710a-bc96-11eb-863b-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5f08710a-bc96-11eb-863b-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp4-temp4-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp4-temp4-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk5-restored\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk5-restored\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk5-restored\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"identityDetails\":{\"useSystemAssignedIdentity\":false,\"userAssignedIdentityArmUrl\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sarathuami1\"},\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk5-restored-sarathdisk5-restored-772237d5-2117-4f2f-a117-23eeeea470c0\",\"name\":\"sarathdisk5-restored-sarathdisk5-restored-772237d5-2117-4f2f-a117-23eeeea470c0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"hiagaDisk1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/hiagaDisk1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/hiagaDisk1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"hiagaDisk1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/hiagaPSPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/hiagaDisk1-hiagaDisk1-7ec9b426-5a1b-4e3b-af37-213a40e0266b\",\"name\":\"hiagaDisk1-hiagaDisk1-7ec9b426-5a1b-4e3b-af37-213a40e0266b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", "isContentBase64": false } }, - "Get-AzDataProtectionBackupInstance+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances?api-version=2023-05-01+1": { + "Get-AzDataProtectionBackupInstance+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances?api-version=2023-11-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "33d1614b-feb5-4bea-b444-5ae1c850be16" ], + "x-ms-unique-id": [ "138" ], + "x-ms-client-request-id": [ "f991c0a2-d5ea-4c55-9fab-b5291e9f4dce" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -69,33 +69,33 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1998" ], - "x-ms-correlation-request-id": [ "d289f11e-9792-4185-a3ad-45c0e494fde7" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T081152Z:d289f11e-9792-4185-a3ad-45c0e494fde7" ], - "Date": [ "Tue, 29 Aug 2023 08:11:51 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1997" ], + "x-ms-correlation-request-id": [ "454b1181-b1d1-411a-9b77-faee50d5b55d" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044723Z:454b1181-b1d1-411a-9b77-faee50d5b55d" ], + "Date": [ "Mon, 25 Dec 2023 04:47:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "31745" ], + "Content-Length": [ "33756" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"c12ccypod01otds1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"c12ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"c12ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"backupDatasourceParametersList\":[{\"objectType\":\"BlobBackupDatasourceParameters\",\"containersList\":[]}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/c12ccypod01otds1-c12ccypod01otds1-cecd7ec5-9695-484f-b1ff-76347ce94064\",\"name\":\"c12ccypod01otds1-c12ccypod01otds1-cecd7ec5-9695-484f-b1ff-76347ce94064\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"7k0ccypod01otds1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blob-Backup/providers/Microsoft.Storage/storageAccounts/7k0ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blob-Backup/providers/Microsoft.Storage/storageAccounts/7k0ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"7k0ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/7k0ccypod01otds1-7k0ccypod01otds1-520ff77c-75eb-4cd4-a0d2-ad4ebb32d097\",\"name\":\"7k0ccypod01otds1-7k0ccypod01otds1-520ff77c-75eb-4cd4-a0d2-ad4ebb32d097\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"clibugbashsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/ABC/providers/Microsoft.Storage/storageAccounts/clibugbashsa\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"clibugbashsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobclipolicy\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/clibugbashsa-clibugbashsa-9349e670-c432-11eb-aefe-b0a4601328c8\",\"name\":\"clibugbashsa-clibugbashsa-9349e670-c432-11eb-aefe-b0a4601328c8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathblobtestsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathblobtestsa-sarathblobtestsa-075a5052-30cd-42e8-9332-332929f9813e\",\"name\":\"sarathblobtestsa-sarathblobtestsa-075a5052-30cd-42e8-9332-332929f9813e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"randomsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/ABC/providers/Microsoft.Storage/storageAccounts/randomsa\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"randomsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"randomlocation\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobclipolicy\"},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Appropriate permissions to perform the operation is missing.\",\"recommendedAction\":[\"Grant appropriate permissions to perform this operation as mentioned at https://aka.ms/UserErrorMissingRequiredPermissions and retry the operation.\"],\"code\":\"UserErrorMissingRequiredPermissions\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"6ef868a7-ce1a-4273-9e9d-7623d3b3f052-Ibz\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Appropriate permissions to perform the operation is missing.\",\"recommendedAction\":[\"Grant appropriate permissions to perform this operation as mentioned at https://aka.ms/UserErrorMissingRequiredPermissions and retry the operation.\"],\"code\":\"UserErrorMissingRequiredPermissions\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"6ef868a7-ce1a-4273-9e9d-7623d3b3f052-Ibz\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/randomsa-randomsa-1445b05b-c439-11eb-b183-c8f750f92764\",\"name\":\"randomsa-randomsa-1445b05b-c439-11eb-b183-c8f750f92764\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathblobtestsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathblobtestsa-sarathblobtestsa-f35963fd-303e-43c8-811f-01294a6e10cf\",\"name\":\"sarathblobtestsa-sarathblobtestsa-f35963fd-303e-43c8-811f-01294a6e10cf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-restored-disk-1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\",\"dataStoreType\":\"OperationalStore\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-restored-disk-1-sarath-restored-disk-1-41f520c7-9e19-4b49-a762-e12ded4b5061\",\"name\":\"sarath-restored-disk-1-sarath-restored-disk-1-41f520c7-9e19-4b49-a762-e12ded4b5061\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp3\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp3\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp3\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"b17f01a6-bc95-11eb-b3aa-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"b17f01a6-bc95-11eb-b3aa-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp3-temp3-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp3-temp3-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk2\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/newdiskpolicy-vgxrh5mld6\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk2-sarathdisk2-53458665-ea63-46fd-a5d8-0a8063273054\",\"name\":\"sarathdisk2-sarathdisk2-53458665-ea63-46fd-a5d8-0a8063273054\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp2\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp2\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5119fb3a-1e8d-4c31-a4aa-94ec18b97039-Ibz\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5119fb3a-1e8d-4c31-a4aa-94ec18b97039-Ibz\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp2-temp2-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp2-temp2-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp5\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp5\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp5\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"059c9281-bca3-11eb-b183-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"059c9281-bca3-11eb-b183-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp5-temp5-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp5-temp5-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"clitest\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/clitest\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"clitest\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPSPolicy2\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionStopped\"},\"currentProtectionState\":\"ProtectionStopped\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/clitest-clitest-3165cfe7-a932-11eb-9d24-9cfce85d4fae\",\"name\":\"clitest-clitest-3165cfe7-a932-11eb-9d24-9cfce85d4fae\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-restored-disk-1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-restored-disk-1-sarath-restored-disk-1-cecd7ec5-9695-484f-b1ff-76347ce94087\",\"name\":\"sarath-restored-disk-1-sarath-restored-disk-1-cecd7ec5-9695-484f-b1ff-76347ce94087\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e594f166\",\"name\":\"sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e594f166\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-disk3\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-disk3\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-disk3\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-disk3\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionStopped\"},\"currentProtectionState\":\"ProtectionStopped\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-disk3-sarath-disk3-cbfbeccf-fa0b-4953-9853-a07a68f6eec6\",\"name\":\"sarath-disk3-sarath-disk3-cbfbeccf-fa0b-4953-9853-a07a68f6eec6\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp4\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp4\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp4\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5f08710a-bc96-11eb-863b-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5f08710a-bc96-11eb-863b-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp4-temp4-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp4-temp4-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk5-restored\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk5-restored\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk5-restored\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"identityDetails\":{\"useSystemAssignedIdentity\":false,\"userAssignedIdentityArmUrl\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sarathuami1\"},\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk5-restored-sarathdisk5-restored-772237d5-2117-4f2f-a117-23eeeea470c0\",\"name\":\"sarathdisk5-restored-sarathdisk5-restored-772237d5-2117-4f2f-a117-23eeeea470c0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"hiagaDisk1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/hiagaDisk1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/hiagaDisk1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"hiagaDisk1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/hiagaPSPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/hiagaDisk1-hiagaDisk1-7ec9b426-5a1b-4e3b-af37-213a40e0266b\",\"name\":\"hiagaDisk1-hiagaDisk1-7ec9b426-5a1b-4e3b-af37-213a40e0266b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", + "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"c12ccypod01otds1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"c12ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"c12ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"backupDatasourceParametersList\":[{\"objectType\":\"BlobBackupDatasourceParameters\",\"containersList\":[]}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/c12ccypod01otds1-c12ccypod01otds1-cecd7ec5-9695-484f-b1ff-76347ce94064\",\"name\":\"c12ccypod01otds1-c12ccypod01otds1-cecd7ec5-9695-484f-b1ff-76347ce94064\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"7k0ccypod01otds1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blob-Backup/providers/Microsoft.Storage/storageAccounts/7k0ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blob-Backup/providers/Microsoft.Storage/storageAccounts/7k0ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"7k0ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/7k0ccypod01otds1-7k0ccypod01otds1-520ff77c-75eb-4cd4-a0d2-ad4ebb32d097\",\"name\":\"7k0ccypod01otds1-7k0ccypod01otds1-520ff77c-75eb-4cd4-a0d2-ad4ebb32d097\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"clibugbashsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/ABC/providers/Microsoft.Storage/storageAccounts/clibugbashsa\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"clibugbashsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobclipolicy\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/clibugbashsa-clibugbashsa-9349e670-c432-11eb-aefe-b0a4601328c8\",\"name\":\"clibugbashsa-clibugbashsa-9349e670-c432-11eb-aefe-b0a4601328c8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathblobtestsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathblobtestsa-sarathblobtestsa-075a5052-30cd-42e8-9332-332929f9813e\",\"name\":\"sarathblobtestsa-sarathblobtestsa-075a5052-30cd-42e8-9332-332929f9813e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"randomsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/ABC/providers/Microsoft.Storage/storageAccounts/randomsa\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"randomsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"randomlocation\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobclipolicy\"},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Appropriate permissions to perform the operation is missing.\",\"recommendedAction\":[\"Grant appropriate permissions to perform this operation as mentioned at https://aka.ms/UserErrorMissingRequiredPermissions and retry the operation.\"],\"code\":\"UserErrorMissingRequiredPermissions\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"6ef868a7-ce1a-4273-9e9d-7623d3b3f052-Ibz\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Appropriate permissions to perform the operation is missing.\",\"recommendedAction\":[\"Grant appropriate permissions to perform this operation as mentioned at https://aka.ms/UserErrorMissingRequiredPermissions and retry the operation.\"],\"code\":\"UserErrorMissingRequiredPermissions\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"6ef868a7-ce1a-4273-9e9d-7623d3b3f052-Ibz\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/randomsa-randomsa-1445b05b-c439-11eb-b183-c8f750f92764\",\"name\":\"randomsa-randomsa-1445b05b-c439-11eb-b183-c8f750f92764\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathblobtestsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathblobtestsa-sarathblobtestsa-f35963fd-303e-43c8-811f-01294a6e10cf\",\"name\":\"sarathblobtestsa-sarathblobtestsa-f35963fd-303e-43c8-811f-01294a6e10cf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathjobtestsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathjobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathjobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathjobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathjobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathjobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathjobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/vaultpolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"backupDatasourceParametersList\":[{\"objectType\":\"BlobBackupDatasourceParameters\",\"containersList\":[\"test1\",\"test2\"]}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathjobtestsa-sarathjobtestsa-d66ef0cf-819a-41e1-bac0-ae043ba4808d\",\"name\":\"sarathjobtestsa-sarathjobtestsa-d66ef0cf-819a-41e1-bac0-ae043ba4808d\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-restored-disk-1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\",\"dataStoreType\":\"OperationalStore\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-restored-disk-1-sarath-restored-disk-1-41f520c7-9e19-4b49-a762-e12ded4b5061\",\"name\":\"sarath-restored-disk-1-sarath-restored-disk-1-41f520c7-9e19-4b49-a762-e12ded4b5061\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp3\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp3\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp3\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"b17f01a6-bc95-11eb-b3aa-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"b17f01a6-bc95-11eb-b3aa-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp3-temp3-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp3-temp3-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk2\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/newdiskpolicy-vgxrh5mld6\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk2-sarathdisk2-53458665-ea63-46fd-a5d8-0a8063273054\",\"name\":\"sarathdisk2-sarathdisk2-53458665-ea63-46fd-a5d8-0a8063273054\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp2\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp2\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5119fb3a-1e8d-4c31-a4aa-94ec18b97039-Ibz\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5119fb3a-1e8d-4c31-a4aa-94ec18b97039-Ibz\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp2-temp2-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp2-temp2-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp5\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp5\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp5\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"059c9281-bca3-11eb-b183-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"059c9281-bca3-11eb-b183-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp5-temp5-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp5-temp5-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"clitest\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/clitest\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"clitest\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPSPolicy2\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionStopped\"},\"currentProtectionState\":\"ProtectionStopped\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/clitest-clitest-3165cfe7-a932-11eb-9d24-9cfce85d4fae\",\"name\":\"clitest-clitest-3165cfe7-a932-11eb-9d24-9cfce85d4fae\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-restored-disk-1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-restored-disk-1-sarath-restored-disk-1-cecd7ec5-9695-484f-b1ff-76347ce94087\",\"name\":\"sarath-restored-disk-1-sarath-restored-disk-1-cecd7ec5-9695-484f-b1ff-76347ce94087\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e594f166\",\"name\":\"sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e594f166\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-disk3\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-disk3\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-disk3\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-disk3\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionStopped\"},\"currentProtectionState\":\"ProtectionStopped\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-disk3-sarath-disk3-cbfbeccf-fa0b-4953-9853-a07a68f6eec6\",\"name\":\"sarath-disk3-sarath-disk3-cbfbeccf-fa0b-4953-9853-a07a68f6eec6\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp4\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp4\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp4\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5f08710a-bc96-11eb-863b-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5f08710a-bc96-11eb-863b-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp4-temp4-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp4-temp4-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk5-restored\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk5-restored\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk5-restored\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"identityDetails\":{\"useSystemAssignedIdentity\":false,\"userAssignedIdentityArmUrl\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sarathuami1\"},\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk5-restored-sarathdisk5-restored-772237d5-2117-4f2f-a117-23eeeea470c0\",\"name\":\"sarathdisk5-restored-sarathdisk5-restored-772237d5-2117-4f2f-a117-23eeeea470c0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"hiagaDisk1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/hiagaDisk1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/hiagaDisk1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"hiagaDisk1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/hiagaPSPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/hiagaDisk1-hiagaDisk1-7ec9b426-5a1b-4e3b-af37-213a40e0266b\",\"name\":\"hiagaDisk1-hiagaDisk1-7ec9b426-5a1b-4e3b-af37-213a40e0266b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", "isContentBase64": false } }, - "Get-AzDataProtectionBackupInstance+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/c12ccypod01otds1-c12ccypod01otds1-cecd7ec5-9695-484f-b1ff-76347ce94064?api-version=2023-05-01+2": { + "Get-AzDataProtectionBackupInstance+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/c12ccypod01otds1-c12ccypod01otds1-cecd7ec5-9695-484f-b1ff-76347ce94064?api-version=2023-11-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/c12ccypod01otds1-c12ccypod01otds1-cecd7ec5-9695-484f-b1ff-76347ce94064?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/c12ccypod01otds1-c12ccypod01otds1-cecd7ec5-9695-484f-b1ff-76347ce94064?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "98f3a84e-8c15-4738-9fa5-1dc4592501fc" ], + "x-ms-unique-id": [ "139" ], + "x-ms-client-request-id": [ "e015ed66-25cc-4136-a5a9-650ac3516219" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -111,10 +111,10 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1997" ], - "x-ms-correlation-request-id": [ "924f0a81-c2ea-434c-9752-1a1407238778" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T081152Z:924f0a81-c2ea-434c-9752-1a1407238778" ], - "Date": [ "Tue, 29 Aug 2023 08:11:52 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1996" ], + "x-ms-correlation-request-id": [ "ea0ed529-2cf1-49bc-988a-eaf9799b3db4" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044723Z:ea0ed529-2cf1-49bc-988a-eaf9799b3db4" ], + "Date": [ "Mon, 25 Dec 2023 04:47:23 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2005" ], diff --git a/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupPolicy.Recording.json b/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupPolicy.Recording.json index 072c0c5b24e4..82fdf3af4e7f 100644 --- a/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupPolicy.Recording.json +++ b/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupPolicy.Recording.json @@ -1,17 +1,17 @@ { - "Get-AzDataProtectionBackupPolicy+[NoContext]+List+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances?api-version=2023-05-01+1": { + "Get-AzDataProtectionBackupPolicy+[NoContext]+List+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances?api-version=2023-11-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "260" ], - "x-ms-client-request-id": [ "47ea6d25-85c8-4213-b52e-38326230b8c6" ], + "x-ms-unique-id": [ "140" ], + "x-ms-client-request-id": [ "3c4e4dd7-5c02-4dc3-88f9-a719c8165a89" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -28,16 +28,16 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1995" ], - "x-ms-correlation-request-id": [ "a4e3a643-8a15-4ebf-9119-be0cc5d1bca0" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T135724Z:a4e3a643-8a15-4ebf-9119-be0cc5d1bca0" ], - "Date": [ "Mon, 28 Aug 2023 13:57:23 GMT" ] + "x-ms-correlation-request-id": [ "c03ec50b-59b0-4dd8-9c8a-36c460f7be98" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044725Z:c03ec50b-59b0-4dd8-9c8a-36c460f7be98" ], + "Date": [ "Mon, 25 Dec 2023 04:47:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "31745" ], + "Content-Length": [ "33756" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"c12ccypod01otds1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"c12ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"c12ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"backupDatasourceParametersList\":[{\"objectType\":\"BlobBackupDatasourceParameters\",\"containersList\":[]}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/c12ccypod01otds1-c12ccypod01otds1-cecd7ec5-9695-484f-b1ff-76347ce94064\",\"name\":\"c12ccypod01otds1-c12ccypod01otds1-cecd7ec5-9695-484f-b1ff-76347ce94064\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"7k0ccypod01otds1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blob-Backup/providers/Microsoft.Storage/storageAccounts/7k0ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blob-Backup/providers/Microsoft.Storage/storageAccounts/7k0ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"7k0ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/7k0ccypod01otds1-7k0ccypod01otds1-520ff77c-75eb-4cd4-a0d2-ad4ebb32d097\",\"name\":\"7k0ccypod01otds1-7k0ccypod01otds1-520ff77c-75eb-4cd4-a0d2-ad4ebb32d097\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"clibugbashsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/ABC/providers/Microsoft.Storage/storageAccounts/clibugbashsa\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"clibugbashsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobclipolicy\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/clibugbashsa-clibugbashsa-9349e670-c432-11eb-aefe-b0a4601328c8\",\"name\":\"clibugbashsa-clibugbashsa-9349e670-c432-11eb-aefe-b0a4601328c8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathblobtestsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathblobtestsa-sarathblobtestsa-075a5052-30cd-42e8-9332-332929f9813e\",\"name\":\"sarathblobtestsa-sarathblobtestsa-075a5052-30cd-42e8-9332-332929f9813e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"randomsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/ABC/providers/Microsoft.Storage/storageAccounts/randomsa\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"randomsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"randomlocation\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobclipolicy\"},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Appropriate permissions to perform the operation is missing.\",\"recommendedAction\":[\"Grant appropriate permissions to perform this operation as mentioned at https://aka.ms/UserErrorMissingRequiredPermissions and retry the operation.\"],\"code\":\"UserErrorMissingRequiredPermissions\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"6ef868a7-ce1a-4273-9e9d-7623d3b3f052-Ibz\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Appropriate permissions to perform the operation is missing.\",\"recommendedAction\":[\"Grant appropriate permissions to perform this operation as mentioned at https://aka.ms/UserErrorMissingRequiredPermissions and retry the operation.\"],\"code\":\"UserErrorMissingRequiredPermissions\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"6ef868a7-ce1a-4273-9e9d-7623d3b3f052-Ibz\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/randomsa-randomsa-1445b05b-c439-11eb-b183-c8f750f92764\",\"name\":\"randomsa-randomsa-1445b05b-c439-11eb-b183-c8f750f92764\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathblobtestsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathblobtestsa-sarathblobtestsa-f35963fd-303e-43c8-811f-01294a6e10cf\",\"name\":\"sarathblobtestsa-sarathblobtestsa-f35963fd-303e-43c8-811f-01294a6e10cf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-restored-disk-1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\",\"dataStoreType\":\"OperationalStore\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-restored-disk-1-sarath-restored-disk-1-41f520c7-9e19-4b49-a762-e12ded4b5061\",\"name\":\"sarath-restored-disk-1-sarath-restored-disk-1-41f520c7-9e19-4b49-a762-e12ded4b5061\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp3\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp3\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp3\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"b17f01a6-bc95-11eb-b3aa-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"b17f01a6-bc95-11eb-b3aa-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp3-temp3-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp3-temp3-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk2\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/newdiskpolicy-vgxrh5mld6\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk2-sarathdisk2-53458665-ea63-46fd-a5d8-0a8063273054\",\"name\":\"sarathdisk2-sarathdisk2-53458665-ea63-46fd-a5d8-0a8063273054\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp2\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp2\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5119fb3a-1e8d-4c31-a4aa-94ec18b97039-Ibz\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5119fb3a-1e8d-4c31-a4aa-94ec18b97039-Ibz\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp2-temp2-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp2-temp2-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp5\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp5\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp5\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"059c9281-bca3-11eb-b183-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"059c9281-bca3-11eb-b183-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp5-temp5-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp5-temp5-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"clitest\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/clitest\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"clitest\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPSPolicy2\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionStopped\"},\"currentProtectionState\":\"ProtectionStopped\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/clitest-clitest-3165cfe7-a932-11eb-9d24-9cfce85d4fae\",\"name\":\"clitest-clitest-3165cfe7-a932-11eb-9d24-9cfce85d4fae\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-restored-disk-1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-restored-disk-1-sarath-restored-disk-1-cecd7ec5-9695-484f-b1ff-76347ce94087\",\"name\":\"sarath-restored-disk-1-sarath-restored-disk-1-cecd7ec5-9695-484f-b1ff-76347ce94087\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e594f166\",\"name\":\"sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e594f166\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-disk3\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-disk3\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-disk3\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-disk3\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionStopped\"},\"currentProtectionState\":\"ProtectionStopped\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-disk3-sarath-disk3-cbfbeccf-fa0b-4953-9853-a07a68f6eec6\",\"name\":\"sarath-disk3-sarath-disk3-cbfbeccf-fa0b-4953-9853-a07a68f6eec6\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp4\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp4\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp4\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5f08710a-bc96-11eb-863b-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5f08710a-bc96-11eb-863b-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp4-temp4-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp4-temp4-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk5-restored\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk5-restored\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk5-restored\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"identityDetails\":{\"useSystemAssignedIdentity\":false,\"userAssignedIdentityArmUrl\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sarathuami1\"},\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk5-restored-sarathdisk5-restored-772237d5-2117-4f2f-a117-23eeeea470c0\",\"name\":\"sarathdisk5-restored-sarathdisk5-restored-772237d5-2117-4f2f-a117-23eeeea470c0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"hiagaDisk1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/hiagaDisk1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/hiagaDisk1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"hiagaDisk1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/hiagaPSPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/hiagaDisk1-hiagaDisk1-7ec9b426-5a1b-4e3b-af37-213a40e0266b\",\"name\":\"hiagaDisk1-hiagaDisk1-7ec9b426-5a1b-4e3b-af37-213a40e0266b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", + "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"c12ccypod01otds1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"c12ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/abhinitRG/providers/Microsoft.Storage/storageAccounts/c12ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"c12ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"backupDatasourceParametersList\":[{\"objectType\":\"BlobBackupDatasourceParameters\",\"containersList\":[]}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/c12ccypod01otds1-c12ccypod01otds1-cecd7ec5-9695-484f-b1ff-76347ce94064\",\"name\":\"c12ccypod01otds1-c12ccypod01otds1-cecd7ec5-9695-484f-b1ff-76347ce94064\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"7k0ccypod01otds1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blob-Backup/providers/Microsoft.Storage/storageAccounts/7k0ccypod01otds1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blob-Backup/providers/Microsoft.Storage/storageAccounts/7k0ccypod01otds1\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"7k0ccypod01otds1\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/7k0ccypod01otds1-7k0ccypod01otds1-520ff77c-75eb-4cd4-a0d2-ad4ebb32d097\",\"name\":\"7k0ccypod01otds1-7k0ccypod01otds1-520ff77c-75eb-4cd4-a0d2-ad4ebb32d097\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"clibugbashsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/ABC/providers/Microsoft.Storage/storageAccounts/clibugbashsa\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"clibugbashsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobclipolicy\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/clibugbashsa-clibugbashsa-9349e670-c432-11eb-aefe-b0a4601328c8\",\"name\":\"clibugbashsa-clibugbashsa-9349e670-c432-11eb-aefe-b0a4601328c8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathblobtestsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathblobtestsa-sarathblobtestsa-075a5052-30cd-42e8-9332-332929f9813e\",\"name\":\"sarathblobtestsa-sarathblobtestsa-075a5052-30cd-42e8-9332-332929f9813e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"randomsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/ABC/providers/Microsoft.Storage/storageAccounts/randomsa\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"randomsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"randomlocation\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobclipolicy\"},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Appropriate permissions to perform the operation is missing.\",\"recommendedAction\":[\"Grant appropriate permissions to perform this operation as mentioned at https://aka.ms/UserErrorMissingRequiredPermissions and retry the operation.\"],\"code\":\"UserErrorMissingRequiredPermissions\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"6ef868a7-ce1a-4273-9e9d-7623d3b3f052-Ibz\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Appropriate permissions to perform the operation is missing.\",\"recommendedAction\":[\"Grant appropriate permissions to perform this operation as mentioned at https://aka.ms/UserErrorMissingRequiredPermissions and retry the operation.\"],\"code\":\"UserErrorMissingRequiredPermissions\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"6ef868a7-ce1a-4273-9e9d-7623d3b3f052-Ibz\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/randomsa-randomsa-1445b05b-c439-11eb-b183-c8f750f92764\",\"name\":\"randomsa-randomsa-1445b05b-c439-11eb-b183-c8f750f92764\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathblobtestsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathblobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathblobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/blobpolicy\",\"policyVersion\":\"\"},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathblobtestsa-sarathblobtestsa-f35963fd-303e-43c8-811f-01294a6e10cf\",\"name\":\"sarathblobtestsa-sarathblobtestsa-f35963fd-303e-43c8-811f-01294a6e10cf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathjobtestsa\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathjobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathjobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathjobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathjobtestsa\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Storage/storageAccounts/sarathjobtestsa\",\"datasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"resourceName\":\"sarathjobtestsa\",\"resourceType\":\"Microsoft.Storage/storageAccounts\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/vaultpolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"backupDatasourceParametersList\":[{\"objectType\":\"BlobBackupDatasourceParameters\",\"containersList\":[\"test1\",\"test2\"]}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathjobtestsa-sarathjobtestsa-d66ef0cf-819a-41e1-bac0-ae043ba4808d\",\"name\":\"sarathjobtestsa-sarathjobtestsa-d66ef0cf-819a-41e1-bac0-ae043ba4808d\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-restored-disk-1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\",\"dataStoreType\":\"OperationalStore\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-restored-disk-1-sarath-restored-disk-1-41f520c7-9e19-4b49-a762-e12ded4b5061\",\"name\":\"sarath-restored-disk-1-sarath-restored-disk-1-41f520c7-9e19-4b49-a762-e12ded4b5061\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp3\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp3\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp3\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"b17f01a6-bc95-11eb-b3aa-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"b17f01a6-bc95-11eb-b3aa-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp3-temp3-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp3-temp3-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk2\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk2\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/newdiskpolicy-vgxrh5mld6\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk2-sarathdisk2-53458665-ea63-46fd-a5d8-0a8063273054\",\"name\":\"sarathdisk2-sarathdisk2-53458665-ea63-46fd-a5d8-0a8063273054\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp2\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp2\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp2\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5119fb3a-1e8d-4c31-a4aa-94ec18b97039-Ibz\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5119fb3a-1e8d-4c31-a4aa-94ec18b97039-Ibz\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp2-temp2-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp2-temp2-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp5\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp5\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp5\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"059c9281-bca3-11eb-b183-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"059c9281-bca3-11eb-b183-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp5-temp5-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp5-temp5-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"clitest\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/clitest\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"clitest\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPSPolicy2\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionStopped\"},\"currentProtectionState\":\"ProtectionStopped\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/clitest-clitest-3165cfe7-a932-11eb-9d24-9cfce85d4fae\",\"name\":\"clitest-clitest-3165cfe7-a932-11eb-9d24-9cfce85d4fae\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-restored-disk-1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarath-restored-disk-1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-restored-disk-1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-restored-disk-1-sarath-restored-disk-1-cecd7ec5-9695-484f-b1ff-76347ce94087\",\"name\":\"sarath-restored-disk-1-sarath-restored-disk-1-cecd7ec5-9695-484f-b1ff-76347ce94087\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarathdisk\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e594f166\",\"name\":\"sarathdisk-sarathdisk-3df6ac08-9496-4839-8fb5-8b78e594f166\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarath-disk3\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-disk3\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/sarath-disk3\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarath-disk3\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionStopped\"},\"currentProtectionState\":\"ProtectionStopped\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarath-disk3-sarath-disk3-cbfbeccf-fa0b-4953-9853-a07a68f6eec6\",\"name\":\"sarath-disk3-sarath-disk3-cbfbeccf-fa0b-4953-9853-a07a68f6eec6\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"temp4\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.Compute/disks/temp4\",\"resourceUri\":\"\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"temp4\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskDailyPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionError\",\"errorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5f08710a-bc96-11eb-863b-9cfce85d4fae\"}}},\"currentProtectionState\":\"ProtectionError\",\"protectionErrorDetails\":{\"message\":\"Microsoft Azure Backup encountered an internal error.\",\"recommendedAction\":[\"Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.\"],\"code\":\"CloudInternalError\",\"target\":\"\",\"isRetryable\":false,\"isUserError\":false,\"properties\":{\"ActivityId\":\"5f08710a-bc96-11eb-863b-9cfce85d4fae\"}},\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/temp4-temp4-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"name\":\"temp4-temp4-7d67c4b6-bc86-11eb-a650-9cfce85d4fad\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"sarathdisk5-restored\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk5-restored\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-restore-disk-rg/providers/Microsoft.Compute/disks/sarathdisk5-restored\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"sarathdisk5-restored\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/DiskPolicy1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-snapshot-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"identityDetails\":{\"useSystemAssignedIdentity\":false,\"userAssignedIdentityArmUrl\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sarathuami1\"},\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/sarathdisk5-restored-sarathdisk5-restored-772237d5-2117-4f2f-a117-23eeeea470c0\",\"name\":\"sarathdisk5-restored-sarathdisk5-restored-772237d5-2117-4f2f-a117-23eeeea470c0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"hiagaDisk1\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/hiagaDisk1\",\"resourceUri\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.Compute/disks/hiagaDisk1\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"hiagaDisk1\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"policyInfo\":{\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupPolicies/hiagaPSPolicy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"AzureOperationalStoreParameters\",\"resourceGroupId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault/backupInstances/hiagaDisk1-hiagaDisk1-7ec9b426-5a1b-4e3b-af37-213a40e0266b\",\"name\":\"hiagaDisk1-hiagaDisk1-7ec9b426-5a1b-4e3b-af37-213a40e0266b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", "isContentBase64": false } } diff --git a/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupVault.Recording.json b/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupVault.Recording.json index 662fb9484ddc..567edb2fcd17 100644 --- a/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupVault.Recording.json +++ b/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionBackupVault.Recording.json @@ -1,17 +1,17 @@ { - "Get-AzDataProtectionBackupVault+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault?api-version=2023-05-01+1": { + "Get-AzDataProtectionBackupVault+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault?api-version=2023-11-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/sarath-vault?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "261" ], - "x-ms-client-request-id": [ "bd54bdc8-94e7-4359-a93e-a13f328db228" ], + "x-ms-unique-id": [ "141" ], + "x-ms-client-request-id": [ "c3b03eca-8d36-4dab-867b-8bc53c975419" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -28,16 +28,16 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], - "x-ms-correlation-request-id": [ "7925551e-887f-4a0c-9bbc-d8228624fe59" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T135726Z:7925551e-887f-4a0c-9bbc-d8228624fe59" ], - "Date": [ "Mon, 28 Aug 2023 13:57:25 GMT" ] + "x-ms-correlation-request-id": [ "f366e942-2d2e-44e7-ac23-2d4efb3cf44b" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044727Z:f366e942-2d2e-44e7-ac23-2d4efb3cf44b" ], + "Date": [ "Mon, 25 Dec 2023 04:47:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "954" ], + "Content-Length": [ "682" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"A\":\"b\"},\"identity\":{\"type\":\"SystemAssigned,UserAssigned\",\"userAssignedIdentities\":{\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/sarath-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/sarathuami1\":{\"clientId\":\"8d8b0beb-96aa-43d1-9038-aa61f9c10f41\",\"principalId\":\"3211a66a-4c65-45ff-ae00-972671b911ee\"}},\"principalId\":\"891e222d-9a30-4980-9fb1-cc851ea6d493\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"None\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.DataProtection/BackupVaults/sarath-vault\",\"name\":\"sarath-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"A\":\"b\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"fcb264a5-d728-46c8-8565-69fc1fbe4e0c\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"None\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/sarath-rg/providers/Microsoft.DataProtection/BackupVaults/sarath-vault\",\"name\":\"sarath-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", "isContentBase64": false } } diff --git a/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionJob.Tests.ps1 b/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionJob.Tests.ps1 index 2fe3c751af01..2fa9d98cb402 100644 --- a/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionJob.Tests.ps1 +++ b/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionJob.Tests.ps1 @@ -11,7 +11,7 @@ while(-not $mockingPath) { } . ($mockingPath | Select-Object -First 1).FullName -Describe 'Get-AzDataProtectionJob' { +Describe 'Get-AzDataProtectionJob' -Tag 'LiveOnly' { It 'List' -skip { $jobs = Get-AzDataProtectionJob -SubscriptionId $env.SubscriptionId -ResourceGroupName $env.TestBackupJob.ResourceGroupName -VaultName $env.TestBackupJob.VaultName $jobs.Length | Should -BeGreaterThan 0 @@ -24,6 +24,17 @@ Describe 'Get-AzDataProtectionJob' { $job.Id | Should be $jobs[0].Id } + It 'ListCRR' { + $resourceGroupName = $env.TestCrossRegionRestoreScenario.ResourceGroupName + $vaultName = $env.TestCrossRegionRestoreScenario.VaultName + $subscriptionId = $env.TestCrossRegionRestoreScenario.SubscriptionId + + $jobs = Get-AzDataProtectionJob -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName -UseSecondaryRegion + + $jobs.Length | Should -BeGreaterThan 0 + ($jobs[0].OperationCategory -eq "CrossRegionRestore") | Should be $true + } + It 'GetViaIdentity' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } diff --git a/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionRecoveryPoint.Tests.ps1 b/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionRecoveryPoint.Tests.ps1 index cca62c5adb59..1aa2248f6c2d 100644 --- a/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionRecoveryPoint.Tests.ps1 +++ b/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionRecoveryPoint.Tests.ps1 @@ -11,7 +11,21 @@ while(-not $mockingPath) { } . ($mockingPath | Select-Object -First 1).FullName -Describe 'Get-AzDataProtectionRecoveryPoint' { +Describe 'Get-AzDataProtectionRecoveryPoint' -Tag 'LiveOnly' { + It 'ListCRRRecoveryPoints' { + $resourceGroupName = $env.TestCrossRegionRestoreScenario.ResourceGroupName + $vaultName = $env.TestCrossRegionRestoreScenario.VaultName + $subscriptionId = $env.TestCrossRegionRestoreScenario.SubscriptionId + + $instance = Search-AzDataProtectionBackupInstanceInAzGraph -Subscription $subscriptionId -ResourceGroup $resourceGroupName -Vault $vaultName -DatasourceType AzureDatabaseForPostgreSQL + + ($instance[0] -ne $null) | Should be $true + + $recoveryPointsCRR = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance.Name -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subscriptionId -UseSecondaryRegion + + ($recoveryPointsCRR.Length -gt 0) | Should be $true + } + It 'Get' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw } diff --git a/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionRecoveryPointList.Tests.ps1 b/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionRecoveryPointList.Tests.ps1 deleted file mode 100644 index 889b0509d5a0..000000000000 --- a/src/DataProtection/DataProtection.Autorest/test/Get-AzDataProtectionRecoveryPointList.Tests.ps1 +++ /dev/null @@ -1,22 +0,0 @@ -$loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' -if (-Not (Test-Path -Path $loadEnvPath)) { - $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' -} -. ($loadEnvPath) -$TestRecordingFile = Join-Path $PSScriptRoot 'Get-AzDataProtectionRecoveryPointList.Recording.json' -$currentPath = $PSScriptRoot -while(-not $mockingPath) { - $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File - $currentPath = Split-Path -Path $currentPath -Parent -} -. ($mockingPath | Select-Object -First 1).FullName - -Describe 'Get-AzDataProtectionRecoveryPointList' { - It 'Get' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw - } - - It 'GetViaIdentity' -skip { - { throw [System.NotImplementedException] } | Should -Not -Throw - } -} diff --git a/src/DataProtection/DataProtection.Autorest/test/Initialize-AzDataProtectionRestoreRequest.Recording.json b/src/DataProtection/DataProtection.Autorest/test/Initialize-AzDataProtectionRestoreRequest.Recording.json index dcba9c73ce77..baaffad3910e 100644 --- a/src/DataProtection/DataProtection.Autorest/test/Initialize-AzDataProtectionRestoreRequest.Recording.json +++ b/src/DataProtection/DataProtection.Autorest/test/Initialize-AzDataProtectionRestoreRequest.Recording.json @@ -1,17 +1,17 @@ { - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances?api-version=2023-05-01+1": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances?api-version=2023-11-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "262" ], - "x-ms-client-request-id": [ "4297785c-e2fe-434f-9f18-1e23befb5bd0" ], + "x-ms-unique-id": [ "142" ], + "x-ms-client-request-id": [ "0f22638f-1662-4d00-bc11-1234e68bf6f6" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -25,11 +25,11 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1994" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "5c99aca1-aabd-4431-82d7-ec5cceb12cf7" ], - "x-ms-correlation-request-id": [ "5c99aca1-aabd-4431-82d7-ec5cceb12cf7" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T135802Z:5c99aca1-aabd-4431-82d7-ec5cceb12cf7" ], + "x-ms-request-id": [ "b1f4a25a-ef10-4fd5-92b0-40aa8313ca57" ], + "x-ms-correlation-request-id": [ "b1f4a25a-ef10-4fd5-92b0-40aa8313ca57" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044756Z:b1f4a25a-ef10-4fd5-92b0-40aa8313ca57" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 13:58:01 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:47:56 GMT" ] }, "ContentHeaders": { "Content-Length": [ "8140" ], @@ -40,11 +40,11 @@ "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$POST+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b/findRestorableTimeRanges?api-version=2023-05-01+2": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$POST+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b/findRestorableTimeRanges?api-version=2023-11-01+2": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b/findRestorableTimeRanges?api-version=2023-05-01", - "Content": "{\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"startTime\": \"2023-07-29T19:28:01.0000000Z\",\r\n \"endTime\": \"2023-08-28T19:28:01.0000000Z\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b/findRestorableTimeRanges?api-version=2023-11-01", + "Content": "{\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"startTime\": \"2023-11-25T10:17:55.0000000Z\",\r\n \"endTime\": \"2023-12-25T10:17:55.0000000Z\"\r\n}", "isContentBase64": false, "Headers": { }, @@ -61,34 +61,34 @@ "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "93391f2b-7f59-459f-98de-8ffe339378e0" ], - "x-ms-correlation-request-id": [ "93391f2b-7f59-459f-98de-8ffe339378e0" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T135803Z:93391f2b-7f59-459f-98de-8ffe339378e0" ], + "x-ms-request-id": [ "92036df8-6639-4682-b598-6873bf0300b9" ], + "x-ms-correlation-request-id": [ "92036df8-6639-4682-b598-6873bf0300b9" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044758Z:92036df8-6639-4682-b598-6873bf0300b9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 13:58:03 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:47:57 GMT" ] }, "ContentHeaders": { "Content-Length": [ "389" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"restorableTimeRanges\":[{\"startTime\":\"2023-07-29T19:28:01.0000000Z\",\"endTime\":\"2023-08-28T13:58:03.6316998Z\",\"objectType\":\"RestorableTimeRange\"}],\"objectType\":\"AzureBackupFindRestorableTimeRangesResponse\"},\"id\":\"jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/findRestorableTimeRanges\"}", + "Content": "{\"properties\":{\"restorableTimeRanges\":[{\"startTime\":\"2023-11-25T10:17:55.0000000Z\",\"endTime\":\"2023-12-25T04:47:57.8974727Z\",\"objectType\":\"RestorableTimeRange\"}],\"objectType\":\"AzureBackupFindRestorableTimeRangesResponse\"},\"id\":\"jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/findRestorableTimeRanges\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault?api-version=2023-05-01+3": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault?api-version=2023-11-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "264" ], - "x-ms-client-request-id": [ "4542a436-3bcb-40ec-823d-3468100bde63" ], + "x-ms-unique-id": [ "144" ], + "x-ms-client-request-id": [ "6547bd8d-9fe9-41be-9868-553e42da48cf" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -102,26 +102,26 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "498" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "2edb5689-de15-492b-99a7-a38bb84f878d" ], - "x-ms-correlation-request-id": [ "2edb5689-de15-492b-99a7-a38bb84f878d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T135804Z:2edb5689-de15-492b-99a7-a38bb84f878d" ], + "x-ms-request-id": [ "f2d31943-34ee-49ed-82ac-a50a8443658a" ], + "x-ms-correlation-request-id": [ "f2d31943-34ee-49ed-82ac-a50a8443658a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044758Z:f2d31943-34ee-49ed-82ac-a50a8443658a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 13:58:03 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:47:58 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "590" ], + "Content-Length": [ "613" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"eastus2euap\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"d3026af2-1184-47e4-bed5-0a29b48d8fa3\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"secureScore\":\"None\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/BackupVaults/jecECYBlobVault\",\"name\":\"jecECYBlobVault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"eastus2euap\",\"tags\":{},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"d3026af2-1184-47e4-bed5-0a29b48d8fa3\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"secureScore\":\"None\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/BackupVaults/jecECYBlobVault\",\"name\":\"jecECYBlobVault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$POST+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b/restore?api-version=2023-05-01+4": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$POST+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b/restore?api-version=2023-11-01+4": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b/restore?api-version=2023-05-01", - "Content": "{\r\n \"objectType\": \"AzureBackupRecoveryTimeBasedRestoreRequest\",\r\n \"restoreTargetInfo\": {\r\n \"objectType\": \"restoreTargetInfo\",\r\n \"recoveryOption\": \"FailIfExists\",\r\n \"restoreLocation\": \"eastus2euap\",\r\n \"datasourceInfo\": {\r\n \"datasourceType\": \"Microsoft.Storage/storageAccounts/blobServices\",\r\n \"objectType\": \"Datasource\",\r\n \"resourceID\": \"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\r\n \"resourceLocation\": \"eastus2euap\",\r\n \"resourceName\": \"jececyblobstorage\",\r\n \"resourceType\": \"Microsoft.Storage/storageAccounts\",\r\n \"resourceUri\": \"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"recoveryPointTime\": \"2023-08-28T13:58:03.0000000Z\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b/restore?api-version=2023-11-01", + "Content": "{\r\n \"objectType\": \"AzureBackupRecoveryTimeBasedRestoreRequest\",\r\n \"restoreTargetInfo\": {\r\n \"objectType\": \"restoreTargetInfo\",\r\n \"recoveryOption\": \"FailIfExists\",\r\n \"restoreLocation\": \"eastus2euap\",\r\n \"datasourceInfo\": {\r\n \"datasourceType\": \"Microsoft.Storage/storageAccounts/blobServices\",\r\n \"objectType\": \"Datasource\",\r\n \"resourceID\": \"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\r\n \"resourceLocation\": \"eastus2euap\",\r\n \"resourceName\": \"jececyblobstorage\",\r\n \"resourceType\": \"Microsoft.Storage/storageAccounts\",\r\n \"resourceUri\": \"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"recoveryPointTime\": \"2023-12-25T04:47:57.0000000Z\"\r\n}", "isContentBase64": false, "Headers": { }, @@ -135,17 +135,17 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzNhMjMzMDAxLTIwZmYtNDdkYS04MTViLTUxMzU4NzJhODU4ZA==?api-version=2023-05-01\u0026t=2023-08-28T13%3a58%3a05\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=hEQ9UvNZYi8Xz0Ern_Ze25D_ar57WFscILfQp47r6GOPYmuJ8apeggjKKuhIXxFVCB86yIoCFYQ_-8rEdC_vlH93moNGqkDp3sHXj1kfP9gWOcHBPlost3ExpwOFwNAvMiB9kXziqx6ZHgyNIIv_d6G6J0L1WJzBgxF8ADJ33LLnxRkBnhz1dwNHHIiLdh45QF4EdYwdW-jTeveId-NQJIfaB1GVkvOnRKnmapoiF2nUFqcrGo7C0ctHSgKY0RFeSCSeczo-_GKdKY4jlCMkqWidpPtzFobRZd1fvlWUdLKkJns0IOmsEQAzV88tXoXG6Kgb6-cZof43QsRyWFz-9w\u0026h=FztYjqPpS9d_SF375YiVO-LMmdcuYfKcKSaT48MaNwk" ], + "Location": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU5ODM0MmU1LWM0OWYtNGYxMS1iZjJkLWFlNGZlODYyMDRjMg==?api-version=2023-11-01\u0026t=638390764797554667\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=fKzjw4JrcCMJtw0qMx8puvIBgZlawc3EiVZB8XYPUQGUi_BtiyuLKNRi85HbVNiytqYY4s4SR4cubC4lENcjrKClzOyHhkHF7P0I_vHk5QSnPAiybcs0f9QMin6o60hLyh8APdxoT0_ugW-J7CxKvon76bcGFHgthN836GgoEKgFS-mIZTtzjpv6RVBN1hFtN7cWIYm6pH-Mcb9M8JLantSSzKmwk7wkrbemJ8vKsAp8YIpeBJ_wx30-gNYWeD5ugbFhIaTZr_UGzaEbikxovgCsHZjigL0Lmg7dCRXEupyAVYXycllpmp2kttwo1m9jidq62BIC2Z05xuVghvnq8g\u0026h=iq_LmP-EKbX-r4__yIQoOvZAnL1MIsp2rOumXJwYmSU" ], "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/operationStatus/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzNhMjMzMDAxLTIwZmYtNDdkYS04MTViLTUxMzU4NzJhODU4ZA==?api-version=2023-05-01\u0026t=2023-08-28T13%3a58%3a05\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=Oqp8RZDs0sEo419MjYvU-tpI3NbcMkPbyh03fPuKjkCWRwhe2mKF3EcTF_WGIDkEouYmF25aLWCA9L5veWojR8p9vaOQ12KgOjuIuS6vozT49-PUHZTqpxqlmEk1J1m79g6nwjq_fc96YnN8cgJkQWBV_mlFtQUr2GbibSlOX_PhwGjTfYCEvZhYqocud-On105bAw1tVrlI_pcOcsYiEYJPOl0EDgef7haOeK2JgW1VI43TOLlvD6eFxBgrnQrn3uQAa1AgVnSyan5aCgSlHfdlotmeCRSr1e1wFCxdIn2I6dTPeQthxf2k-9OyzF4CCLauvwaJhisHhNw21XpKPg\u0026h=gVRCx2wonwYlxxWmcyZdGxsotah47CBseu6lNi3Cqu8" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/operationStatus/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU5ODM0MmU1LWM0OWYtNGYxMS1iZjJkLWFlNGZlODYyMDRjMg==?api-version=2023-11-01\u0026t=638390764797554667\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=lL2C-kwSpwQIQemsj6dQM5cY1CbQssGqZjj_jb9zF6Au_i-1iVyJV0Cp1t3k0UZebYrh7b2XB-JmuJyDM1o8K4pQ2wsfLUK7JzxTTIXgbaD8M4zMAvUQs6mg8NnXOSRT_Gf8iKhPpUAPUzh0lUyCnLrdCJ4j1K7r5jZBWOxJU_byiztFBaBwJ_RX1LU3pAE5-oLXEEWui6Vv_sGkcOyAsp7Cyx8Jg2lXrLT4zyx_2eZWShGia81ytqgGQRrqPXMAX6LdMXQnGGIKpi7yzTTnBDBtmheVzIn1WFs9NiJwfbTSuaaGa6lI4Dx_zt35TzDb9YjDPsZSqYpFN21SpOSagw\u0026h=18MZ6F9HNua5rCv4YeG2u_wfCw4XDP8zpQdfTXrDGYo" ], "Server": [ "Kestrel" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-request-id": [ "da6ff021-7686-4a55-9ad4-d8d277c67b70" ], - "x-ms-correlation-request-id": [ "da6ff021-7686-4a55-9ad4-d8d277c67b70" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T135805Z:da6ff021-7686-4a55-9ad4-d8d277c67b70" ], + "x-ms-request-id": [ "b5bf8985-f862-4d1d-8bb1-1de369b4f2ee" ], + "x-ms-correlation-request-id": [ "b5bf8985-f862-4d1d-8bb1-1de369b4f2ee" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044759Z:b5bf8985-f862-4d1d-8bb1-1de369b4f2ee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 13:58:05 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:47:59 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -155,20 +155,20 @@ "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/operationStatus/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzNhMjMzMDAxLTIwZmYtNDdkYS04MTViLTUxMzU4NzJhODU4ZA==?api-version=2023-05-01\u0026t=2023-08-28T13%3a58%3a05\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=Oqp8RZDs0sEo419MjYvU-tpI3NbcMkPbyh03fPuKjkCWRwhe2mKF3EcTF_WGIDkEouYmF25aLWCA9L5veWojR8p9vaOQ12KgOjuIuS6vozT49-PUHZTqpxqlmEk1J1m79g6nwjq_fc96YnN8cgJkQWBV_mlFtQUr2GbibSlOX_PhwGjTfYCEvZhYqocud-On105bAw1tVrlI_pcOcsYiEYJPOl0EDgef7haOeK2JgW1VI43TOLlvD6eFxBgrnQrn3uQAa1AgVnSyan5aCgSlHfdlotmeCRSr1e1wFCxdIn2I6dTPeQthxf2k-9OyzF4CCLauvwaJhisHhNw21XpKPg\u0026h=gVRCx2wonwYlxxWmcyZdGxsotah47CBseu6lNi3Cqu8+5": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/operationStatus/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU5ODM0MmU1LWM0OWYtNGYxMS1iZjJkLWFlNGZlODYyMDRjMg==?api-version=2023-11-01\u0026t=638390764797554667\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=lL2C-kwSpwQIQemsj6dQM5cY1CbQssGqZjj_jb9zF6Au_i-1iVyJV0Cp1t3k0UZebYrh7b2XB-JmuJyDM1o8K4pQ2wsfLUK7JzxTTIXgbaD8M4zMAvUQs6mg8NnXOSRT_Gf8iKhPpUAPUzh0lUyCnLrdCJ4j1K7r5jZBWOxJU_byiztFBaBwJ_RX1LU3pAE5-oLXEEWui6Vv_sGkcOyAsp7Cyx8Jg2lXrLT4zyx_2eZWShGia81ytqgGQRrqPXMAX6LdMXQnGGIKpi7yzTTnBDBtmheVzIn1WFs9NiJwfbTSuaaGa6lI4Dx_zt35TzDb9YjDPsZSqYpFN21SpOSagw\u0026h=18MZ6F9HNua5rCv4YeG2u_wfCw4XDP8zpQdfTXrDGYo+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/operationStatus/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzNhMjMzMDAxLTIwZmYtNDdkYS04MTViLTUxMzU4NzJhODU4ZA==?api-version=2023-05-01\u0026t=2023-08-28T13%3a58%3a05\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=Oqp8RZDs0sEo419MjYvU-tpI3NbcMkPbyh03fPuKjkCWRwhe2mKF3EcTF_WGIDkEouYmF25aLWCA9L5veWojR8p9vaOQ12KgOjuIuS6vozT49-PUHZTqpxqlmEk1J1m79g6nwjq_fc96YnN8cgJkQWBV_mlFtQUr2GbibSlOX_PhwGjTfYCEvZhYqocud-On105bAw1tVrlI_pcOcsYiEYJPOl0EDgef7haOeK2JgW1VI43TOLlvD6eFxBgrnQrn3uQAa1AgVnSyan5aCgSlHfdlotmeCRSr1e1wFCxdIn2I6dTPeQthxf2k-9OyzF4CCLauvwaJhisHhNw21XpKPg\u0026h=gVRCx2wonwYlxxWmcyZdGxsotah47CBseu6lNi3Cqu8", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/operationStatus/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU5ODM0MmU1LWM0OWYtNGYxMS1iZjJkLWFlNGZlODYyMDRjMg==?api-version=2023-11-01\u0026t=638390764797554667\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=lL2C-kwSpwQIQemsj6dQM5cY1CbQssGqZjj_jb9zF6Au_i-1iVyJV0Cp1t3k0UZebYrh7b2XB-JmuJyDM1o8K4pQ2wsfLUK7JzxTTIXgbaD8M4zMAvUQs6mg8NnXOSRT_Gf8iKhPpUAPUzh0lUyCnLrdCJ4j1K7r5jZBWOxJU_byiztFBaBwJ_RX1LU3pAE5-oLXEEWui6Vv_sGkcOyAsp7Cyx8Jg2lXrLT4zyx_2eZWShGia81ytqgGQRrqPXMAX6LdMXQnGGIKpi7yzTTnBDBtmheVzIn1WFs9NiJwfbTSuaaGa6lI4Dx_zt35TzDb9YjDPsZSqYpFN21SpOSagw\u0026h=18MZ6F9HNua5rCv4YeG2u_wfCw4XDP8zpQdfTXrDGYo", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "266" ], - "x-ms-client-request-id": [ "e436b320-407b-4b5e-b26e-8c07370631ec" ], - "CommandName": [ "Start-AzDataProtectionBackupInstanceRestore" ], + "x-ms-unique-id": [ "146" ], + "x-ms-client-request-id": [ "e6573bac-9bff-449d-ab8d-5cce39974ad8" ], + "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -181,35 +181,35 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "7e149029-728a-4f62-b1f1-ed12b735a6e0" ], - "x-ms-correlation-request-id": [ "7e149029-728a-4f62-b1f1-ed12b735a6e0" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T135836Z:7e149029-728a-4f62-b1f1-ed12b735a6e0" ], + "x-ms-request-id": [ "ff78b874-8f1b-4022-a65c-77f910c07efe" ], + "x-ms-correlation-request-id": [ "ff78b874-8f1b-4022-a65c-77f910c07efe" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044830Z:ff78b874-8f1b-4022-a65c-77f910c07efe" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 13:58:36 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:48:30 GMT" ] }, "ContentHeaders": { "Content-Length": [ "745" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/operationStatus/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzNhMjMzMDAxLTIwZmYtNDdkYS04MTViLTUxMzU4NzJhODU4ZA==\",\"name\":\"Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzNhMjMzMDAxLTIwZmYtNDdkYS04MTViLTUxMzU4NzJhODU4ZA==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-28T13:58:05.4355874Z\",\"endTime\":\"2023-08-28T13:58:06Z\",\"properties\":{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/BackupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/operationStatus/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU5ODM0MmU1LWM0OWYtNGYxMS1iZjJkLWFlNGZlODYyMDRjMg==\",\"name\":\"Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU5ODM0MmU1LWM0OWYtNGYxMS1iZjJkLWFlNGZlODYyMDRjMg==\",\"status\":\"Succeeded\",\"startTime\":\"2023-12-25T04:47:59.4910318Z\",\"endTime\":\"2023-12-25T04:48:00Z\",\"properties\":{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/BackupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"objectType\":\"OperationJobExtendedInfo\"}}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzNhMjMzMDAxLTIwZmYtNDdkYS04MTViLTUxMzU4NzJhODU4ZA==?api-version=2023-05-01\u0026t=2023-08-28T13%3a58%3a05\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=hEQ9UvNZYi8Xz0Ern_Ze25D_ar57WFscILfQp47r6GOPYmuJ8apeggjKKuhIXxFVCB86yIoCFYQ_-8rEdC_vlH93moNGqkDp3sHXj1kfP9gWOcHBPlost3ExpwOFwNAvMiB9kXziqx6ZHgyNIIv_d6G6J0L1WJzBgxF8ADJ33LLnxRkBnhz1dwNHHIiLdh45QF4EdYwdW-jTeveId-NQJIfaB1GVkvOnRKnmapoiF2nUFqcrGo7C0ctHSgKY0RFeSCSeczo-_GKdKY4jlCMkqWidpPtzFobRZd1fvlWUdLKkJns0IOmsEQAzV88tXoXG6Kgb6-cZof43QsRyWFz-9w\u0026h=FztYjqPpS9d_SF375YiVO-LMmdcuYfKcKSaT48MaNwk+6": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU5ODM0MmU1LWM0OWYtNGYxMS1iZjJkLWFlNGZlODYyMDRjMg==?api-version=2023-11-01\u0026t=638390764797554667\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=fKzjw4JrcCMJtw0qMx8puvIBgZlawc3EiVZB8XYPUQGUi_BtiyuLKNRi85HbVNiytqYY4s4SR4cubC4lENcjrKClzOyHhkHF7P0I_vHk5QSnPAiybcs0f9QMin6o60hLyh8APdxoT0_ugW-J7CxKvon76bcGFHgthN836GgoEKgFS-mIZTtzjpv6RVBN1hFtN7cWIYm6pH-Mcb9M8JLantSSzKmwk7wkrbemJ8vKsAp8YIpeBJ_wx30-gNYWeD5ugbFhIaTZr_UGzaEbikxovgCsHZjigL0Lmg7dCRXEupyAVYXycllpmp2kttwo1m9jidq62BIC2Z05xuVghvnq8g\u0026h=iq_LmP-EKbX-r4__yIQoOvZAnL1MIsp2rOumXJwYmSU+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzNhMjMzMDAxLTIwZmYtNDdkYS04MTViLTUxMzU4NzJhODU4ZA==?api-version=2023-05-01\u0026t=2023-08-28T13%3a58%3a05\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=hEQ9UvNZYi8Xz0Ern_Ze25D_ar57WFscILfQp47r6GOPYmuJ8apeggjKKuhIXxFVCB86yIoCFYQ_-8rEdC_vlH93moNGqkDp3sHXj1kfP9gWOcHBPlost3ExpwOFwNAvMiB9kXziqx6ZHgyNIIv_d6G6J0L1WJzBgxF8ADJ33LLnxRkBnhz1dwNHHIiLdh45QF4EdYwdW-jTeveId-NQJIfaB1GVkvOnRKnmapoiF2nUFqcrGo7C0ctHSgKY0RFeSCSeczo-_GKdKY4jlCMkqWidpPtzFobRZd1fvlWUdLKkJns0IOmsEQAzV88tXoXG6Kgb6-cZof43QsRyWFz-9w\u0026h=FztYjqPpS9d_SF375YiVO-LMmdcuYfKcKSaT48MaNwk", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU5ODM0MmU1LWM0OWYtNGYxMS1iZjJkLWFlNGZlODYyMDRjMg==?api-version=2023-11-01\u0026t=638390764797554667\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=fKzjw4JrcCMJtw0qMx8puvIBgZlawc3EiVZB8XYPUQGUi_BtiyuLKNRi85HbVNiytqYY4s4SR4cubC4lENcjrKClzOyHhkHF7P0I_vHk5QSnPAiybcs0f9QMin6o60hLyh8APdxoT0_ugW-J7CxKvon76bcGFHgthN836GgoEKgFS-mIZTtzjpv6RVBN1hFtN7cWIYm6pH-Mcb9M8JLantSSzKmwk7wkrbemJ8vKsAp8YIpeBJ_wx30-gNYWeD5ugbFhIaTZr_UGzaEbikxovgCsHZjigL0Lmg7dCRXEupyAVYXycllpmp2kttwo1m9jidq62BIC2Z05xuVghvnq8g\u0026h=iq_LmP-EKbX-r4__yIQoOvZAnL1MIsp2rOumXJwYmSU", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "267" ], - "x-ms-client-request-id": [ "e436b320-407b-4b5e-b26e-8c07370631ec" ], - "CommandName": [ "Start-AzDataProtectionBackupInstanceRestore" ], + "x-ms-unique-id": [ "147" ], + "x-ms-client-request-id": [ "e6573bac-9bff-449d-ab8d-5cce39974ad8" ], + "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -222,36 +222,36 @@ "Retry-After": [ "30" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzNhMjMzMDAxLTIwZmYtNDdkYS04MTViLTUxMzU4NzJhODU4ZA==?api-version=2023-05-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/Y2ZlZmJjZDktYzhkOC00M2Q2LWI0MjgtMmZlYzkzZmM1NGY2OzU5ODM0MmU1LWM0OWYtNGYxMS1iZjJkLWFlNGZlODYyMDRjMg==?api-version=2023-11-01" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "390f1960-d1de-4f46-95b2-cd71dd607ee9" ], - "x-ms-correlation-request-id": [ "390f1960-d1de-4f46-95b2-cd71dd607ee9" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T135836Z:390f1960-d1de-4f46-95b2-cd71dd607ee9" ], + "x-ms-request-id": [ "a020ec62-32db-4de4-b79e-dbcf9fdf915d" ], + "x-ms-correlation-request-id": [ "a020ec62-32db-4de4-b79e-dbcf9fdf915d" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044830Z:a020ec62-32db-4de4-b79e-dbcf9fdf915d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 13:58:36 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:48:30 GMT" ] }, "ContentHeaders": { "Content-Length": [ "249" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/BackupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/BackupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+7": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "268" ], - "x-ms-client-request-id": [ "95439ef9-c2be-4302-9c2d-ab4de077dcda" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "148" ], + "x-ms-client-request-id": [ "becb9518-d442-4547-a907-652ab0d84b75" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -265,34 +265,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "98179457-bd7e-45df-8ac4-73797047b4f0" ], - "x-ms-correlation-request-id": [ "98179457-bd7e-45df-8ac4-73797047b4f0" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T135847Z:98179457-bd7e-45df-8ac4-73797047b4f0" ], + "x-ms-request-id": [ "35fb1056-e9e0-48f6-8a1b-50de65c92b36" ], + "x-ms-correlation-request-id": [ "35fb1056-e9e0-48f6-8a1b-50de65c92b36" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044841Z:35fb1056-e9e0-48f6-8a1b-50de65c92b36" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 13:58:47 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:48:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+8": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "269" ], - "x-ms-client-request-id": [ "aa060141-be98-4b73-b881-8c8225f6e62e" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "149" ], + "x-ms-client-request-id": [ "d037f1c1-35f7-4451-967d-163193ded838" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -306,34 +306,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "6d6d558f-b948-4739-824c-669a7e52892f" ], - "x-ms-correlation-request-id": [ "6d6d558f-b948-4739-824c-669a7e52892f" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T135858Z:6d6d558f-b948-4739-824c-669a7e52892f" ], + "x-ms-request-id": [ "9a0dcb31-b887-49c4-ae38-435aa6e5087a" ], + "x-ms-correlation-request-id": [ "9a0dcb31-b887-49c4-ae38-435aa6e5087a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044852Z:9a0dcb31-b887-49c4-ae38-435aa6e5087a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 13:58:57 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:48:51 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+9": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "270" ], - "x-ms-client-request-id": [ "e46a8805-9594-4081-9840-56d968ed099b" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "150" ], + "x-ms-client-request-id": [ "f46d9212-9960-4c47-a6f3-9520609cbc59" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -347,34 +347,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "1bd73e8d-0431-4b96-96a9-8e08c0705cf6" ], - "x-ms-correlation-request-id": [ "1bd73e8d-0431-4b96-96a9-8e08c0705cf6" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T135909Z:1bd73e8d-0431-4b96-96a9-8e08c0705cf6" ], + "x-ms-request-id": [ "4bbc70b2-4062-4f1c-a50c-28b13b41bfa7" ], + "x-ms-correlation-request-id": [ "4bbc70b2-4062-4f1c-a50c-28b13b41bfa7" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044902Z:4bbc70b2-4062-4f1c-a50c-28b13b41bfa7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 13:59:08 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:49:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+10": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "271" ], - "x-ms-client-request-id": [ "547e9130-ffbd-4960-92ea-7434d60ef294" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "151" ], + "x-ms-client-request-id": [ "7acd5e85-812c-47cc-bb82-d2d5d2d060be" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -388,34 +388,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], - "x-ms-request-id": [ "c58f91d1-5889-4f37-beec-bc42a48804d2" ], - "x-ms-correlation-request-id": [ "c58f91d1-5889-4f37-beec-bc42a48804d2" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T135920Z:c58f91d1-5889-4f37-beec-bc42a48804d2" ], + "x-ms-request-id": [ "55621822-f8a3-48c8-ac4c-21f64e17ca60" ], + "x-ms-correlation-request-id": [ "55621822-f8a3-48c8-ac4c-21f64e17ca60" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044913Z:55621822-f8a3-48c8-ac4c-21f64e17ca60" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 13:59:19 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:49:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+11": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "272" ], - "x-ms-client-request-id": [ "ca42302e-27e2-4570-9c42-8df6eebe7f0e" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "152" ], + "x-ms-client-request-id": [ "4cae1f24-1161-4e47-9ff4-e665bbb33dae" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -429,34 +429,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "195" ], - "x-ms-request-id": [ "b8fe4186-e6c9-4f8c-8cfa-58cad05fbf25" ], - "x-ms-correlation-request-id": [ "b8fe4186-e6c9-4f8c-8cfa-58cad05fbf25" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T135930Z:b8fe4186-e6c9-4f8c-8cfa-58cad05fbf25" ], + "x-ms-request-id": [ "71396e4b-c7a2-42c2-90fc-68ebdf430529" ], + "x-ms-correlation-request-id": [ "71396e4b-c7a2-42c2-90fc-68ebdf430529" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044924Z:71396e4b-c7a2-42c2-90fc-68ebdf430529" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 13:59:30 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:49:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+12": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "273" ], - "x-ms-client-request-id": [ "53ffd5d5-09ed-4060-be3c-deec5e3cf163" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "153" ], + "x-ms-client-request-id": [ "e9ea48f0-1067-4fb2-b54a-6f9364332ba6" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -470,34 +470,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "194" ], - "x-ms-request-id": [ "4af7881e-40de-42d3-b13e-6ca48c4639df" ], - "x-ms-correlation-request-id": [ "4af7881e-40de-42d3-b13e-6ca48c4639df" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T135941Z:4af7881e-40de-42d3-b13e-6ca48c4639df" ], + "x-ms-request-id": [ "ba56e4fa-bde1-4ed1-8c06-f88b324fdf7a" ], + "x-ms-correlation-request-id": [ "ba56e4fa-bde1-4ed1-8c06-f88b324fdf7a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044934Z:ba56e4fa-bde1-4ed1-8c06-f88b324fdf7a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 13:59:40 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:49:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+13": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "274" ], - "x-ms-client-request-id": [ "0f10b91b-b619-463b-a377-6297e6636643" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "154" ], + "x-ms-client-request-id": [ "f70e1ca1-9a74-4e60-93ed-e3e3524c56fc" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -511,34 +511,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "193" ], - "x-ms-request-id": [ "74fb1219-4c2b-4f03-82fd-4ba341eae930" ], - "x-ms-correlation-request-id": [ "74fb1219-4c2b-4f03-82fd-4ba341eae930" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T135952Z:74fb1219-4c2b-4f03-82fd-4ba341eae930" ], + "x-ms-request-id": [ "2a39ede4-a60b-4f1a-b3e2-bbee65ffb651" ], + "x-ms-correlation-request-id": [ "2a39ede4-a60b-4f1a-b3e2-bbee65ffb651" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044945Z:2a39ede4-a60b-4f1a-b3e2-bbee65ffb651" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 13:59:51 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:49:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+14": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "275" ], - "x-ms-client-request-id": [ "7fcf8f05-59f0-4c7f-88f9-fd448d02df9d" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "155" ], + "x-ms-client-request-id": [ "e6f55e19-98a6-4fa2-82c0-a6c3faf6f386" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -552,34 +552,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "192" ], - "x-ms-request-id": [ "0ceb5246-1413-4c98-822e-f8ac1332219d" ], - "x-ms-correlation-request-id": [ "0ceb5246-1413-4c98-822e-f8ac1332219d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140002Z:0ceb5246-1413-4c98-822e-f8ac1332219d" ], + "x-ms-request-id": [ "663ebc32-e269-4463-9256-520b093b05ad" ], + "x-ms-correlation-request-id": [ "663ebc32-e269-4463-9256-520b093b05ad" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T044955Z:663ebc32-e269-4463-9256-520b093b05ad" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:00:02 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:49:55 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+15": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "276" ], - "x-ms-client-request-id": [ "2b0affd3-43f3-46c7-9873-41fe72fa78c7" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "156" ], + "x-ms-client-request-id": [ "6a94e230-01e8-417c-9011-4a879a1b335b" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -593,34 +593,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "191" ], - "x-ms-request-id": [ "8082bc5a-6220-4fb7-8335-207d92a58e1f" ], - "x-ms-correlation-request-id": [ "8082bc5a-6220-4fb7-8335-207d92a58e1f" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140013Z:8082bc5a-6220-4fb7-8335-207d92a58e1f" ], + "x-ms-request-id": [ "be39db3e-1070-472d-86e7-18c4e27f95b3" ], + "x-ms-correlation-request-id": [ "be39db3e-1070-472d-86e7-18c4e27f95b3" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045006Z:be39db3e-1070-472d-86e7-18c4e27f95b3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:00:13 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:50:05 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+16": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "277" ], - "x-ms-client-request-id": [ "0b0c074d-b307-441b-9458-1f8ad3036014" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "157" ], + "x-ms-client-request-id": [ "0b7cf831-db9f-4bf1-8b02-dcfc52611add" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -634,34 +634,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "190" ], - "x-ms-request-id": [ "c40ca6fa-e53d-4a58-a5da-e67fd09a0467" ], - "x-ms-correlation-request-id": [ "c40ca6fa-e53d-4a58-a5da-e67fd09a0467" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140024Z:c40ca6fa-e53d-4a58-a5da-e67fd09a0467" ], + "x-ms-request-id": [ "65e868f4-54db-4d7d-92d8-53eed885939b" ], + "x-ms-correlation-request-id": [ "65e868f4-54db-4d7d-92d8-53eed885939b" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045017Z:65e868f4-54db-4d7d-92d8-53eed885939b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:00:23 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:50:16 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+17": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "278" ], - "x-ms-client-request-id": [ "b51021cc-965e-4395-bf22-0e73ad4b14ca" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "158" ], + "x-ms-client-request-id": [ "3653e756-306a-4750-9f49-4909aff40bce" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -675,34 +675,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "189" ], - "x-ms-request-id": [ "4b6510f3-65a5-4811-a591-e8b55be50de0" ], - "x-ms-correlation-request-id": [ "4b6510f3-65a5-4811-a591-e8b55be50de0" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140034Z:4b6510f3-65a5-4811-a591-e8b55be50de0" ], + "x-ms-request-id": [ "849add2f-6d07-4137-b4ca-1c00b1a507d6" ], + "x-ms-correlation-request-id": [ "849add2f-6d07-4137-b4ca-1c00b1a507d6" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045027Z:849add2f-6d07-4137-b4ca-1c00b1a507d6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:00:34 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:50:27 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+18": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "279" ], - "x-ms-client-request-id": [ "f7911da6-daf8-463a-838f-73a19f88405e" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "159" ], + "x-ms-client-request-id": [ "acb400d5-4ca8-4f0b-ad80-9bd524f0453a" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -716,34 +716,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "188" ], - "x-ms-request-id": [ "065f0d24-9faa-45ce-9890-6d4b7626ad06" ], - "x-ms-correlation-request-id": [ "065f0d24-9faa-45ce-9890-6d4b7626ad06" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140045Z:065f0d24-9faa-45ce-9890-6d4b7626ad06" ], + "x-ms-request-id": [ "993f4a3e-4c33-4bff-bb37-2ef50785b011" ], + "x-ms-correlation-request-id": [ "993f4a3e-4c33-4bff-bb37-2ef50785b011" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045038Z:993f4a3e-4c33-4bff-bb37-2ef50785b011" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:00:44 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:50:37 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+19": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "280" ], - "x-ms-client-request-id": [ "73c7e107-dfda-41fa-9dc1-cad7cea20d76" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "160" ], + "x-ms-client-request-id": [ "d8bbf1db-c480-43b4-8939-1a1648dc91ab" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -757,34 +757,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "187" ], - "x-ms-request-id": [ "6d909b5c-ba80-415d-85c2-bc2517d9657d" ], - "x-ms-correlation-request-id": [ "6d909b5c-ba80-415d-85c2-bc2517d9657d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140056Z:6d909b5c-ba80-415d-85c2-bc2517d9657d" ], + "x-ms-request-id": [ "d998b301-58a6-4322-9dbf-f98bbfab76b4" ], + "x-ms-correlation-request-id": [ "d998b301-58a6-4322-9dbf-f98bbfab76b4" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045049Z:d998b301-58a6-4322-9dbf-f98bbfab76b4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:00:55 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:50:48 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+20": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "281" ], - "x-ms-client-request-id": [ "3ceb1877-1e13-4447-a2fa-6f1d6fbaacff" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "161" ], + "x-ms-client-request-id": [ "5cb05d06-de4c-4e73-a952-5dfc6ae40ada" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -798,34 +798,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "186" ], - "x-ms-request-id": [ "b322c622-2f86-475e-a420-5f31296c21df" ], - "x-ms-correlation-request-id": [ "b322c622-2f86-475e-a420-5f31296c21df" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140107Z:b322c622-2f86-475e-a420-5f31296c21df" ], + "x-ms-request-id": [ "e88caa64-d7f7-4c25-a920-e247304b9044" ], + "x-ms-correlation-request-id": [ "e88caa64-d7f7-4c25-a920-e247304b9044" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045059Z:e88caa64-d7f7-4c25-a920-e247304b9044" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:01:07 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:50:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+21": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "282" ], - "x-ms-client-request-id": [ "055e7ed7-f51b-4455-a6e0-74cae7f87fbe" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "162" ], + "x-ms-client-request-id": [ "39fe6efd-8208-489f-8f9a-30205cdb2fee" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -839,34 +839,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "185" ], - "x-ms-request-id": [ "f594c7f6-8153-440a-9e5d-da6257f77273" ], - "x-ms-correlation-request-id": [ "f594c7f6-8153-440a-9e5d-da6257f77273" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140118Z:f594c7f6-8153-440a-9e5d-da6257f77273" ], + "x-ms-request-id": [ "7feb8d11-ced8-4357-b70d-3b45bf0bd5f0" ], + "x-ms-correlation-request-id": [ "7feb8d11-ced8-4357-b70d-3b45bf0bd5f0" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045110Z:7feb8d11-ced8-4357-b70d-3b45bf0bd5f0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:01:18 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:51:09 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+22": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "283" ], - "x-ms-client-request-id": [ "8a6d623e-ee40-4e12-af7a-f1c6821b0e30" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "163" ], + "x-ms-client-request-id": [ "a65e002a-90f1-45d9-ba8f-c8c6b837fff5" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -877,37 +877,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "184" ], "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "184" ], - "x-ms-request-id": [ "18e7a604-b9ca-4730-8d4d-9bfd89d70d20" ], - "x-ms-correlation-request-id": [ "18e7a604-b9ca-4730-8d4d-9bfd89d70d20" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140129Z:18e7a604-b9ca-4730-8d4d-9bfd89d70d20" ], + "x-ms-request-id": [ "3d279f5d-dc0f-4c70-95b0-3082ce4bedba" ], + "x-ms-correlation-request-id": [ "3d279f5d-dc0f-4c70-95b0-3082ce4bedba" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045120Z:3d279f5d-dc0f-4c70-95b0-3082ce4bedba" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:01:28 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:51:20 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+23": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "284" ], - "x-ms-client-request-id": [ "9d6b5eb3-81bc-406a-8a6f-c9bed482cfc1" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "164" ], + "x-ms-client-request-id": [ "addbc986-d967-4a15-9ea4-4163e58e2628" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -921,34 +921,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "183" ], - "x-ms-request-id": [ "3f909e12-e924-4278-b2b5-8e4159f7ff6c" ], - "x-ms-correlation-request-id": [ "3f909e12-e924-4278-b2b5-8e4159f7ff6c" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140139Z:3f909e12-e924-4278-b2b5-8e4159f7ff6c" ], + "x-ms-request-id": [ "1b5ba2f9-7575-410b-9143-228f5590e938" ], + "x-ms-correlation-request-id": [ "1b5ba2f9-7575-410b-9143-228f5590e938" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045132Z:1b5ba2f9-7575-410b-9143-228f5590e938" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:01:39 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:51:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+24": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "285" ], - "x-ms-client-request-id": [ "ff39a633-1b66-4aff-904d-7aff0266e5e6" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "165" ], + "x-ms-client-request-id": [ "8d1649f1-cf5a-4e26-8688-2b35d77b4881" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -962,34 +962,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "182" ], - "x-ms-request-id": [ "50912699-a161-4daf-92ba-a70e391505b1" ], - "x-ms-correlation-request-id": [ "50912699-a161-4daf-92ba-a70e391505b1" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140150Z:50912699-a161-4daf-92ba-a70e391505b1" ], + "x-ms-request-id": [ "3444c284-8711-4810-8937-ac5f3976faf5" ], + "x-ms-correlation-request-id": [ "3444c284-8711-4810-8937-ac5f3976faf5" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045142Z:3444c284-8711-4810-8937-ac5f3976faf5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:01:49 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:51:42 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+25": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "286" ], - "x-ms-client-request-id": [ "c2efe304-054d-45ce-bc77-d58d3f3fec7f" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "166" ], + "x-ms-client-request-id": [ "b20554e5-a578-45f2-afe0-4086ae6080f8" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1003,34 +1003,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "181" ], - "x-ms-request-id": [ "577cf8f6-9687-4b42-9b0d-664c6aff183d" ], - "x-ms-correlation-request-id": [ "577cf8f6-9687-4b42-9b0d-664c6aff183d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140201Z:577cf8f6-9687-4b42-9b0d-664c6aff183d" ], + "x-ms-request-id": [ "351cd17e-aa98-44eb-b7ac-f266c5c312a3" ], + "x-ms-correlation-request-id": [ "351cd17e-aa98-44eb-b7ac-f266c5c312a3" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045153Z:351cd17e-aa98-44eb-b7ac-f266c5c312a3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:02:00 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:51:53 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+26": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "287" ], - "x-ms-client-request-id": [ "aaf07154-0adb-4305-bfd2-38d3273c43f4" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "167" ], + "x-ms-client-request-id": [ "9e489526-dd57-40c6-9e84-f954c7830464" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1041,37 +1041,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "180" ], "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "65ad997a-506c-4ff1-b807-538cb7f4591d" ], - "x-ms-correlation-request-id": [ "65ad997a-506c-4ff1-b807-538cb7f4591d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140212Z:65ad997a-506c-4ff1-b807-538cb7f4591d" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "180" ], + "x-ms-request-id": [ "fa154c55-df20-41c6-8b90-0e22c1bdf514" ], + "x-ms-correlation-request-id": [ "fa154c55-df20-41c6-8b90-0e22c1bdf514" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045204Z:fa154c55-df20-41c6-8b90-0e22c1bdf514" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:02:12 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:52:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+27": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+27": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "288" ], - "x-ms-client-request-id": [ "ccad376a-ecc4-43bf-9bef-7a7bbc156181" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "168" ], + "x-ms-client-request-id": [ "62c4fe35-f99c-46af-8341-461a96d049eb" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1085,34 +1085,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "179" ], - "x-ms-request-id": [ "1cc6af95-6280-40ac-a03f-5197f5a5046a" ], - "x-ms-correlation-request-id": [ "1cc6af95-6280-40ac-a03f-5197f5a5046a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140223Z:1cc6af95-6280-40ac-a03f-5197f5a5046a" ], + "x-ms-request-id": [ "a49980b1-2a73-443c-b5d7-d70054c7a94a" ], + "x-ms-correlation-request-id": [ "a49980b1-2a73-443c-b5d7-d70054c7a94a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045214Z:a49980b1-2a73-443c-b5d7-d70054c7a94a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:02:23 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:52:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2450" ], + "Content-Length": [ "2471" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T13%3A58%3A05.9956735Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01+28": { + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+28": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "289" ], - "x-ms-client-request-id": [ "8195bed1-72b8-4b91-96f6-d00d34693dd9" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "169" ], + "x-ms-client-request-id": [ "66069c81-ffaa-490d-9286-ab9f4020816b" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1126,18 +1126,264 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "178" ], - "x-ms-request-id": [ "a7735251-a377-418f-a27a-31515bb9ff72" ], - "x-ms-correlation-request-id": [ "a7735251-a377-418f-a27a-31515bb9ff72" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140234Z:a7735251-a377-418f-a27a-31515bb9ff72" ], + "x-ms-request-id": [ "47c972b9-e368-4405-8a3b-2e3b55fe2e09" ], + "x-ms-correlation-request-id": [ "47c972b9-e368-4405-8a3b-2e3b55fe2e09" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045225Z:47c972b9-e368-4405-8a3b-2e3b55fe2e09" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Mon, 25 Dec 2023 04:52:24 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "2471" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "isContentBase64": false + } + }, + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+29": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "170" ], + "x-ms-client-request-id": [ "a43a7114-29d7-4e4a-aefd-33b98e04a73f" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], + "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Server": [ "Kestrel" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "177" ], + "x-ms-request-id": [ "87cb42db-c0e8-423e-92cd-a5daf3d5b870" ], + "x-ms-correlation-request-id": [ "87cb42db-c0e8-423e-92cd-a5daf3d5b870" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045236Z:87cb42db-c0e8-423e-92cd-a5daf3d5b870" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Mon, 25 Dec 2023 04:52:35 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "2471" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "isContentBase64": false + } + }, + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+30": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "171" ], + "x-ms-client-request-id": [ "00825b74-02b7-4dde-adc1-a4df08ca6676" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], + "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Server": [ "Kestrel" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "176" ], + "x-ms-request-id": [ "c385ff1f-17eb-43f3-899b-9c8a11482e30" ], + "x-ms-correlation-request-id": [ "c385ff1f-17eb-43f3-899b-9c8a11482e30" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045247Z:c385ff1f-17eb-43f3-899b-9c8a11482e30" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Mon, 25 Dec 2023 04:52:47 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "2471" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "isContentBase64": false + } + }, + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+31": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "172" ], + "x-ms-client-request-id": [ "a40912b5-9d12-4d95-81d2-89489ae2241e" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], + "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Server": [ "Kestrel" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "175" ], + "x-ms-request-id": [ "16c579ff-359b-4a80-b755-d65b79cf45a1" ], + "x-ms-correlation-request-id": [ "16c579ff-359b-4a80-b755-d65b79cf45a1" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045257Z:16c579ff-359b-4a80-b755-d65b79cf45a1" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Mon, 25 Dec 2023 04:52:57 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "2471" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "isContentBase64": false + } + }, + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+32": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "173" ], + "x-ms-client-request-id": [ "dcfe0243-24f0-4a75-9a84-62f213275496" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], + "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Server": [ "Kestrel" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "174" ], + "x-ms-request-id": [ "9fc5b11c-b3a2-47cf-ad17-5dacaeeb9922" ], + "x-ms-correlation-request-id": [ "9fc5b11c-b3a2-47cf-ad17-5dacaeeb9922" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045308Z:9fc5b11c-b3a2-47cf-ad17-5dacaeeb9922" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Mon, 25 Dec 2023 04:53:08 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "2471" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "isContentBase64": false + } + }, + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+33": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "174" ], + "x-ms-client-request-id": [ "14ae2015-620b-4922-8bc4-ae4f93ac70ff" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], + "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Server": [ "Kestrel" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "173" ], + "x-ms-request-id": [ "9cd776ce-f5ff-4429-9a2b-531d1f129148" ], + "x-ms-correlation-request-id": [ "9cd776ce-f5ff-4429-9a2b-531d1f129148" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045319Z:9cd776ce-f5ff-4429-9a2b-531d1f129148" ], + "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], + "Date": [ "Mon, 25 Dec 2023 04:53:18 GMT" ] + }, + "ContentHeaders": { + "Content-Length": [ "2471" ], + "Content-Type": [ "application/json; charset=utf-8" ], + "Expires": [ "-1" ] + }, + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A47%3A59.8838173Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "isContentBase64": false + } + }, + "Initialize-AzDataProtectionRestoreRequest+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01+34": { + "Request": { + "Method": "GET", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023?api-version=2023-11-01", + "Content": null, + "isContentBase64": false, + "Headers": { + "x-ms-unique-id": [ "175" ], + "x-ms-client-request-id": [ "67c160ae-1ca7-41cf-a0d6-cf3ea4cf36e2" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], + "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], + "ParameterSetName": [ "__AllParameterSets" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], + "Authorization": [ "[Filtered]" ] + }, + "ContentHeaders": { + } + }, + "Response": { + "StatusCode": 200, + "Headers": { + "Cache-Control": [ "no-cache" ], + "Pragma": [ "no-cache" ], + "Server": [ "Kestrel" ], + "X-Content-Type-Options": [ "nosniff" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "172" ], + "x-ms-request-id": [ "304b1875-fdb2-454d-9a3d-22f46e82df17" ], + "x-ms-correlation-request-id": [ "304b1875-fdb2-454d-9a3d-22f46e82df17" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045329Z:304b1875-fdb2-454d-9a3d-22f46e82df17" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:02:33 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:53:29 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2625" ], + "Content-Length": [ "2646" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A02%3A24.0919207Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T13:58:05.6732141Z\",\"endTime\":\"2023-08-28T14:02:23.7657874Z\",\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT4M18.0925733S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-08-28T13:58:03Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"e436b320-407b-4b5e-b26e-8c07370631ec\",\"DatasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\"}}],\"additionalDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"name\":\"bcd0657f-a7f9-4cdf-bb04-c2138c6cda71\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupInstances/jececyblobstorage-jececyblobstorage-828ee34c-9ffc-4365-9b13-609f89cb200b\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupPolicies/retention60days\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"vaultName\":\"jecECYBlobVault\",\"backupInstanceFriendlyName\":\"Microsoft.Storage/storageAccounts\",\"policyName\":\"retention60days\",\"sourceResourceGroup\":\"BlobBackup-BugBash\",\"dataSourceSetName\":null,\"dataSourceName\":\"jececyblobstorage\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A53%3A19.1484032Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:47:59.681653Z\",\"endTime\":\"2023-12-25T04:53:18.9085457Z\",\"dataSourceType\":\"Microsoft.Storage/storageAccounts/blobServices\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT5M19.2268927S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":null,\"recoveryPointTime\":\"2023-12-25T04:47:57Z\"},\"recoveryDestination\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.Storage/storageAccounts/jececyblobstorage\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"e6573bac-9bff-449d-ab8d-5cce39974ad8\",\"DatasourceType\":\"Microsoft.Storage/storageAccounts/blobServices\"}}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/BlobBackup-BugBash/providers/Microsoft.DataProtection/backupVaults/jecECYBlobVault/backupJobs/44e48382-2fd3-470b-ac6e-3ec14378a023\",\"name\":\"44e48382-2fd3-470b-ac6e-3ec14378a023\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } } diff --git a/src/DataProtection/DataProtection.Autorest/test/Initialize-AzDataProtectionRestoreRequest.Tests.ps1 b/src/DataProtection/DataProtection.Autorest/test/Initialize-AzDataProtectionRestoreRequest.Tests.ps1 index 6843dae21034..41ee5806bb68 100644 --- a/src/DataProtection/DataProtection.Autorest/test/Initialize-AzDataProtectionRestoreRequest.Tests.ps1 +++ b/src/DataProtection/DataProtection.Autorest/test/Initialize-AzDataProtectionRestoreRequest.Tests.ps1 @@ -16,26 +16,26 @@ Describe 'Initialize-AzDataProtectionRestoreRequest' { $sub = $env.TestBlobsRestore.SubscriptionId $rgName = $env.TestBlobsRestore.ResourceGroupName $vaultName = $env.TestBlobsRestore.VaultName - + # $Debug preference = "Continue" Write-Debug -Message $sub Write-Debug -Message $rgName Write-Debug -Message $vaultName $instances = Get-AzDataProtectionBackupInstance -Subscription $sub -ResourceGroup $rgName -Vault $vaultName | Where-Object {($_.Property.DataSourceInfo.Type -eq "Microsoft.Storage/storageAccounts/blobServices") -and ($_.Property.CurrentProtectionState -eq "ProtectionConfigured")} - + if($instances.Count -gt 0){ - + $pointInTimeRange = Find-AzDataProtectionRestorableTimeRange -BackupInstanceName $instances[0].BackupInstanceName -ResourceGroupName $rgName -SubscriptionId $sub -VaultName $vaultName -SourceDataStoreType OperationalStore -StartTime (Get-Date).AddDays(-30).ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") -EndTime (Get-Date).AddDays(0).ToString("yyyy-MM-ddTHH:mm:ss.0000000Z") $vault = Get-AzDataProtectionBackupVault -ResourceGroupName $rgName -SubscriptionId $sub -VaultName $vaultName $BlobResReq = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureBlob -SourceDataStore OperationalStore -RestoreLocation $vault.Location -RestoreType OriginalLocation -BackupInstance $instances[0] -PointInTime (Get-Date -Date $pointInTimeRange.RestorableTimeRange.EndTime) - $restoreJob = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instances[0].BackupInstanceName -ResourceGroupName $rgName -VaultName $vaultName -SubscriptionId $sub -Parameter $BlobResReq + $restoreJob = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instances[0].BackupInstanceName -ResourceGroupName $rgName -VaultName $vaultName -SubscriptionId $sub -Parameter $BlobResReq $jobid = $restoreJob.JobId.Split("/")[-1] $jobstatus = "InProgress" while($jobstatus -ne "Completed") { - Start-TestSleep -Seconds 10 + Start-Sleep -Seconds 10 $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName $jobstatus = $currentjob.Status } diff --git a/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupInstance.Recording.json b/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupInstance.Recording.json index 2cee844525ce..058984e47633 100644 --- a/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupInstance.Recording.json +++ b/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupInstance.Recording.json @@ -1,17 +1,17 @@ { - "New-AzDataProtectionBackupInstance+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault?api-version=2023-05-01+1": { + "New-AzDataProtectionBackupInstance+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault?api-version=2023-11-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "1" ], - "x-ms-client-request-id": [ "c3595f49-d057-46b1-9cc6-7b10e55fc3cb" ], + "x-ms-client-request-id": [ "b7e5b832-cbfe-4a27-949d-68872ebf2c39" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -28,32 +28,32 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], - "x-ms-correlation-request-id": [ "65177aa9-5350-4407-8f1a-559f13dd74c3" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171204Z:65177aa9-5350-4407-8f1a-559f13dd74c3" ], - "Date": [ "Mon, 28 Aug 2023 17:12:03 GMT" ] + "x-ms-correlation-request-id": [ "c8871ab1-d6c4-4afc-9ec3-93536083f879" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064253Z:c8871ab1-d6c4-4afc-9ec3-93536083f879" ], + "Date": [ "Mon, 25 Dec 2023 06:42:53 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "712" ], + "Content-Length": [ "806" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"MABUsed\":\"Yes\",\"Owner\":\"hiaga\",\"Purpose\":\"testing\",\"DeleteBy\":\"01-2099\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"74ad0080-cf50-42ae-a83a-7c5f1126cae2\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"GeoRedundant\"},{\"datastoreType\":\"ArchiveStore\",\"type\":\"GeoRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"secureScore\":\"None\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault\",\"name\":\"oss-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"MABUsed\":\"Yes\",\"Owner\":\"hiaga\",\"Purpose\":\"testing\",\"DeleteBy\":\"01-2099\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"74ad0080-cf50-42ae-a83a-7c5f1126cae2\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"GeoRedundant\"},{\"datastoreType\":\"ArchiveStore\",\"type\":\"GeoRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"featureSettings\":{\"crossRegionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"None\",\"replicatedRegions\":[\"\"]},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault\",\"name\":\"oss-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-05-01+2": { + "New-AzDataProtectionBackupInstance+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-11-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "e625aa92-435c-45c6-95db-fe2f3de4367f" ], + "x-ms-client-request-id": [ "0a5dd9fe-9bbc-4310-9b3b-1d21349dd3c0" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -70,9 +70,9 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-correlation-request-id": [ "5dfdbf5c-27a7-4421-8887-26012d45ff1c" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171205Z:5dfdbf5c-27a7-4421-8887-26012d45ff1c" ], - "Date": [ "Mon, 28 Aug 2023 17:12:04 GMT" ] + "x-ms-correlation-request-id": [ "8d0359dc-f428-47f7-ae1f-207520de1e97" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064254Z:8d0359dc-f428-47f7-ae1f-207520de1e97" ], + "Date": [ "Mon, 25 Dec 2023 06:42:53 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2939" ], @@ -83,19 +83,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances?api-version=2023-05-01+3": { + "New-AzDataProtectionBackupInstance+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances?api-version=2023-11-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "be78af90-3f00-45c7-b733-dc1de5983491" ], + "x-ms-client-request-id": [ "896f1183-35bb-46d3-83f0-e5d00bc325cd" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -112,9 +112,9 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], - "x-ms-correlation-request-id": [ "37fe336e-5387-400b-ad39-0f49132fd903" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171205Z:37fe336e-5387-400b-ad39-0f49132fd903" ], - "Date": [ "Mon, 28 Aug 2023 17:12:05 GMT" ] + "x-ms-correlation-request-id": [ "40f0bcdf-c961-40b5-99b9-3c083ae01026" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064254Z:40f0bcdf-c961-40b5-99b9-3c083ae01026" ], + "Date": [ "Mon, 25 Dec 2023 06:42:54 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1942" ], @@ -125,19 +125,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances?api-version=2023-05-01+4": { + "New-AzDataProtectionBackupInstance+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances?api-version=2023-11-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "4" ], - "x-ms-client-request-id": [ "691e39aa-83db-45e0-bdeb-092d1d03b398" ], + "x-ms-client-request-id": [ "f7437d6a-bb07-4d1f-94e0-b904dda4c928" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -154,9 +154,9 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1998" ], - "x-ms-correlation-request-id": [ "1e6965e6-e40f-4a0c-9bed-4a2b2e1a3f96" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171206Z:1e6965e6-e40f-4a0c-9bed-4a2b2e1a3f96" ], - "Date": [ "Mon, 28 Aug 2023 17:12:05 GMT" ] + "x-ms-correlation-request-id": [ "0b9cc4f5-745c-4543-a226-b3a59a7e8df6" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064255Z:0b9cc4f5-745c-4543-a226-b3a59a7e8df6" ], + "Date": [ "Mon, 25 Dec 2023 06:42:55 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1942" ], @@ -167,19 +167,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault?api-version=2023-05-01+1": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy?api-version=2023-11-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "5" ], - "x-ms-client-request-id": [ "7c4c34c4-547a-49f6-8cf3-490798deb978" ], + "x-ms-client-request-id": [ "c7856aa1-9c3a-4ca2-8bfa-9da44f75d2e7" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -193,34 +193,34 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "3f96c787-f76d-452b-b1d2-a20a5c6f3af2" ], - "x-ms-correlation-request-id": [ "3f96c787-f76d-452b-b1d2-a20a5c6f3af2" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171208Z:3f96c787-f76d-452b-b1d2-a20a5c6f3af2" ], + "x-ms-request-id": [ "c4f4954b-1b10-474f-b6e8-0ab06afd3f76" ], + "x-ms-correlation-request-id": [ "c4f4954b-1b10-474f-b6e8-0ab06afd3f76" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064258Z:c4f4954b-1b10-474f-b6e8-0ab06afd3f76" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:12:08 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:42:57 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "694" ], + "Content-Length": [ "710" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"eastus2euap\",\"tags\":{\"DeleteBy\":\"12-2024\",\"Owner\":\"arajpurohit\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"77d36d94-5c8b-4e02-91a1-f0a81bbec107\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"ZoneRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":14.0}},\"secureScore\":\"None\"},\"id\":\"/Subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault\",\"name\":\"ecy-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"eastus2euap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"e41c0d62-3a6d-488e-8c66-c735795e88fa\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"OperationalStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"Off\",\"retentionDurationInDays\":0.0}},\"secureScore\":\"None\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/Backupvaults/azk8ssvcs-vault-ecy\",\"name\":\"azk8ssvcs-vault-ecy\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances?api-version=2023-05-01+2": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances?api-version=2023-11-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "521136af-830f-4b93-b8f3-f257114c6438" ], + "x-ms-client-request-id": [ "514066b2-a4c0-4fff-bf4a-8a73b1ee5615" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -234,34 +234,34 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "6d85b265-d8eb-46ca-9df8-4a41746122a1" ], - "x-ms-correlation-request-id": [ "6d85b265-d8eb-46ca-9df8-4a41746122a1" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171208Z:6d85b265-d8eb-46ca-9df8-4a41746122a1" ], + "x-ms-request-id": [ "b4cd5668-b4d7-4985-81b7-74e1bccc3037" ], + "x-ms-correlation-request-id": [ "b4cd5668-b4d7-4985-81b7-74e1bccc3037" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064258Z:b4cd5668-b4d7-4985-81b7-74e1bccc3037" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:12:08 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:42:58 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "7089" ], + "Content-Length": [ "2606" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"ecy-disk\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.Compute/disks/ecy-disk\",\"resourceUri\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.Compute/disks/ecy-disk\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"ecy-disk\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.Compute/disks/ecy-disk\",\"resourceUri\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.Compute/disks/ecy-disk\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"ecy-disk\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/policy-test1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-srg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/ecy-disk-ecy-disk-8d6f9900-2145-4d80-a434-c7834b483051\",\"name\":\"ecy-disk-ecy-disk-8d6f9900-2145-4d80-a434-c7834b483051\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"resourceUri\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"datasourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceName\":\"aksCluster3-ecy-araj\",\"resourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceLocation\":\"eastus2euap\",\"resourceProperties\":{\"objectType\":null},\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"resourceUri\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"datasourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceName\":\"aksCluster3-ecy-araj\",\"resourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-srg\"}],\"backupDatasourceParametersList\":[{\"objectType\":\"KubernetesClusterBackupDatasourceParameters\",\"includedNamespaces\":null,\"excludedNamespaces\":null,\"includedResourceTypes\":null,\"excludedResourceTypes\":[\"v1/Secret\"],\"labelSelectors\":null,\"snapshotVolumes\":true,\"includeClusterScopeResources\":true,\"backupHookReferences\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"name\":\"aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"akscluster-zonaltest\\\\pol\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKSTest-Rajat/providers/Microsoft.ContainerService/managedClusters/akscluster-zonaltest\",\"resourceUri\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKSTest-Rajat/providers/Microsoft.ContainerService/managedClusters/akscluster-zonaltest\",\"datasourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceName\":\"akscluster-zonaltest\",\"resourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceLocation\":\"eastus2euap\",\"resourceProperties\":{\"objectType\":null},\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKSTest-Rajat/providers/Microsoft.ContainerService/managedClusters/akscluster-zonaltest\",\"resourceUri\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKSTest-Rajat/providers/Microsoft.ContainerService/managedClusters/akscluster-zonaltest\",\"datasourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceName\":\"akscluster-zonaltest\",\"resourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/tieringPolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/adkayethaks\"}],\"backupDatasourceParametersList\":[{\"objectType\":\"KubernetesClusterBackupDatasourceParameters\",\"includedNamespaces\":null,\"excludedNamespaces\":null,\"includedResourceTypes\":[\"for.grp\"],\"excludedResourceTypes\":[\"v1/Secret\"],\"labelSelectors\":null,\"snapshotVolumes\":true,\"includeClusterScopeResources\":true,\"backupHookReferences\":[{\"name\":\"mnds\",\"namespace\":\"app\"}]}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/akscluster-zonaltest-akscluster-zonaltest-00f41467-52d9-4c4d-ac36-8298ba9a2099\",\"name\":\"akscluster-zonaltest-akscluster-zonaltest-00f41467-52d9-4c4d-ac36-8298ba9a2099\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", + "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"resourceUri\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"datasourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceName\":\"azk8ssvcs-cluster-ecy\",\"resourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"resourceUri\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"datasourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceName\":\"azk8ssvcs-cluster-ecy\",\"resourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"resourceGroupId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/MC_azk8ssvcs-cluster-r-ecy_azk8ssvcs-cluster-ecy_eastus2euap\",\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\"}],\"backupDatasourceParametersList\":[{\"includedNamespaces\":[],\"excludedNamespaces\":[],\"includedResourceTypes\":[],\"excludedResourceTypes\":[\"volumesnapshotcontents.snapshot.storage.k8s.io\"],\"labelSelectors\":[],\"snapshotVolumes\":true,\"includeClusterScopeResources\":true,\"objectType\":\"KubernetesClusterBackupDatasourceParameters\",\"backupHookReferences\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"name\":\"azk8ssvcs-bi-backupecy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies?api-version=2023-05-01+3": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies?api-version=2023-11-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "546441a2-9528-4825-9c24-c178aa1f720d" ], + "x-ms-client-request-id": [ "a07e54a5-ac76-4563-9aa3-8f342edaba08" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -275,34 +275,34 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "61289df7-e2d9-4b52-8654-9bb8566380d0" ], - "x-ms-correlation-request-id": [ "61289df7-e2d9-4b52-8654-9bb8566380d0" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171209Z:61289df7-e2d9-4b52-8654-9bb8566380d0" ], + "x-ms-request-id": [ "99f47a74-967c-4c12-bd91-b6c82e53c482" ], + "x-ms-correlation-request-id": [ "99f47a74-967c-4c12-bd91-b6c82e53c482" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064259Z:99f47a74-967c-4c12-bd91-b6c82e53c482" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:12:09 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:42:58 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "8835" ], + "Content-Length": [ "2293" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-08-28T08:27:43+00:00/PT4H\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupHourly\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.ContainerService/managedClusters\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"name\":\"h4-w1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2022-12-20T11:00:00+05:30/P1D\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupDaily\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.Compute/disks\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/policy-test1\",\"name\":\"policy-test1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Daily\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-04-25T18:00:00+00:00/P1D\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Daily\",\"id\":\"Daily_\"},\"taggingPriority\":25,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfDay\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupDaily\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.ContainerService/managedClusters\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/tieringPolicy\",\"name\":\"tieringPolicy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-02-21T02:27:22+00:00/PT4H\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupHourly\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.ContainerService/managedClusters\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/jbkjfdska\",\"name\":\"jbkjfdska\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2022-12-14T10:25:52+00:00/PT1H\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupHourly\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.Compute/disks\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h1-d1\",\"name\":\"h1-d1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2020-04-05T13:00:00+00:00/PT1H\"]},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupHourly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P4D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Compute/disks\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h1-d4\",\"name\":\"h1-d4\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-05-05T13:19:19+00:00/PT4H\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupHourly\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.ContainerService/managedClusters\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/shractest\",\"name\":\"shractest\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}]}", + "Content": "{\"value\":[{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-10-18T10:06:53.1500857Z/P1Y\"]},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"objectType\":\"DataStoreInfoBase\",\"dataStoreType\":\"OperationalStore\"},\"name\":\"BackupHourly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1D\"},\"sourceDataStore\":{\"objectType\":\"DataStoreInfoBase\",\"dataStoreType\":\"OperationalStore\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.ContainerService/managedClusters\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-policy-configprotecy\",\"name\":\"azk8ssvcs-policy-configprotecy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-10-18T12:36:49.7315926Z/P1Y\"]},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"objectType\":\"DataStoreInfoBase\",\"dataStoreType\":\"OperationalStore\"},\"name\":\"BackupHourly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1D\"},\"sourceDataStore\":{\"objectType\":\"DataStoreInfoBase\",\"dataStoreType\":\"OperationalStore\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.ContainerService/managedClusters\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"name\":\"azk8ssvcs-ad-policy-backupecy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}]}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances?api-version=2023-05-01+4": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances?api-version=2023-11-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "37a6d007-bfcf-4b2a-a51c-a62535cf939f" ], + "x-ms-client-request-id": [ "92f4acee-c440-4d75-8d1c-7cbe16a77bf5" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -316,25 +316,25 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1998" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "d4f7eb85-aaf2-499f-a275-e3e2b2c618bf" ], - "x-ms-correlation-request-id": [ "d4f7eb85-aaf2-499f-a275-e3e2b2c618bf" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171209Z:d4f7eb85-aaf2-499f-a275-e3e2b2c618bf" ], + "x-ms-request-id": [ "f3e88fe5-1d71-4f9a-9083-a9a61319a27f" ], + "x-ms-correlation-request-id": [ "f3e88fe5-1d71-4f9a-9083-a9a61319a27f" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064259Z:f3e88fe5-1d71-4f9a-9083-a9a61319a27f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:12:09 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:42:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "7089" ], + "Content-Length": [ "2606" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"ecy-disk\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.Compute/disks/ecy-disk\",\"resourceUri\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.Compute/disks/ecy-disk\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"ecy-disk\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.Compute/disks/ecy-disk\",\"resourceUri\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.Compute/disks/ecy-disk\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"ecy-disk\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/policy-test1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-srg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/ecy-disk-ecy-disk-8d6f9900-2145-4d80-a434-c7834b483051\",\"name\":\"ecy-disk-ecy-disk-8d6f9900-2145-4d80-a434-c7834b483051\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"resourceUri\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"datasourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceName\":\"aksCluster3-ecy-araj\",\"resourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceLocation\":\"eastus2euap\",\"resourceProperties\":{\"objectType\":null},\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"resourceUri\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"datasourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceName\":\"aksCluster3-ecy-araj\",\"resourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-srg\"}],\"backupDatasourceParametersList\":[{\"objectType\":\"KubernetesClusterBackupDatasourceParameters\",\"includedNamespaces\":null,\"excludedNamespaces\":null,\"includedResourceTypes\":null,\"excludedResourceTypes\":[\"v1/Secret\"],\"labelSelectors\":null,\"snapshotVolumes\":true,\"includeClusterScopeResources\":true,\"backupHookReferences\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"name\":\"aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"},{\"properties\":{\"friendlyName\":\"akscluster-zonaltest\\\\pol\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKSTest-Rajat/providers/Microsoft.ContainerService/managedClusters/akscluster-zonaltest\",\"resourceUri\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKSTest-Rajat/providers/Microsoft.ContainerService/managedClusters/akscluster-zonaltest\",\"datasourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceName\":\"akscluster-zonaltest\",\"resourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceLocation\":\"eastus2euap\",\"resourceProperties\":{\"objectType\":null},\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKSTest-Rajat/providers/Microsoft.ContainerService/managedClusters/akscluster-zonaltest\",\"resourceUri\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/AKSTest-Rajat/providers/Microsoft.ContainerService/managedClusters/akscluster-zonaltest\",\"datasourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceName\":\"akscluster-zonaltest\",\"resourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/tieringPolicy\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/adkayethaks\"}],\"backupDatasourceParametersList\":[{\"objectType\":\"KubernetesClusterBackupDatasourceParameters\",\"includedNamespaces\":null,\"excludedNamespaces\":null,\"includedResourceTypes\":[\"for.grp\"],\"excludedResourceTypes\":[\"v1/Secret\"],\"labelSelectors\":null,\"snapshotVolumes\":true,\"includeClusterScopeResources\":true,\"backupHookReferences\":[{\"name\":\"mnds\",\"namespace\":\"app\"}]}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/akscluster-zonaltest-akscluster-zonaltest-00f41467-52d9-4c4d-ac36-8298ba9a2099\",\"name\":\"akscluster-zonaltest-akscluster-zonaltest-00f41467-52d9-4c4d-ac36-8298ba9a2099\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", + "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"resourceUri\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"datasourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceName\":\"azk8ssvcs-cluster-ecy\",\"resourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"resourceUri\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"datasourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceName\":\"azk8ssvcs-cluster-ecy\",\"resourceType\":\"Microsoft.ContainerService/managedClusters\",\"resourceLocation\":\"eastus2euap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"policyParameters\":{\"dataStoreParametersList\":[{\"resourceGroupId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/MC_azk8ssvcs-cluster-r-ecy_azk8ssvcs-cluster-ecy_eastus2euap\",\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\"}],\"backupDatasourceParametersList\":[{\"includedNamespaces\":[],\"excludedNamespaces\":[],\"includedResourceTypes\":[],\"excludedResourceTypes\":[\"volumesnapshotcontents.snapshot.storage.k8s.io\"],\"labelSelectors\":[],\"snapshotVolumes\":true,\"includeClusterScopeResources\":true,\"objectType\":\"KubernetesClusterBackupDatasourceParameters\",\"backupHookReferences\":null}]}},\"protectionStatus\":{\"status\":\"ProtectionConfigured\"},\"currentProtectionState\":\"ProtectionConfigured\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"name\":\"azk8ssvcs-bi-backupecy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$POST+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af/backup?api-version=2023-05-01+5": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$POST+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy/backup?api-version=2023-11-01+5": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af/backup?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy/backup?api-version=2023-11-01", "Content": "{\r\n \"backupRuleOptions\": {\r\n \"triggerOption\": {\r\n \"retentionTagOverride\": \"Default\"\r\n },\r\n \"ruleName\": \"BackupHourly\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -349,17 +349,17 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzA1MDk0OWVjLWY0YzAtNDg3Zi1iNThiLWQ4NDFhYTgzNDhiMA==?api-version=2023-05-01\u0026t=2023-08-28T17%3a12%3a10\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=HMiOumUo9Op_Regr67BIBfVMVDyQN0RIdvh3c0zMSTYijrv6GB8ODM3h1rG_3IoxRKRRnpPTL24cEbd3Dd2Dz-EMqAPOeQRCevFKqOyVuiCbokKm7GNTgzQYsPuu1ZRDBVv1conaW8gokKU5RupjMG4Yulhfbc0bsAe6O_sOppt4cus9SP_vkm66iRARy-XwhZG_9BvO_dlHQYTV-LYG1gcuBb0MoOAndyzT5yJ2ulFhypaXEp-fk2x5aKEJ716WFjPgXrwV6-KALhuIRTdRmjUVtzkTIYwgsphcdYNXabGPzQ1nuBWHpfHe8vm_mnQFwJ_Va-rNvpHwnE1mIVdAnA\u0026h=yoBt__X1UeHygceywEaA54dbqM6CaFpE0nr0BEVPA5o" ], + "Location": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2U2MWE2OGRmLWJiMTctNGQ4NS05ODk4LTllZjY0YjYzMzRhNA==?api-version=2023-11-01\u0026t=638390833809811436\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=tb9sN60mo7B27WNnwLWh-XSsqFVRhIylPQD0tOhI4oEUCxg7-gpzvd-T0_YRarSACGMVjKD1Ge8_fAghXFTzwN2vBae9SRDw1E6mgwTxcWdKUrAKS7cZ3_moqtJC5yr-5-Epp0fAZnSQZyAeZ0rKxF9Sg45J939_RzUTbxhkQgDH6aJNVAFfp7I_qTd-9EgVGSTturibpl_YmDcxlBv5lRn8gFmoFvtoSwNw37tr2XLzgQLrXkXgPrwrH94p8n4kOuKFOyZuhEgSGMCBYNAdz59W_tw9x5hGroSF3MFk6WoG2H_0CUmdLKHzsDB1pZe1iWvTAiIoGRh9bZeNvTj2VQ\u0026h=rYNJAhc9m_cyibVfSvHQgFBJ5Atf9qebQeBAiKvfOCI" ], "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzA1MDk0OWVjLWY0YzAtNDg3Zi1iNThiLWQ4NDFhYTgzNDhiMA==?api-version=2023-05-01\u0026t=2023-08-28T17%3a12%3a10\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=CpPSJEUWIH7E53LWGjFyllnehk3sE-yd_0FVIuEj1u95dm5ObTJIk0TdfHqwgXG255ejBqvxhttnasNtGTY8iiV0FOby8bhWBes1WgYB6HK21oU7620e0rrm0L6BPdGdZy5w7h5JNXU9e-db9y-8TsJQbPHSdXVDnQTbUs127zamaXKhbKK7-TNcBqXFgo9qxsdy6jf5v3WGqSmQOD2a6YMqOvyVkXzyxBAvKrl0u_feWfTo4k_uUuGxwxZYdeAAVeuwy2-cxMKcfmhXW9PW019QjaUGjtRQToHRR6JpgEEdis-oyRwsxb3aD9LUB4e5h6_Dw9AbvU40OAwp6v022A\u0026h=X0_l2d3lMXKP4lqUr-t9WWh8klpNay0Bloyn90czIdU" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2U2MWE2OGRmLWJiMTctNGQ4NS05ODk4LTllZjY0YjYzMzRhNA==?api-version=2023-11-01\u0026t=638390833809655705\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=sJl_i2wyqEiLf6nH_R7-vz1OaDpNfUl_f4zB2EIMM1rtYz5gzoLfvFlvxg_Aqz6SXoIfnG_FgcR1CFapvG0m3rBhWBE57zoAMhkwCkD9zIkNpY49CB58QHHseG6XETTHzEpH-YqxBeh5hAxvhjTP17sHmp-8hb9mO5vzFSwHTaoXda1FiwVbWLpzGNrVtnO6ZJr2y9JOK1rHZE95hGXyaZ8ZQqb13dSqlpoN0b9Rpdihs66A4FNBM-yWOVGcEGMYLIiwao9q_YrXuiB0hay0fkw0lm_ROXPeHOSD1OhU86KVq73kjxQpgsHY2S1Uvu20YbXU9R0a7L7CzUsQ5AX0cQ\u0026h=OEoWMltwBVli9E9LAsuoN2jXzxOr4OSy3fuMMeO4T9U" ], "Server": [ "Kestrel" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-request-id": [ "1c369598-58ab-430a-885f-97f602577f8d" ], - "x-ms-correlation-request-id": [ "1c369598-58ab-430a-885f-97f602577f8d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171210Z:1c369598-58ab-430a-885f-97f602577f8d" ], + "x-ms-request-id": [ "329aee79-a707-49ec-82a4-aa0d2320b324" ], + "x-ms-correlation-request-id": [ "329aee79-a707-49ec-82a4-aa0d2320b324" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064300Z:329aee79-a707-49ec-82a4-aa0d2320b324" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:12:10 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:43:00 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -369,20 +369,20 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzA1MDk0OWVjLWY0YzAtNDg3Zi1iNThiLWQ4NDFhYTgzNDhiMA==?api-version=2023-05-01\u0026t=2023-08-28T17%3a12%3a10\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=CpPSJEUWIH7E53LWGjFyllnehk3sE-yd_0FVIuEj1u95dm5ObTJIk0TdfHqwgXG255ejBqvxhttnasNtGTY8iiV0FOby8bhWBes1WgYB6HK21oU7620e0rrm0L6BPdGdZy5w7h5JNXU9e-db9y-8TsJQbPHSdXVDnQTbUs127zamaXKhbKK7-TNcBqXFgo9qxsdy6jf5v3WGqSmQOD2a6YMqOvyVkXzyxBAvKrl0u_feWfTo4k_uUuGxwxZYdeAAVeuwy2-cxMKcfmhXW9PW019QjaUGjtRQToHRR6JpgEEdis-oyRwsxb3aD9LUB4e5h6_Dw9AbvU40OAwp6v022A\u0026h=X0_l2d3lMXKP4lqUr-t9WWh8klpNay0Bloyn90czIdU+6": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2U2MWE2OGRmLWJiMTctNGQ4NS05ODk4LTllZjY0YjYzMzRhNA==?api-version=2023-11-01\u0026t=638390833809655705\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=sJl_i2wyqEiLf6nH_R7-vz1OaDpNfUl_f4zB2EIMM1rtYz5gzoLfvFlvxg_Aqz6SXoIfnG_FgcR1CFapvG0m3rBhWBE57zoAMhkwCkD9zIkNpY49CB58QHHseG6XETTHzEpH-YqxBeh5hAxvhjTP17sHmp-8hb9mO5vzFSwHTaoXda1FiwVbWLpzGNrVtnO6ZJr2y9JOK1rHZE95hGXyaZ8ZQqb13dSqlpoN0b9Rpdihs66A4FNBM-yWOVGcEGMYLIiwao9q_YrXuiB0hay0fkw0lm_ROXPeHOSD1OhU86KVq73kjxQpgsHY2S1Uvu20YbXU9R0a7L7CzUsQ5AX0cQ\u0026h=OEoWMltwBVli9E9LAsuoN2jXzxOr4OSy3fuMMeO4T9U+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzA1MDk0OWVjLWY0YzAtNDg3Zi1iNThiLWQ4NDFhYTgzNDhiMA==?api-version=2023-05-01\u0026t=2023-08-28T17%3a12%3a10\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=CpPSJEUWIH7E53LWGjFyllnehk3sE-yd_0FVIuEj1u95dm5ObTJIk0TdfHqwgXG255ejBqvxhttnasNtGTY8iiV0FOby8bhWBes1WgYB6HK21oU7620e0rrm0L6BPdGdZy5w7h5JNXU9e-db9y-8TsJQbPHSdXVDnQTbUs127zamaXKhbKK7-TNcBqXFgo9qxsdy6jf5v3WGqSmQOD2a6YMqOvyVkXzyxBAvKrl0u_feWfTo4k_uUuGxwxZYdeAAVeuwy2-cxMKcfmhXW9PW019QjaUGjtRQToHRR6JpgEEdis-oyRwsxb3aD9LUB4e5h6_Dw9AbvU40OAwp6v022A\u0026h=X0_l2d3lMXKP4lqUr-t9WWh8klpNay0Bloyn90czIdU", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2U2MWE2OGRmLWJiMTctNGQ4NS05ODk4LTllZjY0YjYzMzRhNA==?api-version=2023-11-01\u0026t=638390833809655705\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=sJl_i2wyqEiLf6nH_R7-vz1OaDpNfUl_f4zB2EIMM1rtYz5gzoLfvFlvxg_Aqz6SXoIfnG_FgcR1CFapvG0m3rBhWBE57zoAMhkwCkD9zIkNpY49CB58QHHseG6XETTHzEpH-YqxBeh5hAxvhjTP17sHmp-8hb9mO5vzFSwHTaoXda1FiwVbWLpzGNrVtnO6ZJr2y9JOK1rHZE95hGXyaZ8ZQqb13dSqlpoN0b9Rpdihs66A4FNBM-yWOVGcEGMYLIiwao9q_YrXuiB0hay0fkw0lm_ROXPeHOSD1OhU86KVq73kjxQpgsHY2S1Uvu20YbXU9R0a7L7CzUsQ5AX0cQ\u0026h=OEoWMltwBVli9E9LAsuoN2jXzxOr4OSy3fuMMeO4T9U", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "5a2ba866-6933-4249-8284-7d0f37c48416" ], + "x-ms-client-request-id": [ "84146a1f-f214-4e5f-9205-c203d054ed08" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -395,35 +395,35 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "7e5517ee-1b38-4143-adfa-10f618a26248" ], - "x-ms-correlation-request-id": [ "7e5517ee-1b38-4143-adfa-10f618a26248" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171240Z:7e5517ee-1b38-4143-adfa-10f618a26248" ], + "x-ms-request-id": [ "55ab5b67-9160-4293-b942-9ea4e875500a" ], + "x-ms-correlation-request-id": [ "55ab5b67-9160-4293-b942-9ea4e875500a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064331Z:55ab5b67-9160-4293-b942-9ea4e875500a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:12:40 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:43:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "711" ], + "Content-Length": [ "763" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzA1MDk0OWVjLWY0YzAtNDg3Zi1iNThiLWQ4NDFhYTgzNDhiMA==\",\"name\":\"MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzA1MDk0OWVjLWY0YzAtNDg3Zi1iNThiLWQ4NDFhYTgzNDhiMA==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-28T17:12:10.1208556Z\",\"endTime\":\"2023-08-28T17:12:11Z\",\"properties\":{\"jobId\":\"/Subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/6f39941e-3088-41c1-b74a-f3b65e812406\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2U2MWE2OGRmLWJiMTctNGQ4NS05ODk4LTllZjY0YjYzMzRhNA==\",\"name\":\"MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2U2MWE2OGRmLWJiMTctNGQ4NS05ODk4LTllZjY0YjYzMzRhNA==\",\"status\":\"Succeeded\",\"startTime\":\"2023-12-25T06:43:00.7745312Z\",\"endTime\":\"2023-12-25T06:43:01Z\",\"properties\":{\"jobId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/Backupvaults/azk8ssvcs-vault-ecy/backupJobs/34ed8202-d8e9-401c-a566-b7c6fed9c974\",\"objectType\":\"OperationJobExtendedInfo\"}}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzA1MDk0OWVjLWY0YzAtNDg3Zi1iNThiLWQ4NDFhYTgzNDhiMA==?api-version=2023-05-01\u0026t=2023-08-28T17%3a12%3a10\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=HMiOumUo9Op_Regr67BIBfVMVDyQN0RIdvh3c0zMSTYijrv6GB8ODM3h1rG_3IoxRKRRnpPTL24cEbd3Dd2Dz-EMqAPOeQRCevFKqOyVuiCbokKm7GNTgzQYsPuu1ZRDBVv1conaW8gokKU5RupjMG4Yulhfbc0bsAe6O_sOppt4cus9SP_vkm66iRARy-XwhZG_9BvO_dlHQYTV-LYG1gcuBb0MoOAndyzT5yJ2ulFhypaXEp-fk2x5aKEJ716WFjPgXrwV6-KALhuIRTdRmjUVtzkTIYwgsphcdYNXabGPzQ1nuBWHpfHe8vm_mnQFwJ_Va-rNvpHwnE1mIVdAnA\u0026h=yoBt__X1UeHygceywEaA54dbqM6CaFpE0nr0BEVPA5o+7": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2U2MWE2OGRmLWJiMTctNGQ4NS05ODk4LTllZjY0YjYzMzRhNA==?api-version=2023-11-01\u0026t=638390833809811436\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=tb9sN60mo7B27WNnwLWh-XSsqFVRhIylPQD0tOhI4oEUCxg7-gpzvd-T0_YRarSACGMVjKD1Ge8_fAghXFTzwN2vBae9SRDw1E6mgwTxcWdKUrAKS7cZ3_moqtJC5yr-5-Epp0fAZnSQZyAeZ0rKxF9Sg45J939_RzUTbxhkQgDH6aJNVAFfp7I_qTd-9EgVGSTturibpl_YmDcxlBv5lRn8gFmoFvtoSwNw37tr2XLzgQLrXkXgPrwrH94p8n4kOuKFOyZuhEgSGMCBYNAdz59W_tw9x5hGroSF3MFk6WoG2H_0CUmdLKHzsDB1pZe1iWvTAiIoGRh9bZeNvTj2VQ\u0026h=rYNJAhc9m_cyibVfSvHQgFBJ5Atf9qebQeBAiKvfOCI+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzA1MDk0OWVjLWY0YzAtNDg3Zi1iNThiLWQ4NDFhYTgzNDhiMA==?api-version=2023-05-01\u0026t=2023-08-28T17%3a12%3a10\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=HMiOumUo9Op_Regr67BIBfVMVDyQN0RIdvh3c0zMSTYijrv6GB8ODM3h1rG_3IoxRKRRnpPTL24cEbd3Dd2Dz-EMqAPOeQRCevFKqOyVuiCbokKm7GNTgzQYsPuu1ZRDBVv1conaW8gokKU5RupjMG4Yulhfbc0bsAe6O_sOppt4cus9SP_vkm66iRARy-XwhZG_9BvO_dlHQYTV-LYG1gcuBb0MoOAndyzT5yJ2ulFhypaXEp-fk2x5aKEJ716WFjPgXrwV6-KALhuIRTdRmjUVtzkTIYwgsphcdYNXabGPzQ1nuBWHpfHe8vm_mnQFwJ_Va-rNvpHwnE1mIVdAnA\u0026h=yoBt__X1UeHygceywEaA54dbqM6CaFpE0nr0BEVPA5o", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2U2MWE2OGRmLWJiMTctNGQ4NS05ODk4LTllZjY0YjYzMzRhNA==?api-version=2023-11-01\u0026t=638390833809811436\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=tb9sN60mo7B27WNnwLWh-XSsqFVRhIylPQD0tOhI4oEUCxg7-gpzvd-T0_YRarSACGMVjKD1Ge8_fAghXFTzwN2vBae9SRDw1E6mgwTxcWdKUrAKS7cZ3_moqtJC5yr-5-Epp0fAZnSQZyAeZ0rKxF9Sg45J939_RzUTbxhkQgDH6aJNVAFfp7I_qTd-9EgVGSTturibpl_YmDcxlBv5lRn8gFmoFvtoSwNw37tr2XLzgQLrXkXgPrwrH94p8n4kOuKFOyZuhEgSGMCBYNAdz59W_tw9x5hGroSF3MFk6WoG2H_0CUmdLKHzsDB1pZe1iWvTAiIoGRh9bZeNvTj2VQ\u0026h=rYNJAhc9m_cyibVfSvHQgFBJ5Atf9qebQeBAiKvfOCI", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "5a2ba866-6933-4249-8284-7d0f37c48416" ], + "x-ms-client-request-id": [ "84146a1f-f214-4e5f-9205-c203d054ed08" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -436,36 +436,36 @@ "Retry-After": [ "30" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzA1MDk0OWVjLWY0YzAtNDg3Zi1iNThiLWQ4NDFhYTgzNDhiMA==?api-version=2023-05-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2U2MWE2OGRmLWJiMTctNGQ4NS05ODk4LTllZjY0YjYzMzRhNA==?api-version=2023-11-01" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "0341a76a-d37e-4200-adf8-894150d98aa7" ], - "x-ms-correlation-request-id": [ "0341a76a-d37e-4200-adf8-894150d98aa7" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171241Z:0341a76a-d37e-4200-adf8-894150d98aa7" ], + "x-ms-request-id": [ "475e8548-d4f5-4906-97ba-183be5c572a4" ], + "x-ms-correlation-request-id": [ "475e8548-d4f5-4906-97ba-183be5c572a4" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064332Z:475e8548-d4f5-4906-97ba-183be5c572a4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:12:40 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:43:31 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "232" ], + "Content-Length": [ "258" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/Subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/6f39941e-3088-41c1-b74a-f3b65e812406\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/Backupvaults/azk8ssvcs-vault-ecy/backupJobs/34ed8202-d8e9-401c-a566-b7c6fed9c974\",\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af/recoveryPoints?api-version=2023-05-01+8": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy/recoveryPoints?api-version=2023-11-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af/recoveryPoints?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy/recoveryPoints?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "6cc9eb5c-a091-4a8d-932a-a0e2c4cc100e" ], + "x-ms-client-request-id": [ "2b0b2aab-213a-4f9e-9eed-4c16539b971a" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionRecoveryPoint" ], "FullCommandName": [ "Get-AzDataProtectionRecoveryPoint_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -479,32 +479,32 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "e9bc69b0-860d-42e4-a077-8495f119adf8" ], - "x-ms-correlation-request-id": [ "e9bc69b0-860d-42e4-a077-8495f119adf8" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171311Z:e9bc69b0-860d-42e4-a077-8495f119adf8" ], + "x-ms-request-id": [ "eb38d740-9bb1-483a-ab7a-528dbcf72a7a" ], + "x-ms-correlation-request-id": [ "eb38d740-9bb1-483a-ab7a-528dbcf72a7a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064402Z:eb38d740-9bb1-483a-ab7a-528dbcf72a7a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:13:11 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:44:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "4595" ], + "Content-Length": [ "10235" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.5520180Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointDataStoresDetails\":[{\"id\":\"1a4905ba-82de-48ff-ba02-34768e758685\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-28T16:36:21.2351556Z\",\"expiryTime\":\"2023-09-04T16:36:21.2351556Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638288084543168303\",\"policyName\":\"h4-w1\",\"policyVersion\":null,\"expiryTime\":\"2023-09-04T16:36:21.2351556Z\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af/recoveryPoints/fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"name\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0055713ae9324e5dba6efe44607b0e5e\",\"recoveryPointTime\":\"2023-08-28T16:30:41.9882409Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"0055713ae9324e5dba6efe44607b0e5e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"1a4905ba-82de-48ff-ba02-34768e758685\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-28T16:28:58.5415025Z\",\"expiryTime\":\"2023-09-04T16:28:58.5415025Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638288084543168303\",\"policyName\":\"h4-w1\",\"policyVersion\":null,\"expiryTime\":\"2023-09-04T16:28:58.5415025Z\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af/recoveryPoints/0055713ae9324e5dba6efe44607b0e5e\",\"name\":\"0055713ae9324e5dba6efe44607b0e5e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"1f45621f751e4e11bf83d1958a3a39e7\",\"recoveryPointTime\":\"2023-08-28T12:30:40.4581891Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"1f45621f751e4e11bf83d1958a3a39e7\",\"recoveryPointDataStoresDetails\":[{\"id\":\"1a4905ba-82de-48ff-ba02-34768e758685\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-28T12:28:57.5186429Z\",\"expiryTime\":\"2023-09-04T12:28:57.5186429Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638288084543168303\",\"policyName\":\"h4-w1\",\"policyVersion\":null,\"expiryTime\":\"2023-09-04T12:28:57.5186429Z\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af/recoveryPoints/1f45621f751e4e11bf83d1958a3a39e7\",\"name\":\"1f45621f751e4e11bf83d1958a3a39e7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c3b8911bec354dacaf720763e0463a64\",\"recoveryPointTime\":\"2023-08-28T08:38:54.6945220Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"c3b8911bec354dacaf720763e0463a64\",\"recoveryPointDataStoresDetails\":[{\"id\":\"1a4905ba-82de-48ff-ba02-34768e758685\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-08-28T08:37:22.6588118Z\",\"expiryTime\":\"2023-09-04T08:37:22.6588118Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638288084543168303\",\"policyName\":\"h4-w1\",\"policyVersion\":null,\"expiryTime\":\"2023-09-04T08:37:22.6588118Z\"},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af/recoveryPoints/c3b8911bec354dacaf720763e0463a64\",\"name\":\"c3b8911bec354dacaf720763e0463a64\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}]}", + "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointDataStoresDetails\":[{\"id\":\"6b33fea1-e5d8-45b8-b244-c9682454b334\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-25T06:32:10.9125878Z\",\"expiryTime\":\"2023-12-26T06:32:10.9125878Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638332298603140518\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-26T06:32:10.9125878Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy/recoveryPoints/534fdb230ef84e7682acf92e661193b0\",\"name\":\"534fdb230ef84e7682acf92e661193b0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"cb3d185377d542bb826cfdc7f6c06109\",\"recoveryPointTime\":\"2023-12-25T03:49:34.6324894Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"cb3d185377d542bb826cfdc7f6c06109\",\"recoveryPointDataStoresDetails\":[{\"id\":\"6b33fea1-e5d8-45b8-b244-c9682454b334\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-25T03:49:05.7249210Z\",\"expiryTime\":\"2023-12-26T03:49:05.7249210Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638332298603140518\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-26T03:49:05.7249210Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy/recoveryPoints/cb3d185377d542bb826cfdc7f6c06109\",\"name\":\"cb3d185377d542bb826cfdc7f6c06109\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"32acf444f6fb4b4d97472481915fa497\",\"recoveryPointTime\":\"2023-12-25T00:49:28.8922012Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"32acf444f6fb4b4d97472481915fa497\",\"recoveryPointDataStoresDetails\":[{\"id\":\"6b33fea1-e5d8-45b8-b244-c9682454b334\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-25T00:49:05.2103412Z\",\"expiryTime\":\"2023-12-26T00:49:05.2103412Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638332298603140518\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-26T00:49:05.2103412Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy/recoveryPoints/32acf444f6fb4b4d97472481915fa497\",\"name\":\"32acf444f6fb4b4d97472481915fa497\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"58b130caee27439f944eb74be486d623\",\"recoveryPointTime\":\"2023-12-24T21:49:21.9973061Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"58b130caee27439f944eb74be486d623\",\"recoveryPointDataStoresDetails\":[{\"id\":\"6b33fea1-e5d8-45b8-b244-c9682454b334\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-24T21:48:54.1219460Z\",\"expiryTime\":\"2023-12-25T21:48:54.1219460Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638332298603140518\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-25T21:48:54.1219460Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy/recoveryPoints/58b130caee27439f944eb74be486d623\",\"name\":\"58b130caee27439f944eb74be486d623\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"eb32e0d15a7149eca92c621e4e888bb1\",\"recoveryPointTime\":\"2023-12-24T18:48:53.4344728Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"eb32e0d15a7149eca92c621e4e888bb1\",\"recoveryPointDataStoresDetails\":[{\"id\":\"6b33fea1-e5d8-45b8-b244-c9682454b334\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-24T18:48:29.0344527Z\",\"expiryTime\":\"2023-12-25T18:48:29.0344527Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638332298603140518\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-25T18:48:29.0344527Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy/recoveryPoints/eb32e0d15a7149eca92c621e4e888bb1\",\"name\":\"eb32e0d15a7149eca92c621e4e888bb1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"108d95bea98342acb0b53c118ac6f39f\",\"recoveryPointTime\":\"2023-12-24T15:49:29.2747487Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"108d95bea98342acb0b53c118ac6f39f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"6b33fea1-e5d8-45b8-b244-c9682454b334\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-24T15:49:04.4673928Z\",\"expiryTime\":\"2023-12-25T15:49:04.4673928Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638332298603140518\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-25T15:49:04.4673928Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy/recoveryPoints/108d95bea98342acb0b53c118ac6f39f\",\"name\":\"108d95bea98342acb0b53c118ac6f39f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"73979a9f77a0409083fdef589b3f9f7e\",\"recoveryPointTime\":\"2023-12-24T12:49:25.6507296Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"73979a9f77a0409083fdef589b3f9f7e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"6b33fea1-e5d8-45b8-b244-c9682454b334\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-24T12:48:59.8108326Z\",\"expiryTime\":\"2023-12-25T12:48:59.8108326Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638332298603140518\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-25T12:48:59.8108326Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy/recoveryPoints/73979a9f77a0409083fdef589b3f9f7e\",\"name\":\"73979a9f77a0409083fdef589b3f9f7e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"694fe514a5a14073bd7c048c639fc18a\",\"recoveryPointTime\":\"2023-12-24T09:49:03.4949003Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"694fe514a5a14073bd7c048c639fc18a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"6b33fea1-e5d8-45b8-b244-c9682454b334\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-24T09:48:38.9064956Z\",\"expiryTime\":\"2023-12-25T09:48:38.9064956Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638332298603140518\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-25T09:48:38.9064956Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy/recoveryPoints/694fe514a5a14073bd7c048c639fc18a\",\"name\":\"694fe514a5a14073bd7c048c639fc18a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c95a8d2aa7f84536a08a2aba83d2031b\",\"recoveryPointTime\":\"2023-12-24T06:49:01.7871804Z\",\"recoveryPointType\":\"Incremental\",\"friendlyName\":\"c95a8d2aa7f84536a08a2aba83d2031b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"6b33fea1-e5d8-45b8-b244-c9682454b334\",\"type\":\"OperationalStore\",\"creationTime\":\"2023-12-24T06:48:34.7950423Z\",\"expiryTime\":\"2023-12-25T06:48:34.7950423Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638332298603140518\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-25T06:48:34.7950423Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy/recoveryPoints/c95a8d2aa7f84536a08a2aba83d2031b\",\"name\":\"c95a8d2aa7f84536a08a2aba83d2031b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}]}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$POST+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af/validateRestore?api-version=2023-05-01+9": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$POST+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy/validateRestore?api-version=2023-11-01+9": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af/validateRestore?api-version=2023-05-01", - "Content": "{\r\n \"restoreRequestObject\": {\r\n \"objectType\": \"AzureBackupRecoveryPointBasedRestoreRequest\",\r\n \"restoreTargetInfo\": {\r\n \"objectType\": \"itemLevelRestoreTargetInfo\",\r\n \"recoveryOption\": \"FailIfExists\",\r\n \"restoreLocation\": \"eastus2euap\",\r\n \"restoreCriteria\": [\r\n {\r\n \"objectType\": \"KubernetesClusterRestoreCriteria\",\r\n \"includeClusterScopeResources\": true,\r\n \"persistentVolumeRestoreMode\": \"RestoreWithVolumeData\",\r\n \"conflictPolicy\": \"Skip\"\r\n }\r\n ],\r\n \"datasourceInfo\": {\r\n \"datasourceType\": \"Microsoft.ContainerService/managedClusters\",\r\n \"objectType\": \"Datasource\",\r\n \"resourceID\": \"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\r\n \"resourceLocation\": \"eastus2euap\",\r\n \"resourceName\": \"aksCluster3-ecy-araj\",\r\n \"resourceType\": \"Microsoft.ContainerService/managedclusters\",\r\n \"resourceUri\": \"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\"\r\n },\r\n \"datasourceSetInfo\": {\r\n \"datasourceType\": \"Microsoft.ContainerService/managedClusters\",\r\n \"objectType\": \"DatasourceSet\",\r\n \"resourceID\": \"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\r\n \"resourceLocation\": \"eastus2euap\",\r\n \"resourceName\": \"aksCluster3-ecy-araj\",\r\n \"resourceType\": \"Microsoft.ContainerService/managedclusters\",\r\n \"resourceUri\": \"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"recoveryPointId\": \"fc12a39d7dcc4c8dbc778dfeea9af0f9\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy/validateRestore?api-version=2023-11-01", + "Content": "{\r\n \"restoreRequestObject\": {\r\n \"objectType\": \"AzureBackupRecoveryPointBasedRestoreRequest\",\r\n \"restoreTargetInfo\": {\r\n \"objectType\": \"itemLevelRestoreTargetInfo\",\r\n \"recoveryOption\": \"FailIfExists\",\r\n \"restoreLocation\": \"eastus2euap\",\r\n \"restoreCriteria\": [\r\n {\r\n \"objectType\": \"KubernetesClusterRestoreCriteria\",\r\n \"includeClusterScopeResources\": true,\r\n \"persistentVolumeRestoreMode\": \"RestoreWithVolumeData\",\r\n \"conflictPolicy\": \"Skip\"\r\n }\r\n ],\r\n \"datasourceInfo\": {\r\n \"datasourceType\": \"Microsoft.ContainerService/managedClusters\",\r\n \"objectType\": \"Datasource\",\r\n \"resourceID\": \"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\r\n \"resourceLocation\": \"eastus2euap\",\r\n \"resourceName\": \"azk8ssvcs-cluster-ecy\",\r\n \"resourceType\": \"Microsoft.ContainerService/managedclusters\",\r\n \"resourceUri\": \"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\"\r\n },\r\n \"datasourceSetInfo\": {\r\n \"datasourceType\": \"Microsoft.ContainerService/managedClusters\",\r\n \"objectType\": \"DatasourceSet\",\r\n \"resourceID\": \"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\r\n \"resourceLocation\": \"eastus2euap\",\r\n \"resourceName\": \"azk8ssvcs-cluster-ecy\",\r\n \"resourceType\": \"Microsoft.ContainerService/managedclusters\",\r\n \"resourceUri\": \"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"recoveryPointId\": \"534fdb230ef84e7682acf92e661193b0\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "1980" ] + "Content-Length": [ "2050" ] } }, "Response": { @@ -512,17 +512,17 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1O2YyMjk3ZTBkLTgyOGMtNGVlMS1hNGJkLWMzYTVkZjg0OTBjOA==?api-version=2023-05-01\u0026t=2023-08-28T17%3a13%3a12\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=EaAwg2jy2sdgy43tGo-E22cdrBFXJNYxLUE21CJ-JdyXPlv7pl9vg_WjSQKn0ZgyhSAWfXO7x2A6ks5Ej19vRKmWwqrzn9EcYUFXutlT0N0qC1lOAmMRDgTE9KyOKP6kohZlTR7cNdFKEXr6MtofEtNgxSCq0AEMhDqNddoG3kzKHBvmml5Xn8-oDkcbgdX3WNd_qxJdlJKC7iRTd4vEWC1A7d2fI52ueH92yFdb8mtf1l--DhDQvT17A6OAQQuBRxhvCQ1iTuWRczevLte3FpBDX6t_FBgkrtMr4PIOkRxBOylxcE3iogB4n2X_ev6AiEwnyavt3SOrpQ4OXKMZcA\u0026h=KSZK-g_5vQMT9nEYUEtVvrCyMLf_9o38Pz7p30hbbu8" ], + "Location": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2Y2M2Y0NzBkLWM4MTctNGM4YS05NDIwLWViMzkzMjRmZmE5Mg==?api-version=2023-11-01\u0026t=638390834439691093\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=SVP9Qkv9lrrXbOvtynDSN55oQemLCykzYKqMnbP2M6S5BUxz0n7P8-55L_ZCAoKAh9tNDEINckypc2c8tyOZz0Jw6D2JQrA1m5kLpkpRaPbmYk6asJwZQsfJIlgPYZrxxHS8j63mWetA3MpyH87LFSm5z4pTBhtFa46obCUoFd5-ab5bWhWwaY0ASJiWrTDf44wWNtXtN__B2Q3HnQyylDvklPfe5A9KJmdzk11rX1DRzIKxENhZFTGr2e4rQnjbM7t8kzl7XhDeSigpqh90G6f0D6gO-L_KRNR9_oKqBgRF4uq_SCEPhNQxXuIyz6fYpaVQR10W0neSElE1zIXRPw\u0026h=fpSCqjHJBSEm7aqtrN6ciViKD17XfD7M7oVfT1oNuVk" ], "Retry-After": [ "10" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1O2YyMjk3ZTBkLTgyOGMtNGVlMS1hNGJkLWMzYTVkZjg0OTBjOA==?api-version=2023-05-01\u0026t=2023-08-28T17%3a13%3a12\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=EqcG7iBcH9razEEA9ZJfPfCQjyWtZFum9FqGl8yl3T0ZM7M2P0Q_7tPKzMhv143zTOoO_FF4AIKUhwa40Zz7y_zmBSyaVETxIMNt75ukE-pZVRXMavu9Y4ygpXXtyr8ifVGaNjP2U4WfJwsuJ9GRYM8I6zu7pP57NbgZUxZtZ31wphnLl-GKb7X9nnjvBClf8habTvdXy6a86goBgmXRFFi5vpgmtWcCsDG3L0P_zsKeGto0Xw7QaW_vyRV10hL58uEqGYja9d8rciIWVJpepnh5Y1OXiM1uZyJF9tHN7vnTpCqdwV2WiDKO8X3B7SvOOMNPGtddYVutrQkUuCUBlw\u0026h=kgX69fi4sdCC8wHKyrN41aGLC8y2CFhpubck0E7wG84" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2Y2M2Y0NzBkLWM4MTctNGM4YS05NDIwLWViMzkzMjRmZmE5Mg==?api-version=2023-11-01\u0026t=638390834439691093\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=PeRIVv3mrR5owll5WEryKvxoFwdzTQAkQmYTcrtT2UGYfGOeVUBUyJDZekG4zzI8YO7UweedXXgrhfcZFfDkfMO5NMiLHqa54xEtN-5gkFn6fhlGzn2DHTGuoAHv74T7_GxS0py-ExQDHpkAJ73oTsvEyTJVvCGOLQowhXINpCEAxKHEDjY69EgQYivX4igtCwvtZJgigj_Y2yLBvU9FV8hK3FGhefYm0KgPhgZy6cscoOjhr3c9T0YE5-RHBMMPi4jCkDigB6QUiI5zNJSouelFqPL9Cw_H3JkwNj0P9aLwSztCXeqnKlhQmrRbCz-xUGxgPMT8imJEIWgzNTq5Dw\u0026h=Px3uMxUJiwGz66zWHD6Tan0qk3dciqpdYW71okKyOhg" ], "Server": [ "Kestrel" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-request-id": [ "b6017578-ec98-41ce-90af-6554e8fd68f7" ], - "x-ms-correlation-request-id": [ "b6017578-ec98-41ce-90af-6554e8fd68f7" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171312Z:b6017578-ec98-41ce-90af-6554e8fd68f7" ], + "x-ms-request-id": [ "5794e22e-eac5-4669-b8b4-90f86156ed72" ], + "x-ms-correlation-request-id": [ "5794e22e-eac5-4669-b8b4-90f86156ed72" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064403Z:5794e22e-eac5-4669-b8b4-90f86156ed72" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:13:11 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:44:03 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -532,20 +532,20 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1O2YyMjk3ZTBkLTgyOGMtNGVlMS1hNGJkLWMzYTVkZjg0OTBjOA==?api-version=2023-05-01\u0026t=2023-08-28T17%3a13%3a12\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=EqcG7iBcH9razEEA9ZJfPfCQjyWtZFum9FqGl8yl3T0ZM7M2P0Q_7tPKzMhv143zTOoO_FF4AIKUhwa40Zz7y_zmBSyaVETxIMNt75ukE-pZVRXMavu9Y4ygpXXtyr8ifVGaNjP2U4WfJwsuJ9GRYM8I6zu7pP57NbgZUxZtZ31wphnLl-GKb7X9nnjvBClf8habTvdXy6a86goBgmXRFFi5vpgmtWcCsDG3L0P_zsKeGto0Xw7QaW_vyRV10hL58uEqGYja9d8rciIWVJpepnh5Y1OXiM1uZyJF9tHN7vnTpCqdwV2WiDKO8X3B7SvOOMNPGtddYVutrQkUuCUBlw\u0026h=kgX69fi4sdCC8wHKyrN41aGLC8y2CFhpubck0E7wG84+10": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2Y2M2Y0NzBkLWM4MTctNGM4YS05NDIwLWViMzkzMjRmZmE5Mg==?api-version=2023-11-01\u0026t=638390834439691093\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=PeRIVv3mrR5owll5WEryKvxoFwdzTQAkQmYTcrtT2UGYfGOeVUBUyJDZekG4zzI8YO7UweedXXgrhfcZFfDkfMO5NMiLHqa54xEtN-5gkFn6fhlGzn2DHTGuoAHv74T7_GxS0py-ExQDHpkAJ73oTsvEyTJVvCGOLQowhXINpCEAxKHEDjY69EgQYivX4igtCwvtZJgigj_Y2yLBvU9FV8hK3FGhefYm0KgPhgZy6cscoOjhr3c9T0YE5-RHBMMPi4jCkDigB6QUiI5zNJSouelFqPL9Cw_H3JkwNj0P9aLwSztCXeqnKlhQmrRbCz-xUGxgPMT8imJEIWgzNTq5Dw\u0026h=Px3uMxUJiwGz66zWHD6Tan0qk3dciqpdYW71okKyOhg+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1O2YyMjk3ZTBkLTgyOGMtNGVlMS1hNGJkLWMzYTVkZjg0OTBjOA==?api-version=2023-05-01\u0026t=2023-08-28T17%3a13%3a12\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=EqcG7iBcH9razEEA9ZJfPfCQjyWtZFum9FqGl8yl3T0ZM7M2P0Q_7tPKzMhv143zTOoO_FF4AIKUhwa40Zz7y_zmBSyaVETxIMNt75ukE-pZVRXMavu9Y4ygpXXtyr8ifVGaNjP2U4WfJwsuJ9GRYM8I6zu7pP57NbgZUxZtZ31wphnLl-GKb7X9nnjvBClf8habTvdXy6a86goBgmXRFFi5vpgmtWcCsDG3L0P_zsKeGto0Xw7QaW_vyRV10hL58uEqGYja9d8rciIWVJpepnh5Y1OXiM1uZyJF9tHN7vnTpCqdwV2WiDKO8X3B7SvOOMNPGtddYVutrQkUuCUBlw\u0026h=kgX69fi4sdCC8wHKyrN41aGLC8y2CFhpubck0E7wG84", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2Y2M2Y0NzBkLWM4MTctNGM4YS05NDIwLWViMzkzMjRmZmE5Mg==?api-version=2023-11-01\u0026t=638390834439691093\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=PeRIVv3mrR5owll5WEryKvxoFwdzTQAkQmYTcrtT2UGYfGOeVUBUyJDZekG4zzI8YO7UweedXXgrhfcZFfDkfMO5NMiLHqa54xEtN-5gkFn6fhlGzn2DHTGuoAHv74T7_GxS0py-ExQDHpkAJ73oTsvEyTJVvCGOLQowhXINpCEAxKHEDjY69EgQYivX4igtCwvtZJgigj_Y2yLBvU9FV8hK3FGhefYm0KgPhgZy6cscoOjhr3c9T0YE5-RHBMMPi4jCkDigB6QUiI5zNJSouelFqPL9Cw_H3JkwNj0P9aLwSztCXeqnKlhQmrRbCz-xUGxgPMT8imJEIWgzNTq5Dw\u0026h=Px3uMxUJiwGz66zWHD6Tan0qk3dciqpdYW71okKyOhg", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "c19f71dd-c4d5-4245-acd9-9854369770e0" ], + "x-ms-client-request-id": [ "e900b52e-9f3e-4830-b801-eb346f2c6bba" ], "CommandName": [ "Az.DataProtection.Internal\\Test-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Test-AzDataProtectionBackupInstanceRestore_Validate1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -558,35 +558,35 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "998" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "9d2d4694-115e-44e4-b17b-ae821d8301a3" ], - "x-ms-correlation-request-id": [ "9d2d4694-115e-44e4-b17b-ae821d8301a3" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171323Z:9d2d4694-115e-44e4-b17b-ae821d8301a3" ], + "x-ms-request-id": [ "eab519aa-8e6d-4b1b-b388-9a00e9a7229d" ], + "x-ms-correlation-request-id": [ "eab519aa-8e6d-4b1b-b388-9a00e9a7229d" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064414Z:eab519aa-8e6d-4b1b-b388-9a00e9a7229d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:13:22 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:44:13 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "466" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1O2YyMjk3ZTBkLTgyOGMtNGVlMS1hNGJkLWMzYTVkZjg0OTBjOA==\",\"name\":\"MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1O2YyMjk3ZTBkLTgyOGMtNGVlMS1hNGJkLWMzYTVkZjg0OTBjOA==\",\"status\":\"Inprogress\",\"startTime\":\"2023-08-28T17:13:12.4601688Z\",\"endTime\":\"0001-01-01T00:00:00Z\"}", + "Content": "{\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2Y2M2Y0NzBkLWM4MTctNGM4YS05NDIwLWViMzkzMjRmZmE5Mg==\",\"name\":\"MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2Y2M2Y0NzBkLWM4MTctNGM4YS05NDIwLWViMzkzMjRmZmE5Mg==\",\"status\":\"Inprogress\",\"startTime\":\"2023-12-25T06:44:03.7521429Z\",\"endTime\":\"0001-01-01T00:00:00Z\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1O2YyMjk3ZTBkLTgyOGMtNGVlMS1hNGJkLWMzYTVkZjg0OTBjOA==?api-version=2023-05-01\u0026t=2023-08-28T17%3a13%3a12\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=EqcG7iBcH9razEEA9ZJfPfCQjyWtZFum9FqGl8yl3T0ZM7M2P0Q_7tPKzMhv143zTOoO_FF4AIKUhwa40Zz7y_zmBSyaVETxIMNt75ukE-pZVRXMavu9Y4ygpXXtyr8ifVGaNjP2U4WfJwsuJ9GRYM8I6zu7pP57NbgZUxZtZ31wphnLl-GKb7X9nnjvBClf8habTvdXy6a86goBgmXRFFi5vpgmtWcCsDG3L0P_zsKeGto0Xw7QaW_vyRV10hL58uEqGYja9d8rciIWVJpepnh5Y1OXiM1uZyJF9tHN7vnTpCqdwV2WiDKO8X3B7SvOOMNPGtddYVutrQkUuCUBlw\u0026h=kgX69fi4sdCC8wHKyrN41aGLC8y2CFhpubck0E7wG84+11": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2Y2M2Y0NzBkLWM4MTctNGM4YS05NDIwLWViMzkzMjRmZmE5Mg==?api-version=2023-11-01\u0026t=638390834439691093\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=PeRIVv3mrR5owll5WEryKvxoFwdzTQAkQmYTcrtT2UGYfGOeVUBUyJDZekG4zzI8YO7UweedXXgrhfcZFfDkfMO5NMiLHqa54xEtN-5gkFn6fhlGzn2DHTGuoAHv74T7_GxS0py-ExQDHpkAJ73oTsvEyTJVvCGOLQowhXINpCEAxKHEDjY69EgQYivX4igtCwvtZJgigj_Y2yLBvU9FV8hK3FGhefYm0KgPhgZy6cscoOjhr3c9T0YE5-RHBMMPi4jCkDigB6QUiI5zNJSouelFqPL9Cw_H3JkwNj0P9aLwSztCXeqnKlhQmrRbCz-xUGxgPMT8imJEIWgzNTq5Dw\u0026h=Px3uMxUJiwGz66zWHD6Tan0qk3dciqpdYW71okKyOhg+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1O2YyMjk3ZTBkLTgyOGMtNGVlMS1hNGJkLWMzYTVkZjg0OTBjOA==?api-version=2023-05-01\u0026t=2023-08-28T17%3a13%3a12\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=EqcG7iBcH9razEEA9ZJfPfCQjyWtZFum9FqGl8yl3T0ZM7M2P0Q_7tPKzMhv143zTOoO_FF4AIKUhwa40Zz7y_zmBSyaVETxIMNt75ukE-pZVRXMavu9Y4ygpXXtyr8ifVGaNjP2U4WfJwsuJ9GRYM8I6zu7pP57NbgZUxZtZ31wphnLl-GKb7X9nnjvBClf8habTvdXy6a86goBgmXRFFi5vpgmtWcCsDG3L0P_zsKeGto0Xw7QaW_vyRV10hL58uEqGYja9d8rciIWVJpepnh5Y1OXiM1uZyJF9tHN7vnTpCqdwV2WiDKO8X3B7SvOOMNPGtddYVutrQkUuCUBlw\u0026h=kgX69fi4sdCC8wHKyrN41aGLC8y2CFhpubck0E7wG84", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2Y2M2Y0NzBkLWM4MTctNGM4YS05NDIwLWViMzkzMjRmZmE5Mg==?api-version=2023-11-01\u0026t=638390834439691093\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=PeRIVv3mrR5owll5WEryKvxoFwdzTQAkQmYTcrtT2UGYfGOeVUBUyJDZekG4zzI8YO7UweedXXgrhfcZFfDkfMO5NMiLHqa54xEtN-5gkFn6fhlGzn2DHTGuoAHv74T7_GxS0py-ExQDHpkAJ73oTsvEyTJVvCGOLQowhXINpCEAxKHEDjY69EgQYivX4igtCwvtZJgigj_Y2yLBvU9FV8hK3FGhefYm0KgPhgZy6cscoOjhr3c9T0YE5-RHBMMPi4jCkDigB6QUiI5zNJSouelFqPL9Cw_H3JkwNj0P9aLwSztCXeqnKlhQmrRbCz-xUGxgPMT8imJEIWgzNTq5Dw\u0026h=Px3uMxUJiwGz66zWHD6Tan0qk3dciqpdYW71okKyOhg", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "c19f71dd-c4d5-4245-acd9-9854369770e0" ], + "x-ms-client-request-id": [ "e900b52e-9f3e-4830-b801-eb346f2c6bba" ], "CommandName": [ "Az.DataProtection.Internal\\Test-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Test-AzDataProtectionBackupInstanceRestore_Validate1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -599,35 +599,35 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "997" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "4af78f72-a8fa-486c-a25a-bcfeec04bf5b" ], - "x-ms-correlation-request-id": [ "4af78f72-a8fa-486c-a25a-bcfeec04bf5b" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171353Z:4af78f72-a8fa-486c-a25a-bcfeec04bf5b" ], + "x-ms-request-id": [ "c4131d29-075f-4511-9330-099c7780e3db" ], + "x-ms-correlation-request-id": [ "c4131d29-075f-4511-9330-099c7780e3db" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064445Z:c4131d29-075f-4511-9330-099c7780e3db" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:13:53 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:44:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "466" ], + "Content-Length": [ "492" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1O2YyMjk3ZTBkLTgyOGMtNGVlMS1hNGJkLWMzYTVkZjg0OTBjOA==\",\"name\":\"MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1O2YyMjk3ZTBkLTgyOGMtNGVlMS1hNGJkLWMzYTVkZjg0OTBjOA==\",\"status\":\"Inprogress\",\"startTime\":\"2023-08-28T17:13:12.4601688Z\",\"endTime\":\"0001-01-01T00:00:00Z\"}", + "Content": "{\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2Y2M2Y0NzBkLWM4MTctNGM4YS05NDIwLWViMzkzMjRmZmE5Mg==\",\"name\":\"MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2Y2M2Y0NzBkLWM4MTctNGM4YS05NDIwLWViMzkzMjRmZmE5Mg==\",\"status\":\"Inprogress\",\"startTime\":\"2023-12-25T06:44:03.7521429Z\",\"endTime\":\"0001-01-01T00:00:00Z\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1O2YyMjk3ZTBkLTgyOGMtNGVlMS1hNGJkLWMzYTVkZjg0OTBjOA==?api-version=2023-05-01\u0026t=2023-08-28T17%3a13%3a12\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=EqcG7iBcH9razEEA9ZJfPfCQjyWtZFum9FqGl8yl3T0ZM7M2P0Q_7tPKzMhv143zTOoO_FF4AIKUhwa40Zz7y_zmBSyaVETxIMNt75ukE-pZVRXMavu9Y4ygpXXtyr8ifVGaNjP2U4WfJwsuJ9GRYM8I6zu7pP57NbgZUxZtZ31wphnLl-GKb7X9nnjvBClf8habTvdXy6a86goBgmXRFFi5vpgmtWcCsDG3L0P_zsKeGto0Xw7QaW_vyRV10hL58uEqGYja9d8rciIWVJpepnh5Y1OXiM1uZyJF9tHN7vnTpCqdwV2WiDKO8X3B7SvOOMNPGtddYVutrQkUuCUBlw\u0026h=kgX69fi4sdCC8wHKyrN41aGLC8y2CFhpubck0E7wG84+12": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2Y2M2Y0NzBkLWM4MTctNGM4YS05NDIwLWViMzkzMjRmZmE5Mg==?api-version=2023-11-01\u0026t=638390834439691093\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=PeRIVv3mrR5owll5WEryKvxoFwdzTQAkQmYTcrtT2UGYfGOeVUBUyJDZekG4zzI8YO7UweedXXgrhfcZFfDkfMO5NMiLHqa54xEtN-5gkFn6fhlGzn2DHTGuoAHv74T7_GxS0py-ExQDHpkAJ73oTsvEyTJVvCGOLQowhXINpCEAxKHEDjY69EgQYivX4igtCwvtZJgigj_Y2yLBvU9FV8hK3FGhefYm0KgPhgZy6cscoOjhr3c9T0YE5-RHBMMPi4jCkDigB6QUiI5zNJSouelFqPL9Cw_H3JkwNj0P9aLwSztCXeqnKlhQmrRbCz-xUGxgPMT8imJEIWgzNTq5Dw\u0026h=Px3uMxUJiwGz66zWHD6Tan0qk3dciqpdYW71okKyOhg+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1O2YyMjk3ZTBkLTgyOGMtNGVlMS1hNGJkLWMzYTVkZjg0OTBjOA==?api-version=2023-05-01\u0026t=2023-08-28T17%3a13%3a12\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=EqcG7iBcH9razEEA9ZJfPfCQjyWtZFum9FqGl8yl3T0ZM7M2P0Q_7tPKzMhv143zTOoO_FF4AIKUhwa40Zz7y_zmBSyaVETxIMNt75ukE-pZVRXMavu9Y4ygpXXtyr8ifVGaNjP2U4WfJwsuJ9GRYM8I6zu7pP57NbgZUxZtZ31wphnLl-GKb7X9nnjvBClf8habTvdXy6a86goBgmXRFFi5vpgmtWcCsDG3L0P_zsKeGto0Xw7QaW_vyRV10hL58uEqGYja9d8rciIWVJpepnh5Y1OXiM1uZyJF9tHN7vnTpCqdwV2WiDKO8X3B7SvOOMNPGtddYVutrQkUuCUBlw\u0026h=kgX69fi4sdCC8wHKyrN41aGLC8y2CFhpubck0E7wG84", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2Y2M2Y0NzBkLWM4MTctNGM4YS05NDIwLWViMzkzMjRmZmE5Mg==?api-version=2023-11-01\u0026t=638390834439691093\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=PeRIVv3mrR5owll5WEryKvxoFwdzTQAkQmYTcrtT2UGYfGOeVUBUyJDZekG4zzI8YO7UweedXXgrhfcZFfDkfMO5NMiLHqa54xEtN-5gkFn6fhlGzn2DHTGuoAHv74T7_GxS0py-ExQDHpkAJ73oTsvEyTJVvCGOLQowhXINpCEAxKHEDjY69EgQYivX4igtCwvtZJgigj_Y2yLBvU9FV8hK3FGhefYm0KgPhgZy6cscoOjhr3c9T0YE5-RHBMMPi4jCkDigB6QUiI5zNJSouelFqPL9Cw_H3JkwNj0P9aLwSztCXeqnKlhQmrRbCz-xUGxgPMT8imJEIWgzNTq5Dw\u0026h=Px3uMxUJiwGz66zWHD6Tan0qk3dciqpdYW71okKyOhg", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "c19f71dd-c4d5-4245-acd9-9854369770e0" ], + "x-ms-client-request-id": [ "e900b52e-9f3e-4830-b801-eb346f2c6bba" ], "CommandName": [ "Az.DataProtection.Internal\\Test-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Test-AzDataProtectionBackupInstanceRestore_Validate1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -640,35 +640,35 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "996" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "9624d5ff-89e7-4f30-8afa-7dbca5c415dd" ], - "x-ms-correlation-request-id": [ "9624d5ff-89e7-4f30-8afa-7dbca5c415dd" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171424Z:9624d5ff-89e7-4f30-8afa-7dbca5c415dd" ], + "x-ms-request-id": [ "f697c7a6-3c30-4599-95cc-1932fdf9d5e4" ], + "x-ms-correlation-request-id": [ "f697c7a6-3c30-4599-95cc-1932fdf9d5e4" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064515Z:f697c7a6-3c30-4599-95cc-1932fdf9d5e4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:14:23 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:45:15 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "465" ], + "Content-Length": [ "491" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1O2YyMjk3ZTBkLTgyOGMtNGVlMS1hNGJkLWMzYTVkZjg0OTBjOA==\",\"name\":\"MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1O2YyMjk3ZTBkLTgyOGMtNGVlMS1hNGJkLWMzYTVkZjg0OTBjOA==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-28T17:13:12.4601688Z\",\"endTime\":\"2023-08-28T17:13:54Z\"}", + "Content": "{\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2Y2M2Y0NzBkLWM4MTctNGM4YS05NDIwLWViMzkzMjRmZmE5Mg==\",\"name\":\"MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2Y2M2Y0NzBkLWM4MTctNGM4YS05NDIwLWViMzkzMjRmZmE5Mg==\",\"status\":\"Succeeded\",\"startTime\":\"2023-12-25T06:44:03.7521429Z\",\"endTime\":\"2023-12-25T06:44:45Z\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1O2YyMjk3ZTBkLTgyOGMtNGVlMS1hNGJkLWMzYTVkZjg0OTBjOA==?api-version=2023-05-01\u0026t=2023-08-28T17%3a13%3a12\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=EaAwg2jy2sdgy43tGo-E22cdrBFXJNYxLUE21CJ-JdyXPlv7pl9vg_WjSQKn0ZgyhSAWfXO7x2A6ks5Ej19vRKmWwqrzn9EcYUFXutlT0N0qC1lOAmMRDgTE9KyOKP6kohZlTR7cNdFKEXr6MtofEtNgxSCq0AEMhDqNddoG3kzKHBvmml5Xn8-oDkcbgdX3WNd_qxJdlJKC7iRTd4vEWC1A7d2fI52ueH92yFdb8mtf1l--DhDQvT17A6OAQQuBRxhvCQ1iTuWRczevLte3FpBDX6t_FBgkrtMr4PIOkRxBOylxcE3iogB4n2X_ev6AiEwnyavt3SOrpQ4OXKMZcA\u0026h=KSZK-g_5vQMT9nEYUEtVvrCyMLf_9o38Pz7p30hbbu8+13": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2Y2M2Y0NzBkLWM4MTctNGM4YS05NDIwLWViMzkzMjRmZmE5Mg==?api-version=2023-11-01\u0026t=638390834439691093\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=SVP9Qkv9lrrXbOvtynDSN55oQemLCykzYKqMnbP2M6S5BUxz0n7P8-55L_ZCAoKAh9tNDEINckypc2c8tyOZz0Jw6D2JQrA1m5kLpkpRaPbmYk6asJwZQsfJIlgPYZrxxHS8j63mWetA3MpyH87LFSm5z4pTBhtFa46obCUoFd5-ab5bWhWwaY0ASJiWrTDf44wWNtXtN__B2Q3HnQyylDvklPfe5A9KJmdzk11rX1DRzIKxENhZFTGr2e4rQnjbM7t8kzl7XhDeSigpqh90G6f0D6gO-L_KRNR9_oKqBgRF4uq_SCEPhNQxXuIyz6fYpaVQR10W0neSElE1zIXRPw\u0026h=fpSCqjHJBSEm7aqtrN6ciViKD17XfD7M7oVfT1oNuVk+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1O2YyMjk3ZTBkLTgyOGMtNGVlMS1hNGJkLWMzYTVkZjg0OTBjOA==?api-version=2023-05-01\u0026t=2023-08-28T17%3a13%3a12\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=EaAwg2jy2sdgy43tGo-E22cdrBFXJNYxLUE21CJ-JdyXPlv7pl9vg_WjSQKn0ZgyhSAWfXO7x2A6ks5Ej19vRKmWwqrzn9EcYUFXutlT0N0qC1lOAmMRDgTE9KyOKP6kohZlTR7cNdFKEXr6MtofEtNgxSCq0AEMhDqNddoG3kzKHBvmml5Xn8-oDkcbgdX3WNd_qxJdlJKC7iRTd4vEWC1A7d2fI52ueH92yFdb8mtf1l--DhDQvT17A6OAQQuBRxhvCQ1iTuWRczevLte3FpBDX6t_FBgkrtMr4PIOkRxBOylxcE3iogB4n2X_ev6AiEwnyavt3SOrpQ4OXKMZcA\u0026h=KSZK-g_5vQMT9nEYUEtVvrCyMLf_9o38Pz7p30hbbu8", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2Y2M2Y0NzBkLWM4MTctNGM4YS05NDIwLWViMzkzMjRmZmE5Mg==?api-version=2023-11-01\u0026t=638390834439691093\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=SVP9Qkv9lrrXbOvtynDSN55oQemLCykzYKqMnbP2M6S5BUxz0n7P8-55L_ZCAoKAh9tNDEINckypc2c8tyOZz0Jw6D2JQrA1m5kLpkpRaPbmYk6asJwZQsfJIlgPYZrxxHS8j63mWetA3MpyH87LFSm5z4pTBhtFa46obCUoFd5-ab5bWhWwaY0ASJiWrTDf44wWNtXtN__B2Q3HnQyylDvklPfe5A9KJmdzk11rX1DRzIKxENhZFTGr2e4rQnjbM7t8kzl7XhDeSigpqh90G6f0D6gO-L_KRNR9_oKqBgRF4uq_SCEPhNQxXuIyz6fYpaVQR10W0neSElE1zIXRPw\u0026h=fpSCqjHJBSEm7aqtrN6ciViKD17XfD7M7oVfT1oNuVk", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "c19f71dd-c4d5-4245-acd9-9854369770e0" ], + "x-ms-client-request-id": [ "e900b52e-9f3e-4830-b801-eb346f2c6bba" ], "CommandName": [ "Az.DataProtection.Internal\\Test-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Test-AzDataProtectionBackupInstanceRestore_Validate1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -681,13 +681,13 @@ "Retry-After": [ "30" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1O2YyMjk3ZTBkLTgyOGMtNGVlMS1hNGJkLWMzYTVkZjg0OTBjOA==?api-version=2023-05-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5O2Y2M2Y0NzBkLWM4MTctNGM4YS05NDIwLWViMzkzMjRmZmE5Mg==?api-version=2023-11-01" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "1211a7c0-7e0b-4738-a264-a517c14d9a31" ], - "x-ms-correlation-request-id": [ "1211a7c0-7e0b-4738-a264-a517c14d9a31" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171424Z:1211a7c0-7e0b-4738-a264-a517c14d9a31" ], + "x-ms-request-id": [ "016e1df4-5cd2-40d1-9733-ce2bedadce0a" ], + "x-ms-correlation-request-id": [ "016e1df4-5cd2-40d1-9733-ce2bedadce0a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064516Z:016e1df4-5cd2-40d1-9733-ce2bedadce0a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:14:24 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:45:15 GMT" ] }, "ContentHeaders": { "Content-Length": [ "41" ], @@ -698,17 +698,17 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$POST+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af/restore?api-version=2023-05-01+14": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$POST+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy/restore?api-version=2023-11-01+14": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af/restore?api-version=2023-05-01", - "Content": "{\r\n \"objectType\": \"AzureBackupRecoveryPointBasedRestoreRequest\",\r\n \"restoreTargetInfo\": {\r\n \"objectType\": \"itemLevelRestoreTargetInfo\",\r\n \"recoveryOption\": \"FailIfExists\",\r\n \"restoreLocation\": \"eastus2euap\",\r\n \"restoreCriteria\": [\r\n {\r\n \"objectType\": \"KubernetesClusterRestoreCriteria\",\r\n \"includeClusterScopeResources\": true,\r\n \"persistentVolumeRestoreMode\": \"RestoreWithVolumeData\",\r\n \"conflictPolicy\": \"Skip\"\r\n }\r\n ],\r\n \"datasourceInfo\": {\r\n \"datasourceType\": \"Microsoft.ContainerService/managedClusters\",\r\n \"objectType\": \"Datasource\",\r\n \"resourceID\": \"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\r\n \"resourceLocation\": \"eastus2euap\",\r\n \"resourceName\": \"aksCluster3-ecy-araj\",\r\n \"resourceType\": \"Microsoft.ContainerService/managedclusters\",\r\n \"resourceUri\": \"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\"\r\n },\r\n \"datasourceSetInfo\": {\r\n \"datasourceType\": \"Microsoft.ContainerService/managedClusters\",\r\n \"objectType\": \"DatasourceSet\",\r\n \"resourceID\": \"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\r\n \"resourceLocation\": \"eastus2euap\",\r\n \"resourceName\": \"aksCluster3-ecy-araj\",\r\n \"resourceType\": \"Microsoft.ContainerService/managedclusters\",\r\n \"resourceUri\": \"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"recoveryPointId\": \"fc12a39d7dcc4c8dbc778dfeea9af0f9\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy/restore?api-version=2023-11-01", + "Content": "{\r\n \"objectType\": \"AzureBackupRecoveryPointBasedRestoreRequest\",\r\n \"restoreTargetInfo\": {\r\n \"objectType\": \"itemLevelRestoreTargetInfo\",\r\n \"recoveryOption\": \"FailIfExists\",\r\n \"restoreLocation\": \"eastus2euap\",\r\n \"restoreCriteria\": [\r\n {\r\n \"objectType\": \"KubernetesClusterRestoreCriteria\",\r\n \"includeClusterScopeResources\": true,\r\n \"persistentVolumeRestoreMode\": \"RestoreWithVolumeData\",\r\n \"conflictPolicy\": \"Skip\"\r\n }\r\n ],\r\n \"datasourceInfo\": {\r\n \"datasourceType\": \"Microsoft.ContainerService/managedClusters\",\r\n \"objectType\": \"Datasource\",\r\n \"resourceID\": \"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\r\n \"resourceLocation\": \"eastus2euap\",\r\n \"resourceName\": \"azk8ssvcs-cluster-ecy\",\r\n \"resourceType\": \"Microsoft.ContainerService/managedclusters\",\r\n \"resourceUri\": \"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\"\r\n },\r\n \"datasourceSetInfo\": {\r\n \"datasourceType\": \"Microsoft.ContainerService/managedClusters\",\r\n \"objectType\": \"DatasourceSet\",\r\n \"resourceID\": \"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\r\n \"resourceLocation\": \"eastus2euap\",\r\n \"resourceName\": \"azk8ssvcs-cluster-ecy\",\r\n \"resourceType\": \"Microsoft.ContainerService/managedclusters\",\r\n \"resourceUri\": \"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"OperationalStore\",\r\n \"recoveryPointId\": \"534fdb230ef84e7682acf92e661193b0\"\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "1878" ] + "Content-Length": [ "1948" ] } }, "Response": { @@ -716,17 +716,17 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzRmNjI3ZmEwLWM5NmQtNGFmYy04YjRlLWY4ZWVkYTA3YTg3Mg==?api-version=2023-05-01\u0026t=2023-08-28T17%3a14%3a25\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=CeQqpDUJTJept3Yz7tCjXsq0XZNMid-Eo_Fx0XFHLhGsRSjC87RaZjchRYY61ODKGwnq5jEeOhrqmayB8solk9l4ukSs9xhhYdcyg1kn04LtD77kfYsWiOUU7gYlviWdRLPUfln1rkgZZiuXOESJw0EXLwF5cNtMhOpgnFy0F5GtNzNWfQ3_eVaT8npK1C5E8elLI_2Zh4jJUq6lUYg7HidFm0inKzmbhrgcwpK9Gja9vkFkIoka5YUd5n2V9pRXkVKZhJtoAOdNk35TJhIPjOJjmL_sVXVACO606Jv3TQPCPz6gsIK2FkRMlIjWqT1lC4dC8KyDXJhoMl0BknaAiA\u0026h=3Vr07ulViiU0UpBSnMXH-HfU3wOFxcdmiRtvOLguMPc" ], + "Location": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5OzNkNTBkZTQxLTA5NzMtNDg4OS05ZTQ1LWUzOWJhNWRjYWQzNQ==?api-version=2023-11-01\u0026t=638390835172387919\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=P6QuYKwD6L7Kk3GVSUmkdBLodM9yq-sYeJO1kqReqmXrRdQeSlGiaQJECNdqcD66YHuwuuWGYNxSR9YzpVoIjX2epQXzAlKuGfQZxXA-FTXsO6feGRYgvc9iB_9_GALY3074ZH4R0Ld59jECGZeHh8vEqKuqJTJ1Vz1slZnECPUax5JHGdE69Pb3F8lOsQXHtbWjVE7eNkRmUHBVKisbplyI-3HrtCzA3QZDdRzqrrkGf4YVh1k6VdQcICtpyNUb_e_68OvZ9MnKa-yVhUgnfKLjhqCgaCkkSqua-iS6N22Mg9Qvnd_kKjIdkivMuvSI8PSKCRNjpGNbByDo5ljAfw\u0026h=71EbmAlh6w3c3ARJrid3qNNce10lrTHP6uQV9I-JxpE" ], "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzRmNjI3ZmEwLWM5NmQtNGFmYy04YjRlLWY4ZWVkYTA3YTg3Mg==?api-version=2023-05-01\u0026t=2023-08-28T17%3a14%3a25\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=Yz3ddc-Iqovvau8Henb2h5xbvfI_lrj5lxTBbDEqxOQhlke9TiE21JZ6FcgI3qh3P3MZ75J97SbvNHIsFSc2UBN6MxLwZPMyITNWe-DeHg9Rz7qOLzSTt4N8qexpaCXrVZ35fJ75h7qpWTOLlDoWlwr945PLGJhTX7VSDHmUlXFfJjCNf_0x8okM9fitbMjYcn3NMYV1Uo4kjmYvBWj3nUgeOYbmmuSUcryx3lSUQv8vkgAkPAVylZBR65_GKuLPCpznCPX79FespiFruiFtpFB64uMAgn-RCj7TzUss4F64boSdG_iLnmuDxA22A0mwVvthvNhr9yqpjCgBrGHa2A\u0026h=AFt4p2qpN76p5SLcXnZWYvpIzG_ssnGVJ0I4BSjJlXE" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5OzNkNTBkZTQxLTA5NzMtNDg4OS05ZTQ1LWUzOWJhNWRjYWQzNQ==?api-version=2023-11-01\u0026t=638390835172230867\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=cRXi-ecQrUIL6067iOap_QJxtG_eoUpgk0Yxj4dhJzlbzFU4t-A_Ynz6ctj_-AkvH4E4DY88WGgEYPPmz7PodS8k7kXl07T7F_wLB4O7Z8DZ4cFEON1PU8uYxJ-wDcM0VWOebit11yRoTPB16nHlD1DCbaaE1sazGWdHm9DY_PsHwjO24Ld7Vvc_gQxkMWgvsGnG7p2CaoDS4S85oiIDY7z7VMr2_HIA7dlN5f0ZVlJUaUlqqvSJOsIW9hVkKPcVxP3bgzEH9gGYSF9iq0t9mp8lkBpM8v0uObgWw4Wn_A8qCZ2fQJRI6sQpyPXaIKbozciC-NSL4sC6yx-_hO34GA\u0026h=ZTFjl9F1kIKPRI3muL5EGX8Gu-dg6VyyKmXhTs3fiiQ" ], "Server": [ "Kestrel" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-request-id": [ "18dd9e1e-3f05-4180-9512-f51e3fb360b6" ], - "x-ms-correlation-request-id": [ "18dd9e1e-3f05-4180-9512-f51e3fb360b6" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171425Z:18dd9e1e-3f05-4180-9512-f51e3fb360b6" ], + "x-ms-request-id": [ "b64cb5ee-63bd-49f9-a22a-3024e8e3011d" ], + "x-ms-correlation-request-id": [ "b64cb5ee-63bd-49f9-a22a-3024e8e3011d" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064517Z:b64cb5ee-63bd-49f9-a22a-3024e8e3011d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:14:24 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:45:17 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -736,20 +736,20 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzRmNjI3ZmEwLWM5NmQtNGFmYy04YjRlLWY4ZWVkYTA3YTg3Mg==?api-version=2023-05-01\u0026t=2023-08-28T17%3a14%3a25\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=Yz3ddc-Iqovvau8Henb2h5xbvfI_lrj5lxTBbDEqxOQhlke9TiE21JZ6FcgI3qh3P3MZ75J97SbvNHIsFSc2UBN6MxLwZPMyITNWe-DeHg9Rz7qOLzSTt4N8qexpaCXrVZ35fJ75h7qpWTOLlDoWlwr945PLGJhTX7VSDHmUlXFfJjCNf_0x8okM9fitbMjYcn3NMYV1Uo4kjmYvBWj3nUgeOYbmmuSUcryx3lSUQv8vkgAkPAVylZBR65_GKuLPCpznCPX79FespiFruiFtpFB64uMAgn-RCj7TzUss4F64boSdG_iLnmuDxA22A0mwVvthvNhr9yqpjCgBrGHa2A\u0026h=AFt4p2qpN76p5SLcXnZWYvpIzG_ssnGVJ0I4BSjJlXE+15": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5OzNkNTBkZTQxLTA5NzMtNDg4OS05ZTQ1LWUzOWJhNWRjYWQzNQ==?api-version=2023-11-01\u0026t=638390835172230867\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=cRXi-ecQrUIL6067iOap_QJxtG_eoUpgk0Yxj4dhJzlbzFU4t-A_Ynz6ctj_-AkvH4E4DY88WGgEYPPmz7PodS8k7kXl07T7F_wLB4O7Z8DZ4cFEON1PU8uYxJ-wDcM0VWOebit11yRoTPB16nHlD1DCbaaE1sazGWdHm9DY_PsHwjO24Ld7Vvc_gQxkMWgvsGnG7p2CaoDS4S85oiIDY7z7VMr2_HIA7dlN5f0ZVlJUaUlqqvSJOsIW9hVkKPcVxP3bgzEH9gGYSF9iq0t9mp8lkBpM8v0uObgWw4Wn_A8qCZ2fQJRI6sQpyPXaIKbozciC-NSL4sC6yx-_hO34GA\u0026h=ZTFjl9F1kIKPRI3muL5EGX8Gu-dg6VyyKmXhTs3fiiQ+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzRmNjI3ZmEwLWM5NmQtNGFmYy04YjRlLWY4ZWVkYTA3YTg3Mg==?api-version=2023-05-01\u0026t=2023-08-28T17%3a14%3a25\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=Yz3ddc-Iqovvau8Henb2h5xbvfI_lrj5lxTBbDEqxOQhlke9TiE21JZ6FcgI3qh3P3MZ75J97SbvNHIsFSc2UBN6MxLwZPMyITNWe-DeHg9Rz7qOLzSTt4N8qexpaCXrVZ35fJ75h7qpWTOLlDoWlwr945PLGJhTX7VSDHmUlXFfJjCNf_0x8okM9fitbMjYcn3NMYV1Uo4kjmYvBWj3nUgeOYbmmuSUcryx3lSUQv8vkgAkPAVylZBR65_GKuLPCpznCPX79FespiFruiFtpFB64uMAgn-RCj7TzUss4F64boSdG_iLnmuDxA22A0mwVvthvNhr9yqpjCgBrGHa2A\u0026h=AFt4p2qpN76p5SLcXnZWYvpIzG_ssnGVJ0I4BSjJlXE", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5OzNkNTBkZTQxLTA5NzMtNDg4OS05ZTQ1LWUzOWJhNWRjYWQzNQ==?api-version=2023-11-01\u0026t=638390835172230867\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=cRXi-ecQrUIL6067iOap_QJxtG_eoUpgk0Yxj4dhJzlbzFU4t-A_Ynz6ctj_-AkvH4E4DY88WGgEYPPmz7PodS8k7kXl07T7F_wLB4O7Z8DZ4cFEON1PU8uYxJ-wDcM0VWOebit11yRoTPB16nHlD1DCbaaE1sazGWdHm9DY_PsHwjO24Ld7Vvc_gQxkMWgvsGnG7p2CaoDS4S85oiIDY7z7VMr2_HIA7dlN5f0ZVlJUaUlqqvSJOsIW9hVkKPcVxP3bgzEH9gGYSF9iq0t9mp8lkBpM8v0uObgWw4Wn_A8qCZ2fQJRI6sQpyPXaIKbozciC-NSL4sC6yx-_hO34GA\u0026h=ZTFjl9F1kIKPRI3muL5EGX8Gu-dg6VyyKmXhTs3fiiQ", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "3acbde51-ee10-4469-b04f-ea5a9edbfdd8" ], - "CommandName": [ "Start-AzDataProtectionBackupInstanceRestore" ], + "x-ms-client-request-id": [ "8dba9cb9-998a-4f79-9786-4472e76acc5c" ], + "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -762,35 +762,35 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "995" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "12bce48f-8d65-4807-9548-9f45261c456f" ], - "x-ms-correlation-request-id": [ "12bce48f-8d65-4807-9548-9f45261c456f" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171455Z:12bce48f-8d65-4807-9548-9f45261c456f" ], + "x-ms-request-id": [ "eee96a48-f93e-495c-90c4-7741f2d74f7b" ], + "x-ms-correlation-request-id": [ "eee96a48-f93e-495c-90c4-7741f2d74f7b" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064547Z:eee96a48-f93e-495c-90c4-7741f2d74f7b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:14:54 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:45:47 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "711" ], + "Content-Length": [ "763" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzRmNjI3ZmEwLWM5NmQtNGFmYy04YjRlLWY4ZWVkYTA3YTg3Mg==\",\"name\":\"MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzRmNjI3ZmEwLWM5NmQtNGFmYy04YjRlLWY4ZWVkYTA3YTg3Mg==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-28T17:14:24.9014152Z\",\"endTime\":\"2023-08-28T17:14:26Z\",\"properties\":{\"jobId\":\"/Subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5OzNkNTBkZTQxLTA5NzMtNDg4OS05ZTQ1LWUzOWJhNWRjYWQzNQ==\",\"name\":\"MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5OzNkNTBkZTQxLTA5NzMtNDg4OS05ZTQ1LWUzOWJhNWRjYWQzNQ==\",\"status\":\"Succeeded\",\"startTime\":\"2023-12-25T06:45:17.0756793Z\",\"endTime\":\"2023-12-25T06:45:18Z\",\"properties\":{\"jobId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/Backupvaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"objectType\":\"OperationJobExtendedInfo\"}}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzRmNjI3ZmEwLWM5NmQtNGFmYy04YjRlLWY4ZWVkYTA3YTg3Mg==?api-version=2023-05-01\u0026t=2023-08-28T17%3a14%3a25\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=CeQqpDUJTJept3Yz7tCjXsq0XZNMid-Eo_Fx0XFHLhGsRSjC87RaZjchRYY61ODKGwnq5jEeOhrqmayB8solk9l4ukSs9xhhYdcyg1kn04LtD77kfYsWiOUU7gYlviWdRLPUfln1rkgZZiuXOESJw0EXLwF5cNtMhOpgnFy0F5GtNzNWfQ3_eVaT8npK1C5E8elLI_2Zh4jJUq6lUYg7HidFm0inKzmbhrgcwpK9Gja9vkFkIoka5YUd5n2V9pRXkVKZhJtoAOdNk35TJhIPjOJjmL_sVXVACO606Jv3TQPCPz6gsIK2FkRMlIjWqT1lC4dC8KyDXJhoMl0BknaAiA\u0026h=3Vr07ulViiU0UpBSnMXH-HfU3wOFxcdmiRtvOLguMPc+16": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5OzNkNTBkZTQxLTA5NzMtNDg4OS05ZTQ1LWUzOWJhNWRjYWQzNQ==?api-version=2023-11-01\u0026t=638390835172387919\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=P6QuYKwD6L7Kk3GVSUmkdBLodM9yq-sYeJO1kqReqmXrRdQeSlGiaQJECNdqcD66YHuwuuWGYNxSR9YzpVoIjX2epQXzAlKuGfQZxXA-FTXsO6feGRYgvc9iB_9_GALY3074ZH4R0Ld59jECGZeHh8vEqKuqJTJ1Vz1slZnECPUax5JHGdE69Pb3F8lOsQXHtbWjVE7eNkRmUHBVKisbplyI-3HrtCzA3QZDdRzqrrkGf4YVh1k6VdQcICtpyNUb_e_68OvZ9MnKa-yVhUgnfKLjhqCgaCkkSqua-iS6N22Mg9Qvnd_kKjIdkivMuvSI8PSKCRNjpGNbByDo5ljAfw\u0026h=71EbmAlh6w3c3ARJrid3qNNce10lrTHP6uQV9I-JxpE+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzRmNjI3ZmEwLWM5NmQtNGFmYy04YjRlLWY4ZWVkYTA3YTg3Mg==?api-version=2023-05-01\u0026t=2023-08-28T17%3a14%3a25\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=CeQqpDUJTJept3Yz7tCjXsq0XZNMid-Eo_Fx0XFHLhGsRSjC87RaZjchRYY61ODKGwnq5jEeOhrqmayB8solk9l4ukSs9xhhYdcyg1kn04LtD77kfYsWiOUU7gYlviWdRLPUfln1rkgZZiuXOESJw0EXLwF5cNtMhOpgnFy0F5GtNzNWfQ3_eVaT8npK1C5E8elLI_2Zh4jJUq6lUYg7HidFm0inKzmbhrgcwpK9Gja9vkFkIoka5YUd5n2V9pRXkVKZhJtoAOdNk35TJhIPjOJjmL_sVXVACO606Jv3TQPCPz6gsIK2FkRMlIjWqT1lC4dC8KyDXJhoMl0BknaAiA\u0026h=3Vr07ulViiU0UpBSnMXH-HfU3wOFxcdmiRtvOLguMPc", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5OzNkNTBkZTQxLTA5NzMtNDg4OS05ZTQ1LWUzOWJhNWRjYWQzNQ==?api-version=2023-11-01\u0026t=638390835172387919\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=P6QuYKwD6L7Kk3GVSUmkdBLodM9yq-sYeJO1kqReqmXrRdQeSlGiaQJECNdqcD66YHuwuuWGYNxSR9YzpVoIjX2epQXzAlKuGfQZxXA-FTXsO6feGRYgvc9iB_9_GALY3074ZH4R0Ld59jECGZeHh8vEqKuqJTJ1Vz1slZnECPUax5JHGdE69Pb3F8lOsQXHtbWjVE7eNkRmUHBVKisbplyI-3HrtCzA3QZDdRzqrrkGf4YVh1k6VdQcICtpyNUb_e_68OvZ9MnKa-yVhUgnfKLjhqCgaCkkSqua-iS6N22Mg9Qvnd_kKjIdkivMuvSI8PSKCRNjpGNbByDo5ljAfw\u0026h=71EbmAlh6w3c3ARJrid3qNNce10lrTHP6uQV9I-JxpE", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "3acbde51-ee10-4469-b04f-ea5a9edbfdd8" ], - "CommandName": [ "Start-AzDataProtectionBackupInstanceRestore" ], + "x-ms-client-request-id": [ "8dba9cb9-998a-4f79-9786-4472e76acc5c" ], + "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -803,36 +803,36 @@ "Retry-After": [ "30" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/MGZmOWU0YTEtMzIwZC00YTQ5LWE4MTEtOTI2NjM5ZWZjOWM1OzRmNjI3ZmEwLWM5NmQtNGFmYy04YjRlLWY4ZWVkYTA3YTg3Mg==?api-version=2023-05-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/MWQ0NzFkY2UtNmFiNi00ZjIxLTgxZTEtYjdkZGUzNjZiNTA5OzNkNTBkZTQxLTA5NzMtNDg4OS05ZTQ1LWUzOWJhNWRjYWQzNQ==?api-version=2023-11-01" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "f0d9da04-c704-43d3-983c-99662d0eff7d" ], - "x-ms-correlation-request-id": [ "f0d9da04-c704-43d3-983c-99662d0eff7d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171455Z:f0d9da04-c704-43d3-983c-99662d0eff7d" ], + "x-ms-request-id": [ "834c431d-0598-4297-a3e2-82052961db26" ], + "x-ms-correlation-request-id": [ "834c431d-0598-4297-a3e2-82052961db26" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064548Z:834c431d-0598-4297-a3e2-82052961db26" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:14:55 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:45:48 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "232" ], + "Content-Length": [ "258" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/Subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/Backupvaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01+17": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "2bb7b257-ac3a-4aee-91ee-1a288c073182" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "4532fc2d-e2a1-43b6-8a68-18e01ade0e8d" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -846,34 +846,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-request-id": [ "57f7f3bc-00d1-4e45-bcb5-7d7f440284cd" ], - "x-ms-correlation-request-id": [ "57f7f3bc-00d1-4e45-bcb5-7d7f440284cd" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171516Z:57f7f3bc-00d1-4e45-bcb5-7d7f440284cd" ], + "x-ms-request-id": [ "ccb0135e-2409-439f-99ca-6a7d6bf1804c" ], + "x-ms-correlation-request-id": [ "ccb0135e-2409-439f-99ca-6a7d6bf1804c" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064608Z:ccb0135e-2409-439f-99ca-6a7d6bf1804c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:15:16 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:46:08 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2436" ], + "Content-Length": [ "2567" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"vaultName\":\"ecy-vault\",\"backupInstanceFriendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"policyName\":\"h4-w1\",\"sourceResourceGroup\":\"araj-rg\",\"dataSourceSetName\":\"aksCluster3-ecy-araj\",\"dataSourceName\":\"aksCluster3-ecy-araj\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T17%3A14%3A25.4397797Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T17:14:25.1446363Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.552018Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"name\":\"0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"vaultName\":\"azk8ssvcs-vault-ecy\",\"backupInstanceFriendlyName\":\"azk8ssvcs-cluster-ecy\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"sourceResourceGroup\":\"azk8ssvcs-cluster-r-ecy\",\"dataSourceSetName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceName\":\"azk8ssvcs-cluster-ecy\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T06%3A45%3A17.4969388Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T06:45:17.2664328Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"name\":\"faf98bcb-7379-49c6-bd06-72caa198492e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01+18": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "06d9a365-df4b-4c03-93ae-35dc8db44836" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "fbb9a098-3d3e-4373-af0a-44d18f565ae1" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -887,34 +887,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-request-id": [ "d2a86ad1-27e1-4bf7-a64e-46cd36868ee8" ], - "x-ms-correlation-request-id": [ "d2a86ad1-27e1-4bf7-a64e-46cd36868ee8" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171527Z:d2a86ad1-27e1-4bf7-a64e-46cd36868ee8" ], + "x-ms-request-id": [ "0608035a-f731-4015-9e6d-992be37194da" ], + "x-ms-correlation-request-id": [ "0608035a-f731-4015-9e6d-992be37194da" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064619Z:0608035a-f731-4015-9e6d-992be37194da" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:15:26 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:46:18 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2436" ], + "Content-Length": [ "2567" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"vaultName\":\"ecy-vault\",\"backupInstanceFriendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"policyName\":\"h4-w1\",\"sourceResourceGroup\":\"araj-rg\",\"dataSourceSetName\":\"aksCluster3-ecy-araj\",\"dataSourceName\":\"aksCluster3-ecy-araj\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T17%3A14%3A25.4397797Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T17:14:25.1446363Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.552018Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"name\":\"0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"vaultName\":\"azk8ssvcs-vault-ecy\",\"backupInstanceFriendlyName\":\"azk8ssvcs-cluster-ecy\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"sourceResourceGroup\":\"azk8ssvcs-cluster-r-ecy\",\"dataSourceSetName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceName\":\"azk8ssvcs-cluster-ecy\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T06%3A45%3A17.4969388Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T06:45:17.2664328Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"name\":\"faf98bcb-7379-49c6-bd06-72caa198492e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01+19": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "23" ], - "x-ms-client-request-id": [ "a872cb8d-6ce4-4931-8657-d7981bdf9ca8" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "0c1c2aef-b81b-417e-9933-7cfc5b3852ad" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -928,34 +928,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-request-id": [ "bcbd6102-36c6-4fab-8d1c-78279e404fc6" ], - "x-ms-correlation-request-id": [ "bcbd6102-36c6-4fab-8d1c-78279e404fc6" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171537Z:bcbd6102-36c6-4fab-8d1c-78279e404fc6" ], + "x-ms-request-id": [ "d6a26cb8-b8e5-4e56-a35d-b9723f5f664a" ], + "x-ms-correlation-request-id": [ "d6a26cb8-b8e5-4e56-a35d-b9723f5f664a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064630Z:d6a26cb8-b8e5-4e56-a35d-b9723f5f664a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:15:36 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:46:29 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2436" ], + "Content-Length": [ "2567" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"vaultName\":\"ecy-vault\",\"backupInstanceFriendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"policyName\":\"h4-w1\",\"sourceResourceGroup\":\"araj-rg\",\"dataSourceSetName\":\"aksCluster3-ecy-araj\",\"dataSourceName\":\"aksCluster3-ecy-araj\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T17%3A14%3A25.4397797Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T17:14:25.1446363Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.552018Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"name\":\"0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"vaultName\":\"azk8ssvcs-vault-ecy\",\"backupInstanceFriendlyName\":\"azk8ssvcs-cluster-ecy\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"sourceResourceGroup\":\"azk8ssvcs-cluster-r-ecy\",\"dataSourceSetName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceName\":\"azk8ssvcs-cluster-ecy\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T06%3A45%3A17.4969388Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T06:45:17.2664328Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"name\":\"faf98bcb-7379-49c6-bd06-72caa198492e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01+20": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "83a42df2-43a2-4ffd-a00a-2032b5db80b8" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "56faedd7-5f04-4c6b-9499-8ca7d3e132b2" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -969,34 +969,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], - "x-ms-request-id": [ "268a54e8-c000-4b2d-b0b9-0a4bfea6e440" ], - "x-ms-correlation-request-id": [ "268a54e8-c000-4b2d-b0b9-0a4bfea6e440" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171548Z:268a54e8-c000-4b2d-b0b9-0a4bfea6e440" ], + "x-ms-request-id": [ "0b4ee6b5-4c26-4e3d-a8b2-2f7210c77910" ], + "x-ms-correlation-request-id": [ "0b4ee6b5-4c26-4e3d-a8b2-2f7210c77910" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064640Z:0b4ee6b5-4c26-4e3d-a8b2-2f7210c77910" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:15:47 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:46:40 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2436" ], + "Content-Length": [ "2567" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"vaultName\":\"ecy-vault\",\"backupInstanceFriendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"policyName\":\"h4-w1\",\"sourceResourceGroup\":\"araj-rg\",\"dataSourceSetName\":\"aksCluster3-ecy-araj\",\"dataSourceName\":\"aksCluster3-ecy-araj\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T17%3A14%3A25.4397797Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T17:14:25.1446363Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.552018Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"name\":\"0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"vaultName\":\"azk8ssvcs-vault-ecy\",\"backupInstanceFriendlyName\":\"azk8ssvcs-cluster-ecy\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"sourceResourceGroup\":\"azk8ssvcs-cluster-r-ecy\",\"dataSourceSetName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceName\":\"azk8ssvcs-cluster-ecy\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T06%3A45%3A17.4969388Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T06:45:17.2664328Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"name\":\"faf98bcb-7379-49c6-bd06-72caa198492e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01+21": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "25" ], - "x-ms-client-request-id": [ "715e5a05-6b92-4e73-818d-818ac26c9837" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "85b8b004-bc61-44af-82a7-b39d28598594" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1007,37 +1007,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "195" ], "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "87beb6f6-10bb-41bf-b59e-a8bf11e00c73" ], - "x-ms-correlation-request-id": [ "87beb6f6-10bb-41bf-b59e-a8bf11e00c73" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171558Z:87beb6f6-10bb-41bf-b59e-a8bf11e00c73" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "195" ], + "x-ms-request-id": [ "f9ffb51b-4e87-4ca4-8774-b02973c34e94" ], + "x-ms-correlation-request-id": [ "f9ffb51b-4e87-4ca4-8774-b02973c34e94" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064651Z:f9ffb51b-4e87-4ca4-8774-b02973c34e94" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:15:58 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:46:51 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2436" ], + "Content-Length": [ "2567" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"vaultName\":\"ecy-vault\",\"backupInstanceFriendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"policyName\":\"h4-w1\",\"sourceResourceGroup\":\"araj-rg\",\"dataSourceSetName\":\"aksCluster3-ecy-araj\",\"dataSourceName\":\"aksCluster3-ecy-araj\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T17%3A14%3A25.4397797Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T17:14:25.1446363Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.552018Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"name\":\"0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"vaultName\":\"azk8ssvcs-vault-ecy\",\"backupInstanceFriendlyName\":\"azk8ssvcs-cluster-ecy\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"sourceResourceGroup\":\"azk8ssvcs-cluster-r-ecy\",\"dataSourceSetName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceName\":\"azk8ssvcs-cluster-ecy\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T06%3A45%3A17.4969388Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T06:45:17.2664328Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"name\":\"faf98bcb-7379-49c6-bd06-72caa198492e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01+22": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "b504b166-a4a6-45cc-bc5c-0d805ec8e9d4" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "bd0161b0-fea8-46ee-be52-da7681e97373" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1048,37 +1048,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "194" ], "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "194" ], - "x-ms-request-id": [ "84d6acc7-d6d7-49ed-86cc-9e423450d32b" ], - "x-ms-correlation-request-id": [ "84d6acc7-d6d7-49ed-86cc-9e423450d32b" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171609Z:84d6acc7-d6d7-49ed-86cc-9e423450d32b" ], + "x-ms-request-id": [ "02ec9243-bf74-423e-aa7c-d06ef20aa154" ], + "x-ms-correlation-request-id": [ "02ec9243-bf74-423e-aa7c-d06ef20aa154" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064702Z:02ec9243-bf74-423e-aa7c-d06ef20aa154" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:16:09 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:47:01 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2436" ], + "Content-Length": [ "2567" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"vaultName\":\"ecy-vault\",\"backupInstanceFriendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"policyName\":\"h4-w1\",\"sourceResourceGroup\":\"araj-rg\",\"dataSourceSetName\":\"aksCluster3-ecy-araj\",\"dataSourceName\":\"aksCluster3-ecy-araj\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T17%3A14%3A25.4397797Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T17:14:25.1446363Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.552018Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"name\":\"0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"vaultName\":\"azk8ssvcs-vault-ecy\",\"backupInstanceFriendlyName\":\"azk8ssvcs-cluster-ecy\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"sourceResourceGroup\":\"azk8ssvcs-cluster-r-ecy\",\"dataSourceSetName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceName\":\"azk8ssvcs-cluster-ecy\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T06%3A45%3A17.4969388Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T06:45:17.2664328Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"name\":\"faf98bcb-7379-49c6-bd06-72caa198492e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01+23": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "27" ], - "x-ms-client-request-id": [ "738fca5a-1422-433c-beb7-41e2ddd34460" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "d6491009-e15f-437b-ac5b-4d2ce1bf534d" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1092,34 +1092,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "193" ], - "x-ms-request-id": [ "ea7c6e64-186e-4a9a-86e4-7584588438fb" ], - "x-ms-correlation-request-id": [ "ea7c6e64-186e-4a9a-86e4-7584588438fb" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171620Z:ea7c6e64-186e-4a9a-86e4-7584588438fb" ], + "x-ms-request-id": [ "250fc309-7bc0-4dbd-8392-f1dbf983b7d7" ], + "x-ms-correlation-request-id": [ "250fc309-7bc0-4dbd-8392-f1dbf983b7d7" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064713Z:250fc309-7bc0-4dbd-8392-f1dbf983b7d7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:16:20 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:47:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2436" ], + "Content-Length": [ "2567" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"vaultName\":\"ecy-vault\",\"backupInstanceFriendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"policyName\":\"h4-w1\",\"sourceResourceGroup\":\"araj-rg\",\"dataSourceSetName\":\"aksCluster3-ecy-araj\",\"dataSourceName\":\"aksCluster3-ecy-araj\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T17%3A14%3A25.4397797Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T17:14:25.1446363Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.552018Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"name\":\"0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"vaultName\":\"azk8ssvcs-vault-ecy\",\"backupInstanceFriendlyName\":\"azk8ssvcs-cluster-ecy\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"sourceResourceGroup\":\"azk8ssvcs-cluster-r-ecy\",\"dataSourceSetName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceName\":\"azk8ssvcs-cluster-ecy\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T06%3A45%3A17.4969388Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T06:45:17.2664328Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"name\":\"faf98bcb-7379-49c6-bd06-72caa198492e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01+24": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01+24": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "75ab9f80-7def-4c28-b216-969ed1a4c9e6" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "916b89d5-46c4-4984-8e3d-523e5becd1a0" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1133,34 +1133,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "192" ], - "x-ms-request-id": [ "4bc3503d-4e3d-47f6-a610-750c93162270" ], - "x-ms-correlation-request-id": [ "4bc3503d-4e3d-47f6-a610-750c93162270" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171630Z:4bc3503d-4e3d-47f6-a610-750c93162270" ], + "x-ms-request-id": [ "b2923d3e-8205-4789-96dd-744f50c4000b" ], + "x-ms-correlation-request-id": [ "b2923d3e-8205-4789-96dd-744f50c4000b" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064724Z:b2923d3e-8205-4789-96dd-744f50c4000b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:16:30 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:47:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2436" ], + "Content-Length": [ "2567" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"vaultName\":\"ecy-vault\",\"backupInstanceFriendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"policyName\":\"h4-w1\",\"sourceResourceGroup\":\"araj-rg\",\"dataSourceSetName\":\"aksCluster3-ecy-araj\",\"dataSourceName\":\"aksCluster3-ecy-araj\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T17%3A14%3A25.4397797Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T17:14:25.1446363Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.552018Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"name\":\"0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"vaultName\":\"azk8ssvcs-vault-ecy\",\"backupInstanceFriendlyName\":\"azk8ssvcs-cluster-ecy\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"sourceResourceGroup\":\"azk8ssvcs-cluster-r-ecy\",\"dataSourceSetName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceName\":\"azk8ssvcs-cluster-ecy\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T06%3A45%3A17.4969388Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T06:45:17.2664328Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"name\":\"faf98bcb-7379-49c6-bd06-72caa198492e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01+25": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "29" ], - "x-ms-client-request-id": [ "3bc34614-7e6a-4db4-a2b3-6b04e2e83142" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "5c691ace-9489-4569-aea3-a4980989ec20" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1174,34 +1174,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "191" ], - "x-ms-request-id": [ "5c7d988a-fe50-4168-b975-5ce2fef7917c" ], - "x-ms-correlation-request-id": [ "5c7d988a-fe50-4168-b975-5ce2fef7917c" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171641Z:5c7d988a-fe50-4168-b975-5ce2fef7917c" ], + "x-ms-request-id": [ "6993afbe-5ab1-4f6a-82c3-57215c75f3ce" ], + "x-ms-correlation-request-id": [ "6993afbe-5ab1-4f6a-82c3-57215c75f3ce" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064734Z:6993afbe-5ab1-4f6a-82c3-57215c75f3ce" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:16:40 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:47:33 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2436" ], + "Content-Length": [ "2567" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"vaultName\":\"ecy-vault\",\"backupInstanceFriendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"policyName\":\"h4-w1\",\"sourceResourceGroup\":\"araj-rg\",\"dataSourceSetName\":\"aksCluster3-ecy-araj\",\"dataSourceName\":\"aksCluster3-ecy-araj\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T17%3A14%3A25.4397797Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T17:14:25.1446363Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.552018Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"name\":\"0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"vaultName\":\"azk8ssvcs-vault-ecy\",\"backupInstanceFriendlyName\":\"azk8ssvcs-cluster-ecy\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"sourceResourceGroup\":\"azk8ssvcs-cluster-r-ecy\",\"dataSourceSetName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceName\":\"azk8ssvcs-cluster-ecy\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T06%3A45%3A17.4969388Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T06:45:17.2664328Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"name\":\"faf98bcb-7379-49c6-bd06-72caa198492e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01+26": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "f58c01a0-b6a8-41ea-b3be-cdc08eb13e3b" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "9f64dd9d-2c38-4322-b502-b1c423578afb" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1215,34 +1215,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "190" ], - "x-ms-request-id": [ "e89d12f8-3669-49db-94ad-b308e28b9540" ], - "x-ms-correlation-request-id": [ "e89d12f8-3669-49db-94ad-b308e28b9540" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171651Z:e89d12f8-3669-49db-94ad-b308e28b9540" ], + "x-ms-request-id": [ "a253d927-8752-441d-86f6-298a41825c94" ], + "x-ms-correlation-request-id": [ "a253d927-8752-441d-86f6-298a41825c94" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064745Z:a253d927-8752-441d-86f6-298a41825c94" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:16:51 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:47:45 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2436" ], + "Content-Length": [ "2567" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"vaultName\":\"ecy-vault\",\"backupInstanceFriendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"policyName\":\"h4-w1\",\"sourceResourceGroup\":\"araj-rg\",\"dataSourceSetName\":\"aksCluster3-ecy-araj\",\"dataSourceName\":\"aksCluster3-ecy-araj\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T17%3A14%3A25.4397797Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T17:14:25.1446363Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.552018Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"name\":\"0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"vaultName\":\"azk8ssvcs-vault-ecy\",\"backupInstanceFriendlyName\":\"azk8ssvcs-cluster-ecy\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"sourceResourceGroup\":\"azk8ssvcs-cluster-r-ecy\",\"dataSourceSetName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceName\":\"azk8ssvcs-cluster-ecy\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T06%3A45%3A17.4969388Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T06:45:17.2664328Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"name\":\"faf98bcb-7379-49c6-bd06-72caa198492e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01+27": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01+27": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "31" ], - "x-ms-client-request-id": [ "eff0ae96-6d94-431e-b43b-c996fc8527b7" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "50a454c7-9ea4-43d1-ab71-20fcbfdacbf6" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1256,34 +1256,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "189" ], - "x-ms-request-id": [ "ed0255fe-21c3-4bc3-ad0c-83194e85a6e4" ], - "x-ms-correlation-request-id": [ "ed0255fe-21c3-4bc3-ad0c-83194e85a6e4" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171702Z:ed0255fe-21c3-4bc3-ad0c-83194e85a6e4" ], + "x-ms-request-id": [ "2a67e02e-26bc-4ca1-a9a7-d7ca807c906d" ], + "x-ms-correlation-request-id": [ "2a67e02e-26bc-4ca1-a9a7-d7ca807c906d" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064756Z:2a67e02e-26bc-4ca1-a9a7-d7ca807c906d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:17:01 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:47:55 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2436" ], + "Content-Length": [ "2567" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"vaultName\":\"ecy-vault\",\"backupInstanceFriendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"policyName\":\"h4-w1\",\"sourceResourceGroup\":\"araj-rg\",\"dataSourceSetName\":\"aksCluster3-ecy-araj\",\"dataSourceName\":\"aksCluster3-ecy-araj\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T17%3A14%3A25.4397797Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T17:14:25.1446363Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.552018Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"name\":\"0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"vaultName\":\"azk8ssvcs-vault-ecy\",\"backupInstanceFriendlyName\":\"azk8ssvcs-cluster-ecy\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"sourceResourceGroup\":\"azk8ssvcs-cluster-r-ecy\",\"dataSourceSetName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceName\":\"azk8ssvcs-cluster-ecy\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T06%3A45%3A17.4969388Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T06:45:17.2664328Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"name\":\"faf98bcb-7379-49c6-bd06-72caa198492e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01+28": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01+28": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "495d7e77-bcd2-41f8-a30f-685176a20aa5" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "91da4bc5-661a-4c77-abfb-14af418b6513" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1297,34 +1297,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "188" ], - "x-ms-request-id": [ "5bdfcd42-7661-4e50-96f7-bd95a4ade9aa" ], - "x-ms-correlation-request-id": [ "5bdfcd42-7661-4e50-96f7-bd95a4ade9aa" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171712Z:5bdfcd42-7661-4e50-96f7-bd95a4ade9aa" ], + "x-ms-request-id": [ "3d354961-dc01-4dcf-bb74-1d01862e3043" ], + "x-ms-correlation-request-id": [ "3d354961-dc01-4dcf-bb74-1d01862e3043" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064806Z:3d354961-dc01-4dcf-bb74-1d01862e3043" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:17:12 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:48:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2436" ], + "Content-Length": [ "2567" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"vaultName\":\"ecy-vault\",\"backupInstanceFriendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"policyName\":\"h4-w1\",\"sourceResourceGroup\":\"araj-rg\",\"dataSourceSetName\":\"aksCluster3-ecy-araj\",\"dataSourceName\":\"aksCluster3-ecy-araj\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T17%3A14%3A25.4397797Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T17:14:25.1446363Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.552018Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"name\":\"0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"vaultName\":\"azk8ssvcs-vault-ecy\",\"backupInstanceFriendlyName\":\"azk8ssvcs-cluster-ecy\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"sourceResourceGroup\":\"azk8ssvcs-cluster-r-ecy\",\"dataSourceSetName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceName\":\"azk8ssvcs-cluster-ecy\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T06%3A45%3A17.4969388Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T06:45:17.2664328Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"name\":\"faf98bcb-7379-49c6-bd06-72caa198492e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01+29": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "33" ], - "x-ms-client-request-id": [ "68d5d664-a92a-4616-8326-753a783cf622" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "3c252662-f91a-4396-a8cc-006f4a63de71" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1338,34 +1338,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "187" ], - "x-ms-request-id": [ "51ea809f-8810-40e8-89b2-963e1b776fc3" ], - "x-ms-correlation-request-id": [ "51ea809f-8810-40e8-89b2-963e1b776fc3" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171723Z:51ea809f-8810-40e8-89b2-963e1b776fc3" ], + "x-ms-request-id": [ "23e1fbd5-25fa-48a0-b246-4b671b9d3d3f" ], + "x-ms-correlation-request-id": [ "23e1fbd5-25fa-48a0-b246-4b671b9d3d3f" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064817Z:23e1fbd5-25fa-48a0-b246-4b671b9d3d3f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:17:23 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:48:16 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2436" ], + "Content-Length": [ "2567" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"vaultName\":\"ecy-vault\",\"backupInstanceFriendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"policyName\":\"h4-w1\",\"sourceResourceGroup\":\"araj-rg\",\"dataSourceSetName\":\"aksCluster3-ecy-araj\",\"dataSourceName\":\"aksCluster3-ecy-araj\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T17%3A14%3A25.4397797Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T17:14:25.1446363Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.552018Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"name\":\"0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"vaultName\":\"azk8ssvcs-vault-ecy\",\"backupInstanceFriendlyName\":\"azk8ssvcs-cluster-ecy\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"sourceResourceGroup\":\"azk8ssvcs-cluster-r-ecy\",\"dataSourceSetName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceName\":\"azk8ssvcs-cluster-ecy\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T06%3A45%3A17.4969388Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T06:45:17.2664328Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"name\":\"faf98bcb-7379-49c6-bd06-72caa198492e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01+30": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01+30": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "ca904c72-5977-49d1-8031-d8a38b149b58" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "db73edd5-0aaf-46a9-837b-77ea5f5903e3" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1379,34 +1379,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "186" ], - "x-ms-request-id": [ "9250c8b9-b623-4c49-80a0-ec17d42f9f79" ], - "x-ms-correlation-request-id": [ "9250c8b9-b623-4c49-80a0-ec17d42f9f79" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171733Z:9250c8b9-b623-4c49-80a0-ec17d42f9f79" ], + "x-ms-request-id": [ "717c3723-7fe8-4092-9f64-28c56bc003eb" ], + "x-ms-correlation-request-id": [ "717c3723-7fe8-4092-9f64-28c56bc003eb" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064827Z:717c3723-7fe8-4092-9f64-28c56bc003eb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:17:33 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:48:27 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2436" ], + "Content-Length": [ "2567" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"vaultName\":\"ecy-vault\",\"backupInstanceFriendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"policyName\":\"h4-w1\",\"sourceResourceGroup\":\"araj-rg\",\"dataSourceSetName\":\"aksCluster3-ecy-araj\",\"dataSourceName\":\"aksCluster3-ecy-araj\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T17%3A14%3A25.4397797Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T17:14:25.1446363Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.552018Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"name\":\"0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"vaultName\":\"azk8ssvcs-vault-ecy\",\"backupInstanceFriendlyName\":\"azk8ssvcs-cluster-ecy\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"sourceResourceGroup\":\"azk8ssvcs-cluster-r-ecy\",\"dataSourceSetName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceName\":\"azk8ssvcs-cluster-ecy\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T06%3A45%3A17.4969388Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T06:45:17.2664328Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"name\":\"faf98bcb-7379-49c6-bd06-72caa198492e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01+31": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01+31": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "35" ], - "x-ms-client-request-id": [ "a7919685-8253-4255-bc36-761cc1ca93ad" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "399272ea-43a5-4f73-9ce3-30e831c51d1f" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1420,34 +1420,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "185" ], - "x-ms-request-id": [ "e2732264-f88a-474d-83e8-15f50ecb56a6" ], - "x-ms-correlation-request-id": [ "e2732264-f88a-474d-83e8-15f50ecb56a6" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171744Z:e2732264-f88a-474d-83e8-15f50ecb56a6" ], + "x-ms-request-id": [ "afba6302-a179-44d4-a305-c1ca00414011" ], + "x-ms-correlation-request-id": [ "afba6302-a179-44d4-a305-c1ca00414011" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064838Z:afba6302-a179-44d4-a305-c1ca00414011" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:17:43 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:48:38 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2436" ], + "Content-Length": [ "2567" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"vaultName\":\"ecy-vault\",\"backupInstanceFriendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"policyName\":\"h4-w1\",\"sourceResourceGroup\":\"araj-rg\",\"dataSourceSetName\":\"aksCluster3-ecy-araj\",\"dataSourceName\":\"aksCluster3-ecy-araj\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T17%3A14%3A25.4397797Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T17:14:25.1446363Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.552018Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"name\":\"0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"vaultName\":\"azk8ssvcs-vault-ecy\",\"backupInstanceFriendlyName\":\"azk8ssvcs-cluster-ecy\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"sourceResourceGroup\":\"azk8ssvcs-cluster-r-ecy\",\"dataSourceSetName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceName\":\"azk8ssvcs-cluster-ecy\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T06%3A45%3A17.4969388Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T06:45:17.2664328Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"name\":\"faf98bcb-7379-49c6-bd06-72caa198492e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01+32": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01+32": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "36" ], - "x-ms-client-request-id": [ "d81dcedc-4a00-40a5-90fb-2684c6eeb02f" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "6b4640bd-4df2-4caf-847f-86b78143b1ea" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1461,34 +1461,34 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "184" ], - "x-ms-request-id": [ "73e5ea4a-0742-416d-962f-ab63bba977d6" ], - "x-ms-correlation-request-id": [ "73e5ea4a-0742-416d-962f-ab63bba977d6" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171754Z:73e5ea4a-0742-416d-962f-ab63bba977d6" ], + "x-ms-request-id": [ "bac68d58-13e7-4d8e-a0a9-2af9b67b5b71" ], + "x-ms-correlation-request-id": [ "bac68d58-13e7-4d8e-a0a9-2af9b67b5b71" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064849Z:bac68d58-13e7-4d8e-a0a9-2af9b67b5b71" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:17:54 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:48:48 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2436" ], + "Content-Length": [ "2567" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"vaultName\":\"ecy-vault\",\"backupInstanceFriendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"policyName\":\"h4-w1\",\"sourceResourceGroup\":\"araj-rg\",\"dataSourceSetName\":\"aksCluster3-ecy-araj\",\"dataSourceName\":\"aksCluster3-ecy-araj\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T17%3A14%3A25.4397797Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T17:14:25.1446363Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.552018Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"name\":\"0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"vaultName\":\"azk8ssvcs-vault-ecy\",\"backupInstanceFriendlyName\":\"azk8ssvcs-cluster-ecy\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"sourceResourceGroup\":\"azk8ssvcs-cluster-r-ecy\",\"dataSourceSetName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceName\":\"azk8ssvcs-cluster-ecy\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T06%3A45%3A17.4969388Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T06:45:17.2664328Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"name\":\"faf98bcb-7379-49c6-bd06-72caa198492e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01+33": { + "New-AzDataProtectionBackupInstance+[NoContext]+AzureKubernetesServiceBackup+$GET+https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01+33": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "37" ], - "x-ms-client-request-id": [ "dacb7f18-6e3b-4e40-aa74-32230ec567b6" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-client-request-id": [ "594b9a3d-16da-4aed-aba5-7518b74691dd" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1502,18 +1502,18 @@ "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "183" ], - "x-ms-request-id": [ "99414443-78ab-4681-8f28-bd534843ff61" ], - "x-ms-correlation-request-id": [ "99414443-78ab-4681-8f28-bd534843ff61" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T171805Z:99414443-78ab-4681-8f28-bd534843ff61" ], + "x-ms-request-id": [ "509b3759-3e55-4da5-a43f-1304f6035ddc" ], + "x-ms-correlation-request-id": [ "509b3759-3e55-4da5-a43f-1304f6035ddc" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T064859Z:509b3759-3e55-4da5-a43f-1304f6035ddc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 17:18:05 GMT" ] + "Date": [ "Mon, 25 Dec 2023 06:48:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2607" ], + "Content-Length": [ "2737" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupInstances/aksCluster3-ecy-araj-aksCluster3-ecy-araj-5bcad2ea-7906-4edf-8cf7-d2ea03a490af\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupPolicies/h4-w1\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"vaultName\":\"ecy-vault\",\"backupInstanceFriendlyName\":\"aksCluster3-ecy-araj\\\\aksCluster3-ecy-araj-BI\",\"policyName\":\"h4-w1\",\"sourceResourceGroup\":\"araj-rg\",\"dataSourceSetName\":\"aksCluster3-ecy-araj\",\"dataSourceName\":\"aksCluster3-ecy-araj\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-08-28T17%3A18%3A01.1114954Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T17:14:25.1446363Z\",\"endTime\":\"2023-08-28T17:18:00.8414927Z\",\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT3M35.6968564S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"fc12a39d7dcc4c8dbc778dfeea9af0f9\",\"recoveryPointTime\":\"2023-08-28T16:38:06.552018Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"3acbde51-ee10-4469-b04f-ea5a9edbfdd8\",\"DatasourceType\":\"Microsoft.ContainerService/managedClusters\"}}],\"additionalDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.DataProtection/backupVaults/ecy-vault/backupJobs/0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"name\":\"0aebc3c0-3fab-4181-9c4b-e524db85dd29\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"subscriptionId\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"backupInstanceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupInstances/azk8ssvcs-bi-backupecy\",\"policyId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupPolicies/azk8ssvcs-ad-policy-backupecy\",\"dataSourceId\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"vaultName\":\"azk8ssvcs-vault-ecy\",\"backupInstanceFriendlyName\":\"azk8ssvcs-cluster-ecy\",\"policyName\":\"azk8ssvcs-ad-policy-backupecy\",\"sourceResourceGroup\":\"azk8ssvcs-cluster-r-ecy\",\"dataSourceSetName\":\"azk8ssvcs-cluster-ecy\",\"dataSourceName\":\"azk8ssvcs-cluster-ecy\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"OperationalStore\",\"destinationDataStoreName\":null,\"progressEnabled\":false,\"etag\":\"W/\\\"datetime\u00272023-12-25T06%3A48%3A52.6218959Z\u0027\\\"\",\"sourceSubscriptionID\":\"f0c630e0-2995-4853-b056-0b3c09cb673f\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T06:45:17.2664328Z\",\"endTime\":\"2023-12-25T06:48:52.425023Z\",\"dataSourceType\":\"Microsoft.ContainerService/managedClusters\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT3M35.1585902S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"534fdb230ef84e7682acf92e661193b0\",\"recoveryPointTime\":\"2023-12-25T06:32:39.5069611Z\"},\"recoveryDestination\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"8dba9cb9-998a-4f79-9786-4472e76acc5c\",\"DatasourceType\":\"Microsoft.ContainerService/managedClusters\"}}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.DataProtection/backupVaults/azk8ssvcs-vault-ecy/backupJobs/faf98bcb-7379-49c6-bd06-72caa198492e\",\"name\":\"faf98bcb-7379-49c6-bd06-72caa198492e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } } diff --git a/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupInstance.Tests.ps1 b/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupInstance.Tests.ps1 index 2fb517012478..08e34e234817 100644 --- a/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupInstance.Tests.ps1 +++ b/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupInstance.Tests.ps1 @@ -16,17 +16,17 @@ Describe 'New-AzDataProtectionBackupInstance' { $sub = $env.TestOssBackupScenario.SubscriptionId $rgName = $env.TestOssBackupScenario.ResourceGroupName $vaultName = $env.TestOssBackupScenario.VaultName - $policyName = $env.TestOssBackupScenario.PolicyName + $policyName = $env.TestOssBackupScenario.PolicyName $dataSourceId = $env.TestOssBackupScenario.OssDbId $serverName = $env.TestOssBackupScenario.OssServerName $keyVault = $env.TestOssBackupScenario.KeyVault $secretURI = $env.TestOssBackupScenario.SecretURI - + $vault = Get-AzDataProtectionBackupVault -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName $policy = Get-AzDataProtectionBackupPolicy -SubscriptionId $sub -VaultName $vaultName -ResourceGroupName $rgName | where {$_.Name -eq $policyName} - + $instance = Get-AzDataProtectionBackupInstance -Subscription $sub -ResourceGroup $rgName -Vault $vaultName | Where-Object {($_.Property.DataSourceInfo.Type -eq "Microsoft.DBforPostgreSQL/servers/databases") -and ($_.Property.DataSourceInfo.ResourceId -match $serverName)} - + if($instance -eq $null){ # will come here only if the instance is not protected (ideally won't come here') # remove command for backup instance below @@ -38,7 +38,7 @@ Describe 'New-AzDataProtectionBackupInstance' { } $instance = Get-AzDataProtectionBackupInstance -Subscription $sub -ResourceGroup $rgName -Vault $vaultName | Where-Object {($_.Property.DataSourceInfo.Type -eq "Microsoft.DBforPostgreSQL/servers/databases") -and ($_.Property.DataSourceInfo.ResourceId -match $serverName)} - + ($instance -ne $null) | Should be $true } @@ -53,9 +53,9 @@ Describe 'New-AzDataProtectionBackupInstance' { $snapshotResourceGroupId = $env.TestAksRestoreScenario.SnapshotResourceGroupId $friendlyName = $env.TestAksRestoreScenario.FriendlyName $clusterName = $env.TestAksRestoreScenario.ClusterName - - $vault = Get-AzDataProtectionBackupVault -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName - $backupInstance = Get-AzDataProtectionBackupInstance -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName | Where { $_.Name -match $clusterName } + + $vault = Get-AzDataProtectionBackupVault -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName + $backupInstance = Get-AzDataProtectionBackupInstance -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName | Where { $_.Name -match $clusterName } $policy = Get-AzDataProtectionBackupPolicy -SubscriptionId $sub -VaultName $vaultName -ResourceGroupName $rgName | where {$_.Name -eq $policyName} # remove permissions @@ -63,47 +63,47 @@ Describe 'New-AzDataProtectionBackupInstance' { # if($backupInstance -ne $null){ # Remove-azdataProtectionBackupInstance -ResourceGroupName $rgName -VaultName $vaultName -SubscriptionId $sub -Name $backupInstance.BackupInstanceName # } - # + # # $roles = Get-AzRoleAssignment -ObjectId $vault.Identity.PrincipalId # foreach ($role in $roles){ # Remove-AzRoleAssignment -ObjectId $vault.Identity.PrincipalId -RoleDefinitionName $role.RoleDefinitionName -Scope $role.Scope # } - # - # $aksCluster = Get-AzAksCluster -Id $backupInstance.Property.DataSourceInfo.ResourceId -SubscriptionId $sub + # + # $aksCluster = Get-AzAksCluster -Id $backupInstance.Property.DataSourceInfo.ResourceId -SubscriptionId $sub # $dataSourceMSIRoles = Az.Resources\Get-AzRoleAssignment -ObjectId $aksCluster.Identity.PrincipalId # Remove-AzRoleAssignment -ObjectId $aksCluster.Identity.PrincipalId -RoleDefinitionName "Contributor" -Scope $snapshotResourceGroupId - # configure backup + # configure backup # if($backupInstance -eq $null){ # $backupConfig = New-AzDataProtectionBackupConfigurationClientObject -SnapshotVolume $true -IncludeClusterScopeResource $true -DatasourceType AzureKubernetesService # -LabelSelector "x=y","foo=bar" # $backupInstance = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureKubernetesService -DatasourceLocation $dataSourceLocation -PolicyId $policy.Id -DatasourceId $sourceClusterId -SnapshotResourceGroupId $snapshotResourceGroupId -FriendlyName $friendlyName -BackupConfiguration $backupConfig - + ## set MSI permissions # Set-AzDataProtectionMSIPermission -BackupInstance $backupInstance -VaultResourceGroup $rgName -VaultName $vaultName -PermissionsScope "ResourceGroup" ## enable protection # $tag= @{"MABUsed"="Yes";"Owner"="hiaga";"Purpose"="Testing";"DeleteBy"="06-2027"} - # $biCreate = New-AzDataProtectionBackupInstance -ResourceGroupName $rgName -VaultName $vaultName -BackupInstance $backupInstance -SubscriptionId $sub -Tag $tag + # $biCreate = New-AzDataProtectionBackupInstance -ResourceGroupName $rgName -VaultName $vaultName -BackupInstance $backupInstance -SubscriptionId $sub -Tag $tag # } - + # validate bi created $backupInstance = Get-AzDataProtectionBackupInstance -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName | Where { $_.Name -match $clusterName } ($backupInstance -ne $null) | Should be $true - + while($backupInstance.Property.ProtectionStatus.Status -ne "ProtectionConfigured") { - Start-TestSleep -Seconds 10 + Start-Sleep -Seconds 10 $backupInstance = Get-AzDataProtectionBackupInstance -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName | Where { $_.Name -match $clusterName } } # adhoc backup - Backup-AzDataProtectionBackupInstanceAdhoc -BackupInstanceName $backupInstance.BackupInstanceName -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName -BackupRuleOptionRuleName $policy.Property.PolicyRule[1].Name -TriggerOptionRetentionTagOverride $policy.Property.PolicyRule[1].Trigger.TaggingCriterion[0].TagInfoTagName - - Start-TestSleep -Seconds 30 + Backup-AzDataProtectionBackupInstanceAdhoc -BackupInstanceName $backupInstance.BackupInstanceName -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName -BackupRuleOptionRuleName $policy.Property.PolicyRule[0].Name -TriggerOptionRetentionTagOverride $policy.Property.PolicyRule[0].Trigger.TaggingCriterion[0].TagInfoTagName + + Start-Sleep -Seconds 30 # get recovery point - $rps = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $backupInstance.BackupInstanceName -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName + $rps = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $backupInstance.BackupInstanceName -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName # restore if($rps -ne $null){ @@ -116,18 +116,18 @@ Describe 'New-AzDataProtectionBackupInstance' { $validateRestore = Test-AzDataProtectionBackupInstanceRestore -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName -RestoreRequest $aksRestoreRequest -Name $backupInstance.BackupInstanceName $validateRestore.ObjectType | Should be "OperationJobExtendedInfo" - + $restoreJob = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName -BackupInstanceName $backupInstance.BackupInstanceName -Parameter $aksRestoreRequest - Start-TestSleep -Seconds 10 - + Start-Sleep -Seconds 10 + $jobid = $restoreJob.JobId.Split("/")[-1] ($jobid -ne $null) | Should be $true $jobstatus = "InProgress" while($jobstatus -ne "Completed") { - Start-TestSleep -Seconds 10 + Start-Sleep -Seconds 10 $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName $jobstatus = $currentjob.Status } diff --git a/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupPolicy.Recording.json b/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupPolicy.Recording.json index 13761be9755a..9990dea19cfe 100644 --- a/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupPolicy.Recording.json +++ b/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupPolicy.Recording.json @@ -1,8 +1,8 @@ { - "New-AzDataProtectionBackupPolicy+[NoContext]+__AllParameterSets+$PUT+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy-archive?api-version=2023-05-01+1": { + "New-AzDataProtectionBackupPolicy+[NoContext]+__AllParameterSets+$PUT+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy-archive?api-version=2023-11-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy-archive?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy-archive?api-version=2023-11-01", "Content": "{\r\n \"properties\": {\r\n \"datasourceTypes\": [ \"Microsoft.DBforPostgreSQL/servers/databases\" ],\r\n \"objectType\": \"BackupPolicy\",\r\n \"policyRules\": [\r\n {\r\n \"name\": \"BackupWeekly\",\r\n \"objectType\": \"AzureBackupRule\",\r\n \"backupParameters\": {\r\n \"objectType\": \"AzureBackupParams\",\r\n \"backupType\": \"Full\"\r\n },\r\n \"dataStore\": {\r\n \"dataStoreType\": \"VaultStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n },\r\n \"trigger\": {\r\n \"objectType\": \"ScheduleBasedTriggerContext\",\r\n \"schedule\": {\r\n \"repeatingTimeIntervals\": [ \"R/2021-08-18T10:00:00+05:30/P1W\", \"R/2021-08-22T10:00:00+05:30/P1W\" ],\r\n \"timeZone\": \"India Standard Time\"\r\n },\r\n \"taggingCriteria\": [\r\n {\r\n \"tagInfo\": {\r\n \"tagName\": \"Default\"\r\n },\r\n \"isDefault\": true,\r\n \"taggingPriority\": 99\r\n },\r\n {\r\n \"tagInfo\": {\r\n \"tagName\": \"Monthly\"\r\n },\r\n \"criteria\": [\r\n {\r\n \"objectType\": \"ScheduleBasedBackupCriteria\",\r\n \"absoluteCriteria\": [ \"FirstOfMonth\" ]\r\n }\r\n ],\r\n \"isDefault\": false,\r\n \"taggingPriority\": 15\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Default\",\r\n \"objectType\": \"AzureRetentionRule\",\r\n \"isDefault\": true,\r\n \"lifecycles\": [\r\n {\r\n \"deleteAfter\": {\r\n \"duration\": \"P3M\",\r\n \"objectType\": \"AbsoluteDeleteOption\"\r\n },\r\n \"sourceDataStore\": {\r\n \"dataStoreType\": \"VaultStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n },\r\n \"targetDataStoreCopySettings\": [\r\n {\r\n \"copyAfter\": {\r\n \"objectType\": \"CopyOnExpiryOption\"\r\n },\r\n \"dataStore\": {\r\n \"dataStoreType\": \"ArchiveStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"deleteAfter\": {\r\n \"duration\": \"P6M\",\r\n \"objectType\": \"AbsoluteDeleteOption\"\r\n },\r\n \"sourceDataStore\": {\r\n \"dataStoreType\": \"ArchiveStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"Monthly\",\r\n \"objectType\": \"AzureRetentionRule\",\r\n \"isDefault\": false,\r\n \"lifecycles\": [\r\n {\r\n \"deleteAfter\": {\r\n \"duration\": \"P6M\",\r\n \"objectType\": \"AbsoluteDeleteOption\"\r\n },\r\n \"sourceDataStore\": {\r\n \"dataStoreType\": \"VaultStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n },\r\n \"targetDataStoreCopySettings\": [\r\n {\r\n \"copyAfter\": {\r\n \"objectType\": \"CopyOnExpiryOption\"\r\n },\r\n \"dataStore\": {\r\n \"dataStoreType\": \"ArchiveStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"deleteAfter\": {\r\n \"duration\": \"P12M\",\r\n \"objectType\": \"AbsoluteDeleteOption\"\r\n },\r\n \"sourceDataStore\": {\r\n \"dataStoreType\": \"ArchiveStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -23,9 +23,9 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-correlation-request-id": [ "56037902-c2cc-4300-b030-f04c3ab22fa6" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140938Z:56037902-c2cc-4300-b030-f04c3ab22fa6" ], - "Date": [ "Mon, 28 Aug 2023 14:09:37 GMT" ] + "x-ms-correlation-request-id": [ "f3907f70-80df-46c7-8a6a-d8acf41d0ca3" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045338Z:f3907f70-80df-46c7-8a6a-d8acf41d0ca3" ], + "Date": [ "Mon, 25 Dec 2023 04:53:37 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2217" ], @@ -36,19 +36,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-05-01+2": { + "New-AzDataProtectionBackupPolicy+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-11-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "315" ], - "x-ms-client-request-id": [ "53be5643-d484-4303-90e1-bd68893c4490" ], + "x-ms-unique-id": [ "182" ], + "x-ms-client-request-id": [ "74eabdb5-c4b4-4f5a-80bf-d98699a0bf70" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -64,33 +64,33 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-correlation-request-id": [ "2e1f1b67-9548-497f-b4ba-fae9c7cf327d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140939Z:2e1f1b67-9548-497f-b4ba-fae9c7cf327d" ], - "Date": [ "Mon, 28 Aug 2023 14:09:38 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], + "x-ms-correlation-request-id": [ "388c927b-9087-4538-9fcc-12bcfdef1aff" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045338Z:388c927b-9087-4538-9fcc-12bcfdef1aff" ], + "Date": [ "Mon, 25 Dec 2023 04:53:38 GMT" ] }, "ContentHeaders": { "Content-Length": [ "5157" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2021-08-29T10:00:00+05:30/P1W\",\"R/2021-09-02T10:00:00+05:30/P1W\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.DBforPostgreSQL/servers/databases\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"name\":\"oss-pstest-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2021-08-18T10:00:00+05:30/P1W\",\"R/2021-08-22T10:00:00+05:30/P1W\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true},{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfMonth\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P12M\"},\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.DBforPostgreSQL/servers/databases\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy-archive\",\"name\":\"oss-pstest-policy-archive\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2021-09-19T05:30:00+00:00/P1W\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.DBforPostgreSQL/servers/databases\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/newOssPol\",\"name\":\"newOssPol\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}]}", + "Content": "{\"value\":[{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2021-08-18T10:00:00+05:30/P1W\",\"R/2021-08-22T10:00:00+05:30/P1W\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true},{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfMonth\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P12M\"},\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.DBforPostgreSQL/servers/databases\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy-archive\",\"name\":\"oss-pstest-policy-archive\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2021-08-29T10:00:00+05:30/P1W\",\"R/2021-09-02T10:00:00+05:30/P1W\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.DBforPostgreSQL/servers/databases\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"name\":\"oss-pstest-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Full\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2021-09-19T05:30:00+00:00/P1W\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P3M\"},\"targetDataStoreCopySettings\":[{\"dataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"},\"copyAfter\":{\"objectType\":\"CopyOnExpiryOption\"}}],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}},{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"ArchiveStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.DBforPostgreSQL/servers/databases\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/newOssPol\",\"name\":\"newOssPol\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}]}", "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+__AllParameterSets+$DELETE+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy-archive?api-version=2023-05-01+3": { + "New-AzDataProtectionBackupPolicy+[NoContext]+__AllParameterSets+$DELETE+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy-archive?api-version=2023-11-01+3": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy-archive?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy-archive?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "316" ], - "x-ms-client-request-id": [ "f75f44c0-bd3d-4b7d-b2f3-19a83efda62f" ], + "x-ms-unique-id": [ "183" ], + "x-ms-client-request-id": [ "4aaf05eb-04fe-479e-b214-b19561ec0b7d" ], "CommandName": [ "Remove-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Remove-AzDataProtectionBackupPolicy_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -106,9 +106,9 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "49" ], - "x-ms-correlation-request-id": [ "2c7e8c03-4e69-443d-bd66-c4f8280ae4e8" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140940Z:2c7e8c03-4e69-443d-bd66-c4f8280ae4e8" ], - "Date": [ "Mon, 28 Aug 2023 14:09:39 GMT" ] + "x-ms-correlation-request-id": [ "22db154f-c049-4a8d-b732-8bd5ebd09879" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045340Z:22db154f-c049-4a8d-b732-8bd5ebd09879" ], + "Date": [ "Mon, 25 Dec 2023 04:53:39 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -118,19 +118,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-05-01+4": { + "New-AzDataProtectionBackupPolicy+[NoContext]+__AllParameterSets+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-11-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "317" ], - "x-ms-client-request-id": [ "10dae5b6-3eea-476d-bb7d-51033e03197a" ], + "x-ms-unique-id": [ "184" ], + "x-ms-client-request-id": [ "7b8e98b1-bbb9-48b4-94c9-f88fd5b6f7ae" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -146,10 +146,10 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-correlation-request-id": [ "ded0c9d6-367e-4cf7-9ce7-812114ef390e" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140941Z:ded0c9d6-367e-4cf7-9ce7-812114ef390e" ], - "Date": [ "Mon, 28 Aug 2023 14:09:40 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "195" ], + "x-ms-correlation-request-id": [ "18584b9c-82a9-42b9-9543-ce9291985a66" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045340Z:18584b9c-82a9-42b9-9543-ce9291985a66" ], + "Date": [ "Mon, 25 Dec 2023 04:53:40 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2939" ], @@ -160,10 +160,10 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+AzureKubernetesServicePolicy+$PUT+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/pstest-aks-policy?api-version=2023-05-01+1": { + "New-AzDataProtectionBackupPolicy+[NoContext]+AzureKubernetesServicePolicy+$PUT+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/pstest-aks-policy?api-version=2023-11-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/pstest-aks-policy?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/pstest-aks-policy?api-version=2023-11-01", "Content": "{\r\n \"properties\": {\r\n \"datasourceTypes\": [ \"Microsoft.ContainerService/managedClusters\" ],\r\n \"objectType\": \"BackupPolicy\",\r\n \"policyRules\": [\r\n {\r\n \"name\": \"BackupDaily\",\r\n \"objectType\": \"AzureBackupRule\",\r\n \"backupParameters\": {\r\n \"objectType\": \"AzureBackupParams\",\r\n \"backupType\": \"Incremental\"\r\n },\r\n \"dataStore\": {\r\n \"dataStoreType\": \"OperationalStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n },\r\n \"trigger\": {\r\n \"objectType\": \"ScheduleBasedTriggerContext\",\r\n \"schedule\": {\r\n \"repeatingTimeIntervals\": [ \"R/2023-03-18T16:00:00+05:30/P1D\" ],\r\n \"timeZone\": \"India Standard Time\"\r\n },\r\n \"taggingCriteria\": [\r\n {\r\n \"tagInfo\": {\r\n \"tagName\": \"Default\"\r\n },\r\n \"isDefault\": true,\r\n \"taggingPriority\": 99\r\n },\r\n {\r\n \"tagInfo\": {\r\n \"tagName\": \"Daily\"\r\n },\r\n \"criteria\": [\r\n {\r\n \"objectType\": \"ScheduleBasedBackupCriteria\",\r\n \"absoluteCriteria\": [ \"FirstOfDay\" ]\r\n }\r\n ],\r\n \"isDefault\": false,\r\n \"taggingPriority\": 25\r\n },\r\n {\r\n \"tagInfo\": {\r\n \"tagName\": \"Weekly\"\r\n },\r\n \"criteria\": [\r\n {\r\n \"objectType\": \"ScheduleBasedBackupCriteria\",\r\n \"absoluteCriteria\": [ \"FirstOfWeek\" ]\r\n }\r\n ],\r\n \"isDefault\": false,\r\n \"taggingPriority\": 20\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Default\",\r\n \"objectType\": \"AzureRetentionRule\",\r\n \"isDefault\": true,\r\n \"lifecycles\": [\r\n {\r\n \"deleteAfter\": {\r\n \"duration\": \"P7D\",\r\n \"objectType\": \"AbsoluteDeleteOption\"\r\n },\r\n \"sourceDataStore\": {\r\n \"dataStoreType\": \"OperationalStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"Daily\",\r\n \"objectType\": \"AzureRetentionRule\",\r\n \"isDefault\": false,\r\n \"lifecycles\": [\r\n {\r\n \"deleteAfter\": {\r\n \"duration\": \"P8D\",\r\n \"objectType\": \"AbsoluteDeleteOption\"\r\n },\r\n \"sourceDataStore\": {\r\n \"dataStoreType\": \"OperationalStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"Weekly\",\r\n \"objectType\": \"AzureRetentionRule\",\r\n \"isDefault\": false,\r\n \"lifecycles\": [\r\n {\r\n \"deleteAfter\": {\r\n \"duration\": \"P9W\",\r\n \"objectType\": \"AbsoluteDeleteOption\"\r\n },\r\n \"sourceDataStore\": {\r\n \"dataStoreType\": \"OperationalStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -181,11 +181,11 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "3d18f96b-16bd-4cd8-acab-51686e8bcd17" ], - "x-ms-correlation-request-id": [ "3d18f96b-16bd-4cd8-acab-51686e8bcd17" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140942Z:3d18f96b-16bd-4cd8-acab-51686e8bcd17" ], + "x-ms-request-id": [ "4b1eec0a-b5b7-4363-b331-07af0a1e375f" ], + "x-ms-correlation-request-id": [ "4b1eec0a-b5b7-4363-b331-07af0a1e375f" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045343Z:4b1eec0a-b5b7-4363-b331-07af0a1e375f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:09:42 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:53:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1982" ], @@ -196,19 +196,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+AzureKubernetesServicePolicy+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies?api-version=2023-05-01+2": { + "New-AzDataProtectionBackupPolicy+[NoContext]+AzureKubernetesServicePolicy+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies?api-version=2023-11-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "319" ], - "x-ms-client-request-id": [ "fe83b623-17a7-4c1e-b72b-af63b6452f21" ], + "x-ms-unique-id": [ "186" ], + "x-ms-client-request-id": [ "acd2d33d-7f05-40be-9d36-c436d74b47ed" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -219,37 +219,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "b6e33c54-c3a1-43b5-920e-e6235497552a" ], - "x-ms-correlation-request-id": [ "b6e33c54-c3a1-43b5-920e-e6235497552a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140943Z:b6e33c54-c3a1-43b5-920e-e6235497552a" ], + "x-ms-request-id": [ "5429f971-62a1-4246-aa61-52514bed6350" ], + "x-ms-correlation-request-id": [ "5429f971-62a1-4246-aa61-52514bed6350" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045344Z:5429f971-62a1-4246-aa61-52514bed6350" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:09:42 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:53:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "9052" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-01-04T09:30:35+00:00/PT8H\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupHourly\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.ContainerService/managedClusters\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/demoaksbackuppolicy\",\"name\":\"demoaksbackuppolicy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5W\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P8D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Daily\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-03-07T08:05:54+00:00/PT8H\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Weekly\",\"id\":\"Weekly_\"},\"taggingPriority\":20,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfWeek\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Daily\",\"id\":\"Daily_\"},\"taggingPriority\":25,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfDay\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupHourly\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.Compute/disks\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/diskPolicy\",\"name\":\"diskPolicy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-01-04T09:00:00+00:00/PT4H\"]},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupHourly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.ContainerService/managedClusters\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/psPolicy1\",\"name\":\"psPolicy1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7W\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-03-07T01:00:00+05:30/P1D\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Weekly\",\"id\":\"Weekly_\"},\"taggingPriority\":20,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfWeek\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupDaily\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.ContainerService/managedClusters\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/pstest1Portal\",\"name\":\"pstest1Portal\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-03-18T16:00:00+05:30/P1D\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true},{\"tagInfo\":{\"tagName\":\"Daily\",\"id\":\"Daily_\"},\"taggingPriority\":25,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfDay\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Weekly\",\"id\":\"Weekly_\"},\"taggingPriority\":20,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfWeek\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupDaily\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P8D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Daily\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P9W\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.ContainerService/managedClusters\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/pstest-aks-policy\",\"name\":\"pstest-aks-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-02-20T21:00:00+00:00/P1D\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupDaily\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.ContainerService/managedClusters\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/demopolicy-v2\",\"name\":\"demopolicy-v2\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}]}", + "Content": "{\"value\":[{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-01-04T09:30:35+00:00/PT8H\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupHourly\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.ContainerService/managedClusters\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/demoaksbackuppolicy\",\"name\":\"demoaksbackuppolicy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5W\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P8D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Daily\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-03-07T08:05:54+00:00/PT8H\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Weekly\",\"id\":\"Weekly_\"},\"taggingPriority\":20,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfWeek\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Daily\",\"id\":\"Daily_\"},\"taggingPriority\":25,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfDay\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupHourly\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.Compute/disks\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/diskPolicy\",\"name\":\"diskPolicy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-03-18T16:00:00+05:30/P1D\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true},{\"tagInfo\":{\"tagName\":\"Daily\",\"id\":\"Daily_\"},\"taggingPriority\":25,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfDay\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Weekly\",\"id\":\"Weekly_\"},\"taggingPriority\":20,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfWeek\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupDaily\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P8D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Daily\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P9W\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.ContainerService/managedClusters\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/pstest-aks-policy\",\"name\":\"pstest-aks-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-01-04T09:00:00+00:00/PT4H\"]},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupHourly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.ContainerService/managedClusters\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/psPolicy1\",\"name\":\"psPolicy1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7W\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-03-07T01:00:00+05:30/P1D\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Weekly\",\"id\":\"Weekly_\"},\"taggingPriority\":20,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfWeek\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupDaily\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.ContainerService/managedClusters\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/pstest1Portal\",\"name\":\"pstest1Portal\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Incremental\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-02-20T21:00:00+00:00/P1D\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupDaily\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.ContainerService/managedClusters\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/demopolicy-v2\",\"name\":\"demopolicy-v2\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}]}", "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+AzureKubernetesServicePolicy+$DELETE+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/pstest-aks-policy?api-version=2023-05-01+3": { + "New-AzDataProtectionBackupPolicy+[NoContext]+AzureKubernetesServicePolicy+$DELETE+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/pstest-aks-policy?api-version=2023-11-01+3": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/pstest-aks-policy?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies/pstest-aks-policy?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "320" ], - "x-ms-client-request-id": [ "fe7545b4-ba4e-496d-a5cf-e901bf6c20d6" ], + "x-ms-unique-id": [ "187" ], + "x-ms-client-request-id": [ "5a2e6282-772c-47bd-844d-4c2e005e5845" ], "CommandName": [ "Remove-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Remove-AzDataProtectionBackupPolicy_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -263,11 +263,11 @@ "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "49" ], - "x-ms-request-id": [ "8feda355-b92e-41e3-a493-e2894a7864a7" ], - "x-ms-correlation-request-id": [ "8feda355-b92e-41e3-a493-e2894a7864a7" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140944Z:8feda355-b92e-41e3-a493-e2894a7864a7" ], + "x-ms-request-id": [ "c5708536-5dcf-416d-b26e-dce8278393aa" ], + "x-ms-correlation-request-id": [ "c5708536-5dcf-416d-b26e-dce8278393aa" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045345Z:c5708536-5dcf-416d-b26e-dce8278393aa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:09:43 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:53:44 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -277,19 +277,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+AzureKubernetesServicePolicy+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies?api-version=2023-05-01+4": { + "New-AzDataProtectionBackupPolicy+[NoContext]+AzureKubernetesServicePolicy+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies?api-version=2023-11-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.DataProtection/backupVaults/demobackupvault/backupPolicies?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "321" ], - "x-ms-client-request-id": [ "48557073-5986-43f1-8eda-4ee6674a9648" ], + "x-ms-unique-id": [ "188" ], + "x-ms-client-request-id": [ "67212a0a-b346-487b-beaf-52b0e76a3162" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -300,14 +300,14 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "4a26fd68-61db-4146-9e59-1697fb0ab8c8" ], - "x-ms-correlation-request-id": [ "4a26fd68-61db-4146-9e59-1697fb0ab8c8" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140945Z:4a26fd68-61db-4146-9e59-1697fb0ab8c8" ], + "x-ms-request-id": [ "7e9d1a5a-730b-4074-8d3c-bd4ffa1e2a62" ], + "x-ms-correlation-request-id": [ "7e9d1a5a-730b-4074-8d3c-bd4ffa1e2a62" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045346Z:7e9d1a5a-730b-4074-8d3c-bd4ffa1e2a62" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:09:44 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:53:45 GMT" ] }, "ContentHeaders": { "Content-Length": [ "7069" ], @@ -318,10 +318,10 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningOperationalPolicy+$PUT+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-pstest-policy?api-version=2023-05-01+1": { + "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningOperationalPolicy+$PUT+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-pstest-policy?api-version=2023-11-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-pstest-policy?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-pstest-policy?api-version=2023-11-01", "Content": "{\r\n \"properties\": {\r\n \"datasourceTypes\": [ \"Microsoft.Storage/storageAccounts/blobServices\" ],\r\n \"objectType\": \"BackupPolicy\",\r\n \"policyRules\": [\r\n {\r\n \"name\": \"Default\",\r\n \"objectType\": \"AzureRetentionRule\",\r\n \"isDefault\": true,\r\n \"lifecycles\": [\r\n {\r\n \"deleteAfter\": {\r\n \"duration\": \"P30D\",\r\n \"objectType\": \"AbsoluteDeleteOption\"\r\n },\r\n \"sourceDataStore\": {\r\n \"dataStoreType\": \"OperationalStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -339,11 +339,11 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "dfd3c9bd-a862-4ac7-83d7-588226394ed5" ], - "x-ms-correlation-request-id": [ "dfd3c9bd-a862-4ac7-83d7-588226394ed5" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140946Z:dfd3c9bd-a862-4ac7-83d7-588226394ed5" ], + "x-ms-request-id": [ "ed069b65-0d94-4658-ba8d-18f0f7110f6f" ], + "x-ms-correlation-request-id": [ "ed069b65-0d94-4658-ba8d-18f0f7110f6f" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045347Z:ed069b65-0d94-4658-ba8d-18f0f7110f6f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:09:45 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:53:46 GMT" ] }, "ContentHeaders": { "Content-Length": [ "657" ], @@ -354,19 +354,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningOperationalPolicy+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-pstest-policy?api-version=2023-05-01+2": { + "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningOperationalPolicy+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-pstest-policy?api-version=2023-11-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-pstest-policy?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-pstest-policy?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "323" ], - "x-ms-client-request-id": [ "e9988be1-3992-4e4f-8e93-2a4342adfcd7" ], + "x-ms-unique-id": [ "190" ], + "x-ms-client-request-id": [ "3fe08abd-a301-4f80-9e94-9e0e63fc1c05" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -377,14 +377,14 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "194" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "39aadf92-c6a8-492c-bc97-5f685c04b2ff" ], - "x-ms-correlation-request-id": [ "39aadf92-c6a8-492c-bc97-5f685c04b2ff" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140946Z:39aadf92-c6a8-492c-bc97-5f685c04b2ff" ], + "x-ms-request-id": [ "e1f075a3-6b06-408f-9d36-ecb849f2ee0a" ], + "x-ms-correlation-request-id": [ "e1f075a3-6b06-408f-9d36-ecb849f2ee0a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045348Z:e1f075a3-6b06-408f-9d36-ecb849f2ee0a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:09:45 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:53:47 GMT" ] }, "ContentHeaders": { "Content-Length": [ "657" ], @@ -395,19 +395,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningOperationalPolicy+$DELETE+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-pstest-policy?api-version=2023-05-01+3": { + "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningOperationalPolicy+$DELETE+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-pstest-policy?api-version=2023-11-01+3": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-pstest-policy?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-pstest-policy?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "324" ], - "x-ms-client-request-id": [ "776d71a9-657a-47fc-ac03-6e11f9589718" ], + "x-ms-unique-id": [ "191" ], + "x-ms-client-request-id": [ "3daa0472-3e34-4873-9ee9-d0e57fa9026a" ], "CommandName": [ "Remove-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Remove-AzDataProtectionBackupPolicy_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -421,11 +421,11 @@ "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "48" ], - "x-ms-request-id": [ "ab6a4766-5a1c-4b91-9c48-81c98f6d837a" ], - "x-ms-correlation-request-id": [ "ab6a4766-5a1c-4b91-9c48-81c98f6d837a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140947Z:ab6a4766-5a1c-4b91-9c48-81c98f6d837a" ], + "x-ms-request-id": [ "f844f913-ec5c-4ddb-ae2c-31418feff0f9" ], + "x-ms-correlation-request-id": [ "f844f913-ec5c-4ddb-ae2c-31418feff0f9" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045349Z:f844f913-ec5c-4ddb-ae2c-31418feff0f9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:09:47 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:53:48 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -435,19 +435,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningOperationalPolicy+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies?api-version=2023-05-01+4": { + "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningOperationalPolicy+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies?api-version=2023-11-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "325" ], - "x-ms-client-request-id": [ "321596fc-5168-4837-a3aa-5b887ce78877" ], + "x-ms-unique-id": [ "192" ], + "x-ms-client-request-id": [ "1785df1b-85e5-43a7-aa92-7332f12e013d" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -458,28 +458,28 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "195" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "193" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "466f92c5-11e7-477f-b893-4b1c5e16e227" ], - "x-ms-correlation-request-id": [ "466f92c5-11e7-477f-b893-4b1c5e16e227" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140948Z:466f92c5-11e7-477f-b893-4b1c5e16e227" ], + "x-ms-request-id": [ "bcfbf10d-98f4-4696-9fc4-f29276a819ee" ], + "x-ms-correlation-request-id": [ "bcfbf10d-98f4-4696-9fc4-f29276a819ee" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045349Z:bcfbf10d-98f4-4696-9fc4-f29276a819ee" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:09:48 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:53:48 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "5270" ], + "Content-Length": [ "11594" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/operational-policy\",\"name\":\"operational-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-04-27T06:00:00+05:30/P1D\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfMonth\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupDaily\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/operational-vaulted-policy\",\"name\":\"operational-vaulted-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-05-09T02:30:00+01:00/P1W\"],\"timeZone\":\"W. Europe Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true},{\"tagInfo\":{\"tagName\":\"Weekly\",\"id\":\"Weekly_\"},\"taggingPriority\":20,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfWeek\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfMonth\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Yearly\",\"id\":\"Yearly_\"},\"taggingPriority\":10,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfYear\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7W\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1Y\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Yearly\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-vault-pstest-policy\",\"name\":\"op-vault-pstest-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}]}", + "Content": "{\"value\":[{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7Y\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Yearly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-09-03T20:30:00+00:00/P1W\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Yearly\",\"id\":\"Yearly_\"},\"taggingPriority\":10,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfYear\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaultedbackup-7y\",\"name\":\"vaultedbackup-7y\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/operational-policy\",\"name\":\"operational-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-22T14:25:06+05:30/P1W\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true},{\"tagInfo\":{\"tagName\":\"Weekly\",\"id\":\"Weekly_\"},\"taggingPriority\":20,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfWeek\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfMonth\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Yearly\",\"id\":\"Yearly_\"},\"taggingPriority\":10,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfYear\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7W\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1Y\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Yearly\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-vault-pstest-policy-1\",\"name\":\"op-vault-pstest-policy-1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-04-27T06:00:00+05:30/P1D\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfMonth\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupDaily\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/operational-vaulted-policy\",\"name\":\"operational-vaulted-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-05-09T02:30:00+01:00/P1W\"],\"timeZone\":\"W. Europe Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true},{\"tagInfo\":{\"tagName\":\"Weekly\",\"id\":\"Weekly_\"},\"taggingPriority\":20,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfWeek\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfMonth\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Yearly\",\"id\":\"Yearly_\"},\"taggingPriority\":10,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfYear\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7W\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1Y\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Yearly\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-vault-pstest-policy\",\"name\":\"op-vault-pstest-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-05-09T06:30:00+01:00/P1W\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true},{\"tagInfo\":{\"tagName\":\"Yearly\",\"id\":\"Yearly_\"},\"taggingPriority\":10,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfYear\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7Y\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Yearly\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaultedbackup-7y-ps\",\"name\":\"vaultedbackup-7y-ps\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}]}", "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningVaultedPolicy+$PUT+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaulted-pstest-policy?api-version=2023-05-01+1": { + "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningVaultedPolicy+$PUT+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaulted-pstest-policy?api-version=2023-11-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaulted-pstest-policy?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaulted-pstest-policy?api-version=2023-11-01", "Content": "{\r\n \"properties\": {\r\n \"datasourceTypes\": [ \"Microsoft.Storage/storageAccounts/blobServices\" ],\r\n \"objectType\": \"BackupPolicy\",\r\n \"policyRules\": [\r\n {\r\n \"name\": \"BackupWeekly\",\r\n \"objectType\": \"AzureBackupRule\",\r\n \"backupParameters\": {\r\n \"objectType\": \"AzureBackupParams\",\r\n \"backupType\": \"Discrete\"\r\n },\r\n \"dataStore\": {\r\n \"dataStoreType\": \"VaultStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n },\r\n \"trigger\": {\r\n \"objectType\": \"ScheduleBasedTriggerContext\",\r\n \"schedule\": {\r\n \"repeatingTimeIntervals\": [ \"R/2023-03-26T13:00:00+00:00/P1W\" ],\r\n \"timeZone\": \"UTC\"\r\n },\r\n \"taggingCriteria\": [\r\n {\r\n \"tagInfo\": {\r\n \"tagName\": \"Default\"\r\n },\r\n \"isDefault\": true,\r\n \"taggingPriority\": 99\r\n },\r\n {\r\n \"tagInfo\": {\r\n \"tagName\": \"Weekly\"\r\n },\r\n \"criteria\": [\r\n {\r\n \"objectType\": \"ScheduleBasedBackupCriteria\",\r\n \"absoluteCriteria\": [ \"FirstOfWeek\" ]\r\n }\r\n ],\r\n \"isDefault\": false,\r\n \"taggingPriority\": 20\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Default\",\r\n \"objectType\": \"AzureRetentionRule\",\r\n \"isDefault\": true,\r\n \"lifecycles\": [\r\n {\r\n \"deleteAfter\": {\r\n \"duration\": \"P7D\",\r\n \"objectType\": \"AbsoluteDeleteOption\"\r\n },\r\n \"sourceDataStore\": {\r\n \"dataStoreType\": \"VaultStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"Weekly\",\r\n \"objectType\": \"AzureRetentionRule\",\r\n \"isDefault\": false,\r\n \"lifecycles\": [\r\n {\r\n \"deleteAfter\": {\r\n \"duration\": \"P4W\",\r\n \"objectType\": \"AbsoluteDeleteOption\"\r\n },\r\n \"sourceDataStore\": {\r\n \"dataStoreType\": \"VaultStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -497,11 +497,11 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "ea71247b-7d3d-493c-b188-98d1e3a9b5e0" ], - "x-ms-correlation-request-id": [ "ea71247b-7d3d-493c-b188-98d1e3a9b5e0" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140949Z:ea71247b-7d3d-493c-b188-98d1e3a9b5e0" ], + "x-ms-request-id": [ "38a9405c-a7f5-4ca5-a01d-65ed2b705ca0" ], + "x-ms-correlation-request-id": [ "38a9405c-a7f5-4ca5-a01d-65ed2b705ca0" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045351Z:38a9405c-a7f5-4ca5-a01d-65ed2b705ca0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:09:49 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:53:50 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1541" ], @@ -512,19 +512,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningVaultedPolicy+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaulted-pstest-policy?api-version=2023-05-01+2": { + "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningVaultedPolicy+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaulted-pstest-policy?api-version=2023-11-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaulted-pstest-policy?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaulted-pstest-policy?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "327" ], - "x-ms-client-request-id": [ "0b60e1de-50ed-4f21-b0e9-91401f7ff5ca" ], + "x-ms-unique-id": [ "194" ], + "x-ms-client-request-id": [ "06525483-79f0-40eb-85a7-0b9f7807f1c4" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -535,14 +535,14 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "194" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "192" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "a8541f06-b569-4c82-bc9b-067c98690fcf" ], - "x-ms-correlation-request-id": [ "a8541f06-b569-4c82-bc9b-067c98690fcf" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140949Z:a8541f06-b569-4c82-bc9b-067c98690fcf" ], + "x-ms-request-id": [ "abf76328-07c2-4727-81e8-1d0cc9aa9521" ], + "x-ms-correlation-request-id": [ "abf76328-07c2-4727-81e8-1d0cc9aa9521" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045351Z:abf76328-07c2-4727-81e8-1d0cc9aa9521" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:09:49 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:53:50 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1541" ], @@ -553,19 +553,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningVaultedPolicy+$DELETE+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaulted-pstest-policy?api-version=2023-05-01+3": { + "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningVaultedPolicy+$DELETE+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaulted-pstest-policy?api-version=2023-11-01+3": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaulted-pstest-policy?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaulted-pstest-policy?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "328" ], - "x-ms-client-request-id": [ "a2a83991-c8f3-4e0e-9a7b-5c7249959be1" ], + "x-ms-unique-id": [ "195" ], + "x-ms-client-request-id": [ "d0bbaf00-5e17-4788-9863-a68ab7f46aaa" ], "CommandName": [ "Remove-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Remove-AzDataProtectionBackupPolicy_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -579,11 +579,11 @@ "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "47" ], - "x-ms-request-id": [ "d7d7a06c-01a8-439d-b92b-0389451b7a50" ], - "x-ms-correlation-request-id": [ "d7d7a06c-01a8-439d-b92b-0389451b7a50" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140950Z:d7d7a06c-01a8-439d-b92b-0389451b7a50" ], + "x-ms-request-id": [ "7d707a99-5ec7-4a62-a21c-7cbb79450b49" ], + "x-ms-correlation-request-id": [ "7d707a99-5ec7-4a62-a21c-7cbb79450b49" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045352Z:7d707a99-5ec7-4a62-a21c-7cbb79450b49" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:09:50 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:53:51 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -593,19 +593,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningVaultedPolicy+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies?api-version=2023-05-01+4": { + "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningVaultedPolicy+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies?api-version=2023-11-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "329" ], - "x-ms-client-request-id": [ "7f5c7cad-b36f-4c10-94fd-37a34d356d50" ], + "x-ms-unique-id": [ "196" ], + "x-ms-client-request-id": [ "89ab0436-8c52-45f8-94fd-06134f67f010" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -616,28 +616,28 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "193" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "191" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "c4b5062c-3747-46a1-b482-a6f9de11a0fc" ], - "x-ms-correlation-request-id": [ "c4b5062c-3747-46a1-b482-a6f9de11a0fc" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140951Z:c4b5062c-3747-46a1-b482-a6f9de11a0fc" ], + "x-ms-request-id": [ "ccbe5c27-1e1c-4817-8c93-f965ee22a39f" ], + "x-ms-correlation-request-id": [ "ccbe5c27-1e1c-4817-8c93-f965ee22a39f" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045353Z:ccbe5c27-1e1c-4817-8c93-f965ee22a39f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:09:51 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:53:52 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "5270" ], + "Content-Length": [ "11594" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/operational-policy\",\"name\":\"operational-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-04-27T06:00:00+05:30/P1D\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfMonth\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupDaily\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/operational-vaulted-policy\",\"name\":\"operational-vaulted-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-05-09T02:30:00+01:00/P1W\"],\"timeZone\":\"W. Europe Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true},{\"tagInfo\":{\"tagName\":\"Weekly\",\"id\":\"Weekly_\"},\"taggingPriority\":20,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfWeek\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfMonth\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Yearly\",\"id\":\"Yearly_\"},\"taggingPriority\":10,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfYear\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7W\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1Y\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Yearly\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-vault-pstest-policy\",\"name\":\"op-vault-pstest-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}]}", + "Content": "{\"value\":[{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7Y\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Yearly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-09-03T20:30:00+00:00/P1W\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Yearly\",\"id\":\"Yearly_\"},\"taggingPriority\":10,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfYear\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaultedbackup-7y\",\"name\":\"vaultedbackup-7y\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/operational-policy\",\"name\":\"operational-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-22T14:25:06+05:30/P1W\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true},{\"tagInfo\":{\"tagName\":\"Weekly\",\"id\":\"Weekly_\"},\"taggingPriority\":20,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfWeek\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfMonth\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Yearly\",\"id\":\"Yearly_\"},\"taggingPriority\":10,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfYear\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7W\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1Y\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Yearly\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-vault-pstest-policy-1\",\"name\":\"op-vault-pstest-policy-1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-04-27T06:00:00+05:30/P1D\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfMonth\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupDaily\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/operational-vaulted-policy\",\"name\":\"operational-vaulted-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-05-09T02:30:00+01:00/P1W\"],\"timeZone\":\"W. Europe Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true},{\"tagInfo\":{\"tagName\":\"Weekly\",\"id\":\"Weekly_\"},\"taggingPriority\":20,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfWeek\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfMonth\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Yearly\",\"id\":\"Yearly_\"},\"taggingPriority\":10,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfYear\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7W\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1Y\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Yearly\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-vault-pstest-policy\",\"name\":\"op-vault-pstest-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-05-09T06:30:00+01:00/P1W\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true},{\"tagInfo\":{\"tagName\":\"Yearly\",\"id\":\"Yearly_\"},\"taggingPriority\":10,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfYear\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7Y\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Yearly\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaultedbackup-7y-ps\",\"name\":\"vaultedbackup-7y-ps\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}]}", "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningHybridPolicy+$PUT+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-vault-pstest-policy?api-version=2023-05-01+1": { + "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningHybridPolicy+$PUT+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-vault-pstest-policy?api-version=2023-11-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-vault-pstest-policy?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-vault-pstest-policy?api-version=2023-11-01", "Content": "{\r\n \"properties\": {\r\n \"datasourceTypes\": [ \"Microsoft.Storage/storageAccounts/blobServices\" ],\r\n \"objectType\": \"BackupPolicy\",\r\n \"policyRules\": [\r\n {\r\n \"name\": \"BackupWeekly\",\r\n \"objectType\": \"AzureBackupRule\",\r\n \"backupParameters\": {\r\n \"objectType\": \"AzureBackupParams\",\r\n \"backupType\": \"Discrete\"\r\n },\r\n \"dataStore\": {\r\n \"dataStoreType\": \"VaultStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n },\r\n \"trigger\": {\r\n \"objectType\": \"ScheduleBasedTriggerContext\",\r\n \"schedule\": {\r\n \"repeatingTimeIntervals\": [ \"R/2023-05-09T02:30:00+01:00/P1W\" ],\r\n \"timeZone\": \"W. Europe Standard Time\"\r\n },\r\n \"taggingCriteria\": [\r\n {\r\n \"tagInfo\": {\r\n \"tagName\": \"Default\"\r\n },\r\n \"isDefault\": true,\r\n \"taggingPriority\": 99\r\n },\r\n {\r\n \"tagInfo\": {\r\n \"tagName\": \"Weekly\"\r\n },\r\n \"criteria\": [\r\n {\r\n \"objectType\": \"ScheduleBasedBackupCriteria\",\r\n \"absoluteCriteria\": [ \"FirstOfWeek\" ]\r\n }\r\n ],\r\n \"isDefault\": false,\r\n \"taggingPriority\": 20\r\n },\r\n {\r\n \"tagInfo\": {\r\n \"tagName\": \"Monthly\"\r\n },\r\n \"criteria\": [\r\n {\r\n \"objectType\": \"ScheduleBasedBackupCriteria\",\r\n \"absoluteCriteria\": [ \"FirstOfMonth\" ]\r\n }\r\n ],\r\n \"isDefault\": false,\r\n \"taggingPriority\": 15\r\n },\r\n {\r\n \"tagInfo\": {\r\n \"tagName\": \"Yearly\"\r\n },\r\n \"criteria\": [\r\n {\r\n \"objectType\": \"ScheduleBasedBackupCriteria\",\r\n \"absoluteCriteria\": [ \"FirstOfYear\" ]\r\n }\r\n ],\r\n \"isDefault\": false,\r\n \"taggingPriority\": 10\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"name\": \"Default\",\r\n \"objectType\": \"AzureRetentionRule\",\r\n \"isDefault\": true,\r\n \"lifecycles\": [\r\n {\r\n \"deleteAfter\": {\r\n \"duration\": \"P7D\",\r\n \"objectType\": \"AbsoluteDeleteOption\"\r\n },\r\n \"sourceDataStore\": {\r\n \"dataStoreType\": \"VaultStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"Default\",\r\n \"objectType\": \"AzureRetentionRule\",\r\n \"isDefault\": true,\r\n \"lifecycles\": [\r\n {\r\n \"deleteAfter\": {\r\n \"duration\": \"P30D\",\r\n \"objectType\": \"AbsoluteDeleteOption\"\r\n },\r\n \"sourceDataStore\": {\r\n \"dataStoreType\": \"OperationalStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"Weekly\",\r\n \"objectType\": \"AzureRetentionRule\",\r\n \"isDefault\": false,\r\n \"lifecycles\": [\r\n {\r\n \"deleteAfter\": {\r\n \"duration\": \"P7W\",\r\n \"objectType\": \"AbsoluteDeleteOption\"\r\n },\r\n \"sourceDataStore\": {\r\n \"dataStoreType\": \"VaultStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"Monthly\",\r\n \"objectType\": \"AzureRetentionRule\",\r\n \"isDefault\": false,\r\n \"lifecycles\": [\r\n {\r\n \"deleteAfter\": {\r\n \"duration\": \"P5M\",\r\n \"objectType\": \"AbsoluteDeleteOption\"\r\n },\r\n \"sourceDataStore\": {\r\n \"dataStoreType\": \"VaultStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"Yearly\",\r\n \"objectType\": \"AzureRetentionRule\",\r\n \"isDefault\": false,\r\n \"lifecycles\": [\r\n {\r\n \"deleteAfter\": {\r\n \"duration\": \"P1Y\",\r\n \"objectType\": \"AbsoluteDeleteOption\"\r\n },\r\n \"sourceDataStore\": {\r\n \"dataStoreType\": \"VaultStore\",\r\n \"objectType\": \"DataStoreInfoBase\"\r\n }\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -655,11 +655,11 @@ "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "8d1c6b44-fc81-474d-9880-5d798ec243f9" ], - "x-ms-correlation-request-id": [ "8d1c6b44-fc81-474d-9880-5d798ec243f9" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140952Z:8d1c6b44-fc81-474d-9880-5d798ec243f9" ], + "x-ms-request-id": [ "0e7d484e-660c-4f6b-b9ef-a7b4b81c35fe" ], + "x-ms-correlation-request-id": [ "0e7d484e-660c-4f6b-b9ef-a7b4b81c35fe" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045354Z:0e7d484e-660c-4f6b-b9ef-a7b4b81c35fe" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:09:52 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:53:54 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2648" ], @@ -670,19 +670,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningHybridPolicy+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-vault-pstest-policy?api-version=2023-05-01+2": { + "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningHybridPolicy+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-vault-pstest-policy?api-version=2023-11-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-vault-pstest-policy?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-vault-pstest-policy?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "331" ], - "x-ms-client-request-id": [ "6629401c-40b9-49f9-8677-af87649840a0" ], + "x-ms-unique-id": [ "198" ], + "x-ms-client-request-id": [ "700b7c6d-2669-4c5b-b581-1e229730336e" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -693,14 +693,14 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "192" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "190" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "beaa9ce2-cee8-4762-961f-9d9375acb918" ], - "x-ms-correlation-request-id": [ "beaa9ce2-cee8-4762-961f-9d9375acb918" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140953Z:beaa9ce2-cee8-4762-961f-9d9375acb918" ], + "x-ms-request-id": [ "c0184859-47a2-4a27-a3fe-db419fcbde1e" ], + "x-ms-correlation-request-id": [ "c0184859-47a2-4a27-a3fe-db419fcbde1e" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045355Z:c0184859-47a2-4a27-a3fe-db419fcbde1e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:09:52 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:53:55 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2648" ], @@ -711,19 +711,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningHybridPolicy+$DELETE+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicyResource?api-version=2023-05-01+3": { + "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningHybridPolicy+$DELETE+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicyResource?api-version=2023-11-01+3": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BaseBackupPolicyResource?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BaseBackupPolicyResource?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "332" ], - "x-ms-client-request-id": [ "015f8c20-ba25-4a8b-9dfc-c1d6d0719116" ], + "x-ms-unique-id": [ "199" ], + "x-ms-client-request-id": [ "ec10e7c9-e716-45d7-aef6-0830e6c87c70" ], "CommandName": [ "Remove-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Remove-AzDataProtectionBackupPolicy_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -737,11 +737,11 @@ "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "46" ], - "x-ms-request-id": [ "f77f265f-5586-4fb4-b66b-c11626041db8" ], - "x-ms-correlation-request-id": [ "f77f265f-5586-4fb4-b66b-c11626041db8" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140953Z:f77f265f-5586-4fb4-b66b-c11626041db8" ], + "x-ms-request-id": [ "164f1629-c439-4151-b17c-add275401d94" ], + "x-ms-correlation-request-id": [ "164f1629-c439-4151-b17c-add275401d94" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045356Z:164f1629-c439-4151-b17c-add275401d94" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:09:53 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:53:56 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ] @@ -750,19 +750,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningHybridPolicy+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies?api-version=2023-05-01+4": { + "New-AzDataProtectionBackupPolicy+[NoContext]+BlobHardeningHybridPolicy+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies?api-version=2023-11-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "333" ], - "x-ms-client-request-id": [ "a1856ac4-f7f2-48c8-8b76-1e6014df6f01" ], + "x-ms-unique-id": [ "200" ], + "x-ms-client-request-id": [ "9d6023e9-a9e5-4e06-b222-753f72676a26" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -773,21 +773,21 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "191" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "189" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "e7b04c25-d735-4a51-9906-710d136db20d" ], - "x-ms-correlation-request-id": [ "e7b04c25-d735-4a51-9906-710d136db20d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T140954Z:e7b04c25-d735-4a51-9906-710d136db20d" ], + "x-ms-request-id": [ "2ecd0cd8-c05a-4342-b0ab-73c12bb8354e" ], + "x-ms-correlation-request-id": [ "2ecd0cd8-c05a-4342-b0ab-73c12bb8354e" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045356Z:2ecd0cd8-c05a-4342-b0ab-73c12bb8354e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:09:54 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:53:56 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "5270" ], + "Content-Length": [ "11594" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/operational-policy\",\"name\":\"operational-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-04-27T06:00:00+05:30/P1D\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfMonth\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupDaily\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/operational-vaulted-policy\",\"name\":\"operational-vaulted-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-05-09T02:30:00+01:00/P1W\"],\"timeZone\":\"W. Europe Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true},{\"tagInfo\":{\"tagName\":\"Weekly\",\"id\":\"Weekly_\"},\"taggingPriority\":20,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfWeek\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfMonth\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Yearly\",\"id\":\"Yearly_\"},\"taggingPriority\":10,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfYear\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7W\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1Y\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Yearly\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-vault-pstest-policy\",\"name\":\"op-vault-pstest-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}]}", + "Content": "{\"value\":[{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7Y\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Yearly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-09-03T20:30:00+00:00/P1W\"],\"timeZone\":\"UTC\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Yearly\",\"id\":\"Yearly_\"},\"taggingPriority\":10,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfYear\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaultedbackup-7y\",\"name\":\"vaultedbackup-7y\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/operational-policy\",\"name\":\"operational-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-12-22T14:25:06+05:30/P1W\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true},{\"tagInfo\":{\"tagName\":\"Weekly\",\"id\":\"Weekly_\"},\"taggingPriority\":20,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfWeek\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfMonth\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Yearly\",\"id\":\"Yearly_\"},\"taggingPriority\":10,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfYear\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7W\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1Y\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Yearly\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-vault-pstest-policy-1\",\"name\":\"op-vault-pstest-policy-1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P6M\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"targetDataStoreCopySettings\":[],\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-04-27T06:00:00+05:30/P1D\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfMonth\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupDaily\",\"objectType\":\"AzureBackupRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/operational-vaulted-policy\",\"name\":\"operational-vaulted-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-05-09T02:30:00+01:00/P1W\"],\"timeZone\":\"W. Europe Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true},{\"tagInfo\":{\"tagName\":\"Weekly\",\"id\":\"Weekly_\"},\"taggingPriority\":20,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfWeek\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Monthly\",\"id\":\"Monthly_\"},\"taggingPriority\":15,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfMonth\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]},{\"tagInfo\":{\"tagName\":\"Yearly\",\"id\":\"Yearly_\"},\"taggingPriority\":10,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfYear\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7W\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Weekly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P5M\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Monthly\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P1Y\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Yearly\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/op-vault-pstest-policy\",\"name\":\"op-vault-pstest-policy\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"},{\"properties\":{\"policyRules\":[{\"backupParameters\":{\"backupType\":\"Discrete\",\"objectType\":\"AzureBackupParams\"},\"trigger\":{\"schedule\":{\"repeatingTimeIntervals\":[\"R/2023-05-09T06:30:00+01:00/P1W\"],\"timeZone\":\"India Standard Time\"},\"taggingCriteria\":[{\"tagInfo\":{\"tagName\":\"Default\",\"id\":\"Default_\"},\"taggingPriority\":99,\"isDefault\":true},{\"tagInfo\":{\"tagName\":\"Yearly\",\"id\":\"Yearly_\"},\"taggingPriority\":10,\"isDefault\":false,\"criteria\":[{\"absoluteCriteria\":[\"FirstOfYear\"],\"objectType\":\"ScheduleBasedBackupCriteria\"}]}],\"objectType\":\"ScheduleBasedTriggerContext\"},\"dataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"},\"name\":\"BackupWeekly\",\"objectType\":\"AzureBackupRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7D\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P30D\"},\"sourceDataStore\":{\"dataStoreType\":\"OperationalStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":true,\"name\":\"Default\",\"objectType\":\"AzureRetentionRule\"},{\"lifecycles\":[{\"deleteAfter\":{\"objectType\":\"AbsoluteDeleteOption\",\"duration\":\"P7Y\"},\"sourceDataStore\":{\"dataStoreType\":\"VaultStore\",\"objectType\":\"DataStoreInfoBase\"}}],\"isDefault\":false,\"name\":\"Yearly\",\"objectType\":\"AzureRetentionRule\"}],\"datasourceTypes\":[\"Microsoft.Storage/storageAccounts/blobServices\"],\"objectType\":\"BackupPolicy\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.DataProtection/backupVaults/blob-eus-pstest-vault/backupPolicies/vaultedbackup-7y-ps\",\"name\":\"vaultedbackup-7y-ps\",\"type\":\"Microsoft.DataProtection/backupVaults/backupPolicies\"}]}", "isContentBase64": false } } diff --git a/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupVault.Recording.json b/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupVault.Recording.json index 64d36e7abef0..7d49293364ad 100644 --- a/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupVault.Recording.json +++ b/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionBackupVault.Recording.json @@ -1,8 +1,8 @@ { - "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01+1": { + "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01", "Content": "{\r\n \"location\": \"centraluseuap\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"properties\": {\r\n \"storageSettings\": [\r\n {\r\n \"datastoreType\": \"VaultStore\",\r\n \"type\": \"LocallyRedundant\"\r\n }\r\n ]\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -18,41 +18,41 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "10" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/MzM0YzRmYjItYjUxZi00MDYxLWJlMzgtMDM5OGVjZWFhOWNhOzViODQwNDlkLTJiNDUtNGJjNC1iNDQwLTMxOTZjNjg0NjJlYg==?api-version=2023-05-01\u0026t=2023-08-28T14%3a10%3a02\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=aidBvdtaypI-fbF6XtIdQACNb-EV29WoWYSB-1cQ8dldySxnGLu2muSjL39_2ZXGk86N7WaoREpCpRmoGZ7zSxPbwY6-qYFqVJfo6DXBHpcrXo59f3XR3dj6RVrgnmN5mOuKY8hDl9O5ME8zFjSnvtbbLxRTLRdjKanNKQy3eCyYpNq9uBku9gPLXarqnrbKGsNCAT3J4Bsl45B2N7XFfeUw3KzIvFyqGYJoDSFNE3077hpOnFXJyTQCGHLO9TMEfg5gSurZncrPExDVR7KP5VupzIldPXzH8jA-3-m7ffcTOg6OMp1DokasQzie2817BBqtlFh8a4fEyNgJ3zMKGw\u0026h=iSyxvHHBfmOWdHrj9fmsaDby8lYcvQ5o9tsDVuwJb58" ], - "x-ms-arm-resource-system-data": [ "{\"createdBy\":\"hiaga@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-08-28T14:09:59.4542614Z\",\"lastModifiedBy\":\"hiaga@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-08-28T14:09:59.4542614Z\"}" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/N2VjMWIwZWQtMDE5ZC00ODVkLThiYWQtYWZkMWUzMjA5MzA1OzUwN2MwZGEyLTQxZjgtNGI3Yi1iY2E0LTMxMzFmZTdhYjk5Ng==?api-version=2023-11-01\u0026t=638390768420616047\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=QQLLLYFhFsWoFcznCeGd_8k5eQioWmtxvelp6I9i-EaN2XE6dqD13i_KXKXG7gJ2YsnRmr_eF9PkWUcEKYgYI8SF8k-9ymkAtZx7r14w2F2ykNAofRD-Y4VEM-AGq-1gZRkUpTEcrsLc3HSmEUDkq4jAUCS2iL-HuTS-MwCsjS1p51cDUz7MrCwS3pY_7z2zh-7Yc8R0y9Tnmjka7311hNkfNaehATifRV7VhINFnQdEfvKD61uO3ct9mCoMOJ9bvtSg_WA03-MHrsfnSU9SCMM9F4nlcUzzwfHWVNOv9ZdzSgMXJLAikuB6uxREtXG2UcQkFaswkzPDQRXyN69t2g\u0026h=4hSjqfZwUo2Ce31-ohEn6OuEJvgIK8LSfkevCvlq9JY" ], + "x-ms-arm-resource-system-data": [ "{\"createdBy\":\"hiaga@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-12-25T04:53:58.8896296Z\",\"lastModifiedBy\":\"hiaga@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-12-25T04:53:58.8896296Z\"}" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], - "x-ms-correlation-request-id": [ "176abd9d-5278-4e3c-bd10-ddc044622ad4" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141002Z:176abd9d-5278-4e3c-bd10-ddc044622ad4" ], - "Date": [ "Mon, 28 Aug 2023 14:10:02 GMT" ] + "x-ms-correlation-request-id": [ "4a075c99-1b4e-45ff-ab66-d54d6dc7f384" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045402Z:4a075c99-1b4e-45ff-ab66-d54d6dc7f384" ], + "Date": [ "Mon, 25 Dec 2023 04:54:01 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "666" ], + "Content-Length": [ "689" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"88476969-8492-49cc-813b-eb4be42f5f5f\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Provisioning\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":14.0}},\"secureScore\":\"None\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault\",\"name\":\"new-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"f00e880a-c13b-40f3-9464-57207cb65977\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Provisioning\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":14.0}},\"secureScore\":\"None\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault\",\"name\":\"new-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/MzM0YzRmYjItYjUxZi00MDYxLWJlMzgtMDM5OGVjZWFhOWNhOzViODQwNDlkLTJiNDUtNGJjNC1iNDQwLTMxOTZjNjg0NjJlYg==?api-version=2023-05-01\u0026t=2023-08-28T14%3a10%3a02\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=aidBvdtaypI-fbF6XtIdQACNb-EV29WoWYSB-1cQ8dldySxnGLu2muSjL39_2ZXGk86N7WaoREpCpRmoGZ7zSxPbwY6-qYFqVJfo6DXBHpcrXo59f3XR3dj6RVrgnmN5mOuKY8hDl9O5ME8zFjSnvtbbLxRTLRdjKanNKQy3eCyYpNq9uBku9gPLXarqnrbKGsNCAT3J4Bsl45B2N7XFfeUw3KzIvFyqGYJoDSFNE3077hpOnFXJyTQCGHLO9TMEfg5gSurZncrPExDVR7KP5VupzIldPXzH8jA-3-m7ffcTOg6OMp1DokasQzie2817BBqtlFh8a4fEyNgJ3zMKGw\u0026h=iSyxvHHBfmOWdHrj9fmsaDby8lYcvQ5o9tsDVuwJb58+2": { + "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/N2VjMWIwZWQtMDE5ZC00ODVkLThiYWQtYWZkMWUzMjA5MzA1OzUwN2MwZGEyLTQxZjgtNGI3Yi1iY2E0LTMxMzFmZTdhYjk5Ng==?api-version=2023-11-01\u0026t=638390768420616047\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=QQLLLYFhFsWoFcznCeGd_8k5eQioWmtxvelp6I9i-EaN2XE6dqD13i_KXKXG7gJ2YsnRmr_eF9PkWUcEKYgYI8SF8k-9ymkAtZx7r14w2F2ykNAofRD-Y4VEM-AGq-1gZRkUpTEcrsLc3HSmEUDkq4jAUCS2iL-HuTS-MwCsjS1p51cDUz7MrCwS3pY_7z2zh-7Yc8R0y9Tnmjka7311hNkfNaehATifRV7VhINFnQdEfvKD61uO3ct9mCoMOJ9bvtSg_WA03-MHrsfnSU9SCMM9F4nlcUzzwfHWVNOv9ZdzSgMXJLAikuB6uxREtXG2UcQkFaswkzPDQRXyN69t2g\u0026h=4hSjqfZwUo2Ce31-ohEn6OuEJvgIK8LSfkevCvlq9JY+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/MzM0YzRmYjItYjUxZi00MDYxLWJlMzgtMDM5OGVjZWFhOWNhOzViODQwNDlkLTJiNDUtNGJjNC1iNDQwLTMxOTZjNjg0NjJlYg==?api-version=2023-05-01\u0026t=2023-08-28T14%3a10%3a02\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=aidBvdtaypI-fbF6XtIdQACNb-EV29WoWYSB-1cQ8dldySxnGLu2muSjL39_2ZXGk86N7WaoREpCpRmoGZ7zSxPbwY6-qYFqVJfo6DXBHpcrXo59f3XR3dj6RVrgnmN5mOuKY8hDl9O5ME8zFjSnvtbbLxRTLRdjKanNKQy3eCyYpNq9uBku9gPLXarqnrbKGsNCAT3J4Bsl45B2N7XFfeUw3KzIvFyqGYJoDSFNE3077hpOnFXJyTQCGHLO9TMEfg5gSurZncrPExDVR7KP5VupzIldPXzH8jA-3-m7ffcTOg6OMp1DokasQzie2817BBqtlFh8a4fEyNgJ3zMKGw\u0026h=iSyxvHHBfmOWdHrj9fmsaDby8lYcvQ5o9tsDVuwJb58", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/N2VjMWIwZWQtMDE5ZC00ODVkLThiYWQtYWZkMWUzMjA5MzA1OzUwN2MwZGEyLTQxZjgtNGI3Yi1iY2E0LTMxMzFmZTdhYjk5Ng==?api-version=2023-11-01\u0026t=638390768420616047\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=QQLLLYFhFsWoFcznCeGd_8k5eQioWmtxvelp6I9i-EaN2XE6dqD13i_KXKXG7gJ2YsnRmr_eF9PkWUcEKYgYI8SF8k-9ymkAtZx7r14w2F2ykNAofRD-Y4VEM-AGq-1gZRkUpTEcrsLc3HSmEUDkq4jAUCS2iL-HuTS-MwCsjS1p51cDUz7MrCwS3pY_7z2zh-7Yc8R0y9Tnmjka7311hNkfNaehATifRV7VhINFnQdEfvKD61uO3ct9mCoMOJ9bvtSg_WA03-MHrsfnSU9SCMM9F4nlcUzzwfHWVNOv9ZdzSgMXJLAikuB6uxREtXG2UcQkFaswkzPDQRXyN69t2g\u0026h=4hSjqfZwUo2Ce31-ohEn6OuEJvgIK8LSfkevCvlq9JY", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "335" ], - "x-ms-client-request-id": [ "f86618eb-0b94-4897-959c-fb35d0d26d22" ], + "x-ms-unique-id": [ "202" ], + "x-ms-client-request-id": [ "afbc0210-91c3-4630-8e6e-0b7743ea943c" ], "CommandName": [ "Az.DataProtection.Internal\\New-AzDataProtectionBackupVault" ], "FullCommandName": [ "New-AzDataProtectionBackupVault_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -67,34 +67,34 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "x-ms-correlation-request-id": [ "0830dac1-995c-47bf-a922-29aeae336e4a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141013Z:0830dac1-995c-47bf-a922-29aeae336e4a" ], - "Date": [ "Mon, 28 Aug 2023 14:10:13 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "995" ], + "x-ms-correlation-request-id": [ "fd6281b5-c3f9-4a7a-8362-7dd0708b48a2" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045412Z:fd6281b5-c3f9-4a7a-8362-7dd0708b48a2" ], + "Date": [ "Mon, 25 Dec 2023 04:54:12 GMT" ] }, "ContentHeaders": { "Content-Length": [ "474" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/MzM0YzRmYjItYjUxZi00MDYxLWJlMzgtMDM5OGVjZWFhOWNhOzViODQwNDlkLTJiNDUtNGJjNC1iNDQwLTMxOTZjNjg0NjJlYg==\",\"name\":\"MzM0YzRmYjItYjUxZi00MDYxLWJlMzgtMDM5OGVjZWFhOWNhOzViODQwNDlkLTJiNDUtNGJjNC1iNDQwLTMxOTZjNjg0NjJlYg==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-28T14:10:01.1772089Z\",\"endTime\":\"2023-08-28T14:10:01Z\"}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/N2VjMWIwZWQtMDE5ZC00ODVkLThiYWQtYWZkMWUzMjA5MzA1OzUwN2MwZGEyLTQxZjgtNGI3Yi1iY2E0LTMxMzFmZTdhYjk5Ng==\",\"name\":\"N2VjMWIwZWQtMDE5ZC00ODVkLThiYWQtYWZkMWUzMjA5MzA1OzUwN2MwZGEyLTQxZjgtNGI3Yi1iY2E0LTMxMzFmZTdhYjk5Ng==\",\"status\":\"Succeeded\",\"startTime\":\"2023-12-25T04:54:01.5167428Z\",\"endTime\":\"2023-12-25T04:54:02Z\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01+3": { + "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "336" ], - "x-ms-client-request-id": [ "f86618eb-0b94-4897-959c-fb35d0d26d22" ], + "x-ms-unique-id": [ "203" ], + "x-ms-client-request-id": [ "afbc0210-91c3-4630-8e6e-0b7743ea943c" ], "CommandName": [ "Az.DataProtection.Internal\\New-AzDataProtectionBackupVault" ], "FullCommandName": [ "New-AzDataProtectionBackupVault_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -109,33 +109,33 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "498" ], - "x-ms-correlation-request-id": [ "da9409bd-6978-482b-bb76-e614e30b7cb5" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141014Z:da9409bd-6978-482b-bb76-e614e30b7cb5" ], - "Date": [ "Mon, 28 Aug 2023 14:10:13 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "496" ], + "x-ms-correlation-request-id": [ "2eaef591-826f-47f9-a608-bdb973197b67" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045413Z:2eaef591-826f-47f9-a608-bdb973197b67" ], + "Date": [ "Mon, 25 Dec 2023 04:54:13 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "663" ], + "Content-Length": [ "686" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"88476969-8492-49cc-813b-eb4be42f5f5f\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":14.0}},\"secureScore\":\"None\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault\",\"name\":\"new-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"f00e880a-c13b-40f3-9464-57207cb65977\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":14.0}},\"secureScore\":\"None\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault\",\"name\":\"new-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01+4": { + "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "337" ], - "x-ms-client-request-id": [ "39bc341e-36b0-44d5-8693-e1765cd7b7a4" ], + "x-ms-unique-id": [ "204" ], + "x-ms-client-request-id": [ "69879b7c-513c-4c38-9e8d-0547514412f6" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -151,33 +151,33 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "497" ], - "x-ms-correlation-request-id": [ "1bed963a-48c6-4508-9682-8d0b2ad209f9" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141014Z:1bed963a-48c6-4508-9682-8d0b2ad209f9" ], - "Date": [ "Mon, 28 Aug 2023 14:10:14 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "495" ], + "x-ms-correlation-request-id": [ "f927f76d-073b-4246-bc0b-400c14afe0c1" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045414Z:f927f76d-073b-4246-bc0b-400c14afe0c1" ], + "Date": [ "Mon, 25 Dec 2023 04:54:13 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "663" ], + "Content-Length": [ "686" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"88476969-8492-49cc-813b-eb4be42f5f5f\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":14.0}},\"secureScore\":\"None\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault\",\"name\":\"new-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"f00e880a-c13b-40f3-9464-57207cb65977\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":14.0}},\"secureScore\":\"None\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault\",\"name\":\"new-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01+5": { + "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$DELETE+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01+5": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "338" ], - "x-ms-client-request-id": [ "adff20cf-b199-42b3-b816-e5c4f043fb76" ], + "x-ms-unique-id": [ "205" ], + "x-ms-client-request-id": [ "34efdc4c-730f-4c32-ac15-cd4925b07b53" ], "CommandName": [ "Remove-AzDataProtectionBackupVault" ], "FullCommandName": [ "Remove-AzDataProtectionBackupVault_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -188,17 +188,17 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/MzM0YzRmYjItYjUxZi00MDYxLWJlMzgtMDM5OGVjZWFhOWNhO2U0YzY4NDlhLTc2NGEtNDhhZi1hMWU4LTY3OTE2ZTUxNjRmNA==?api-version=2023-05-01\u0026t=2023-08-28T14%3a10%3a16\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=kvG24viDMfiM_d8GgRIkmUn3PYhzk-9ewxGhP9h9U2J7_2UNUCub2D21li8nt_jMLgWB6AhZ3dNnc6ZuY5olgeC1Uat9tR2HYI79cU8_9nxvw_yV6YeivpPBQU-Ht5law18bBZCJEmwwuA-84fTjppXQsNpw31FrxuB5IbHfMav9OQuCrhtSF0Rq09NnBkWCcxEBMq1hM1_cwdetKyk3H7fWOC78ctYe_naiVL0JOyp_A0JCWjDvplznubEKsoSYzW1Ql4EkYpOi5BxG2SYmOhgI2c4ne_Qj3lhF9pZT93wwX7BFOKJMvQZ2YukX30n7DCnCcVvylKHBN7ihciF8hg\u0026h=Owsr7w253NNnXnBTVwWPIgh5lV86wf5PTqx-MOuWUxQ" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/N2VjMWIwZWQtMDE5ZC00ODVkLThiYWQtYWZkMWUzMjA5MzA1OzM5NDY2ODU5LTYxNGEtNGIzZS1iZjFlLTIwZDg5N2E0YTA1Yw==?api-version=2023-11-01\u0026t=638390768553432209\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=G0aG6BmQnWNf-JYAcoTI1GBTpDl-VSKuv3_kvvHwWxA8wKCfsm-gvwGiIQvgGX0l4S0LYhxLPNhsc808Zcaw8oqYJ-kwpiyhRXnHj8D7p6rfkUbRbTwGt_ulKQEm-c18gOoL0nmBhEytLTu-UlyF8L-oJjL65o5m4cPjUdn-tMNcdeGsIAFb9D7XhiDxWzl1D_FczJgt6-1fyKgR7NOVr2DZifoBiF24x5XFx-lnOnhR8kqMsm9cWe1w9y8s22i5Zf_gkxIdlqD2vsxyaa1j8GdrPF6j7Vnhj3w1O3YBRsgp3H51HJvwcDZQ1wipNa3ZJ15H08TwXbFbFTU0R0Ph0w\u0026h=bxnJnBUh43mVtJkoTGNP0Ct9Zdn8wyQM7LiVOGi8cKM" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/MzM0YzRmYjItYjUxZi00MDYxLWJlMzgtMDM5OGVjZWFhOWNhO2U0YzY4NDlhLTc2NGEtNDhhZi1hMWU4LTY3OTE2ZTUxNjRmNA==?api-version=2023-05-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/N2VjMWIwZWQtMDE5ZC00ODVkLThiYWQtYWZkMWUzMjA5MzA1OzM5NDY2ODU5LTYxNGEtNGIzZS1iZjFlLTIwZDg5N2E0YTA1Yw==?api-version=2023-11-01" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], - "x-ms-correlation-request-id": [ "f17aae44-a2e2-4580-9af8-f55069576fdd" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141016Z:f17aae44-a2e2-4580-9af8-f55069576fdd" ], - "Date": [ "Mon, 28 Aug 2023 14:10:15 GMT" ] + "x-ms-correlation-request-id": [ "e5e20a26-1f7f-457c-8831-62b8d6f83957" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045415Z:e5e20a26-1f7f-457c-8831-62b8d6f83957" ], + "Date": [ "Mon, 25 Dec 2023 04:54:15 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -208,20 +208,20 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/MzM0YzRmYjItYjUxZi00MDYxLWJlMzgtMDM5OGVjZWFhOWNhO2U0YzY4NDlhLTc2NGEtNDhhZi1hMWU4LTY3OTE2ZTUxNjRmNA==?api-version=2023-05-01+6": { + "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/N2VjMWIwZWQtMDE5ZC00ODVkLThiYWQtYWZkMWUzMjA5MzA1OzM5NDY2ODU5LTYxNGEtNGIzZS1iZjFlLTIwZDg5N2E0YTA1Yw==?api-version=2023-11-01+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/MzM0YzRmYjItYjUxZi00MDYxLWJlMzgtMDM5OGVjZWFhOWNhO2U0YzY4NDlhLTc2NGEtNDhhZi1hMWU4LTY3OTE2ZTUxNjRmNA==?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/N2VjMWIwZWQtMDE5ZC00ODVkLThiYWQtYWZkMWUzMjA5MzA1OzM5NDY2ODU5LTYxNGEtNGIzZS1iZjFlLTIwZDg5N2E0YTA1Yw==?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "339" ], - "x-ms-client-request-id": [ "adff20cf-b199-42b3-b816-e5c4f043fb76" ], + "x-ms-unique-id": [ "206" ], + "x-ms-client-request-id": [ "34efdc4c-730f-4c32-ac15-cd4925b07b53" ], "CommandName": [ "Remove-AzDataProtectionBackupVault" ], "FullCommandName": [ "Remove-AzDataProtectionBackupVault_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -237,33 +237,33 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "14999" ], - "x-ms-correlation-request-id": [ "f7b8b318-a341-48bf-942a-81d1562a7ea8" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141046Z:f7b8b318-a341-48bf-942a-81d1562a7ea8" ], - "Date": [ "Mon, 28 Aug 2023 14:10:46 GMT" ] + "x-ms-correlation-request-id": [ "2cfb2b51-1ce7-48db-86be-f511ea546851" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045445Z:2cfb2b51-1ce7-48db-86be-f511ea546851" ], + "Date": [ "Mon, 25 Dec 2023 04:54:44 GMT" ] }, "ContentHeaders": { "Content-Length": [ "468" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/MzM0YzRmYjItYjUxZi00MDYxLWJlMzgtMDM5OGVjZWFhOWNhO2U0YzY4NDlhLTc2NGEtNDhhZi1hMWU4LTY3OTE2ZTUxNjRmNA==\",\"name\":\"MzM0YzRmYjItYjUxZi00MDYxLWJlMzgtMDM5OGVjZWFhOWNhO2U0YzY4NDlhLTc2NGEtNDhhZi1hMWU4LTY3OTE2ZTUxNjRmNA==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-28T14:10:16.0799283Z\",\"endTime\":\"2023-08-28T14:10:16Z\"}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/N2VjMWIwZWQtMDE5ZC00ODVkLThiYWQtYWZkMWUzMjA5MzA1OzM5NDY2ODU5LTYxNGEtNGIzZS1iZjFlLTIwZDg5N2E0YTA1Yw==\",\"name\":\"N2VjMWIwZWQtMDE5ZC00ODVkLThiYWQtYWZkMWUzMjA5MzA1OzM5NDY2ODU5LTYxNGEtNGIzZS1iZjFlLTIwZDg5N2E0YTA1Yw==\",\"status\":\"Succeeded\",\"startTime\":\"2023-12-25T04:54:15.1508043Z\",\"endTime\":\"2023-12-25T04:54:15Z\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/MzM0YzRmYjItYjUxZi00MDYxLWJlMzgtMDM5OGVjZWFhOWNhO2U0YzY4NDlhLTc2NGEtNDhhZi1hMWU4LTY3OTE2ZTUxNjRmNA==?api-version=2023-05-01\u0026t=2023-08-28T14%3a10%3a16\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=kvG24viDMfiM_d8GgRIkmUn3PYhzk-9ewxGhP9h9U2J7_2UNUCub2D21li8nt_jMLgWB6AhZ3dNnc6ZuY5olgeC1Uat9tR2HYI79cU8_9nxvw_yV6YeivpPBQU-Ht5law18bBZCJEmwwuA-84fTjppXQsNpw31FrxuB5IbHfMav9OQuCrhtSF0Rq09NnBkWCcxEBMq1hM1_cwdetKyk3H7fWOC78ctYe_naiVL0JOyp_A0JCWjDvplznubEKsoSYzW1Ql4EkYpOi5BxG2SYmOhgI2c4ne_Qj3lhF9pZT93wwX7BFOKJMvQZ2YukX30n7DCnCcVvylKHBN7ihciF8hg\u0026h=Owsr7w253NNnXnBTVwWPIgh5lV86wf5PTqx-MOuWUxQ+7": { + "New-AzDataProtectionBackupVault+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/N2VjMWIwZWQtMDE5ZC00ODVkLThiYWQtYWZkMWUzMjA5MzA1OzM5NDY2ODU5LTYxNGEtNGIzZS1iZjFlLTIwZDg5N2E0YTA1Yw==?api-version=2023-11-01\u0026t=638390768553432209\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=G0aG6BmQnWNf-JYAcoTI1GBTpDl-VSKuv3_kvvHwWxA8wKCfsm-gvwGiIQvgGX0l4S0LYhxLPNhsc808Zcaw8oqYJ-kwpiyhRXnHj8D7p6rfkUbRbTwGt_ulKQEm-c18gOoL0nmBhEytLTu-UlyF8L-oJjL65o5m4cPjUdn-tMNcdeGsIAFb9D7XhiDxWzl1D_FczJgt6-1fyKgR7NOVr2DZifoBiF24x5XFx-lnOnhR8kqMsm9cWe1w9y8s22i5Zf_gkxIdlqD2vsxyaa1j8GdrPF6j7Vnhj3w1O3YBRsgp3H51HJvwcDZQ1wipNa3ZJ15H08TwXbFbFTU0R0Ph0w\u0026h=bxnJnBUh43mVtJkoTGNP0Ct9Zdn8wyQM7LiVOGi8cKM+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/MzM0YzRmYjItYjUxZi00MDYxLWJlMzgtMDM5OGVjZWFhOWNhO2U0YzY4NDlhLTc2NGEtNDhhZi1hMWU4LTY3OTE2ZTUxNjRmNA==?api-version=2023-05-01\u0026t=2023-08-28T14%3a10%3a16\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=kvG24viDMfiM_d8GgRIkmUn3PYhzk-9ewxGhP9h9U2J7_2UNUCub2D21li8nt_jMLgWB6AhZ3dNnc6ZuY5olgeC1Uat9tR2HYI79cU8_9nxvw_yV6YeivpPBQU-Ht5law18bBZCJEmwwuA-84fTjppXQsNpw31FrxuB5IbHfMav9OQuCrhtSF0Rq09NnBkWCcxEBMq1hM1_cwdetKyk3H7fWOC78ctYe_naiVL0JOyp_A0JCWjDvplznubEKsoSYzW1Ql4EkYpOi5BxG2SYmOhgI2c4ne_Qj3lhF9pZT93wwX7BFOKJMvQZ2YukX30n7DCnCcVvylKHBN7ihciF8hg\u0026h=Owsr7w253NNnXnBTVwWPIgh5lV86wf5PTqx-MOuWUxQ", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/N2VjMWIwZWQtMDE5ZC00ODVkLThiYWQtYWZkMWUzMjA5MzA1OzM5NDY2ODU5LTYxNGEtNGIzZS1iZjFlLTIwZDg5N2E0YTA1Yw==?api-version=2023-11-01\u0026t=638390768553432209\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=G0aG6BmQnWNf-JYAcoTI1GBTpDl-VSKuv3_kvvHwWxA8wKCfsm-gvwGiIQvgGX0l4S0LYhxLPNhsc808Zcaw8oqYJ-kwpiyhRXnHj8D7p6rfkUbRbTwGt_ulKQEm-c18gOoL0nmBhEytLTu-UlyF8L-oJjL65o5m4cPjUdn-tMNcdeGsIAFb9D7XhiDxWzl1D_FczJgt6-1fyKgR7NOVr2DZifoBiF24x5XFx-lnOnhR8kqMsm9cWe1w9y8s22i5Zf_gkxIdlqD2vsxyaa1j8GdrPF6j7Vnhj3w1O3YBRsgp3H51HJvwcDZQ1wipNa3ZJ15H08TwXbFbFTU0R0Ph0w\u0026h=bxnJnBUh43mVtJkoTGNP0Ct9Zdn8wyQM7LiVOGi8cKM", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "340" ], - "x-ms-client-request-id": [ "adff20cf-b199-42b3-b816-e5c4f043fb76" ], + "x-ms-unique-id": [ "207" ], + "x-ms-client-request-id": [ "34efdc4c-730f-4c32-ac15-cd4925b07b53" ], "CommandName": [ "Remove-AzDataProtectionBackupVault" ], "FullCommandName": [ "Remove-AzDataProtectionBackupVault_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -274,16 +274,16 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/MzM0YzRmYjItYjUxZi00MDYxLWJlMzgtMDM5OGVjZWFhOWNhO2U0YzY4NDlhLTc2NGEtNDhhZi1hMWU4LTY3OTE2ZTUxNjRmNA==?api-version=2023-05-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/N2VjMWIwZWQtMDE5ZC00ODVkLThiYWQtYWZkMWUzMjA5MzA1OzM5NDY2ODU5LTYxNGEtNGIzZS1iZjFlLTIwZDg5N2E0YTA1Yw==?api-version=2023-11-01" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-correlation-request-id": [ "b42c6823-5ba2-414c-9ad8-d21a2cebb0ae" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141047Z:b42c6823-5ba2-414c-9ad8-d21a2cebb0ae" ], - "Date": [ "Mon, 28 Aug 2023 14:10:46 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "195" ], + "x-ms-correlation-request-id": [ "cf1e75b1-394f-48f1-b9d1-2ae3c0e27ade" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045446Z:cf1e75b1-394f-48f1-b9d1-2ae3c0e27ade" ], + "Date": [ "Mon, 25 Dec 2023 04:54:45 GMT" ] }, "ContentHeaders": { "Content-Length": [ "41" ], @@ -294,10 +294,10 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$PUT+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01+1": { + "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$PUT+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01", "Content": "{\r\n \"location\": \"centraluseuap\",\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"properties\": {\r\n \"securitySettings\": {\r\n \"softDeleteSettings\": {\r\n \"state\": \"On\",\r\n \"retentionDurationInDays\": 100\r\n },\r\n \"immutabilitySettings\": {\r\n \"state\": \"Unlocked\"\r\n }\r\n },\r\n \"featureSettings\": {\r\n \"crossSubscriptionRestoreSettings\": {\r\n \"state\": \"Enabled\"\r\n }\r\n },\r\n \"storageSettings\": [\r\n {\r\n \"datastoreType\": \"VaultStore\",\r\n \"type\": \"LocallyRedundant\"\r\n }\r\n ]\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -313,41 +313,41 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "10" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/NTY2MTQ0MDMtNTlmNi00YzU3LWE0ODYtNzVkZmM0ZTYwZjQyOzFmMDhjMTE4LTJlMTctNDJhMi05ZmZmLTk0MjlhMGI0N2ViZA==?api-version=2023-05-01\u0026t=2023-08-28T14%3a10%3a49\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=bnWqlCOy6iejXHqXjPG5HI-rI-ObGokpAQCyB3cskmXjdA2ZStt05eVnNNPvpDTOmBTixbT_SX-Jgy_LzQmpEVRRmFOjJGBzEKTuNFrsqZX016Ynbk71HIA95DLVPhf-cXBXa0u7Zst-LQHETm8l2YmBUd2EG1oOOmc4-9DT5ac37fX_hIEDDmUIhfbe5k44A2PPWg_8zz_SgsudgJJuokSTbyMrgVQQ-3JwoG4kI-eaHypaD3O-lzujyWlZPDXZzAwFZqpdc9k9shXwzHxVIewcRv_hhRU9o0M3v0FY4C5Bvt_qkJ6xO-PCGpnvSQFLsIm0aUG9o3lI9ylCiyuubQ\u0026h=U35rYa8bux9QY23IzblgGCP-l_AuS8EFkc2zA8YbsUg" ], - "x-ms-arm-resource-system-data": [ "{\"lastModifiedBy\":\"hiaga@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-08-28T14:10:47.5016119Z\"}" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/NDA2OTY3OTktYTcwYi00YjQ4LWJiZjItY2U4OTNhOWY1MzY3Ozc4ZDViZjlmLWI2ZTEtNGM4YS04MGE4LWI4NWVlYmFkOTg2NA==?api-version=2023-11-01\u0026t=638390768881722244\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=mn6Dl-C4ys-vLdtTrr1-F29ZLUyakzB-ollISFL_p7KLVvkaGdmzs7-CCg4Y0dDXNnLpYxhjmcRSOSZXxixf4I466HKQq5reAeEok86w4uwZuGWMHH_XTN5rjdeA_QZiamL7iewvx4v01RBZoDygAccCXyxHWHoQV4C7G_Y120kmf6k-YNIQ2PdT6RkKO3F1PgHYz5ebyC6Qnx7yZIglzAhgFZIkGwFoWKL-6ul0nL6Vim1v1zjqCsyvHliB4idBbY2smWHLuWQ-J9OkhnLpI9nmEkTmmWPMW4BMKL-i3YYZf9ndEaiedFsBgIAUjcu8tpTvOkxXI7nCIijsRF7S4Q\u0026h=oKDIcNxwbzoM3U9l18EmNg0NhFNmBj5ll0R9jxdgYcA" ], + "x-ms-arm-resource-system-data": [ "{\"lastModifiedBy\":\"hiaga@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-12-25T04:54:46.8595958Z\"}" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "98" ], - "x-ms-correlation-request-id": [ "fb23a636-ab50-4d60-a271-2ae3d77cd486" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141049Z:fb23a636-ab50-4d60-a271-2ae3d77cd486" ], - "Date": [ "Mon, 28 Aug 2023 14:10:49 GMT" ] + "x-ms-correlation-request-id": [ "79b761af-0e64-4b0d-a4c3-ee14be329fae" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045448Z:79b761af-0e64-4b0d-a4c3-ee14be329fae" ], + "Date": [ "Mon, 25 Dec 2023 04:54:48 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "789" ], + "Content-Length": [ "812" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"88476969-8492-49cc-813b-eb4be42f5f5f\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Provisioning\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":100.0},\"immutabilitySettings\":{\"state\":\"Unlocked\"}},\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"Minimum\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault\",\"name\":\"new-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"f00e880a-c13b-40f3-9464-57207cb65977\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Provisioning\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":100.0},\"immutabilitySettings\":{\"state\":\"Unlocked\"}},\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"Minimum\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault\",\"name\":\"new-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/NTY2MTQ0MDMtNTlmNi00YzU3LWE0ODYtNzVkZmM0ZTYwZjQyOzFmMDhjMTE4LTJlMTctNDJhMi05ZmZmLTk0MjlhMGI0N2ViZA==?api-version=2023-05-01\u0026t=2023-08-28T14%3a10%3a49\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=bnWqlCOy6iejXHqXjPG5HI-rI-ObGokpAQCyB3cskmXjdA2ZStt05eVnNNPvpDTOmBTixbT_SX-Jgy_LzQmpEVRRmFOjJGBzEKTuNFrsqZX016Ynbk71HIA95DLVPhf-cXBXa0u7Zst-LQHETm8l2YmBUd2EG1oOOmc4-9DT5ac37fX_hIEDDmUIhfbe5k44A2PPWg_8zz_SgsudgJJuokSTbyMrgVQQ-3JwoG4kI-eaHypaD3O-lzujyWlZPDXZzAwFZqpdc9k9shXwzHxVIewcRv_hhRU9o0M3v0FY4C5Bvt_qkJ6xO-PCGpnvSQFLsIm0aUG9o3lI9ylCiyuubQ\u0026h=U35rYa8bux9QY23IzblgGCP-l_AuS8EFkc2zA8YbsUg+2": { + "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/NDA2OTY3OTktYTcwYi00YjQ4LWJiZjItY2U4OTNhOWY1MzY3Ozc4ZDViZjlmLWI2ZTEtNGM4YS04MGE4LWI4NWVlYmFkOTg2NA==?api-version=2023-11-01\u0026t=638390768881722244\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=mn6Dl-C4ys-vLdtTrr1-F29ZLUyakzB-ollISFL_p7KLVvkaGdmzs7-CCg4Y0dDXNnLpYxhjmcRSOSZXxixf4I466HKQq5reAeEok86w4uwZuGWMHH_XTN5rjdeA_QZiamL7iewvx4v01RBZoDygAccCXyxHWHoQV4C7G_Y120kmf6k-YNIQ2PdT6RkKO3F1PgHYz5ebyC6Qnx7yZIglzAhgFZIkGwFoWKL-6ul0nL6Vim1v1zjqCsyvHliB4idBbY2smWHLuWQ-J9OkhnLpI9nmEkTmmWPMW4BMKL-i3YYZf9ndEaiedFsBgIAUjcu8tpTvOkxXI7nCIijsRF7S4Q\u0026h=oKDIcNxwbzoM3U9l18EmNg0NhFNmBj5ll0R9jxdgYcA+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/NTY2MTQ0MDMtNTlmNi00YzU3LWE0ODYtNzVkZmM0ZTYwZjQyOzFmMDhjMTE4LTJlMTctNDJhMi05ZmZmLTk0MjlhMGI0N2ViZA==?api-version=2023-05-01\u0026t=2023-08-28T14%3a10%3a49\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=bnWqlCOy6iejXHqXjPG5HI-rI-ObGokpAQCyB3cskmXjdA2ZStt05eVnNNPvpDTOmBTixbT_SX-Jgy_LzQmpEVRRmFOjJGBzEKTuNFrsqZX016Ynbk71HIA95DLVPhf-cXBXa0u7Zst-LQHETm8l2YmBUd2EG1oOOmc4-9DT5ac37fX_hIEDDmUIhfbe5k44A2PPWg_8zz_SgsudgJJuokSTbyMrgVQQ-3JwoG4kI-eaHypaD3O-lzujyWlZPDXZzAwFZqpdc9k9shXwzHxVIewcRv_hhRU9o0M3v0FY4C5Bvt_qkJ6xO-PCGpnvSQFLsIm0aUG9o3lI9ylCiyuubQ\u0026h=U35rYa8bux9QY23IzblgGCP-l_AuS8EFkc2zA8YbsUg", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/NDA2OTY3OTktYTcwYi00YjQ4LWJiZjItY2U4OTNhOWY1MzY3Ozc4ZDViZjlmLWI2ZTEtNGM4YS04MGE4LWI4NWVlYmFkOTg2NA==?api-version=2023-11-01\u0026t=638390768881722244\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=mn6Dl-C4ys-vLdtTrr1-F29ZLUyakzB-ollISFL_p7KLVvkaGdmzs7-CCg4Y0dDXNnLpYxhjmcRSOSZXxixf4I466HKQq5reAeEok86w4uwZuGWMHH_XTN5rjdeA_QZiamL7iewvx4v01RBZoDygAccCXyxHWHoQV4C7G_Y120kmf6k-YNIQ2PdT6RkKO3F1PgHYz5ebyC6Qnx7yZIglzAhgFZIkGwFoWKL-6ul0nL6Vim1v1zjqCsyvHliB4idBbY2smWHLuWQ-J9OkhnLpI9nmEkTmmWPMW4BMKL-i3YYZf9ndEaiedFsBgIAUjcu8tpTvOkxXI7nCIijsRF7S4Q\u0026h=oKDIcNxwbzoM3U9l18EmNg0NhFNmBj5ll0R9jxdgYcA", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "342" ], - "x-ms-client-request-id": [ "4d613814-72a8-4627-8ae6-5773f7ef0b9d" ], + "x-ms-unique-id": [ "209" ], + "x-ms-client-request-id": [ "6e91f0f4-be8b-47da-9a85-d2a8fd12504a" ], "CommandName": [ "Az.DataProtection.Internal\\New-AzDataProtectionBackupVault" ], "FullCommandName": [ "New-AzDataProtectionBackupVault_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -362,34 +362,34 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "998" ], - "x-ms-correlation-request-id": [ "cccaa0ed-f39c-4cea-8f13-11e09902c706" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141100Z:cccaa0ed-f39c-4cea-8f13-11e09902c706" ], - "Date": [ "Mon, 28 Aug 2023 14:11:00 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "994" ], + "x-ms-correlation-request-id": [ "aa64d255-7a9e-4e6b-b387-941f4bc8b7bb" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045458Z:aa64d255-7a9e-4e6b-b387-941f4bc8b7bb" ], + "Date": [ "Mon, 25 Dec 2023 04:54:58 GMT" ] }, "ContentHeaders": { "Content-Length": [ "474" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/NTY2MTQ0MDMtNTlmNi00YzU3LWE0ODYtNzVkZmM0ZTYwZjQyOzFmMDhjMTE4LTJlMTctNDJhMi05ZmZmLTk0MjlhMGI0N2ViZA==\",\"name\":\"NTY2MTQ0MDMtNTlmNi00YzU3LWE0ODYtNzVkZmM0ZTYwZjQyOzFmMDhjMTE4LTJlMTctNDJhMi05ZmZmLTk0MjlhMGI0N2ViZA==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-28T14:10:48.2105029Z\",\"endTime\":\"2023-08-28T14:10:48Z\"}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault/operationStatus/NDA2OTY3OTktYTcwYi00YjQ4LWJiZjItY2U4OTNhOWY1MzY3Ozc4ZDViZjlmLWI2ZTEtNGM4YS04MGE4LWI4NWVlYmFkOTg2NA==\",\"name\":\"NDA2OTY3OTktYTcwYi00YjQ4LWJiZjItY2U4OTNhOWY1MzY3Ozc4ZDViZjlmLWI2ZTEtNGM4YS04MGE4LWI4NWVlYmFkOTg2NA==\",\"status\":\"Succeeded\",\"startTime\":\"2023-12-25T04:54:47.6420159Z\",\"endTime\":\"2023-12-25T04:54:48Z\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01+3": { + "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "343" ], - "x-ms-client-request-id": [ "4d613814-72a8-4627-8ae6-5773f7ef0b9d" ], + "x-ms-unique-id": [ "210" ], + "x-ms-client-request-id": [ "6e91f0f4-be8b-47da-9a85-d2a8fd12504a" ], "CommandName": [ "Az.DataProtection.Internal\\New-AzDataProtectionBackupVault" ], "FullCommandName": [ "New-AzDataProtectionBackupVault_CreateExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -404,33 +404,33 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "496" ], - "x-ms-correlation-request-id": [ "b4cc1e94-633c-421b-8149-c5dbae6b75fa" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141101Z:b4cc1e94-633c-421b-8149-c5dbae6b75fa" ], - "Date": [ "Mon, 28 Aug 2023 14:11:00 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "494" ], + "x-ms-correlation-request-id": [ "ef829298-e39f-4ee6-a0aa-496e5701aee4" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045459Z:ef829298-e39f-4ee6-a0aa-496e5701aee4" ], + "Date": [ "Mon, 25 Dec 2023 04:54:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "786" ], + "Content-Length": [ "809" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"88476969-8492-49cc-813b-eb4be42f5f5f\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":100.0},\"immutabilitySettings\":{\"state\":\"Unlocked\"}},\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"Minimum\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault\",\"name\":\"new-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"f00e880a-c13b-40f3-9464-57207cb65977\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":100.0},\"immutabilitySettings\":{\"state\":\"Unlocked\"}},\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"Minimum\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault\",\"name\":\"new-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01+4": { + "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "344" ], - "x-ms-client-request-id": [ "8be88e19-ae41-4829-a7c1-6cf4a920c88e" ], + "x-ms-unique-id": [ "211" ], + "x-ms-client-request-id": [ "226929f5-7bfb-46de-b32c-814509d8bb02" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -446,24 +446,24 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "495" ], - "x-ms-correlation-request-id": [ "fec5fec7-dbce-4ce5-a1cb-80a72676ca20" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141101Z:fec5fec7-dbce-4ce5-a1cb-80a72676ca20" ], - "Date": [ "Mon, 28 Aug 2023 14:11:01 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "493" ], + "x-ms-correlation-request-id": [ "e955cc05-cd55-41fc-9519-74381b81afe5" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045500Z:e955cc05-cd55-41fc-9519-74381b81afe5" ], + "Date": [ "Mon, 25 Dec 2023 04:54:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "786" ], + "Content-Length": [ "809" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"88476969-8492-49cc-813b-eb4be42f5f5f\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":100.0},\"immutabilitySettings\":{\"state\":\"Unlocked\"}},\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"Minimum\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault\",\"name\":\"new-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"f00e880a-c13b-40f3-9464-57207cb65977\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":100.0},\"immutabilitySettings\":{\"state\":\"Unlocked\"}},\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"Minimum\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault\",\"name\":\"new-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$PATCH+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01+5": { + "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$PATCH+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01+5": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01", "Content": "{\r\n \"properties\": {\r\n \"securitySettings\": {\r\n \"softDeleteSettings\": {\r\n \"state\": \"Off\",\r\n \"retentionDurationInDays\": 99\r\n },\r\n \"immutabilitySettings\": {\r\n \"state\": \"Disabled\"\r\n }\r\n },\r\n \"featureSettings\": {\r\n \"crossSubscriptionRestoreSettings\": {\r\n \"state\": \"Disabled\"\r\n }\r\n }\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -478,39 +478,39 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-arm-resource-system-data": [ "{\"lastModifiedBy\":\"hiaga@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-08-28T14:11:02.6424377Z\"}" ], + "x-ms-arm-resource-system-data": [ "{\"lastModifiedBy\":\"hiaga@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-12-25T04:55:00.7662063Z\"}" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "97" ], - "x-ms-correlation-request-id": [ "d8cf8a2b-1f18-4e32-8513-836f8c5dbe31" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141102Z:d8cf8a2b-1f18-4e32-8513-836f8c5dbe31" ], - "Date": [ "Mon, 28 Aug 2023 14:11:02 GMT" ] + "x-ms-correlation-request-id": [ "d10a1633-3fd1-434b-96b1-6200ffce1019" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045501Z:d10a1633-3fd1-434b-96b1-6200ffce1019" ], + "Date": [ "Mon, 25 Dec 2023 04:55:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "784" ], + "Content-Length": [ "807" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"88476969-8492-49cc-813b-eb4be42f5f5f\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"Off\",\"retentionDurationInDays\":99.0},\"immutabilitySettings\":{\"state\":\"Disabled\"}},\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Disabled\"}},\"secureScore\":\"None\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault\",\"name\":\"new-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"centraluseuap\",\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"f00e880a-c13b-40f3-9464-57207cb65977\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"Off\",\"retentionDurationInDays\":99.0},\"immutabilitySettings\":{\"state\":\"Disabled\"}},\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Disabled\"}},\"secureScore\":\"None\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault\",\"name\":\"new-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$DELETE+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01+6": { + "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$DELETE+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01+6": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/backupVaults/new-pstest-vault?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "346" ], - "x-ms-client-request-id": [ "078cbbc7-5491-48af-9356-1060eaf09682" ], + "x-ms-unique-id": [ "213" ], + "x-ms-client-request-id": [ "59eb31fa-d137-4588-a40e-c9b9ba2867ea" ], "CommandName": [ "Remove-AzDataProtectionBackupVault" ], "FullCommandName": [ "Remove-AzDataProtectionBackupVault_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -521,17 +521,17 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/NTY2MTQ0MDMtNTlmNi00YzU3LWE0ODYtNzVkZmM0ZTYwZjQyOzM3MDM4NmM5LWQ3NjctNDBlMy1iZmNkLWI1Y2Y1MTExMDJkYQ==?api-version=2023-05-01\u0026t=2023-08-28T14%3a11%3a04\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=ZHzHxVZlAgFcshQvF3O5LXAz1oIApjG5z-WDYEXVzE2gZdT2S4VCN_z2epShvYRhCp0_9sP1Ul6rEhjppmFZQ6pjuMToFpkBScYSp_nymGsBzGy-2CplvamvQ0yuYTi-P5m4yrP1s96elrZUG6FTa-gJb8trezC3xu3SifwJoqx4TJnE3Ml9FCDz8F9epYJ47ydcoS-Shfd-VwLcCbCWz4-3xq5P4ms0U-wkMBNgVo7T1Lh-g0cEntecstNulZdBo7tNGyzgrwocTKGR2-TLDoW85py86F7yju8ytx0HhGr3-EN4wPZhFzE0d4oAxVHpeHY7szlxuVIcdGUBZBK84w\u0026h=u1-M_u0mIMQZ9VgkFktgpGYiERgQPmqlc5Y4XQx2Ul0" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/NDA2OTY3OTktYTcwYi00YjQ4LWJiZjItY2U4OTNhOWY1MzY3OzNhNGY0YTk3LTVjZjItNGQ3OS1iMzBhLTJjZWEyY2NkZmE0ZA==?api-version=2023-11-01\u0026t=638390769025318783\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=s5vVSQl_LVkSKtEo-aijvXRmYE9vGLZ6P20tNxUgiXPlJhSoPjxQN9MK87ISHrrZSFpiIDr2NaSb3FqLVpzRF9yrl7_K-YGYkYa5wTOFvAGdhT0NGm2L3ZnsCr7XIlKHZRcavRxvzSavFAXmUhlXawZnyHKGM2mLmJE4yH5TsCJekxPhA0eCtmTMkinxX8KVeTQi8HbkdjeFgYcPXxaXkEAhMzqa4Q-cnJ5ikr2JfKhsr22VFg7hTRYDYdiHGUBgwvPK-nw2ANYd19XJNtg_Fmzayftw_qt0FahLhHX8bXA3yce4ASsxRQag44a89jR8WBOEpifJIN7-d0gDT-rBnw\u0026h=w-NcS6HWxtp2triyEnIEkDxGJ2Rr46HQUWMTxMtW2NM" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/NTY2MTQ0MDMtNTlmNi00YzU3LWE0ODYtNzVkZmM0ZTYwZjQyOzM3MDM4NmM5LWQ3NjctNDBlMy1iZmNkLWI1Y2Y1MTExMDJkYQ==?api-version=2023-05-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/NDA2OTY3OTktYTcwYi00YjQ4LWJiZjItY2U4OTNhOWY1MzY3OzNhNGY0YTk3LTVjZjItNGQ3OS1iMzBhLTJjZWEyY2NkZmE0ZA==?api-version=2023-11-01" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "98" ], - "x-ms-correlation-request-id": [ "cdaac8e5-23bc-44c2-a0b3-1252f4ca4ab8" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141104Z:cdaac8e5-23bc-44c2-a0b3-1252f4ca4ab8" ], - "Date": [ "Mon, 28 Aug 2023 14:11:03 GMT" ] + "x-ms-correlation-request-id": [ "420f0b81-6b39-44dc-994a-ef3344385470" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045502Z:420f0b81-6b39-44dc-994a-ef3344385470" ], + "Date": [ "Mon, 25 Dec 2023 04:55:02 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -541,20 +541,20 @@ "isContentBase64": false } }, - "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/NTY2MTQ0MDMtNTlmNi00YzU3LWE0ODYtNzVkZmM0ZTYwZjQyOzM3MDM4NmM5LWQ3NjctNDBlMy1iZmNkLWI1Y2Y1MTExMDJkYQ==?api-version=2023-05-01+7": { + "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/NDA2OTY3OTktYTcwYi00YjQ4LWJiZjItY2U4OTNhOWY1MzY3OzNhNGY0YTk3LTVjZjItNGQ3OS1iMzBhLTJjZWEyY2NkZmE0ZA==?api-version=2023-11-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/NTY2MTQ0MDMtNTlmNi00YzU3LWE0ODYtNzVkZmM0ZTYwZjQyOzM3MDM4NmM5LWQ3NjctNDBlMy1iZmNkLWI1Y2Y1MTExMDJkYQ==?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/NDA2OTY3OTktYTcwYi00YjQ4LWJiZjItY2U4OTNhOWY1MzY3OzNhNGY0YTk3LTVjZjItNGQ3OS1iMzBhLTJjZWEyY2NkZmE0ZA==?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "347" ], - "x-ms-client-request-id": [ "078cbbc7-5491-48af-9356-1060eaf09682" ], + "x-ms-unique-id": [ "214" ], + "x-ms-client-request-id": [ "59eb31fa-d137-4588-a40e-c9b9ba2867ea" ], "CommandName": [ "Remove-AzDataProtectionBackupVault" ], "FullCommandName": [ "Remove-AzDataProtectionBackupVault_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -570,33 +570,33 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "14998" ], - "x-ms-correlation-request-id": [ "acc9ed31-3265-4817-ba1b-6b930e2ee6bc" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141134Z:acc9ed31-3265-4817-ba1b-6b930e2ee6bc" ], - "Date": [ "Mon, 28 Aug 2023 14:11:34 GMT" ] + "x-ms-correlation-request-id": [ "3b223e6e-b74b-4018-903b-207ecd0d086f" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045532Z:3b223e6e-b74b-4018-903b-207ecd0d086f" ], + "Date": [ "Mon, 25 Dec 2023 04:55:32 GMT" ] }, "ContentHeaders": { "Content-Length": [ "468" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/NTY2MTQ0MDMtNTlmNi00YzU3LWE0ODYtNzVkZmM0ZTYwZjQyOzM3MDM4NmM5LWQ3NjctNDBlMy1iZmNkLWI1Y2Y1MTExMDJkYQ==\",\"name\":\"NTY2MTQ0MDMtNTlmNi00YzU3LWE0ODYtNzVkZmM0ZTYwZjQyOzM3MDM4NmM5LWQ3NjctNDBlMy1iZmNkLWI1Y2Y1MTExMDJkYQ==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-28T14:11:04.1002535Z\",\"endTime\":\"2023-08-28T14:11:04Z\"}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/sarath-rg/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/NDA2OTY3OTktYTcwYi00YjQ4LWJiZjItY2U4OTNhOWY1MzY3OzNhNGY0YTk3LTVjZjItNGQ3OS1iMzBhLTJjZWEyY2NkZmE0ZA==\",\"name\":\"NDA2OTY3OTktYTcwYi00YjQ4LWJiZjItY2U4OTNhOWY1MzY3OzNhNGY0YTk3LTVjZjItNGQ3OS1iMzBhLTJjZWEyY2NkZmE0ZA==\",\"status\":\"Succeeded\",\"startTime\":\"2023-12-25T04:55:02.3146782Z\",\"endTime\":\"2023-12-25T04:55:02Z\"}", "isContentBase64": false } }, - "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/NTY2MTQ0MDMtNTlmNi00YzU3LWE0ODYtNzVkZmM0ZTYwZjQyOzM3MDM4NmM5LWQ3NjctNDBlMy1iZmNkLWI1Y2Y1MTExMDJkYQ==?api-version=2023-05-01\u0026t=2023-08-28T14%3a11%3a04\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=ZHzHxVZlAgFcshQvF3O5LXAz1oIApjG5z-WDYEXVzE2gZdT2S4VCN_z2epShvYRhCp0_9sP1Ul6rEhjppmFZQ6pjuMToFpkBScYSp_nymGsBzGy-2CplvamvQ0yuYTi-P5m4yrP1s96elrZUG6FTa-gJb8trezC3xu3SifwJoqx4TJnE3Ml9FCDz8F9epYJ47ydcoS-Shfd-VwLcCbCWz4-3xq5P4ms0U-wkMBNgVo7T1Lh-g0cEntecstNulZdBo7tNGyzgrwocTKGR2-TLDoW85py86F7yju8ytx0HhGr3-EN4wPZhFzE0d4oAxVHpeHY7szlxuVIcdGUBZBK84w\u0026h=u1-M_u0mIMQZ9VgkFktgpGYiERgQPmqlc5Y4XQx2Ul0+8": { + "New-AzDataProtectionBackupVault+[NoContext]+ImmutabilityCSRSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/NDA2OTY3OTktYTcwYi00YjQ4LWJiZjItY2U4OTNhOWY1MzY3OzNhNGY0YTk3LTVjZjItNGQ3OS1iMzBhLTJjZWEyY2NkZmE0ZA==?api-version=2023-11-01\u0026t=638390769025318783\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=s5vVSQl_LVkSKtEo-aijvXRmYE9vGLZ6P20tNxUgiXPlJhSoPjxQN9MK87ISHrrZSFpiIDr2NaSb3FqLVpzRF9yrl7_K-YGYkYa5wTOFvAGdhT0NGm2L3ZnsCr7XIlKHZRcavRxvzSavFAXmUhlXawZnyHKGM2mLmJE4yH5TsCJekxPhA0eCtmTMkinxX8KVeTQi8HbkdjeFgYcPXxaXkEAhMzqa4Q-cnJ5ikr2JfKhsr22VFg7hTRYDYdiHGUBgwvPK-nw2ANYd19XJNtg_Fmzayftw_qt0FahLhHX8bXA3yce4ASsxRQag44a89jR8WBOEpifJIN7-d0gDT-rBnw\u0026h=w-NcS6HWxtp2triyEnIEkDxGJ2Rr46HQUWMTxMtW2NM+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/NTY2MTQ0MDMtNTlmNi00YzU3LWE0ODYtNzVkZmM0ZTYwZjQyOzM3MDM4NmM5LWQ3NjctNDBlMy1iZmNkLWI1Y2Y1MTExMDJkYQ==?api-version=2023-05-01\u0026t=2023-08-28T14%3a11%3a04\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=ZHzHxVZlAgFcshQvF3O5LXAz1oIApjG5z-WDYEXVzE2gZdT2S4VCN_z2epShvYRhCp0_9sP1Ul6rEhjppmFZQ6pjuMToFpkBScYSp_nymGsBzGy-2CplvamvQ0yuYTi-P5m4yrP1s96elrZUG6FTa-gJb8trezC3xu3SifwJoqx4TJnE3Ml9FCDz8F9epYJ47ydcoS-Shfd-VwLcCbCWz4-3xq5P4ms0U-wkMBNgVo7T1Lh-g0cEntecstNulZdBo7tNGyzgrwocTKGR2-TLDoW85py86F7yju8ytx0HhGr3-EN4wPZhFzE0d4oAxVHpeHY7szlxuVIcdGUBZBK84w\u0026h=u1-M_u0mIMQZ9VgkFktgpGYiERgQPmqlc5Y4XQx2Ul0", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/NDA2OTY3OTktYTcwYi00YjQ4LWJiZjItY2U4OTNhOWY1MzY3OzNhNGY0YTk3LTVjZjItNGQ3OS1iMzBhLTJjZWEyY2NkZmE0ZA==?api-version=2023-11-01\u0026t=638390769025318783\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=s5vVSQl_LVkSKtEo-aijvXRmYE9vGLZ6P20tNxUgiXPlJhSoPjxQN9MK87ISHrrZSFpiIDr2NaSb3FqLVpzRF9yrl7_K-YGYkYa5wTOFvAGdhT0NGm2L3ZnsCr7XIlKHZRcavRxvzSavFAXmUhlXawZnyHKGM2mLmJE4yH5TsCJekxPhA0eCtmTMkinxX8KVeTQi8HbkdjeFgYcPXxaXkEAhMzqa4Q-cnJ5ikr2JfKhsr22VFg7hTRYDYdiHGUBgwvPK-nw2ANYd19XJNtg_Fmzayftw_qt0FahLhHX8bXA3yce4ASsxRQag44a89jR8WBOEpifJIN7-d0gDT-rBnw\u0026h=w-NcS6HWxtp2triyEnIEkDxGJ2Rr46HQUWMTxMtW2NM", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "348" ], - "x-ms-client-request-id": [ "078cbbc7-5491-48af-9356-1060eaf09682" ], + "x-ms-unique-id": [ "215" ], + "x-ms-client-request-id": [ "59eb31fa-d137-4588-a40e-c9b9ba2867ea" ], "CommandName": [ "Remove-AzDataProtectionBackupVault" ], "FullCommandName": [ "Remove-AzDataProtectionBackupVault_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -607,16 +607,16 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/NTY2MTQ0MDMtNTlmNi00YzU3LWE0ODYtNzVkZmM0ZTYwZjQyOzM3MDM4NmM5LWQ3NjctNDBlMy1iZmNkLWI1Y2Y1MTExMDJkYQ==?api-version=2023-05-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/NDA2OTY3OTktYTcwYi00YjQ4LWJiZjItY2U4OTNhOWY1MzY3OzNhNGY0YTk3LTVjZjItNGQ3OS1iMzBhLTJjZWEyY2NkZmE0ZA==?api-version=2023-11-01" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], - "x-ms-correlation-request-id": [ "b6b52455-3f64-48e5-819d-fb4f7897281d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141135Z:b6b52455-3f64-48e5-819d-fb4f7897281d" ], - "Date": [ "Mon, 28 Aug 2023 14:11:34 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "194" ], + "x-ms-correlation-request-id": [ "ca2b2bfb-95cc-462f-a2d4-af1ba6079998" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045533Z:ca2b2bfb-95cc-462f-a2d4-af1ba6079998" ], + "Date": [ "Mon, 25 Dec 2023 04:55:33 GMT" ] }, "ContentHeaders": { "Content-Length": [ "41" ], diff --git a/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionResourceGuard.Recording.json b/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionResourceGuard.Recording.json index 0c4a53cc37df..dc7ffda053d6 100644 --- a/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionResourceGuard.Recording.json +++ b/src/DataProtection/DataProtection.Autorest/test/New-AzDataProtectionResourceGuard.Recording.json @@ -1,9 +1,9 @@ { - "New-AzDataProtectionResourceGuard+[NoContext]+PutExpanded+$PUT+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard?api-version=2023-05-01+1": { + "New-AzDataProtectionResourceGuard+[NoContext]+PutExpanded+$PUT+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard?api-version=2023-11-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard?api-version=2023-05-01", - "Content": "{\r\n \"location\": \"centraluseuap\",\r\n \"tags\": {\r\n \"Purpose\": \"testing\",\r\n \"MABUsed\": \"Yes\",\r\n \"DeleteBy\": \"01-2099\",\r\n \"Owner\": \"hiaga\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard?api-version=2023-11-01", + "Content": "{\r\n \"location\": \"centraluseuap\",\r\n \"tags\": {\r\n \"Purpose\": \"testing\",\r\n \"DeleteBy\": \"01-2099\",\r\n \"MABUsed\": \"Yes\",\r\n \"Owner\": \"hiaga\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -23,32 +23,32 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], - "x-ms-correlation-request-id": [ "3ef81690-5050-4490-be65-9edbcf376ea9" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141146Z:3ef81690-5050-4490-be65-9edbcf376ea9" ], - "Date": [ "Mon, 28 Aug 2023 14:11:45 GMT" ] + "x-ms-correlation-request-id": [ "86a90be5-d7ea-4b33-828a-f5078a89c522" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045541Z:86a90be5-d7ea-4b33-828a-f5078a89c522" ], + "Date": [ "Mon, 25 Dec 2023 04:55:41 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2005" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"Purpose\":\"testing\",\"MABUsed\":\"Yes\",\"DeleteBy\":\"01-2099\",\"Owner\":\"hiaga\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"resourceGuardOperations\":[{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/delete\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/deleteProtectedItemRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/write\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/updateProtectedItemRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupPolicies/write\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/updateProtectionPolicyRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupResourceGuardProxies/delete\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupSecurityPIN/action\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/getBackupSecurityPINRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupconfig/write\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\"}],\"vaultCriticalOperationExclusionList\":[],\"allowAutoApprovals\":true},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard\",\"name\":\"pstest-resourceguard\",\"type\":\"Microsoft.DataProtection/resourceGuards\"}", + "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"Purpose\":\"testing\",\"DeleteBy\":\"01-2099\",\"MABUsed\":\"Yes\",\"Owner\":\"hiaga\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"resourceGuardOperations\":[{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/delete\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/deleteProtectedItemRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/write\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/updateProtectedItemRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupPolicies/write\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/updateProtectionPolicyRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupResourceGuardProxies/delete\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupSecurityPIN/action\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/getBackupSecurityPINRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupconfig/write\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\"}],\"vaultCriticalOperationExclusionList\":[],\"allowAutoApprovals\":true},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard\",\"name\":\"pstest-resourceguard\",\"type\":\"Microsoft.DataProtection/resourceGuards\"}", "isContentBase64": false } }, - "New-AzDataProtectionResourceGuard+[NoContext]+PutExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard?api-version=2023-05-01+2": { + "New-AzDataProtectionResourceGuard+[NoContext]+PutExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard?api-version=2023-11-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "350" ], - "x-ms-client-request-id": [ "ef525fb4-4797-41c5-a396-3d51e41a306e" ], + "x-ms-unique-id": [ "217" ], + "x-ms-client-request-id": [ "b378af35-6330-41c7-8ad3-1905ecfa7a9b" ], "CommandName": [ "Get-AzDataProtectionResourceGuard" ], "FullCommandName": [ "Get-AzDataProtectionResourceGuard_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -65,32 +65,32 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "x-ms-correlation-request-id": [ "4132c0ce-a95f-4a5f-99f4-fc51fcf7200d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141146Z:4132c0ce-a95f-4a5f-99f4-fc51fcf7200d" ], - "Date": [ "Mon, 28 Aug 2023 14:11:46 GMT" ] + "x-ms-correlation-request-id": [ "0c3faceb-a8f2-44ed-bbe7-33896715186b" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045542Z:0c3faceb-a8f2-44ed-bbe7-33896715186b" ], + "Date": [ "Mon, 25 Dec 2023 04:55:42 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2005" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"Purpose\":\"testing\",\"MABUsed\":\"Yes\",\"DeleteBy\":\"01-2099\",\"Owner\":\"hiaga\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"resourceGuardOperations\":[{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/delete\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/deleteProtectedItemRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/write\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/updateProtectedItemRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupPolicies/write\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/updateProtectionPolicyRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupResourceGuardProxies/delete\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupSecurityPIN/action\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/getBackupSecurityPINRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupconfig/write\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\"}],\"vaultCriticalOperationExclusionList\":[],\"allowAutoApprovals\":true},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard\",\"name\":\"pstest-resourceguard\",\"type\":\"Microsoft.DataProtection/resourceGuards\"}", + "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"Purpose\":\"testing\",\"DeleteBy\":\"01-2099\",\"MABUsed\":\"Yes\",\"Owner\":\"hiaga\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"resourceGuardOperations\":[{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/delete\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/deleteProtectedItemRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems/write\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/updateProtectedItemRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupPolicies/write\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/updateProtectionPolicyRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupResourceGuardProxies/delete\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/deleteResourceGuardProxyRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupSecurityPIN/action\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/getBackupSecurityPINRequests\"},{\"vaultCriticalOperation\":\"Microsoft.RecoveryServices/vaults/backupconfig/write\",\"requestResourceType\":\"Microsoft.DataProtection/resourceGuards/disableSoftDeleteRequests\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\",\"requestResourceType\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\"}],\"vaultCriticalOperationExclusionList\":[],\"allowAutoApprovals\":true},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard\",\"name\":\"pstest-resourceguard\",\"type\":\"Microsoft.DataProtection/resourceGuards\"}", "isContentBase64": false } }, - "New-AzDataProtectionResourceGuard+[NoContext]+PutExpanded+$DELETE+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard?api-version=2023-05-01+3": { + "New-AzDataProtectionResourceGuard+[NoContext]+PutExpanded+$DELETE+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard?api-version=2023-11-01+3": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards/pstest-resourceguard?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "351" ], - "x-ms-client-request-id": [ "053f4c6b-42d9-4731-a89d-e0cc465f9e5c" ], + "x-ms-unique-id": [ "218" ], + "x-ms-client-request-id": [ "b52e9fcc-d399-4f5b-9bef-dd5aa5cf1c82" ], "CommandName": [ "Remove-AzDataProtectionResourceGuard" ], "FullCommandName": [ "Remove-AzDataProtectionResourceGuard_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -106,9 +106,9 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], - "x-ms-correlation-request-id": [ "74fa1229-9ecb-486f-b8c1-b4b542e7c653" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141150Z:74fa1229-9ecb-486f-b8c1-b4b542e7c653" ], - "Date": [ "Mon, 28 Aug 2023 14:11:50 GMT" ] + "x-ms-correlation-request-id": [ "061be9f2-e83a-41d8-882e-042e40625d4d" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045545Z:061be9f2-e83a-41d8-882e-042e40625d4d" ], + "Date": [ "Mon, 25 Dec 2023 04:55:45 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -118,19 +118,19 @@ "isContentBase64": false } }, - "New-AzDataProtectionResourceGuard+[NoContext]+PutExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards?api-version=2023-05-01+4": { + "New-AzDataProtectionResourceGuard+[NoContext]+PutExpanded+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards?api-version=2023-11-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/resourceGuards?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "352" ], - "x-ms-client-request-id": [ "853bea87-8924-48f4-8f82-f6475ba69c8e" ], + "x-ms-unique-id": [ "219" ], + "x-ms-client-request-id": [ "526ac077-0238-4ccd-9fab-02190559db71" ], "CommandName": [ "Get-AzDataProtectionResourceGuard" ], "FullCommandName": [ "Get-AzDataProtectionResourceGuard_Get1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -147,9 +147,9 @@ "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "998" ], - "x-ms-correlation-request-id": [ "a58baacd-fdde-443d-92c1-e17d71dfcac7" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141151Z:a58baacd-fdde-443d-92c1-e17d71dfcac7" ], - "Date": [ "Mon, 28 Aug 2023 14:11:50 GMT" ] + "x-ms-correlation-request-id": [ "474717de-a7e4-4e47-bda6-6c4d28fa8848" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045547Z:474717de-a7e4-4e47-bda6-6c4d28fa8848" ], + "Date": [ "Mon, 25 Dec 2023 04:55:46 GMT" ] }, "ContentHeaders": { "Content-Length": [ "3863" ], diff --git a/src/DataProtection/DataProtection.Autorest/test/Search-AzDataProtectionBackupVaultInAzGraph.Tests.ps1 b/src/DataProtection/DataProtection.Autorest/test/Search-AzDataProtectionBackupVaultInAzGraph.Tests.ps1 new file mode 100644 index 000000000000..14ec86303691 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/test/Search-AzDataProtectionBackupVaultInAzGraph.Tests.ps1 @@ -0,0 +1,28 @@ +if(($null -eq $TestName) -or ($TestName -contains 'Search-AzDataProtectionBackupVaultInAzGraph')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'Search-AzDataProtectionBackupVaultInAzGraph.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'Search-AzDataProtectionBackupVaultInAzGraph' -Tag 'LiveOnly' { + It '__AllParameterSets' { + $resourceGroupName = $env.TestCrossRegionRestoreScenario.ResourceGroupName + $vaultName = $env.TestCrossRegionRestoreScenario.VaultName + $subscriptionId = $env.TestCrossRegionRestoreScenario.SubscriptionId + + $vault = Search-AzDataProtectionBackupVaultInAzGraph -ResourceGroup $resourceGroupName -Subscription $subscriptionId -Vault $vaultName + + ($vault -ne $null) | Should be $true + ($vault.Name -eq $vaultName) | Should be $true + } +} diff --git a/src/DataProtection/DataProtection.Autorest/test/Set-AzDataProtectionMSIPermission.Tests.ps1 b/src/DataProtection/DataProtection.Autorest/test/Set-AzDataProtectionMSIPermission.Tests.ps1 index 6c08160ccbbf..de87c56feca3 100644 --- a/src/DataProtection/DataProtection.Autorest/test/Set-AzDataProtectionMSIPermission.Tests.ps1 +++ b/src/DataProtection/DataProtection.Autorest/test/Set-AzDataProtectionMSIPermission.Tests.ps1 @@ -24,61 +24,61 @@ Describe 'Set-AzDataProtectionMSIPermission' { $DiskPolicyName = $env.TestGrantPermission.DiskPolicyName $Diskrg = $env.TestGrantPermission.Diskrg - $sub = (Get-AzContext).Subscription.Id + $sub = (Get-AzContext).Subscription.Id Set-AzContext -SubscriptionId $SubscriptionId - $TestBkpVault = Get-AzDataProtectionBackupVault -ResourceGroupName $VaultRG -VaultName $VaultName - + $TestBkpVault = Get-AzDataProtectionBackupVault -ResourceGroupName $VaultRG -VaultName $VaultName + $policyDefn = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDisk New-AzDataProtectionBackupPolicy -ResourceGroupName $VaultRG -VaultName $TestBkpVault.Name -Name $DiskPolicyName -Policy $policyDefn $diskBkpPol = Get-AzDataProtectionBackupPolicy -ResourceGroupName $VaultRG -VaultName $TestBkpVault.Name -Name $DiskPolicyName - + $instance = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureDisk -DatasourceLocation $TestBkpvault.Location -PolicyId $diskBkpPol[0].Id -DatasourceId $DiskId $instance.Property.PolicyInfo.PolicyParameter.DataStoreParametersList[0].ResourceGroupId = $Snapshotrg - + #Validation should fail try {Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName $VaultRG -VaultName $TestBkpVault.Name -BackupInstance $instance[0].Property} - + catch - { + { $err = $_ $check = $err.Exception.Message.Contains("permissions") ($check -eq $true) | Should be $true Set-AzDataProtectionMSIPermission -BackupInstance $instance -VaultResourceGroup $VaultRG -VaultName $TestBkpVault.Name -PermissionsScope "ResourceGroup" #Validation should succeed - Start-TestSleep -Seconds 30 + Start-Sleep -Seconds 30 $After = Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName $VaultRG -VaultName $TestBkpVault.Name -BackupInstance $instance[0].Property ($After -ne $null) | Should be $true Remove-AzRoleAssignment -ObjectId $TestBkpVault.IdentityPrincipalId -RoleDefinitionName "Disk Backup Reader" -Scope $Diskrg - } + } Set-AzContext -SubscriptionId $sub } It 'BlobGrantPermission' -skip { $VaultName = $env.TestGrantPermission.VaultName $VaultRG = $env.TestGrantPermission.VaultRG - $BlobPolicyName = $env.TestGrantPermission.BlobPolicyName + $BlobPolicyName = $env.TestGrantPermission.BlobPolicyName $BlobId = $env.TestGrantPermission.BlobId $Blobrg = $env.TestGrantPermission.Blobrg $SubscriptionId = $env.TestGrantPermission.SubscriptionId - $sub = (Get-AzContext).Subscription.Id + $sub = (Get-AzContext).Subscription.Id Set-AzContext -SubscriptionId $SubscriptionId $TestBkpVault = Get-AzDataProtectionBackupVault -ResourceGroupName $VaultRG -VaultName $VaultName - + $policyDefn = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureBlob - + New-AzDataProtectionBackupPolicy -ResourceGroupName $VaultRG -VaultName $TestBkpVault.Name -Name blobBkpPolicy -Policy $policyDefn $blobBkpPol = Get-AzDataProtectionBackupPolicy -ResourceGroupName $VaultRG -VaultName $TestBkpVault.Name -Name $BlobPolicyName $instance = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureBlob -DatasourceLocation $TestBkpvault.Location -PolicyId $blobBkpPol[0].Id -DatasourceId $BlobId - + #Validation should fail try {Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName $VaultRG -VaultName $TestBkpVault.Name -BackupInstance $instance[0].Property} @@ -88,9 +88,9 @@ Describe 'Set-AzDataProtectionMSIPermission' { $check = $err.Exception.Message.Contains("permissions") ($check -eq $true) | Should be $true - Set-AzDataProtectionMSIPermission -BackupInstance $instance -VaultResourceGroup $VaultRG -VaultName $TestBkpVault.Name -PermissionsScope "ResourceGroup" + Set-AzDataProtectionMSIPermission -BackupInstance $instance -VaultResourceGroup $VaultRG -VaultName $TestBkpVault.Name -PermissionsScope "ResourceGroup" - Start-TestSleep -Seconds 30 + Start-Sleep -Seconds 30 #Validation should succeed $After = Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName $VaultRG -VaultName $TestBkpVault.Name -BackupInstance $instance[0].Property ($After -ne $null) | Should be $true @@ -111,16 +111,16 @@ Describe 'Set-AzDataProtectionMSIPermission' { $ossrg = $env.TestGrantPermission.Ossrg $SubscriptionId = $env.TestGrantPermission.SubscriptionId - $sub = (Get-AzContext).Subscription.Id + $sub = (Get-AzContext).Subscription.Id Set-AzContext -SubscriptionId $SubscriptionId $TestBkpVault = Get-AzDataProtectionBackupVault -ResourceGroupName $VaultRG -VaultName $VaultName - + $policyDefn = Get-AzDataProtectionPolicyTemplate -DatasourceType AzureDatabaseForPostgreSQL $polOss = New-AzDataProtectionBackupPolicy -ResourceGroupName $VaultRG -VaultName $VaultName -Name $OssPolicyName -Policy $policyDefn - $instance = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureDatabaseForPostgreSQL -DatasourceLocation $TestBkpvault.Location -PolicyId $polOss[0].Id -DatasourceId $ossId -SecretStoreURI $keyURI -SecretStoreType AzureKeyVault - + $instance = Initialize-AzDataProtectionBackupInstance -DatasourceType AzureDatabaseForPostgreSQL -DatasourceLocation $TestBkpvault.Location -PolicyId $polOss[0].Id -DatasourceId $ossId -SecretStoreURI $keyURI -SecretStoreType AzureKeyVault + #Validation should fail try { @@ -132,10 +132,10 @@ Describe 'Set-AzDataProtectionMSIPermission' { $err = $_ $check = $err.Exception.Message.Contains("permissions") ($check -eq $true) | Should be $true - + Set-AzDataProtectionMSIPermission -KeyVaultId $KeyVaultId -BackupInstance $instance -VaultResourceGroup $VaultRG -VaultName $TestBkpVault.Name -PermissionsScope "ResourceGroup" -Confirm:$false - - Start-TestSleep -Seconds 30 + + Start-Sleep -Seconds 30 $After = Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName $VaultRG -VaultName $TestBkpVault.Name -BackupInstance $instance[0].Property ($After -ne $null) | Should be $true diff --git a/src/DataProtection/DataProtection.Autorest/test/Start-AzDataProtectionBackupInstanceRestore.Recording.json b/src/DataProtection/DataProtection.Autorest/test/Start-AzDataProtectionBackupInstanceRestore.Recording.json index 15be450d19d5..3060692766e2 100644 --- a/src/DataProtection/DataProtection.Autorest/test/Start-AzDataProtectionBackupInstanceRestore.Recording.json +++ b/src/DataProtection/DataProtection.Autorest/test/Start-AzDataProtectionBackupInstanceRestore.Recording.json @@ -1,17 +1,17 @@ { - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault?api-version=2023-05-01+1": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault?api-version=2023-11-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "353" ], - "x-ms-client-request-id": [ "5f3553f2-93ed-4929-babf-acdb80541318" ], + "x-ms-unique-id": [ "220" ], + "x-ms-client-request-id": [ "5a73b374-5004-48f0-94fe-eb7a11da0893" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,37 +22,37 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "496" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "497" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "d84d67ba-ba3c-415c-a6ed-f3908b86b7b5" ], - "x-ms-correlation-request-id": [ "d84d67ba-ba3c-415c-a6ed-f3908b86b7b5" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141205Z:d84d67ba-ba3c-415c-a6ed-f3908b86b7b5" ], + "x-ms-request-id": [ "bbc6fb53-6a2f-435a-9661-7baea67048af" ], + "x-ms-correlation-request-id": [ "bbc6fb53-6a2f-435a-9661-7baea67048af" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045603Z:bbc6fb53-6a2f-435a-9661-7baea67048af" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:12:05 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:56:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "801" ], + "Content-Length": [ "824" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"eastus2euap\",\"tags\":{\"IsMabUsed\":\"Yes\",\"MabUsed\":\"Yes\",\"Mab Used\":\"yes\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"0e5d72a9-f545-4e56-9f89-e1bbdcddf2db\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"OFF\",\"retentionDurationInDays\":14.0}},\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"None\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/CSRTestRg/providers/Microsoft.DataProtection/BackupVaults/CSRPortalTestVault\",\"name\":\"CSRPortalTestVault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"eastus2euap\",\"tags\":{\"IsMabUsed\":\"Yes\",\"MabUsed\":\"Yes\",\"Mab Used\":\"yes\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"0e5d72a9-f545-4e56-9f89-e1bbdcddf2db\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"OFF\",\"retentionDurationInDays\":14.0}},\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"None\",\"replicatedRegions\":[]},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/CSRTestRg/providers/Microsoft.DataProtection/BackupVaults/CSRPortalTestVault\",\"name\":\"CSRPortalTestVault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances?api-version=2023-05-01+2": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances?api-version=2023-11-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "354" ], - "x-ms-client-request-id": [ "e8f5dd1b-dc3e-4547-83f2-67bb627597f9" ], + "x-ms-unique-id": [ "221" ], + "x-ms-client-request-id": [ "3dd4e9fb-b7ad-4211-9830-13130f0da733" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -63,14 +63,14 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1991" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1993" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "80194c24-4476-4a74-a378-a0e9364d7ca6" ], - "x-ms-correlation-request-id": [ "80194c24-4476-4a74-a378-a0e9364d7ca6" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141206Z:80194c24-4476-4a74-a378-a0e9364d7ca6" ], + "x-ms-request-id": [ "07f7b5b0-ff30-4778-a2d8-2fe90a7b499d" ], + "x-ms-correlation-request-id": [ "07f7b5b0-ff30-4778-a2d8-2fe90a7b499d" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045603Z:07f7b5b0-ff30-4778-a2d8-2fe90a7b499d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:12:05 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:56:03 GMT" ] }, "ContentHeaders": { "Content-Length": [ "5916" ], @@ -81,19 +81,19 @@ "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints?api-version=2023-05-01+3": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints?api-version=2023-11-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "355" ], - "x-ms-client-request-id": [ "727eaf3b-c3a7-4a69-af33-d0f3f2e3b25c" ], + "x-ms-unique-id": [ "222" ], + "x-ms-client-request-id": [ "9fe0afc0-e92b-42e7-895e-dd9bf9e4a626" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionRecoveryPoint" ], "FullCommandName": [ "Get-AzDataProtectionRecoveryPoint_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -104,35 +104,35 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "98" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "4881d5e1-f5b8-4a18-a555-d53f49acaf81" ], - "x-ms-correlation-request-id": [ "4881d5e1-f5b8-4a18-a555-d53f49acaf81" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141207Z:4881d5e1-f5b8-4a18-a555-d53f49acaf81" ], + "x-ms-request-id": [ "5e3bd8e6-2874-4992-ab22-61fd615a8330" ], + "x-ms-correlation-request-id": [ "5e3bd8e6-2874-4992-ab22-61fd615a8330" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045604Z:5e3bd8e6-2874-4992-ab22-61fd615a8330" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:12:06 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:56:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "15926" ], + "Content-Length": [ "14740" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"48399e201ee74ccc9ee01763823a0123\",\"recoveryPointTime\":\"2023-08-27T23:30:46.4323357Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"bdb373bd1da444d3ac5b85f51b35bb88\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-27T23:30:46.4323357Z\",\"expiryTime\":\"2023-11-27T23:30:46.4323357Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-27T23:30:46.4323357Z\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/48399e201ee74ccc9ee01763823a0123\",\"name\":\"48399e201ee74ccc9ee01763823a0123\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"fa4a6792de0a4c4d83f2f762a7470291\",\"recoveryPointTime\":\"2023-08-20T23:30:47.8443210Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"4fbe5210e27b4cf9b7904e81ef7c733e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-20T23:30:47.8443210Z\",\"expiryTime\":\"2023-11-20T23:30:47.8443210Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-20T23:30:47.844321Z\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/fa4a6792de0a4c4d83f2f762a7470291\",\"name\":\"fa4a6792de0a4c4d83f2f762a7470291\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4d3859ca3a7a46349ce3f4bd97b2841b\",\"recoveryPointTime\":\"2023-08-13T23:30:51.0224222Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"65de3c5ed1834a8ebc80ce5008736cb7\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-13T23:30:51.0224222Z\",\"expiryTime\":\"2023-11-13T23:30:51.0224222Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-13T23:30:51.0224222Z\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/4d3859ca3a7a46349ce3f4bd97b2841b\",\"name\":\"4d3859ca3a7a46349ce3f4bd97b2841b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"dc89fd4401c842ec82ad38168894f49b\",\"recoveryPointTime\":\"2023-08-06T23:30:50.8092056Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"f526c85f6aab4b0dbda234a466410ff4\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-06T23:30:50.8092056Z\",\"expiryTime\":\"2023-11-06T23:30:50.8092056Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-06T23:30:50.8092056Z\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/dc89fd4401c842ec82ad38168894f49b\",\"name\":\"dc89fd4401c842ec82ad38168894f49b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2396d7e307d54817a4982554e9d3778c\",\"recoveryPointTime\":\"2023-07-30T23:30:49.2709704Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"b42f7d8139564747b6345fc568e9bcf5\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-30T23:30:49.2709704Z\",\"expiryTime\":\"2023-10-30T23:30:49.2709704Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-30T23:30:49.2709704Z\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/2396d7e307d54817a4982554e9d3778c\",\"name\":\"2396d7e307d54817a4982554e9d3778c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"aa80028b6cf24221808c902b88f990c9\",\"recoveryPointTime\":\"2023-07-23T23:30:51.0789173Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"1e785f66d6e0432f91722d363682a748\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-23T23:30:51.0789173Z\",\"expiryTime\":\"2023-10-23T23:30:51.0789173Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-23T23:30:51.0789173Z\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/aa80028b6cf24221808c902b88f990c9\",\"name\":\"aa80028b6cf24221808c902b88f990c9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"ed0d57c6724c49dd97bbd82763851ea7\",\"recoveryPointTime\":\"2023-07-16T23:30:47.2646130Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"a5edbbf59afa4feaa69b0c58712222fa\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-16T23:30:47.2646130Z\",\"expiryTime\":\"2023-10-16T23:30:47.2646130Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-16T23:30:47.264613Z\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/ed0d57c6724c49dd97bbd82763851ea7\",\"name\":\"ed0d57c6724c49dd97bbd82763851ea7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"a4b0ea0d285943b7ad70fc2b6964b12c\",\"recoveryPointTime\":\"2023-07-09T23:30:50.8443431Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"24bec19365384726bf6b2490fa67e6df\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-09T23:30:50.8443431Z\",\"expiryTime\":\"2023-10-09T23:30:50.8443431Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-09T23:30:50.8443431Z\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/a4b0ea0d285943b7ad70fc2b6964b12c\",\"name\":\"a4b0ea0d285943b7ad70fc2b6964b12c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"18779ab8b6c14ecd8ab7506bd29f5b1c\",\"recoveryPointTime\":\"2023-07-02T23:30:48.7684171Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"9bf61d9b6ee74cad85ee9dcb58dc6df4\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-02T23:30:48.7684171Z\",\"expiryTime\":\"2023-10-02T23:30:48.7684171Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-02T23:30:48.7684171Z\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/18779ab8b6c14ecd8ab7506bd29f5b1c\",\"name\":\"18779ab8b6c14ecd8ab7506bd29f5b1c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"6cd50547e8f549cc87489de62eedefc0\",\"recoveryPointTime\":\"2023-06-25T23:30:47.5957613Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"5d0bc1884bd247ae9adaafaeb214b028\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-25T23:30:47.5957613Z\",\"expiryTime\":\"2023-09-25T23:30:47.5957613Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-25T23:30:47.5957613Z\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/6cd50547e8f549cc87489de62eedefc0\",\"name\":\"6cd50547e8f549cc87489de62eedefc0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"1eae64f4bd964fc0a5836191c1cf20f8\",\"recoveryPointTime\":\"2023-06-18T23:30:41.4622129Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"e5adfdbf932a4be8b68062097f1e6975\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-18T23:30:41.4622129Z\",\"expiryTime\":\"2023-09-18T23:30:41.4622129Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-18T23:30:41.4622129Z\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/1eae64f4bd964fc0a5836191c1cf20f8\",\"name\":\"1eae64f4bd964fc0a5836191c1cf20f8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"073d58dddb1c4a3fae091df183d1d750\",\"recoveryPointTime\":\"2023-06-11T23:30:46.2454324Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3e2d44907fc8400ab65f149a97255412\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-11T23:30:46.2454324Z\",\"expiryTime\":\"2023-09-11T23:30:46.2454324Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-11T23:30:46.2454324Z\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/073d58dddb1c4a3fae091df183d1d750\",\"name\":\"073d58dddb1c4a3fae091df183d1d750\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b7c8c5d4abbc4afda97840b8c7fdf9ba\",\"recoveryPointTime\":\"2023-06-04T23:30:49.6709370Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"70fc46a420b54fa2a6ae508cacf19492\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-04T23:30:49.6709370Z\",\"expiryTime\":\"2023-09-04T23:30:49.6709370Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-04T23:30:49.670937Z\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/b7c8c5d4abbc4afda97840b8c7fdf9ba\",\"name\":\"b7c8c5d4abbc4afda97840b8c7fdf9ba\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"32114c5435f44f2db865aa4a049fa93b\",\"recoveryPointTime\":\"2023-05-28T23:30:48.2364924Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"c725adc107004a20b06894701f1e25fa\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-05-28T23:30:48.2364924Z\",\"expiryTime\":\"2023-08-28T23:30:48.2364924Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydratedRPExpiryTime\":null,\"rehydrationStatus\":null,\"rehydrationExpiryTime\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2023-08-28T23:30:48.2364924Z\"},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/32114c5435f44f2db865aa4a049fa93b\",\"name\":\"32114c5435f44f2db865aa4a049fa93b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}]}", + "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"1a356ec9a5c143a89aa3ca32cffaeb54\",\"recoveryPointTime\":\"2023-12-24T23:30:46.3809962Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"5504577b57f24fc7b3e72e77dd10e2fa\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-24T23:30:46.3809962Z\",\"expiryTime\":\"2024-03-24T23:30:46.3809962Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-24T23:30:46.3809962Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/1a356ec9a5c143a89aa3ca32cffaeb54\",\"name\":\"1a356ec9a5c143a89aa3ca32cffaeb54\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"8f39ffd2f30a459395af5c4661545570\",\"recoveryPointTime\":\"2023-12-17T23:30:49.4720842Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"580ec47ca9564f2cb43b9f99758bc2fb\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-17T23:30:49.4720842Z\",\"expiryTime\":\"2024-03-17T23:30:49.4720842Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-17T23:30:49.4720842Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/8f39ffd2f30a459395af5c4661545570\",\"name\":\"8f39ffd2f30a459395af5c4661545570\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"540081ff28b44d4cbd52d3bae77de512\",\"recoveryPointTime\":\"2023-12-10T23:30:46.7400128Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"7472d13431164ca6add807e336008f72\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-10T23:30:46.7400128Z\",\"expiryTime\":\"2024-03-10T23:30:46.7400128Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-10T23:30:46.7400128Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/540081ff28b44d4cbd52d3bae77de512\",\"name\":\"540081ff28b44d4cbd52d3bae77de512\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"aed2120953e148288fb25556d071bcbf\",\"recoveryPointTime\":\"2023-12-03T23:30:48.0520113Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"7e25a62e19c04bdda4a12aba5d7a2d3d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-03T23:30:48.0520113Z\",\"expiryTime\":\"2024-03-03T23:30:48.0520113Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-03T23:30:48.0520113Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/aed2120953e148288fb25556d071bcbf\",\"name\":\"aed2120953e148288fb25556d071bcbf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0dca64e0fb5a41629a2df7eac943c2e0\",\"recoveryPointTime\":\"2023-11-26T23:30:47.5099739Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"a6323fcbe32349d4b23dcdec428e4653\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-26T23:30:47.5099739Z\",\"expiryTime\":\"2024-02-26T23:30:47.5099739Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-26T23:30:47.5099739Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/0dca64e0fb5a41629a2df7eac943c2e0\",\"name\":\"0dca64e0fb5a41629a2df7eac943c2e0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"28ea9db96095495e91ecc2e226ad9c96\",\"recoveryPointTime\":\"2023-11-19T23:30:51.3100737Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"9a0731922d374fc883d5f5b333a81c2b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-19T23:30:51.3100737Z\",\"expiryTime\":\"2024-02-19T23:30:51.3100737Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-19T23:30:51.3100737Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/28ea9db96095495e91ecc2e226ad9c96\",\"name\":\"28ea9db96095495e91ecc2e226ad9c96\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"7e0f8c0f2c6b4da6a0a9a1bc2b3be415\",\"recoveryPointTime\":\"2023-11-12T23:30:49.4874238Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"e2beb3083ffb4413872a63980e7a912f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-12T23:30:49.4874238Z\",\"expiryTime\":\"2024-02-12T23:30:49.4874238Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-12T23:30:49.4874238Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/7e0f8c0f2c6b4da6a0a9a1bc2b3be415\",\"name\":\"7e0f8c0f2c6b4da6a0a9a1bc2b3be415\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"450bb4880b6946fa81d2eac52cda61f5\",\"recoveryPointTime\":\"2023-11-05T23:30:57.8076500Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"4d64189b96084b45bd2144f1b1ed927e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-05T23:30:57.8076500Z\",\"expiryTime\":\"2024-02-05T23:30:57.8076500Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-05T23:30:57.8076500Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/450bb4880b6946fa81d2eac52cda61f5\",\"name\":\"450bb4880b6946fa81d2eac52cda61f5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4b355a7afeb049b2985b1bc1be09c92d\",\"recoveryPointTime\":\"2023-10-29T23:30:44.9123231Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"a765d716147340a584cc69bc284395b3\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-29T23:30:44.9123231Z\",\"expiryTime\":\"2024-01-29T23:30:44.9123231Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-29T23:30:44.9123231Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/4b355a7afeb049b2985b1bc1be09c92d\",\"name\":\"4b355a7afeb049b2985b1bc1be09c92d\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b72624a4bf1844c385ecee03b145c4c7\",\"recoveryPointTime\":\"2023-10-22T23:30:49.7251548Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"db5f371242e24cdcad5c4d425b398478\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-22T23:30:49.7251548Z\",\"expiryTime\":\"2024-01-22T23:30:49.7251548Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-22T23:30:49.7251548Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/b72624a4bf1844c385ecee03b145c4c7\",\"name\":\"b72624a4bf1844c385ecee03b145c4c7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"26dc8aa0cb494266a8bf906cbb17bf4d\",\"recoveryPointTime\":\"2023-10-15T23:30:43.2514962Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"44af630a038d4cb5addc741352d281bc\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-15T23:30:43.2514962Z\",\"expiryTime\":\"2024-01-15T23:30:43.2514962Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-15T23:30:43.2514962Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/26dc8aa0cb494266a8bf906cbb17bf4d\",\"name\":\"26dc8aa0cb494266a8bf906cbb17bf4d\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"00a4687ae4c144728719173d8cc54cf4\",\"recoveryPointTime\":\"2023-10-08T23:30:44.2120835Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"c7463c8feaee450db2c7ee7f00318976\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-08T23:30:44.2120835Z\",\"expiryTime\":\"2024-01-08T23:30:44.2120835Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-08T23:30:44.2120835Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/00a4687ae4c144728719173d8cc54cf4\",\"name\":\"00a4687ae4c144728719173d8cc54cf4\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"225ba7f2cced4787a599476e24ef715d\",\"recoveryPointTime\":\"2023-10-01T23:30:42.0750441Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"81155ca39ecd4b6a84d4eb5d40c41ba8\",\"recoveryPointDataStoresDetails\":[{\"id\":\"7b389110-a921-4120-b4ab-6e0a3cd13351\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-01T23:30:42.0750441Z\",\"expiryTime\":\"2024-01-01T23:30:42.0750441Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"638037610754051287\",\"policyName\":\"CSROssPolicy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-01T23:30:42.0750441Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/recoveryPoints/225ba7f2cced4787a599476e24ef715d\",\"name\":\"225ba7f2cced4787a599476e24ef715d\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}]}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$POST+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/validateRestore?api-version=2023-05-01+4": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$POST+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/validateRestore?api-version=2023-11-01+4": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/validateRestore?api-version=2023-05-01", - "Content": "{\r\n \"restoreRequestObject\": {\r\n \"objectType\": \"AzureBackupRecoveryPointBasedRestoreRequest\",\r\n \"restoreTargetInfo\": {\r\n \"objectType\": \"RestoreFilesTargetInfo\",\r\n \"recoveryOption\": \"FailIfExists\",\r\n \"restoreLocation\": \"eastus2euap\",\r\n \"targetDetails\": {\r\n \"filePrefix\": \"oss-csr-pstest-restoreasfiles-28-08-2023-3-11-11\",\r\n \"restoreTargetLocationType\": \"AzureBlobs\",\r\n \"url\": \"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\r\n \"targetResourceArmId\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Storage/storageAccounts/akneemasaecy/blobServices/default/containers/oss-csr-container\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"VaultStore\",\r\n \"recoveryPointId\": \"48399e201ee74ccc9ee01763823a0123\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/validateRestore?api-version=2023-11-01", + "Content": "{\r\n \"restoreRequestObject\": {\r\n \"objectType\": \"AzureBackupRecoveryPointBasedRestoreRequest\",\r\n \"restoreTargetInfo\": {\r\n \"objectType\": \"RestoreFilesTargetInfo\",\r\n \"recoveryOption\": \"FailIfExists\",\r\n \"restoreLocation\": \"eastus2euap\",\r\n \"targetDetails\": {\r\n \"filePrefix\": \"oss-csr-pstest-restoreasfiles-25-12-2023-11-11-11\",\r\n \"restoreTargetLocationType\": \"AzureBlobs\",\r\n \"url\": \"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\r\n \"targetResourceArmId\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Storage/storageAccounts/akneemasaecy/blobServices/default/containers/oss-csr-container\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"VaultStore\",\r\n \"recoveryPointId\": \"1a356ec9a5c143a89aa3ca32cffaeb54\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "828" ] + "Content-Length": [ "829" ] } }, "Response": { @@ -140,17 +140,17 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzM1NDk4YWRiLTI4ZWQtNDQ2Ny04NmE1LWZhMzY5NGFiOWQxMw==?api-version=2023-05-01\u0026t=2023-08-28T14%3a12%3a08\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=nZADigpz1GYTApOaCiA-_FVd0hl3nlBq6sCRED2CtTybNfJ_httq-4s87xcmKyk6nBXp618hcc7d_UGZ16hNjzJqaV3YX82ZvNtEvU9Buqb7lO8AAbT5Y3bBdhe2i4FD1XbYiTfZHm6bt4hVGqoSW3ZwiA-9nNkebwFcu9ngduYUOsiKl36yw7ZijfLNgrl6LSXH6HhCqoJ8__8m7cZj-FZUdXVpIG3zZ2-LjI_W-gw563oVSMD-Crg2WNjv2YbA630Un7B8XvIUQrlbKaLCZDNbh_C7-mnKlDGDjmXDGZLCFCs-B4ltrXqY6j0Iwn30CuPaBIS4f7REKLtT2bK85Q\u0026h=i2iljV8xc6nqJRjlWj3ZxFmAyJTmekQwRvGYwmchBgk" ], + "Location": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzNjYTUzYjk0LWQ3NTYtNGFmYy1iOWE2LWRhODA1MGFjM2RmNA==?api-version=2023-11-01\u0026t=638390769653625419\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=MDqXMfF8apnO4AgvdxDNdb5-Tv1S9nL9x__5YIhOw7lgxVf--g9Zbva4eOyjeH9Oxzp8jjiUBmS2dqARVIcCf4P6Mpj3S9C5JAmm8SZOKLXIBuUiV-sESZKAMCuO1JxwXPEPlwrUKbftx86TZ_GFqKR-W2UHDPqNmWxzI9OyYTec0jE1h5_39DAaBjhSPwFdx8y5V3lVnAQj40SKhqIFMVmhB2jE30B6C81iVcQGQrs0H8fM56w8kvX-uAPk-2ITvWknBs6i-SL6EtULrwcFzXD0s0g0HzD0FJDGpbJh5PVIKUPoWh_rv_oGps_-X-ii07k4wDSrh7y-_6ncNmGYvg\u0026h=78j-nj0I1MSmSjOojmQp7xlrG9WxDiEFNtkzKF7h9y8" ], "Retry-After": [ "10" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzM1NDk4YWRiLTI4ZWQtNDQ2Ny04NmE1LWZhMzY5NGFiOWQxMw==?api-version=2023-05-01\u0026t=2023-08-28T14%3a12%3a08\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=Ge8yi1zUAwOEJXKYQrYjAuV1pMevs5L6eriCn6lO7XqiuoaSehjj0zH62Du5e67pKXFAhe_-iXhW2t-T7teS9NByleyjs5sCDRB8fHAyZezbstRQnMB9_yerUWR5V1E3EAG1Ci6nxavUIJ_a98hQuGCtAUsKVd4iHzHPwZFSHQEOWIyo58N1KmS923ovt2UNtxm7DloQOsgiA-SsAWNf5L4VuYUQX_bmf3wd3BhOD4osvTdw42BdVLX-bNweSpxLlqA5mYzNPyoBY2iZIEpuE-7Sh76vfkU74049P_cq6xdXvvbeQh1f5BLtBM3jQnBpo5IZyWhx_3pIkh3c1ogcFw\u0026h=dA95_a19Fd3CTPIxFIKt3_lppgWKp0I_neFVsvcCb5E" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzNjYTUzYjk0LWQ3NTYtNGFmYy1iOWE2LWRhODA1MGFjM2RmNA==?api-version=2023-11-01\u0026t=638390769653625419\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=rTyJNj2bi1U-4p-0GgFMoTIktKgr1dw7kOYGjOz0XRGIz50zQv0-8YcdbuxpmQKQbzN1sXH4tpAnODYpBf5mxbIDa_WD6_i2aQ3fcdr8AaUK25Y39702Xus5lcmuge9ieXU4PmJuDDfkgoSKoAOqcr9ExFroj8rU61kt3dJw0nLhh_VFSn9RCc_mqm2G9aT-1QDPimMMF4RcRXEjO1rkSlSRXI-tSdk6QqbCpG7I1QnijYYdZa_7kBtYyxeiStTcWAcNKaA2gpyH3gnzGZQOloNIXJulVPRpml7Q62zGeYzK1EF2AuxnCWKCaskYGZ6mm-naPiADYY_K3qXH83IEaQ\u0026h=YNI2Q9T5Y0FL1iL6iUQSCAqMLoivATKTl3OppFCEHvg" ], "Server": [ "Kestrel" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], - "x-ms-request-id": [ "fa66ad41-b41e-40bf-bcf1-5f182578c036" ], - "x-ms-correlation-request-id": [ "fa66ad41-b41e-40bf-bcf1-5f182578c036" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141208Z:fa66ad41-b41e-40bf-bcf1-5f182578c036" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], + "x-ms-request-id": [ "91d0a7a3-c17a-45be-8759-1002d97ee12b" ], + "x-ms-correlation-request-id": [ "91d0a7a3-c17a-45be-8759-1002d97ee12b" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045605Z:91d0a7a3-c17a-45be-8759-1002d97ee12b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:12:07 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:56:04 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -160,20 +160,20 @@ "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzM1NDk4YWRiLTI4ZWQtNDQ2Ny04NmE1LWZhMzY5NGFiOWQxMw==?api-version=2023-05-01\u0026t=2023-08-28T14%3a12%3a08\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=Ge8yi1zUAwOEJXKYQrYjAuV1pMevs5L6eriCn6lO7XqiuoaSehjj0zH62Du5e67pKXFAhe_-iXhW2t-T7teS9NByleyjs5sCDRB8fHAyZezbstRQnMB9_yerUWR5V1E3EAG1Ci6nxavUIJ_a98hQuGCtAUsKVd4iHzHPwZFSHQEOWIyo58N1KmS923ovt2UNtxm7DloQOsgiA-SsAWNf5L4VuYUQX_bmf3wd3BhOD4osvTdw42BdVLX-bNweSpxLlqA5mYzNPyoBY2iZIEpuE-7Sh76vfkU74049P_cq6xdXvvbeQh1f5BLtBM3jQnBpo5IZyWhx_3pIkh3c1ogcFw\u0026h=dA95_a19Fd3CTPIxFIKt3_lppgWKp0I_neFVsvcCb5E+5": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzNjYTUzYjk0LWQ3NTYtNGFmYy1iOWE2LWRhODA1MGFjM2RmNA==?api-version=2023-11-01\u0026t=638390769653625419\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=rTyJNj2bi1U-4p-0GgFMoTIktKgr1dw7kOYGjOz0XRGIz50zQv0-8YcdbuxpmQKQbzN1sXH4tpAnODYpBf5mxbIDa_WD6_i2aQ3fcdr8AaUK25Y39702Xus5lcmuge9ieXU4PmJuDDfkgoSKoAOqcr9ExFroj8rU61kt3dJw0nLhh_VFSn9RCc_mqm2G9aT-1QDPimMMF4RcRXEjO1rkSlSRXI-tSdk6QqbCpG7I1QnijYYdZa_7kBtYyxeiStTcWAcNKaA2gpyH3gnzGZQOloNIXJulVPRpml7Q62zGeYzK1EF2AuxnCWKCaskYGZ6mm-naPiADYY_K3qXH83IEaQ\u0026h=YNI2Q9T5Y0FL1iL6iUQSCAqMLoivATKTl3OppFCEHvg+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzM1NDk4YWRiLTI4ZWQtNDQ2Ny04NmE1LWZhMzY5NGFiOWQxMw==?api-version=2023-05-01\u0026t=2023-08-28T14%3a12%3a08\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=Ge8yi1zUAwOEJXKYQrYjAuV1pMevs5L6eriCn6lO7XqiuoaSehjj0zH62Du5e67pKXFAhe_-iXhW2t-T7teS9NByleyjs5sCDRB8fHAyZezbstRQnMB9_yerUWR5V1E3EAG1Ci6nxavUIJ_a98hQuGCtAUsKVd4iHzHPwZFSHQEOWIyo58N1KmS923ovt2UNtxm7DloQOsgiA-SsAWNf5L4VuYUQX_bmf3wd3BhOD4osvTdw42BdVLX-bNweSpxLlqA5mYzNPyoBY2iZIEpuE-7Sh76vfkU74049P_cq6xdXvvbeQh1f5BLtBM3jQnBpo5IZyWhx_3pIkh3c1ogcFw\u0026h=dA95_a19Fd3CTPIxFIKt3_lppgWKp0I_neFVsvcCb5E", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzNjYTUzYjk0LWQ3NTYtNGFmYy1iOWE2LWRhODA1MGFjM2RmNA==?api-version=2023-11-01\u0026t=638390769653625419\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=rTyJNj2bi1U-4p-0GgFMoTIktKgr1dw7kOYGjOz0XRGIz50zQv0-8YcdbuxpmQKQbzN1sXH4tpAnODYpBf5mxbIDa_WD6_i2aQ3fcdr8AaUK25Y39702Xus5lcmuge9ieXU4PmJuDDfkgoSKoAOqcr9ExFroj8rU61kt3dJw0nLhh_VFSn9RCc_mqm2G9aT-1QDPimMMF4RcRXEjO1rkSlSRXI-tSdk6QqbCpG7I1QnijYYdZa_7kBtYyxeiStTcWAcNKaA2gpyH3gnzGZQOloNIXJulVPRpml7Q62zGeYzK1EF2AuxnCWKCaskYGZ6mm-naPiADYY_K3qXH83IEaQ\u0026h=YNI2Q9T5Y0FL1iL6iUQSCAqMLoivATKTl3OppFCEHvg", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "357" ], - "x-ms-client-request-id": [ "e266a470-6279-4dbf-b6b6-72c0a348ba16" ], + "x-ms-unique-id": [ "224" ], + "x-ms-client-request-id": [ "49f1967e-0e42-4a0d-b750-08b37c5f43e3" ], "CommandName": [ "Az.DataProtection.Internal\\Test-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Test-AzDataProtectionBackupInstanceRestore_Validate1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -183,38 +183,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "986" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "998" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "28e7b612-b0e0-451c-9479-3541fb10bc98" ], - "x-ms-correlation-request-id": [ "28e7b612-b0e0-451c-9479-3541fb10bc98" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141218Z:28e7b612-b0e0-451c-9479-3541fb10bc98" ], + "x-ms-request-id": [ "f077a9f8-46ec-4020-9c01-46a97b5f2e0a" ], + "x-ms-correlation-request-id": [ "f077a9f8-46ec-4020-9c01-46a97b5f2e0a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045615Z:f077a9f8-46ec-4020-9c01-46a97b5f2e0a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:12:18 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:56:15 GMT" ] }, "ContentHeaders": { "Content-Length": [ "477" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzM1NDk4YWRiLTI4ZWQtNDQ2Ny04NmE1LWZhMzY5NGFiOWQxMw==\",\"name\":\"MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzM1NDk4YWRiLTI4ZWQtNDQ2Ny04NmE1LWZhMzY5NGFiOWQxMw==\",\"status\":\"Inprogress\",\"startTime\":\"2023-08-28T14:12:07.8991183Z\",\"endTime\":\"0001-01-01T00:00:00Z\"}", + "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzNjYTUzYjk0LWQ3NTYtNGFmYy1iOWE2LWRhODA1MGFjM2RmNA==\",\"name\":\"MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzNjYTUzYjk0LWQ3NTYtNGFmYy1iOWE2LWRhODA1MGFjM2RmNA==\",\"status\":\"Inprogress\",\"startTime\":\"2023-12-25T04:56:05.1428163Z\",\"endTime\":\"0001-01-01T00:00:00Z\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzM1NDk4YWRiLTI4ZWQtNDQ2Ny04NmE1LWZhMzY5NGFiOWQxMw==?api-version=2023-05-01\u0026t=2023-08-28T14%3a12%3a08\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=Ge8yi1zUAwOEJXKYQrYjAuV1pMevs5L6eriCn6lO7XqiuoaSehjj0zH62Du5e67pKXFAhe_-iXhW2t-T7teS9NByleyjs5sCDRB8fHAyZezbstRQnMB9_yerUWR5V1E3EAG1Ci6nxavUIJ_a98hQuGCtAUsKVd4iHzHPwZFSHQEOWIyo58N1KmS923ovt2UNtxm7DloQOsgiA-SsAWNf5L4VuYUQX_bmf3wd3BhOD4osvTdw42BdVLX-bNweSpxLlqA5mYzNPyoBY2iZIEpuE-7Sh76vfkU74049P_cq6xdXvvbeQh1f5BLtBM3jQnBpo5IZyWhx_3pIkh3c1ogcFw\u0026h=dA95_a19Fd3CTPIxFIKt3_lppgWKp0I_neFVsvcCb5E+6": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzNjYTUzYjk0LWQ3NTYtNGFmYy1iOWE2LWRhODA1MGFjM2RmNA==?api-version=2023-11-01\u0026t=638390769653625419\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=rTyJNj2bi1U-4p-0GgFMoTIktKgr1dw7kOYGjOz0XRGIz50zQv0-8YcdbuxpmQKQbzN1sXH4tpAnODYpBf5mxbIDa_WD6_i2aQ3fcdr8AaUK25Y39702Xus5lcmuge9ieXU4PmJuDDfkgoSKoAOqcr9ExFroj8rU61kt3dJw0nLhh_VFSn9RCc_mqm2G9aT-1QDPimMMF4RcRXEjO1rkSlSRXI-tSdk6QqbCpG7I1QnijYYdZa_7kBtYyxeiStTcWAcNKaA2gpyH3gnzGZQOloNIXJulVPRpml7Q62zGeYzK1EF2AuxnCWKCaskYGZ6mm-naPiADYY_K3qXH83IEaQ\u0026h=YNI2Q9T5Y0FL1iL6iUQSCAqMLoivATKTl3OppFCEHvg+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzM1NDk4YWRiLTI4ZWQtNDQ2Ny04NmE1LWZhMzY5NGFiOWQxMw==?api-version=2023-05-01\u0026t=2023-08-28T14%3a12%3a08\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=Ge8yi1zUAwOEJXKYQrYjAuV1pMevs5L6eriCn6lO7XqiuoaSehjj0zH62Du5e67pKXFAhe_-iXhW2t-T7teS9NByleyjs5sCDRB8fHAyZezbstRQnMB9_yerUWR5V1E3EAG1Ci6nxavUIJ_a98hQuGCtAUsKVd4iHzHPwZFSHQEOWIyo58N1KmS923ovt2UNtxm7DloQOsgiA-SsAWNf5L4VuYUQX_bmf3wd3BhOD4osvTdw42BdVLX-bNweSpxLlqA5mYzNPyoBY2iZIEpuE-7Sh76vfkU74049P_cq6xdXvvbeQh1f5BLtBM3jQnBpo5IZyWhx_3pIkh3c1ogcFw\u0026h=dA95_a19Fd3CTPIxFIKt3_lppgWKp0I_neFVsvcCb5E", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzNjYTUzYjk0LWQ3NTYtNGFmYy1iOWE2LWRhODA1MGFjM2RmNA==?api-version=2023-11-01\u0026t=638390769653625419\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=rTyJNj2bi1U-4p-0GgFMoTIktKgr1dw7kOYGjOz0XRGIz50zQv0-8YcdbuxpmQKQbzN1sXH4tpAnODYpBf5mxbIDa_WD6_i2aQ3fcdr8AaUK25Y39702Xus5lcmuge9ieXU4PmJuDDfkgoSKoAOqcr9ExFroj8rU61kt3dJw0nLhh_VFSn9RCc_mqm2G9aT-1QDPimMMF4RcRXEjO1rkSlSRXI-tSdk6QqbCpG7I1QnijYYdZa_7kBtYyxeiStTcWAcNKaA2gpyH3gnzGZQOloNIXJulVPRpml7Q62zGeYzK1EF2AuxnCWKCaskYGZ6mm-naPiADYY_K3qXH83IEaQ\u0026h=YNI2Q9T5Y0FL1iL6iUQSCAqMLoivATKTl3OppFCEHvg", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "358" ], - "x-ms-client-request-id": [ "e266a470-6279-4dbf-b6b6-72c0a348ba16" ], + "x-ms-unique-id": [ "225" ], + "x-ms-client-request-id": [ "49f1967e-0e42-4a0d-b750-08b37c5f43e3" ], "CommandName": [ "Az.DataProtection.Internal\\Test-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Test-AzDataProtectionBackupInstanceRestore_Validate1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -224,38 +224,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "985" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "997" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "ff28d7cb-27e7-4fd2-9100-4e6314ad9a2c" ], - "x-ms-correlation-request-id": [ "ff28d7cb-27e7-4fd2-9100-4e6314ad9a2c" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141249Z:ff28d7cb-27e7-4fd2-9100-4e6314ad9a2c" ], + "x-ms-request-id": [ "d10814bb-9167-4d1b-a911-230fb2df7499" ], + "x-ms-correlation-request-id": [ "d10814bb-9167-4d1b-a911-230fb2df7499" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045646Z:d10814bb-9167-4d1b-a911-230fb2df7499" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:12:49 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:56:45 GMT" ] }, "ContentHeaders": { "Content-Length": [ "476" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzM1NDk4YWRiLTI4ZWQtNDQ2Ny04NmE1LWZhMzY5NGFiOWQxMw==\",\"name\":\"MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzM1NDk4YWRiLTI4ZWQtNDQ2Ny04NmE1LWZhMzY5NGFiOWQxMw==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-28T14:12:07.8991183Z\",\"endTime\":\"2023-08-28T14:12:29Z\"}", + "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzNjYTUzYjk0LWQ3NTYtNGFmYy1iOWE2LWRhODA1MGFjM2RmNA==\",\"name\":\"MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzNjYTUzYjk0LWQ3NTYtNGFmYy1iOWE2LWRhODA1MGFjM2RmNA==\",\"status\":\"Succeeded\",\"startTime\":\"2023-12-25T04:56:05.1428163Z\",\"endTime\":\"2023-12-25T04:56:26Z\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzM1NDk4YWRiLTI4ZWQtNDQ2Ny04NmE1LWZhMzY5NGFiOWQxMw==?api-version=2023-05-01\u0026t=2023-08-28T14%3a12%3a08\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=nZADigpz1GYTApOaCiA-_FVd0hl3nlBq6sCRED2CtTybNfJ_httq-4s87xcmKyk6nBXp618hcc7d_UGZ16hNjzJqaV3YX82ZvNtEvU9Buqb7lO8AAbT5Y3bBdhe2i4FD1XbYiTfZHm6bt4hVGqoSW3ZwiA-9nNkebwFcu9ngduYUOsiKl36yw7ZijfLNgrl6LSXH6HhCqoJ8__8m7cZj-FZUdXVpIG3zZ2-LjI_W-gw563oVSMD-Crg2WNjv2YbA630Un7B8XvIUQrlbKaLCZDNbh_C7-mnKlDGDjmXDGZLCFCs-B4ltrXqY6j0Iwn30CuPaBIS4f7REKLtT2bK85Q\u0026h=i2iljV8xc6nqJRjlWj3ZxFmAyJTmekQwRvGYwmchBgk+7": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzNjYTUzYjk0LWQ3NTYtNGFmYy1iOWE2LWRhODA1MGFjM2RmNA==?api-version=2023-11-01\u0026t=638390769653625419\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=MDqXMfF8apnO4AgvdxDNdb5-Tv1S9nL9x__5YIhOw7lgxVf--g9Zbva4eOyjeH9Oxzp8jjiUBmS2dqARVIcCf4P6Mpj3S9C5JAmm8SZOKLXIBuUiV-sESZKAMCuO1JxwXPEPlwrUKbftx86TZ_GFqKR-W2UHDPqNmWxzI9OyYTec0jE1h5_39DAaBjhSPwFdx8y5V3lVnAQj40SKhqIFMVmhB2jE30B6C81iVcQGQrs0H8fM56w8kvX-uAPk-2ITvWknBs6i-SL6EtULrwcFzXD0s0g0HzD0FJDGpbJh5PVIKUPoWh_rv_oGps_-X-ii07k4wDSrh7y-_6ncNmGYvg\u0026h=78j-nj0I1MSmSjOojmQp7xlrG9WxDiEFNtkzKF7h9y8+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzM1NDk4YWRiLTI4ZWQtNDQ2Ny04NmE1LWZhMzY5NGFiOWQxMw==?api-version=2023-05-01\u0026t=2023-08-28T14%3a12%3a08\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=nZADigpz1GYTApOaCiA-_FVd0hl3nlBq6sCRED2CtTybNfJ_httq-4s87xcmKyk6nBXp618hcc7d_UGZ16hNjzJqaV3YX82ZvNtEvU9Buqb7lO8AAbT5Y3bBdhe2i4FD1XbYiTfZHm6bt4hVGqoSW3ZwiA-9nNkebwFcu9ngduYUOsiKl36yw7ZijfLNgrl6LSXH6HhCqoJ8__8m7cZj-FZUdXVpIG3zZ2-LjI_W-gw563oVSMD-Crg2WNjv2YbA630Un7B8XvIUQrlbKaLCZDNbh_C7-mnKlDGDjmXDGZLCFCs-B4ltrXqY6j0Iwn30CuPaBIS4f7REKLtT2bK85Q\u0026h=i2iljV8xc6nqJRjlWj3ZxFmAyJTmekQwRvGYwmchBgk", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzNjYTUzYjk0LWQ3NTYtNGFmYy1iOWE2LWRhODA1MGFjM2RmNA==?api-version=2023-11-01\u0026t=638390769653625419\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=MDqXMfF8apnO4AgvdxDNdb5-Tv1S9nL9x__5YIhOw7lgxVf--g9Zbva4eOyjeH9Oxzp8jjiUBmS2dqARVIcCf4P6Mpj3S9C5JAmm8SZOKLXIBuUiV-sESZKAMCuO1JxwXPEPlwrUKbftx86TZ_GFqKR-W2UHDPqNmWxzI9OyYTec0jE1h5_39DAaBjhSPwFdx8y5V3lVnAQj40SKhqIFMVmhB2jE30B6C81iVcQGQrs0H8fM56w8kvX-uAPk-2ITvWknBs6i-SL6EtULrwcFzXD0s0g0HzD0FJDGpbJh5PVIKUPoWh_rv_oGps_-X-ii07k4wDSrh7y-_6ncNmGYvg\u0026h=78j-nj0I1MSmSjOojmQp7xlrG9WxDiEFNtkzKF7h9y8", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "359" ], - "x-ms-client-request-id": [ "e266a470-6279-4dbf-b6b6-72c0a348ba16" ], + "x-ms-unique-id": [ "226" ], + "x-ms-client-request-id": [ "49f1967e-0e42-4a0d-b750-08b37c5f43e3" ], "CommandName": [ "Az.DataProtection.Internal\\Test-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Test-AzDataProtectionBackupInstanceRestore_Validate1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -266,15 +266,15 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzM1NDk4YWRiLTI4ZWQtNDQ2Ny04NmE1LWZhMzY5NGFiOWQxMw==?api-version=2023-05-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzNjYTUzYjk0LWQ3NTYtNGFmYy1iOWE2LWRhODA1MGFjM2RmNA==?api-version=2023-11-01" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "42ed35ae-2b45-42be-8338-9b80b1013656" ], - "x-ms-correlation-request-id": [ "42ed35ae-2b45-42be-8338-9b80b1013656" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141249Z:42ed35ae-2b45-42be-8338-9b80b1013656" ], + "x-ms-request-id": [ "8fa3426b-eaa4-4827-8e88-c3344653f793" ], + "x-ms-correlation-request-id": [ "8fa3426b-eaa4-4827-8e88-c3344653f793" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045646Z:8fa3426b-eaa4-4827-8e88-c3344653f793" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:12:49 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:56:46 GMT" ] }, "ContentHeaders": { "Content-Length": [ "41" ], @@ -285,17 +285,17 @@ "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$POST+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/restore?api-version=2023-05-01+8": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$POST+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/restore?api-version=2023-11-01+8": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/restore?api-version=2023-05-01", - "Content": "{\r\n \"objectType\": \"AzureBackupRecoveryPointBasedRestoreRequest\",\r\n \"restoreTargetInfo\": {\r\n \"objectType\": \"RestoreFilesTargetInfo\",\r\n \"recoveryOption\": \"FailIfExists\",\r\n \"restoreLocation\": \"eastus2euap\",\r\n \"targetDetails\": {\r\n \"filePrefix\": \"oss-csr-pstest-restoreasfiles-28-08-2023-3-11-11\",\r\n \"restoreTargetLocationType\": \"AzureBlobs\",\r\n \"url\": \"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\r\n \"targetResourceArmId\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Storage/storageAccounts/akneemasaecy/blobServices/default/containers/oss-csr-container\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"VaultStore\",\r\n \"recoveryPointId\": \"48399e201ee74ccc9ee01763823a0123\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f/restore?api-version=2023-11-01", + "Content": "{\r\n \"objectType\": \"AzureBackupRecoveryPointBasedRestoreRequest\",\r\n \"restoreTargetInfo\": {\r\n \"objectType\": \"RestoreFilesTargetInfo\",\r\n \"recoveryOption\": \"FailIfExists\",\r\n \"restoreLocation\": \"eastus2euap\",\r\n \"targetDetails\": {\r\n \"filePrefix\": \"oss-csr-pstest-restoreasfiles-25-12-2023-11-11-11\",\r\n \"restoreTargetLocationType\": \"AzureBlobs\",\r\n \"url\": \"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\r\n \"targetResourceArmId\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Storage/storageAccounts/akneemasaecy/blobServices/default/containers/oss-csr-container\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"VaultStore\",\r\n \"recoveryPointId\": \"1a356ec9a5c143a89aa3ca32cffaeb54\"\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "766" ] + "Content-Length": [ "767" ] } }, "Response": { @@ -303,17 +303,17 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzU5MDJmYzg0LTM4ZGMtNDNiNC05MmJjLTY1NDliZWQ0NjFkMw==?api-version=2023-05-01\u0026t=2023-08-28T14%3a12%3a50\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=LUQaxk7HetYZbK54tbveejAFvW7QgV65c2kZf5ccZdgPiQvVdslBaOFDe0p-8q2GsoZ81AAefMuQ02WD05y5uW8Z-ueIBSZ3GsezQSEE7JDbGz49G2Wi38xZSRDNzKV6WdtrzqKAjZhLW-HvFtmELerbLAe7s15iKeRdgJrP9d9fN0zT9Q2pvyU5AlSCytPIuBeGYjrWKgErcD7xshBRHyEaSSuqXV9qVHIVJnNAw3qQUbWgDbZ0GfOqAi9I6KHzdLZR3Ymr7BviJJXjedCw7crNi8t-SVvMzzXzEdLen_fd__iHpFEMNGPUP70qEbnFjFw_U-dB-YNLSYnqGwWi4w\u0026h=6t0xANpC2G_A0bG7wIZZUY-3HRMWuIcLHr4VuvLN3lo" ], + "Location": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzUyNTNhZmEwLWVjYmUtNDNmOS1hZTM1LWE5MjY0YTI4OGFlOQ==?api-version=2023-11-01\u0026t=638390770077895291\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=wYkFI3198lOLU7FJYatRW4kYbRpVt6FjbBv9KXNhX1ZUUX7UGThItrslnR02vzqKOkqtFD-I4VkeweOZGEsAMNUhFEKeb_AIs0z-5ltk6q1xQKJfOBy2_hzOWCiFl0-kPf6Vg53kmuf_9YJeJQYEmp_-9dR1Sd-SDMYcr7zeOTK9QtI7tDvv2oeWky9nTNtIriHMKagXo-V-o01XdeCXPOBIlcZu6E6b8gP3K1Cj99wn_ihVN8763nE8-7HCRmZlHskBES5uZWbyWDvgGQxAaLbBAhJM2yX-QW4s5-iYZ207Hh0vcWViqkphlGQRSfZGfbYf_1f-tLxppqgvFT5u9A\u0026h=QTumxBToKnR12GAQbTHAVjRGxa1bqLY5wa2T1oXkRoo" ], "Retry-After": [ "30" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzU5MDJmYzg0LTM4ZGMtNDNiNC05MmJjLTY1NDliZWQ0NjFkMw==?api-version=2023-05-01\u0026t=2023-08-28T14%3a12%3a50\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=W4d5pDQi9msoe333omY9cbgd-NVKMV5gomuMY1G5hMyo_tPwmZAWEsGpLs6JnwD03voGV9EA1K6o4oXkmt63sMF8Q6UqpD2vMBe0rm8SNst0EKfyPMwUPa0vmqRgHWENOq0AjqKunNpTZeF4XIHbsKvuFgh3e_BLYzt4R_DPRn52EGDUvLHDpQDNZbEFgHqDWUvLgeSHJRhyFx3H54qC8eW2vhC9eyk7D9p3T_K7V9Suc6XY8rMkIdUltlMqjKICy-_c_wOxgKGqmg3g6ZKy-7n94OXh74YrnQb0LWJovP7KhQp9T5uTX8UU7B005mDKgq2FiDfHHGwUWiky-KTzIw\u0026h=HP8wh9NSofAFjKHiD9GlkHPLcEDg0da6UH9v4-kUlAw" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzUyNTNhZmEwLWVjYmUtNDNmOS1hZTM1LWE5MjY0YTI4OGFlOQ==?api-version=2023-11-01\u0026t=638390770077738633\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=EmdxdgQCaoZp4qISgJBvWn1Mi8CDna4PDFTNx6UF_8RfLpEAvf-L_OyIxrpxICTjuwwKNvE7L0pgHrb0nxlSTiu-lhDhg45kol3E30dbEVUP51B-zJccU4ArlRTQQ8mib3YTInEptdfAP17F80Ooyg-X-jUjYrpHk49QmA991aoBVhX4VitEZkoBdh9Wh8RUI2Rs9xhDvsVqYbBJW0CCOEywICMX_VJHAovAmZ1DtfnG01Dpsi9eHSkve8FbSBTYwTBY0OBL2Dr3hxXIEjTqPy4QvHsfrGxBuAx9E1YFnWiH_b_q606u0k2I72SwooWD5rtd6hldKBjX_6tuOFKiCg\u0026h=5VHCMpcmSX7t7jz5UMc6K2F5HYb5rBYKSpoxcekt0UI" ], "Server": [ "Kestrel" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], - "x-ms-request-id": [ "368a8da3-4f15-4b9b-961c-c356fdd3ca0a" ], - "x-ms-correlation-request-id": [ "368a8da3-4f15-4b9b-961c-c356fdd3ca0a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141250Z:368a8da3-4f15-4b9b-961c-c356fdd3ca0a" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-request-id": [ "69491945-535a-4a9b-ab87-9fc65dc5caf9" ], + "x-ms-correlation-request-id": [ "69491945-535a-4a9b-ab87-9fc65dc5caf9" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045647Z:69491945-535a-4a9b-ab87-9fc65dc5caf9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:12:50 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:56:47 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -323,20 +323,20 @@ "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzU5MDJmYzg0LTM4ZGMtNDNiNC05MmJjLTY1NDliZWQ0NjFkMw==?api-version=2023-05-01\u0026t=2023-08-28T14%3a12%3a50\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=W4d5pDQi9msoe333omY9cbgd-NVKMV5gomuMY1G5hMyo_tPwmZAWEsGpLs6JnwD03voGV9EA1K6o4oXkmt63sMF8Q6UqpD2vMBe0rm8SNst0EKfyPMwUPa0vmqRgHWENOq0AjqKunNpTZeF4XIHbsKvuFgh3e_BLYzt4R_DPRn52EGDUvLHDpQDNZbEFgHqDWUvLgeSHJRhyFx3H54qC8eW2vhC9eyk7D9p3T_K7V9Suc6XY8rMkIdUltlMqjKICy-_c_wOxgKGqmg3g6ZKy-7n94OXh74YrnQb0LWJovP7KhQp9T5uTX8UU7B005mDKgq2FiDfHHGwUWiky-KTzIw\u0026h=HP8wh9NSofAFjKHiD9GlkHPLcEDg0da6UH9v4-kUlAw+9": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzUyNTNhZmEwLWVjYmUtNDNmOS1hZTM1LWE5MjY0YTI4OGFlOQ==?api-version=2023-11-01\u0026t=638390770077738633\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=EmdxdgQCaoZp4qISgJBvWn1Mi8CDna4PDFTNx6UF_8RfLpEAvf-L_OyIxrpxICTjuwwKNvE7L0pgHrb0nxlSTiu-lhDhg45kol3E30dbEVUP51B-zJccU4ArlRTQQ8mib3YTInEptdfAP17F80Ooyg-X-jUjYrpHk49QmA991aoBVhX4VitEZkoBdh9Wh8RUI2Rs9xhDvsVqYbBJW0CCOEywICMX_VJHAovAmZ1DtfnG01Dpsi9eHSkve8FbSBTYwTBY0OBL2Dr3hxXIEjTqPy4QvHsfrGxBuAx9E1YFnWiH_b_q606u0k2I72SwooWD5rtd6hldKBjX_6tuOFKiCg\u0026h=5VHCMpcmSX7t7jz5UMc6K2F5HYb5rBYKSpoxcekt0UI+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzU5MDJmYzg0LTM4ZGMtNDNiNC05MmJjLTY1NDliZWQ0NjFkMw==?api-version=2023-05-01\u0026t=2023-08-28T14%3a12%3a50\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=W4d5pDQi9msoe333omY9cbgd-NVKMV5gomuMY1G5hMyo_tPwmZAWEsGpLs6JnwD03voGV9EA1K6o4oXkmt63sMF8Q6UqpD2vMBe0rm8SNst0EKfyPMwUPa0vmqRgHWENOq0AjqKunNpTZeF4XIHbsKvuFgh3e_BLYzt4R_DPRn52EGDUvLHDpQDNZbEFgHqDWUvLgeSHJRhyFx3H54qC8eW2vhC9eyk7D9p3T_K7V9Suc6XY8rMkIdUltlMqjKICy-_c_wOxgKGqmg3g6ZKy-7n94OXh74YrnQb0LWJovP7KhQp9T5uTX8UU7B005mDKgq2FiDfHHGwUWiky-KTzIw\u0026h=HP8wh9NSofAFjKHiD9GlkHPLcEDg0da6UH9v4-kUlAw", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzUyNTNhZmEwLWVjYmUtNDNmOS1hZTM1LWE5MjY0YTI4OGFlOQ==?api-version=2023-11-01\u0026t=638390770077738633\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=EmdxdgQCaoZp4qISgJBvWn1Mi8CDna4PDFTNx6UF_8RfLpEAvf-L_OyIxrpxICTjuwwKNvE7L0pgHrb0nxlSTiu-lhDhg45kol3E30dbEVUP51B-zJccU4ArlRTQQ8mib3YTInEptdfAP17F80Ooyg-X-jUjYrpHk49QmA991aoBVhX4VitEZkoBdh9Wh8RUI2Rs9xhDvsVqYbBJW0CCOEywICMX_VJHAovAmZ1DtfnG01Dpsi9eHSkve8FbSBTYwTBY0OBL2Dr3hxXIEjTqPy4QvHsfrGxBuAx9E1YFnWiH_b_q606u0k2I72SwooWD5rtd6hldKBjX_6tuOFKiCg\u0026h=5VHCMpcmSX7t7jz5UMc6K2F5HYb5rBYKSpoxcekt0UI", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "361" ], - "x-ms-client-request-id": [ "738826d7-a212-4dba-b27d-30111c8f488a" ], - "CommandName": [ "Start-AzDataProtectionBackupInstanceRestore" ], + "x-ms-unique-id": [ "228" ], + "x-ms-client-request-id": [ "cb5e1754-df9d-41c3-919d-3ae5cf7508bb" ], + "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -346,38 +346,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "984" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "996" ], "X-Content-Type-Options": [ "nosniff" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "ffcae086-8dbd-40e3-9b67-75c41c3e624b" ], - "x-ms-correlation-request-id": [ "ffcae086-8dbd-40e3-9b67-75c41c3e624b" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141321Z:ffcae086-8dbd-40e3-9b67-75c41c3e624b" ], + "x-ms-request-id": [ "589b2e95-27c7-45d7-a6b3-2548b187df20" ], + "x-ms-correlation-request-id": [ "589b2e95-27c7-45d7-a6b3-2548b187df20" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045718Z:589b2e95-27c7-45d7-a6b3-2548b187df20" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:13:21 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:57:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "732" ], + "Content-Length": [ "733" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzU5MDJmYzg0LTM4ZGMtNDNiNC05MmJjLTY1NDliZWQ0NjFkMw==\",\"name\":\"MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzU5MDJmYzg0LTM4ZGMtNDNiNC05MmJjLTY1NDliZWQ0NjFkMw==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-28T14:12:50.627532Z\",\"endTime\":\"2023-08-28T14:12:52Z\",\"properties\":{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/CSRTestRg/providers/Microsoft.DataProtection/BackupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzUyNTNhZmEwLWVjYmUtNDNmOS1hZTM1LWE5MjY0YTI4OGFlOQ==\",\"name\":\"MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzUyNTNhZmEwLWVjYmUtNDNmOS1hZTM1LWE5MjY0YTI4OGFlOQ==\",\"status\":\"Succeeded\",\"startTime\":\"2023-12-25T04:56:47.6297192Z\",\"endTime\":\"2023-12-25T04:56:48Z\",\"properties\":{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/CSRTestRg/providers/Microsoft.DataProtection/BackupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"objectType\":\"OperationJobExtendedInfo\"}}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzU5MDJmYzg0LTM4ZGMtNDNiNC05MmJjLTY1NDliZWQ0NjFkMw==?api-version=2023-05-01\u0026t=2023-08-28T14%3a12%3a50\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=LUQaxk7HetYZbK54tbveejAFvW7QgV65c2kZf5ccZdgPiQvVdslBaOFDe0p-8q2GsoZ81AAefMuQ02WD05y5uW8Z-ueIBSZ3GsezQSEE7JDbGz49G2Wi38xZSRDNzKV6WdtrzqKAjZhLW-HvFtmELerbLAe7s15iKeRdgJrP9d9fN0zT9Q2pvyU5AlSCytPIuBeGYjrWKgErcD7xshBRHyEaSSuqXV9qVHIVJnNAw3qQUbWgDbZ0GfOqAi9I6KHzdLZR3Ymr7BviJJXjedCw7crNi8t-SVvMzzXzEdLen_fd__iHpFEMNGPUP70qEbnFjFw_U-dB-YNLSYnqGwWi4w\u0026h=6t0xANpC2G_A0bG7wIZZUY-3HRMWuIcLHr4VuvLN3lo+10": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzUyNTNhZmEwLWVjYmUtNDNmOS1hZTM1LWE5MjY0YTI4OGFlOQ==?api-version=2023-11-01\u0026t=638390770077895291\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=wYkFI3198lOLU7FJYatRW4kYbRpVt6FjbBv9KXNhX1ZUUX7UGThItrslnR02vzqKOkqtFD-I4VkeweOZGEsAMNUhFEKeb_AIs0z-5ltk6q1xQKJfOBy2_hzOWCiFl0-kPf6Vg53kmuf_9YJeJQYEmp_-9dR1Sd-SDMYcr7zeOTK9QtI7tDvv2oeWky9nTNtIriHMKagXo-V-o01XdeCXPOBIlcZu6E6b8gP3K1Cj99wn_ihVN8763nE8-7HCRmZlHskBES5uZWbyWDvgGQxAaLbBAhJM2yX-QW4s5-iYZ207Hh0vcWViqkphlGQRSfZGfbYf_1f-tLxppqgvFT5u9A\u0026h=QTumxBToKnR12GAQbTHAVjRGxa1bqLY5wa2T1oXkRoo+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzU5MDJmYzg0LTM4ZGMtNDNiNC05MmJjLTY1NDliZWQ0NjFkMw==?api-version=2023-05-01\u0026t=2023-08-28T14%3a12%3a50\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=LUQaxk7HetYZbK54tbveejAFvW7QgV65c2kZf5ccZdgPiQvVdslBaOFDe0p-8q2GsoZ81AAefMuQ02WD05y5uW8Z-ueIBSZ3GsezQSEE7JDbGz49G2Wi38xZSRDNzKV6WdtrzqKAjZhLW-HvFtmELerbLAe7s15iKeRdgJrP9d9fN0zT9Q2pvyU5AlSCytPIuBeGYjrWKgErcD7xshBRHyEaSSuqXV9qVHIVJnNAw3qQUbWgDbZ0GfOqAi9I6KHzdLZR3Ymr7BviJJXjedCw7crNi8t-SVvMzzXzEdLen_fd__iHpFEMNGPUP70qEbnFjFw_U-dB-YNLSYnqGwWi4w\u0026h=6t0xANpC2G_A0bG7wIZZUY-3HRMWuIcLHr4VuvLN3lo", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationResults/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzUyNTNhZmEwLWVjYmUtNDNmOS1hZTM1LWE5MjY0YTI4OGFlOQ==?api-version=2023-11-01\u0026t=638390770077895291\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=wYkFI3198lOLU7FJYatRW4kYbRpVt6FjbBv9KXNhX1ZUUX7UGThItrslnR02vzqKOkqtFD-I4VkeweOZGEsAMNUhFEKeb_AIs0z-5ltk6q1xQKJfOBy2_hzOWCiFl0-kPf6Vg53kmuf_9YJeJQYEmp_-9dR1Sd-SDMYcr7zeOTK9QtI7tDvv2oeWky9nTNtIriHMKagXo-V-o01XdeCXPOBIlcZu6E6b8gP3K1Cj99wn_ihVN8763nE8-7HCRmZlHskBES5uZWbyWDvgGQxAaLbBAhJM2yX-QW4s5-iYZ207Hh0vcWViqkphlGQRSfZGfbYf_1f-tLxppqgvFT5u9A\u0026h=QTumxBToKnR12GAQbTHAVjRGxa1bqLY5wa2T1oXkRoo", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "362" ], - "x-ms-client-request-id": [ "738826d7-a212-4dba-b27d-30111c8f488a" ], - "CommandName": [ "Start-AzDataProtectionBackupInstanceRestore" ], + "x-ms-unique-id": [ "229" ], + "x-ms-client-request-id": [ "cb5e1754-df9d-41c3-919d-3ae5cf7508bb" ], + "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -388,38 +388,38 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], "X-Content-Type-Options": [ "nosniff" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzU5MDJmYzg0LTM4ZGMtNDNiNC05MmJjLTY1NDliZWQ0NjFkMw==?api-version=2023-05-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/providers/Microsoft.DataProtection/locations/eastus2euap/operationStatus/MWRlM2RmNGEtN2VhMi00NTI3LTg1NmItMGI4YWRiODM3OGQ2OzUyNTNhZmEwLWVjYmUtNDNmOS1hZTM1LWE5MjY0YTI4OGFlOQ==?api-version=2023-11-01" ], "Server": [ "Kestrel" ], - "x-ms-request-id": [ "5da576e9-868c-4ae6-8eb7-30492ab3811b" ], - "x-ms-correlation-request-id": [ "5da576e9-868c-4ae6-8eb7-30492ab3811b" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141321Z:5da576e9-868c-4ae6-8eb7-30492ab3811b" ], + "x-ms-request-id": [ "b0b0b648-844b-4e44-993e-c40b6cbf41f5" ], + "x-ms-correlation-request-id": [ "b0b0b648-844b-4e44-993e-c40b6cbf41f5" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045718Z:b0b0b648-844b-4e44-993e-c40b6cbf41f5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:13:21 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:57:18 GMT" ] }, "ContentHeaders": { "Content-Length": [ "243" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/CSRTestRg/providers/Microsoft.DataProtection/BackupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/CSRTestRg/providers/Microsoft.DataProtection/BackupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58?api-version=2023-05-01+11": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a?api-version=2023-11-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "363" ], - "x-ms-client-request-id": [ "beaa7b8d-263c-4b2d-a111-88ea2113a758" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "230" ], + "x-ms-client-request-id": [ "851f3d03-efef-4773-81f3-e22c15171bc5" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -432,35 +432,35 @@ "Pragma": [ "no-cache" ], "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "177" ], - "x-ms-request-id": [ "ce56a97c-d76d-408d-9ec1-7a568e089dd8" ], - "x-ms-correlation-request-id": [ "ce56a97c-d76d-408d-9ec1-7a568e089dd8" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141332Z:ce56a97c-d76d-408d-9ec1-7a568e089dd8" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "171" ], + "x-ms-request-id": [ "70ac6834-4a7e-424c-b36f-2060a9900b03" ], + "x-ms-correlation-request-id": [ "70ac6834-4a7e-424c-b36f-2060a9900b03" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045729Z:70ac6834-4a7e-424c-b36f-2060a9900b03" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:13:32 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:57:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2435" ], + "Content-Length": [ "2459" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"738826d7-a212-4dba-b27d-30111c8f488a\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"vaultName\":\"CSRPortalTestVault\",\"backupInstanceFriendlyName\":\"csrecypostgrestest\\\\postgres\",\"policyName\":\"CSROssPolicy\",\"sourceResourceGroup\":\"CSRTestRg\",\"dataSourceSetName\":\"csrecypostgrestest\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A12%3A51.214281Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T14:12:50.8617825Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"48399e201ee74ccc9ee01763823a0123\",\"recoveryPointTime\":\"2023-08-27T23:30:46.4323357Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-28-08-2023-3-11-11\"}}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58\",\"name\":\"231610b7-881b-477e-8116-f42e01146b58\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"cb5e1754-df9d-41c3-919d-3ae5cf7508bb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"vaultName\":\"CSRPortalTestVault\",\"backupInstanceFriendlyName\":\"csrecypostgrestest\\\\postgres\",\"policyName\":\"CSROssPolicy\",\"sourceResourceGroup\":\"CSRTestRg\",\"dataSourceSetName\":\"csrecypostgrestest\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A56%3A48.1446654Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:56:47.8324293Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"1a356ec9a5c143a89aa3ca32cffaeb54\",\"recoveryPointTime\":\"2023-12-24T23:30:46.3809962Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-25-12-2023-11-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"name\":\"36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58?api-version=2023-05-01+12": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a?api-version=2023-11-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "364" ], - "x-ms-client-request-id": [ "32bbfd15-53c4-478c-a941-e852f0441f3b" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "231" ], + "x-ms-client-request-id": [ "1f271773-5454-4769-a17e-1fe1f7687adf" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -473,35 +473,35 @@ "Pragma": [ "no-cache" ], "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "176" ], - "x-ms-request-id": [ "053a20d4-dc2b-44c1-b3a7-7379acba50fa" ], - "x-ms-correlation-request-id": [ "053a20d4-dc2b-44c1-b3a7-7379acba50fa" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141343Z:053a20d4-dc2b-44c1-b3a7-7379acba50fa" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "170" ], + "x-ms-request-id": [ "5f84394c-4443-4cca-8548-333244ff5b93" ], + "x-ms-correlation-request-id": [ "5f84394c-4443-4cca-8548-333244ff5b93" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045739Z:5f84394c-4443-4cca-8548-333244ff5b93" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:13:42 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:57:39 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2435" ], + "Content-Length": [ "2459" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"738826d7-a212-4dba-b27d-30111c8f488a\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"vaultName\":\"CSRPortalTestVault\",\"backupInstanceFriendlyName\":\"csrecypostgrestest\\\\postgres\",\"policyName\":\"CSROssPolicy\",\"sourceResourceGroup\":\"CSRTestRg\",\"dataSourceSetName\":\"csrecypostgrestest\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A12%3A51.214281Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T14:12:50.8617825Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"48399e201ee74ccc9ee01763823a0123\",\"recoveryPointTime\":\"2023-08-27T23:30:46.4323357Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-28-08-2023-3-11-11\"}}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58\",\"name\":\"231610b7-881b-477e-8116-f42e01146b58\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"cb5e1754-df9d-41c3-919d-3ae5cf7508bb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"vaultName\":\"CSRPortalTestVault\",\"backupInstanceFriendlyName\":\"csrecypostgrestest\\\\postgres\",\"policyName\":\"CSROssPolicy\",\"sourceResourceGroup\":\"CSRTestRg\",\"dataSourceSetName\":\"csrecypostgrestest\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A56%3A48.1446654Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:56:47.8324293Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"1a356ec9a5c143a89aa3ca32cffaeb54\",\"recoveryPointTime\":\"2023-12-24T23:30:46.3809962Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-25-12-2023-11-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"name\":\"36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58?api-version=2023-05-01+13": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a?api-version=2023-11-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "365" ], - "x-ms-client-request-id": [ "f862b425-5df0-4bbe-b8a1-ee8fa93cb46d" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "232" ], + "x-ms-client-request-id": [ "1ed29128-b274-414b-8481-b7f20aef5735" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -514,35 +514,35 @@ "Pragma": [ "no-cache" ], "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "175" ], - "x-ms-request-id": [ "b6eaad0d-091c-47c1-9920-e42b8531d53f" ], - "x-ms-correlation-request-id": [ "b6eaad0d-091c-47c1-9920-e42b8531d53f" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141353Z:b6eaad0d-091c-47c1-9920-e42b8531d53f" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "169" ], + "x-ms-request-id": [ "f08ee3cc-6c02-47c5-accb-5690e65d89be" ], + "x-ms-correlation-request-id": [ "f08ee3cc-6c02-47c5-accb-5690e65d89be" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045750Z:f08ee3cc-6c02-47c5-accb-5690e65d89be" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:13:53 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:57:50 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2435" ], + "Content-Length": [ "2459" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"738826d7-a212-4dba-b27d-30111c8f488a\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"vaultName\":\"CSRPortalTestVault\",\"backupInstanceFriendlyName\":\"csrecypostgrestest\\\\postgres\",\"policyName\":\"CSROssPolicy\",\"sourceResourceGroup\":\"CSRTestRg\",\"dataSourceSetName\":\"csrecypostgrestest\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A12%3A51.214281Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T14:12:50.8617825Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"48399e201ee74ccc9ee01763823a0123\",\"recoveryPointTime\":\"2023-08-27T23:30:46.4323357Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-28-08-2023-3-11-11\"}}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58\",\"name\":\"231610b7-881b-477e-8116-f42e01146b58\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"cb5e1754-df9d-41c3-919d-3ae5cf7508bb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"vaultName\":\"CSRPortalTestVault\",\"backupInstanceFriendlyName\":\"csrecypostgrestest\\\\postgres\",\"policyName\":\"CSROssPolicy\",\"sourceResourceGroup\":\"CSRTestRg\",\"dataSourceSetName\":\"csrecypostgrestest\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A56%3A48.1446654Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:56:47.8324293Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"1a356ec9a5c143a89aa3ca32cffaeb54\",\"recoveryPointTime\":\"2023-12-24T23:30:46.3809962Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-25-12-2023-11-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"name\":\"36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58?api-version=2023-05-01+14": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a?api-version=2023-11-01+14": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "366" ], - "x-ms-client-request-id": [ "f9bf346a-311f-459b-ba6e-a2461e180a92" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "233" ], + "x-ms-client-request-id": [ "4a5ea1c2-e3a2-4063-bc78-3e46441746ae" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -555,35 +555,35 @@ "Pragma": [ "no-cache" ], "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "174" ], - "x-ms-request-id": [ "d3189afd-8ec2-48fa-b1a5-396b9ddaaca9" ], - "x-ms-correlation-request-id": [ "d3189afd-8ec2-48fa-b1a5-396b9ddaaca9" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141404Z:d3189afd-8ec2-48fa-b1a5-396b9ddaaca9" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "168" ], + "x-ms-request-id": [ "c0d1e891-820a-4efc-92b4-8a0606946326" ], + "x-ms-correlation-request-id": [ "c0d1e891-820a-4efc-92b4-8a0606946326" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045801Z:c0d1e891-820a-4efc-92b4-8a0606946326" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:14:03 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:58:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2435" ], + "Content-Length": [ "2459" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"738826d7-a212-4dba-b27d-30111c8f488a\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"vaultName\":\"CSRPortalTestVault\",\"backupInstanceFriendlyName\":\"csrecypostgrestest\\\\postgres\",\"policyName\":\"CSROssPolicy\",\"sourceResourceGroup\":\"CSRTestRg\",\"dataSourceSetName\":\"csrecypostgrestest\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A12%3A51.214281Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T14:12:50.8617825Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"48399e201ee74ccc9ee01763823a0123\",\"recoveryPointTime\":\"2023-08-27T23:30:46.4323357Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-28-08-2023-3-11-11\"}}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58\",\"name\":\"231610b7-881b-477e-8116-f42e01146b58\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"cb5e1754-df9d-41c3-919d-3ae5cf7508bb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"vaultName\":\"CSRPortalTestVault\",\"backupInstanceFriendlyName\":\"csrecypostgrestest\\\\postgres\",\"policyName\":\"CSROssPolicy\",\"sourceResourceGroup\":\"CSRTestRg\",\"dataSourceSetName\":\"csrecypostgrestest\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A56%3A48.1446654Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:56:47.8324293Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"1a356ec9a5c143a89aa3ca32cffaeb54\",\"recoveryPointTime\":\"2023-12-24T23:30:46.3809962Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-25-12-2023-11-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"name\":\"36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58?api-version=2023-05-01+15": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a?api-version=2023-11-01+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "367" ], - "x-ms-client-request-id": [ "57991fcd-e497-478c-8caa-8e2d9159a5e3" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "234" ], + "x-ms-client-request-id": [ "9e884055-3ffc-4488-825f-ee09cff0205d" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -596,35 +596,35 @@ "Pragma": [ "no-cache" ], "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "173" ], - "x-ms-request-id": [ "4c908215-1139-4013-94ec-60bd4304b214" ], - "x-ms-correlation-request-id": [ "4c908215-1139-4013-94ec-60bd4304b214" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141415Z:4c908215-1139-4013-94ec-60bd4304b214" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "167" ], + "x-ms-request-id": [ "7cbe66c1-455a-4b29-a00f-e44d979beb88" ], + "x-ms-correlation-request-id": [ "7cbe66c1-455a-4b29-a00f-e44d979beb88" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045811Z:7cbe66c1-455a-4b29-a00f-e44d979beb88" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:14:15 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:58:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2435" ], + "Content-Length": [ "2459" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"738826d7-a212-4dba-b27d-30111c8f488a\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"vaultName\":\"CSRPortalTestVault\",\"backupInstanceFriendlyName\":\"csrecypostgrestest\\\\postgres\",\"policyName\":\"CSROssPolicy\",\"sourceResourceGroup\":\"CSRTestRg\",\"dataSourceSetName\":\"csrecypostgrestest\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A12%3A51.214281Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T14:12:50.8617825Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"48399e201ee74ccc9ee01763823a0123\",\"recoveryPointTime\":\"2023-08-27T23:30:46.4323357Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-28-08-2023-3-11-11\"}}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58\",\"name\":\"231610b7-881b-477e-8116-f42e01146b58\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"cb5e1754-df9d-41c3-919d-3ae5cf7508bb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"vaultName\":\"CSRPortalTestVault\",\"backupInstanceFriendlyName\":\"csrecypostgrestest\\\\postgres\",\"policyName\":\"CSROssPolicy\",\"sourceResourceGroup\":\"CSRTestRg\",\"dataSourceSetName\":\"csrecypostgrestest\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A56%3A48.1446654Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:56:47.8324293Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"1a356ec9a5c143a89aa3ca32cffaeb54\",\"recoveryPointTime\":\"2023-12-24T23:30:46.3809962Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-25-12-2023-11-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"name\":\"36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58?api-version=2023-05-01+16": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a?api-version=2023-11-01+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "368" ], - "x-ms-client-request-id": [ "dbd33896-5c93-43f8-8a23-b43599321c86" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "235" ], + "x-ms-client-request-id": [ "d5abcc71-f1c1-465d-a0aa-b3cd4d76d05b" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -637,35 +637,35 @@ "Pragma": [ "no-cache" ], "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "172" ], - "x-ms-request-id": [ "ec61948e-9efc-413d-acb3-271d619586fc" ], - "x-ms-correlation-request-id": [ "ec61948e-9efc-413d-acb3-271d619586fc" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141425Z:ec61948e-9efc-413d-acb3-271d619586fc" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "166" ], + "x-ms-request-id": [ "8c4cdcde-972d-40b8-87c3-76e267a56179" ], + "x-ms-correlation-request-id": [ "8c4cdcde-972d-40b8-87c3-76e267a56179" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045822Z:8c4cdcde-972d-40b8-87c3-76e267a56179" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:14:25 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:58:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2435" ], + "Content-Length": [ "2459" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"738826d7-a212-4dba-b27d-30111c8f488a\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"vaultName\":\"CSRPortalTestVault\",\"backupInstanceFriendlyName\":\"csrecypostgrestest\\\\postgres\",\"policyName\":\"CSROssPolicy\",\"sourceResourceGroup\":\"CSRTestRg\",\"dataSourceSetName\":\"csrecypostgrestest\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A12%3A51.214281Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T14:12:50.8617825Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"48399e201ee74ccc9ee01763823a0123\",\"recoveryPointTime\":\"2023-08-27T23:30:46.4323357Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-28-08-2023-3-11-11\"}}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58\",\"name\":\"231610b7-881b-477e-8116-f42e01146b58\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"cb5e1754-df9d-41c3-919d-3ae5cf7508bb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"vaultName\":\"CSRPortalTestVault\",\"backupInstanceFriendlyName\":\"csrecypostgrestest\\\\postgres\",\"policyName\":\"CSROssPolicy\",\"sourceResourceGroup\":\"CSRTestRg\",\"dataSourceSetName\":\"csrecypostgrestest\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A56%3A48.1446654Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:56:47.8324293Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"1a356ec9a5c143a89aa3ca32cffaeb54\",\"recoveryPointTime\":\"2023-12-24T23:30:46.3809962Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-25-12-2023-11-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"name\":\"36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58?api-version=2023-05-01+17": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a?api-version=2023-11-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "369" ], - "x-ms-client-request-id": [ "b8fe94cf-f664-4837-a8ce-83c04baac8b6" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "236" ], + "x-ms-client-request-id": [ "1b6c5235-59c6-4d52-87a7-640652bc016a" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -678,35 +678,35 @@ "Pragma": [ "no-cache" ], "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "171" ], - "x-ms-request-id": [ "f2052110-b08c-44f2-b220-94f93366c33b" ], - "x-ms-correlation-request-id": [ "f2052110-b08c-44f2-b220-94f93366c33b" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141436Z:f2052110-b08c-44f2-b220-94f93366c33b" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "165" ], + "x-ms-request-id": [ "f381104f-3c60-4f4a-8619-6bfa0af8f7ae" ], + "x-ms-correlation-request-id": [ "f381104f-3c60-4f4a-8619-6bfa0af8f7ae" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045833Z:f381104f-3c60-4f4a-8619-6bfa0af8f7ae" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:14:36 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:58:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2435" ], + "Content-Length": [ "2459" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"738826d7-a212-4dba-b27d-30111c8f488a\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"vaultName\":\"CSRPortalTestVault\",\"backupInstanceFriendlyName\":\"csrecypostgrestest\\\\postgres\",\"policyName\":\"CSROssPolicy\",\"sourceResourceGroup\":\"CSRTestRg\",\"dataSourceSetName\":\"csrecypostgrestest\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A12%3A51.214281Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T14:12:50.8617825Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"48399e201ee74ccc9ee01763823a0123\",\"recoveryPointTime\":\"2023-08-27T23:30:46.4323357Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-28-08-2023-3-11-11\"}}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58\",\"name\":\"231610b7-881b-477e-8116-f42e01146b58\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"cb5e1754-df9d-41c3-919d-3ae5cf7508bb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"vaultName\":\"CSRPortalTestVault\",\"backupInstanceFriendlyName\":\"csrecypostgrestest\\\\postgres\",\"policyName\":\"CSROssPolicy\",\"sourceResourceGroup\":\"CSRTestRg\",\"dataSourceSetName\":\"csrecypostgrestest\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A56%3A48.1446654Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:56:47.8324293Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"1a356ec9a5c143a89aa3ca32cffaeb54\",\"recoveryPointTime\":\"2023-12-24T23:30:46.3809962Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-25-12-2023-11-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"name\":\"36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58?api-version=2023-05-01+18": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+CrossSubscriptionRestore+$GET+https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a?api-version=2023-11-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "370" ], - "x-ms-client-request-id": [ "24ab602d-2186-4c89-9f07-ba57d29d4a2d" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "237" ], + "x-ms-client-request-id": [ "a7e0fe4a-be02-4baf-9963-9fb3ee2b0b5e" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -719,35 +719,35 @@ "Pragma": [ "no-cache" ], "Server": [ "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "170" ], - "x-ms-request-id": [ "5ec6e71a-11b8-4fe0-808e-71dc2cb7e0b1" ], - "x-ms-correlation-request-id": [ "5ec6e71a-11b8-4fe0-808e-71dc2cb7e0b1" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141447Z:5ec6e71a-11b8-4fe0-808e-71dc2cb7e0b1" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "164" ], + "x-ms-request-id": [ "77c21aad-62e5-4094-80d7-b15f638724aa" ], + "x-ms-correlation-request-id": [ "77c21aad-62e5-4094-80d7-b15f638724aa" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045843Z:77c21aad-62e5-4094-80d7-b15f638724aa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Date": [ "Mon, 28 Aug 2023 14:14:46 GMT" ] + "Date": [ "Mon, 25 Dec 2023 04:58:43 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2607" ], + "Content-Length": [ "2631" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"738826d7-a212-4dba-b27d-30111c8f488a\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"vaultName\":\"CSRPortalTestVault\",\"backupInstanceFriendlyName\":\"csrecypostgrestest\\\\postgres\",\"policyName\":\"CSROssPolicy\",\"sourceResourceGroup\":\"CSRTestRg\",\"dataSourceSetName\":\"csrecypostgrestest\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A14%3A39.6944362Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-08-28T14:12:50.8617825Z\",\"endTime\":\"2023-08-28T14:14:39.404544Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M48.5427615S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"48399e201ee74ccc9ee01763823a0123\",\"recoveryPointTime\":\"2023-08-27T23:30:46.4323357Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"738826d7-a212-4dba-b27d-30111c8f488a\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\"}}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-28-08-2023-3-11-11\"}}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/231610b7-881b-477e-8116-f42e01146b58\",\"name\":\"231610b7-881b-477e-8116-f42e01146b58\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"cb5e1754-df9d-41c3-919d-3ae5cf7508bb\",\"subscriptionId\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"backupInstanceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupInstances/csrecypostgrestest-postgres-7ab4df7f-b489-431c-be45-cdb93616402f\",\"policyId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupPolicies/CSROssPolicy\",\"dataSourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DBforPostgreSQL/servers/csrecypostgrestest/databases/postgres\",\"vaultName\":\"CSRPortalTestVault\",\"backupInstanceFriendlyName\":\"csrecypostgrestest\\\\postgres\",\"policyName\":\"CSROssPolicy\",\"sourceResourceGroup\":\"CSRTestRg\",\"dataSourceSetName\":\"csrecypostgrestest\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A58%3A33.5645076Z\u0027\\\"\",\"sourceSubscriptionID\":\"62b829ee-7936-40c9-a1c9-47a93f9f3965\",\"dataSourceLocation\":\"eastus2euap\",\"startTime\":\"2023-12-25T04:56:47.8324293Z\",\"endTime\":\"2023-12-25T04:58:33.3960349Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M45.5636056S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"1a356ec9a5c143a89aa3ca32cffaeb54\",\"recoveryPointTime\":\"2023-12-24T23:30:46.3809962Z\"},\"recoveryDestination\":\"https://akneemasaecy.blob.core.windows.net/oss-csr-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"cb5e1754-df9d-41c3-919d-3ae5cf7508bb\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\"}}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-csr-pstest-restoreasfiles-25-12-2023-11-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/CSRTestRg/providers/Microsoft.DataProtection/backupVaults/CSRPortalTestVault/backupJobs/36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"name\":\"36a1edaf-7e39-4b19-bed9-129bbf995e8a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault?api-version=2023-05-01+1": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault?api-version=2023-11-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "371" ], - "x-ms-client-request-id": [ "7ca8a3f5-ef0b-428a-9db5-e3b5f87b9e67" ], + "x-ms-unique-id": [ "238" ], + "x-ms-client-request-id": [ "c2995214-9efe-4577-b91d-dc4b7513db8a" ], "CommandName": [ "Get-AzDataProtectionBackupVault" ], "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -763,33 +763,33 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "494" ], - "x-ms-correlation-request-id": [ "93d1a326-2554-4b62-a454-8088112e7d6c" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141449Z:93d1a326-2554-4b62-a454-8088112e7d6c" ], - "Date": [ "Mon, 28 Aug 2023 14:14:48 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "492" ], + "x-ms-correlation-request-id": [ "d5a88180-56dc-4942-bf91-5a42be46e4f3" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045846Z:d5a88180-56dc-4942-bf91-5a42be46e4f3" ], + "Date": [ "Mon, 25 Dec 2023 04:58:45 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "712" ], + "Content-Length": [ "806" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"MABUsed\":\"Yes\",\"Owner\":\"hiaga\",\"Purpose\":\"testing\",\"DeleteBy\":\"01-2099\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"74ad0080-cf50-42ae-a83a-7c5f1126cae2\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"GeoRedundant\"},{\"datastoreType\":\"ArchiveStore\",\"type\":\"GeoRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"secureScore\":\"None\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault\",\"name\":\"oss-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", + "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"MABUsed\":\"Yes\",\"Owner\":\"hiaga\",\"Purpose\":\"testing\",\"DeleteBy\":\"01-2099\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"74ad0080-cf50-42ae-a83a-7c5f1126cae2\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"GeoRedundant\"},{\"datastoreType\":\"ArchiveStore\",\"type\":\"GeoRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"featureSettings\":{\"crossRegionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"None\",\"replicatedRegions\":[\"\"]},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault\",\"name\":\"oss-pstest-vault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances?api-version=2023-05-01+2": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances?api-version=2023-11-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "372" ], - "x-ms-client-request-id": [ "3ed50a95-1f84-43d7-9e71-3baead3a7012" ], + "x-ms-unique-id": [ "239" ], + "x-ms-client-request-id": [ "f66039ad-cafa-4208-952a-06a92cceff30" ], "CommandName": [ "Get-AzDataProtectionBackupInstance" ], "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -805,10 +805,10 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1997" ], - "x-ms-correlation-request-id": [ "5fad5b21-fce4-4e82-9e56-f4a7bbbc0fc1" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141450Z:5fad5b21-fce4-4e82-9e56-f4a7bbbc0fc1" ], - "Date": [ "Mon, 28 Aug 2023 14:14:49 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1993" ], + "x-ms-correlation-request-id": [ "ad662093-a532-4034-be4b-669583609ebb" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045847Z:ad662093-a532-4034-be4b-669583609ebb" ], + "Date": [ "Mon, 25 Dec 2023 04:58:46 GMT" ] }, "ContentHeaders": { "Content-Length": [ "1942" ], @@ -819,19 +819,19 @@ "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-05-01+3": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-11-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "373" ], - "x-ms-client-request-id": [ "8b872473-2811-4d54-9680-376767c685c3" ], + "x-ms-unique-id": [ "240" ], + "x-ms-client-request-id": [ "56d36147-29f8-44a4-9385-c80f2ea5f42c" ], "CommandName": [ "Get-AzDataProtectionBackupPolicy" ], "FullCommandName": [ "Get-AzDataProtectionBackupPolicy_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -847,10 +847,10 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "190" ], - "x-ms-correlation-request-id": [ "77902f42-e32b-43da-bf54-9b925ab46530" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141451Z:77902f42-e32b-43da-bf54-9b925ab46530" ], - "Date": [ "Mon, 28 Aug 2023 14:14:50 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "188" ], + "x-ms-correlation-request-id": [ "aec904f9-8223-454f-a7b9-8d8b6726be83" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045847Z:aec904f9-8223-454f-a7b9-8d8b6726be83" ], + "Date": [ "Mon, 25 Dec 2023 04:58:47 GMT" ] }, "ContentHeaders": { "Content-Length": [ "2939" ], @@ -861,10 +861,10 @@ "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/backup?api-version=2023-05-01+4": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/backup?api-version=2023-11-01+4": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/backup?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/backup?api-version=2023-11-01", "Content": "{\r\n \"backupRuleOptions\": {\r\n \"triggerOption\": {\r\n \"retentionTagOverride\": \"Default\"\r\n },\r\n \"ruleName\": \"BackupWeekly\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -879,17 +879,17 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2RlNjdiYmVmLWNhNzAtNDQ5NS04ZmRiLWE4NmM3MjE5NzA2ZQ==?api-version=2023-05-01\u0026t=2023-08-28T14%3a14%3a52\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=VvJJGVY3RT3iY5C7B3f8zcRi1eGazRBH_mqq_e5TK1PvzY1M4-uw6Ot7Zuj-Re8e-EjKsTyx6nZfXYEnP_W_qQz-xwvag0SM5ZeaAK-XouEBIRJCSu8Wk3VfCqgFOCMDQYu5Gb2VegMg3bA9Iy_3GIEfIE05rNyZE3svU69q6UVmZRVPMjN4Hn2KQUpXhayGxIqZLbUtlW5Eh9fRMlaKBXBP6X5RGFP7NGmtODIPK0ZJA4r45JGE4TpaTtpPQzoCLENOA30P20i1tKmkBo_lsj74u-FPLcuVxkRR2Wo7-u_unULJOFv-d6JpRFXWX6dqSa5HSw177AzZwiwUgu5bEA\u0026h=tqLvFT0zHBpAwuxm1jBWp109E9p0S4S0vmhg4Ce5VIY" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2Q0MTQyMjg4LTYwZjYtNGVmMC04ZTk1LWE1YWUwYzUzMWMyMQ==?api-version=2023-11-01\u0026t=638390771296051377\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=ga_1KsXCxmNHruCSkAXpyXyiApZqV1PlkPEMSZIloAC1BgniUZArd8mjwHo7x0ZwYoe4uMc9GkVozjH61XVHhG3MbYWqSdVoLNcEJCt_aOdcZ97L4_4WHAS7_W1VQeXe7JwOWT4yB7PYdNzGU0_0ZBOPbxZi1wylVwyE-cV_D0cK_eKH-zDCg2bPxbd3onKvLBsrM_606LarrTNYQDHoPghkexyX2WvfLJifCvL6JtzWrM0iIvejgl4pKpebZuHmVVqTSydlHNwjC2yyz20-Ev6oA5ZjSRYupT6VyCufVdSUyCToWTq4rbnAHmT09_1giQlkNrsBENxgoA1vZzkoXQ\u0026h=S1WkFWeNWX8Oyas2-RKQ4Zeub4jo6Zn-bpYWdcZm7sg" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2RlNjdiYmVmLWNhNzAtNDQ5NS04ZmRiLWE4NmM3MjE5NzA2ZQ==?api-version=2023-05-01\u0026t=2023-08-28T14%3a14%3a52\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=Y69QTYurZkwuY26PlBDgyE1tGNONBHlzruf5kJeScbS56P0I1H65UQmz6GJXq2r-Dtdti1UvUzQ0Xzm9cVYoyk093Hu6FUZDjQaoACenfEl6giFN9fm2DhkpGBxbCqXvkN0W4e5WBarlVmfNHBucO94nZkmJ7TqnVjuwMEh5i-JjfpCjguQfbi-8jT7Mi8eBR_qOxlEKIy6WWIJT-zLSNjcBcQLgFlWXm9G6V1dO-A4zZG4QVSZw8lQK50pAllJLdJ0i1EXY5-2z6kMAIWUCWbGSuLz_1yz6YtQjUHz-UlWUzZ68vl-yRcB16paT_-4XAHTxdDLVYf3uG3Gk9KbQIw\u0026h=jj3URe4vG_NmipB1XF5fhU66K8aNblY_n6_AMRJRYfE" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2Q0MTQyMjg4LTYwZjYtNGVmMC04ZTk1LWE1YWUwYzUzMWMyMQ==?api-version=2023-11-01\u0026t=638390771296051377\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=Au-LIHqM162d_6k5CHPwtmKH1dYNlj2Fw0VvtQqcL11pf354qxiQL0SgkRWsDNZdkaIOK_WM5yDgfr_LejoYZ6EGkM9kUpUI2KIWi9i5OKI3bQhPVcuficjn5SZAfOlG9HOFmc5ESxiAokjogikaKeQ8sJr_5tuHSqHnri1ynkJNREqwNmvruM8-0gopLI_uNhDCuEqpzmq3ZIjLyl0kH-JlI1neOGM_KDudGbTr1xknBPZeh3wkjRP2hnWxKNN6ZLTtlJCNeI_eT3NRQHKmgF9aYdLIFN2bbmyJ-0HlsFuWK9bT6kDqeCsjiJPWfXdbbt2_OzyJwgy0K3CbENn93g\u0026h=C0mnLoYdKL_O64jx4RXwTPVXiXxEExCyaGcAQfkuw20" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "d9930c40-4479-4263-8415-80947130f6eb" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141452Z:d9930c40-4479-4263-8415-80947130f6eb" ], - "Date": [ "Mon, 28 Aug 2023 14:14:51 GMT" ] + "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], + "x-ms-correlation-request-id": [ "6a1fe641-72cd-47bd-b409-96c7cdb783af" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045849Z:6a1fe641-72cd-47bd-b409-96c7cdb783af" ], + "Date": [ "Mon, 25 Dec 2023 04:58:48 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -899,20 +899,20 @@ "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2RlNjdiYmVmLWNhNzAtNDQ5NS04ZmRiLWE4NmM3MjE5NzA2ZQ==?api-version=2023-05-01\u0026t=2023-08-28T14%3a14%3a52\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=Y69QTYurZkwuY26PlBDgyE1tGNONBHlzruf5kJeScbS56P0I1H65UQmz6GJXq2r-Dtdti1UvUzQ0Xzm9cVYoyk093Hu6FUZDjQaoACenfEl6giFN9fm2DhkpGBxbCqXvkN0W4e5WBarlVmfNHBucO94nZkmJ7TqnVjuwMEh5i-JjfpCjguQfbi-8jT7Mi8eBR_qOxlEKIy6WWIJT-zLSNjcBcQLgFlWXm9G6V1dO-A4zZG4QVSZw8lQK50pAllJLdJ0i1EXY5-2z6kMAIWUCWbGSuLz_1yz6YtQjUHz-UlWUzZ68vl-yRcB16paT_-4XAHTxdDLVYf3uG3Gk9KbQIw\u0026h=jj3URe4vG_NmipB1XF5fhU66K8aNblY_n6_AMRJRYfE+5": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2Q0MTQyMjg4LTYwZjYtNGVmMC04ZTk1LWE1YWUwYzUzMWMyMQ==?api-version=2023-11-01\u0026t=638390771296051377\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=Au-LIHqM162d_6k5CHPwtmKH1dYNlj2Fw0VvtQqcL11pf354qxiQL0SgkRWsDNZdkaIOK_WM5yDgfr_LejoYZ6EGkM9kUpUI2KIWi9i5OKI3bQhPVcuficjn5SZAfOlG9HOFmc5ESxiAokjogikaKeQ8sJr_5tuHSqHnri1ynkJNREqwNmvruM8-0gopLI_uNhDCuEqpzmq3ZIjLyl0kH-JlI1neOGM_KDudGbTr1xknBPZeh3wkjRP2hnWxKNN6ZLTtlJCNeI_eT3NRQHKmgF9aYdLIFN2bbmyJ-0HlsFuWK9bT6kDqeCsjiJPWfXdbbt2_OzyJwgy0K3CbENn93g\u0026h=C0mnLoYdKL_O64jx4RXwTPVXiXxEExCyaGcAQfkuw20+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2RlNjdiYmVmLWNhNzAtNDQ5NS04ZmRiLWE4NmM3MjE5NzA2ZQ==?api-version=2023-05-01\u0026t=2023-08-28T14%3a14%3a52\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=Y69QTYurZkwuY26PlBDgyE1tGNONBHlzruf5kJeScbS56P0I1H65UQmz6GJXq2r-Dtdti1UvUzQ0Xzm9cVYoyk093Hu6FUZDjQaoACenfEl6giFN9fm2DhkpGBxbCqXvkN0W4e5WBarlVmfNHBucO94nZkmJ7TqnVjuwMEh5i-JjfpCjguQfbi-8jT7Mi8eBR_qOxlEKIy6WWIJT-zLSNjcBcQLgFlWXm9G6V1dO-A4zZG4QVSZw8lQK50pAllJLdJ0i1EXY5-2z6kMAIWUCWbGSuLz_1yz6YtQjUHz-UlWUzZ68vl-yRcB16paT_-4XAHTxdDLVYf3uG3Gk9KbQIw\u0026h=jj3URe4vG_NmipB1XF5fhU66K8aNblY_n6_AMRJRYfE", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2Q0MTQyMjg4LTYwZjYtNGVmMC04ZTk1LWE1YWUwYzUzMWMyMQ==?api-version=2023-11-01\u0026t=638390771296051377\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=Au-LIHqM162d_6k5CHPwtmKH1dYNlj2Fw0VvtQqcL11pf354qxiQL0SgkRWsDNZdkaIOK_WM5yDgfr_LejoYZ6EGkM9kUpUI2KIWi9i5OKI3bQhPVcuficjn5SZAfOlG9HOFmc5ESxiAokjogikaKeQ8sJr_5tuHSqHnri1ynkJNREqwNmvruM8-0gopLI_uNhDCuEqpzmq3ZIjLyl0kH-JlI1neOGM_KDudGbTr1xknBPZeh3wkjRP2hnWxKNN6ZLTtlJCNeI_eT3NRQHKmgF9aYdLIFN2bbmyJ-0HlsFuWK9bT6kDqeCsjiJPWfXdbbt2_OzyJwgy0K3CbENn93g\u0026h=C0mnLoYdKL_O64jx4RXwTPVXiXxEExCyaGcAQfkuw20", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "375" ], - "x-ms-client-request-id": [ "3c5bdbdf-3cce-4793-908b-64cd556daf83" ], + "x-ms-unique-id": [ "242" ], + "x-ms-client-request-id": [ "5de34d5b-514b-4fc8-b04d-b25364bb490a" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -927,34 +927,34 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "997" ], - "x-ms-correlation-request-id": [ "0754eca8-fda5-4224-bf19-bef92d5c8cc5" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141523Z:0754eca8-fda5-4224-bf19-bef92d5c8cc5" ], - "Date": [ "Mon, 28 Aug 2023 14:15:22 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "993" ], + "x-ms-correlation-request-id": [ "6b573364-8bea-4bd2-999d-f5fcc3fb47fc" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045920Z:6b573364-8bea-4bd2-999d-f5fcc3fb47fc" ], + "Date": [ "Mon, 25 Dec 2023 04:59:19 GMT" ] }, "ContentHeaders": { "Content-Length": [ "737" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2RlNjdiYmVmLWNhNzAtNDQ5NS04ZmRiLWE4NmM3MjE5NzA2ZQ==\",\"name\":\"ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2RlNjdiYmVmLWNhNzAtNDQ5NS04ZmRiLWE4NmM3MjE5NzA2ZQ==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-28T14:14:52.0581826Z\",\"endTime\":\"2023-08-28T14:14:56Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2Q0MTQyMjg4LTYwZjYtNGVmMC04ZTk1LWE1YWUwYzUzMWMyMQ==\",\"name\":\"ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2Q0MTQyMjg4LTYwZjYtNGVmMC04ZTk1LWE1YWUwYzUzMWMyMQ==\",\"status\":\"Succeeded\",\"startTime\":\"2023-12-25T04:58:49.3665966Z\",\"endTime\":\"2023-12-25T04:58:51Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801\",\"objectType\":\"OperationJobExtendedInfo\"}}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2RlNjdiYmVmLWNhNzAtNDQ5NS04ZmRiLWE4NmM3MjE5NzA2ZQ==?api-version=2023-05-01\u0026t=2023-08-28T14%3a14%3a52\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=VvJJGVY3RT3iY5C7B3f8zcRi1eGazRBH_mqq_e5TK1PvzY1M4-uw6Ot7Zuj-Re8e-EjKsTyx6nZfXYEnP_W_qQz-xwvag0SM5ZeaAK-XouEBIRJCSu8Wk3VfCqgFOCMDQYu5Gb2VegMg3bA9Iy_3GIEfIE05rNyZE3svU69q6UVmZRVPMjN4Hn2KQUpXhayGxIqZLbUtlW5Eh9fRMlaKBXBP6X5RGFP7NGmtODIPK0ZJA4r45JGE4TpaTtpPQzoCLENOA30P20i1tKmkBo_lsj74u-FPLcuVxkRR2Wo7-u_unULJOFv-d6JpRFXWX6dqSa5HSw177AzZwiwUgu5bEA\u0026h=tqLvFT0zHBpAwuxm1jBWp109E9p0S4S0vmhg4Ce5VIY+6": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2Q0MTQyMjg4LTYwZjYtNGVmMC04ZTk1LWE1YWUwYzUzMWMyMQ==?api-version=2023-11-01\u0026t=638390771296051377\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=ga_1KsXCxmNHruCSkAXpyXyiApZqV1PlkPEMSZIloAC1BgniUZArd8mjwHo7x0ZwYoe4uMc9GkVozjH61XVHhG3MbYWqSdVoLNcEJCt_aOdcZ97L4_4WHAS7_W1VQeXe7JwOWT4yB7PYdNzGU0_0ZBOPbxZi1wylVwyE-cV_D0cK_eKH-zDCg2bPxbd3onKvLBsrM_606LarrTNYQDHoPghkexyX2WvfLJifCvL6JtzWrM0iIvejgl4pKpebZuHmVVqTSydlHNwjC2yyz20-Ev6oA5ZjSRYupT6VyCufVdSUyCToWTq4rbnAHmT09_1giQlkNrsBENxgoA1vZzkoXQ\u0026h=S1WkFWeNWX8Oyas2-RKQ4Zeub4jo6Zn-bpYWdcZm7sg+6": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2RlNjdiYmVmLWNhNzAtNDQ5NS04ZmRiLWE4NmM3MjE5NzA2ZQ==?api-version=2023-05-01\u0026t=2023-08-28T14%3a14%3a52\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=VvJJGVY3RT3iY5C7B3f8zcRi1eGazRBH_mqq_e5TK1PvzY1M4-uw6Ot7Zuj-Re8e-EjKsTyx6nZfXYEnP_W_qQz-xwvag0SM5ZeaAK-XouEBIRJCSu8Wk3VfCqgFOCMDQYu5Gb2VegMg3bA9Iy_3GIEfIE05rNyZE3svU69q6UVmZRVPMjN4Hn2KQUpXhayGxIqZLbUtlW5Eh9fRMlaKBXBP6X5RGFP7NGmtODIPK0ZJA4r45JGE4TpaTtpPQzoCLENOA30P20i1tKmkBo_lsj74u-FPLcuVxkRR2Wo7-u_unULJOFv-d6JpRFXWX6dqSa5HSw177AzZwiwUgu5bEA\u0026h=tqLvFT0zHBpAwuxm1jBWp109E9p0S4S0vmhg4Ce5VIY", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2Q0MTQyMjg4LTYwZjYtNGVmMC04ZTk1LWE1YWUwYzUzMWMyMQ==?api-version=2023-11-01\u0026t=638390771296051377\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=ga_1KsXCxmNHruCSkAXpyXyiApZqV1PlkPEMSZIloAC1BgniUZArd8mjwHo7x0ZwYoe4uMc9GkVozjH61XVHhG3MbYWqSdVoLNcEJCt_aOdcZ97L4_4WHAS7_W1VQeXe7JwOWT4yB7PYdNzGU0_0ZBOPbxZi1wylVwyE-cV_D0cK_eKH-zDCg2bPxbd3onKvLBsrM_606LarrTNYQDHoPghkexyX2WvfLJifCvL6JtzWrM0iIvejgl4pKpebZuHmVVqTSydlHNwjC2yyz20-Ev6oA5ZjSRYupT6VyCufVdSUyCToWTq4rbnAHmT09_1giQlkNrsBENxgoA1vZzkoXQ\u0026h=S1WkFWeNWX8Oyas2-RKQ4Zeub4jo6Zn-bpYWdcZm7sg", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "376" ], - "x-ms-client-request-id": [ "3c5bdbdf-3cce-4793-908b-64cd556daf83" ], + "x-ms-unique-id": [ "243" ], + "x-ms-client-request-id": [ "5de34d5b-514b-4fc8-b04d-b25364bb490a" ], "CommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc" ], "FullCommandName": [ "Backup-AzDataProtectionBackupInstanceAdhoc_BackupExpanded" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -965,39 +965,39 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2RlNjdiYmVmLWNhNzAtNDQ5NS04ZmRiLWE4NmM3MjE5NzA2ZQ==?api-version=2023-05-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyO2Q0MTQyMjg4LTYwZjYtNGVmMC04ZTk1LWE1YWUwYzUzMWMyMQ==?api-version=2023-11-01" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], - "x-ms-correlation-request-id": [ "e17afa98-416a-4e98-9d1d-c435cdf241a9" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141523Z:e17afa98-416a-4e98-9d1d-c435cdf241a9" ], - "Date": [ "Mon, 28 Aug 2023 14:15:23 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "193" ], + "x-ms-correlation-request-id": [ "d9ac23cd-2301-4f38-8e8b-24eaec85bd5f" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045920Z:d9ac23cd-2301-4f38-8e8b-24eaec85bd5f" ], + "Date": [ "Mon, 25 Dec 2023 04:59:20 GMT" ] }, "ContentHeaders": { "Content-Length": [ "245" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150\",\"objectType\":\"OperationJobExtendedInfo\"}", + "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801\",\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150?api-version=2023-05-01+7": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801?api-version=2023-11-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "377" ], - "x-ms-client-request-id": [ "9a91a069-cefc-454a-9ac1-5c13cb227002" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "244" ], + "x-ms-client-request-id": [ "2da74886-888b-48c0-a18c-4b7330eb77f4" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1008,38 +1008,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "86" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "cadb4214-082b-4444-a8bc-79e75e9bf2a7" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141534Z:cadb4214-082b-4444-a8bc-79e75e9bf2a7" ], - "Date": [ "Mon, 28 Aug 2023 14:15:33 GMT" ] + "x-ms-correlation-request-id": [ "cb494990-82fb-45e7-b481-8be9d13c4b45" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045931Z:cb494990-82fb-45e7-b481-8be9d13c4b45" ], + "Date": [ "Mon, 25 Dec 2023 04:59:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2248" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3c5bdbdf-3cce-4793-908b-64cd556daf83\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A14%3A54.4634698Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:14:54.1348062Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150\",\"name\":\"ceb99ed4-58d3-40fd-9a8d-33abfb539150\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5de34d5b-514b-4fc8-b04d-b25364bb490a\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A58%3A50.0555731Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:58:49.7199839Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801\",\"name\":\"1b7f1b47-6724-4937-977f-0b0ace3c8801\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150?api-version=2023-05-01+8": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801?api-version=2023-11-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "378" ], - "x-ms-client-request-id": [ "6cc2cf00-a885-4db0-900b-85d9efaf151c" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "245" ], + "x-ms-client-request-id": [ "d86fa124-0c09-4ae6-982d-ad4d88c513df" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1050,38 +1050,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "198" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "85" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "fc16294b-e5f8-4865-9115-8732f58a337a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141545Z:fc16294b-e5f8-4865-9115-8732f58a337a" ], - "Date": [ "Mon, 28 Aug 2023 14:15:44 GMT" ] + "x-ms-correlation-request-id": [ "98309545-cb57-4cb0-a59f-b2625373d0e7" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045942Z:98309545-cb57-4cb0-a59f-b2625373d0e7" ], + "Date": [ "Mon, 25 Dec 2023 04:59:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2248" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3c5bdbdf-3cce-4793-908b-64cd556daf83\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A14%3A54.4634698Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:14:54.1348062Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150\",\"name\":\"ceb99ed4-58d3-40fd-9a8d-33abfb539150\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5de34d5b-514b-4fc8-b04d-b25364bb490a\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A58%3A50.0555731Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:58:49.7199839Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801\",\"name\":\"1b7f1b47-6724-4937-977f-0b0ace3c8801\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150?api-version=2023-05-01+9": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801?api-version=2023-11-01+9": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "379" ], - "x-ms-client-request-id": [ "9bbc04cb-242c-48d5-b0bd-5fa6a3a6635c" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "246" ], + "x-ms-client-request-id": [ "5e0ff6e2-1181-44f6-ba60-958b50e63d38" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1092,38 +1092,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "197" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "84" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "83d20c8f-8813-40d5-b5a0-31d209e2212a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141555Z:83d20c8f-8813-40d5-b5a0-31d209e2212a" ], - "Date": [ "Mon, 28 Aug 2023 14:15:54 GMT" ] + "x-ms-correlation-request-id": [ "c4d17580-1018-44ca-9430-32373c29d168" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T045952Z:c4d17580-1018-44ca-9430-32373c29d168" ], + "Date": [ "Mon, 25 Dec 2023 04:59:52 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2248" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3c5bdbdf-3cce-4793-908b-64cd556daf83\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A14%3A54.4634698Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:14:54.1348062Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150\",\"name\":\"ceb99ed4-58d3-40fd-9a8d-33abfb539150\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5de34d5b-514b-4fc8-b04d-b25364bb490a\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A58%3A50.0555731Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:58:49.7199839Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801\",\"name\":\"1b7f1b47-6724-4937-977f-0b0ace3c8801\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150?api-version=2023-05-01+10": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801?api-version=2023-11-01+10": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "380" ], - "x-ms-client-request-id": [ "00e7cc11-fba0-4260-b5d7-03ec7a6eb58b" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "247" ], + "x-ms-client-request-id": [ "5f1c449b-d82e-4ed8-a51d-85ff1d275ae8" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1134,38 +1134,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "83" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "e5447979-d9b0-4ac3-ac92-4122ca52fadc" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141606Z:e5447979-d9b0-4ac3-ac92-4122ca52fadc" ], - "Date": [ "Mon, 28 Aug 2023 14:16:05 GMT" ] + "x-ms-correlation-request-id": [ "a37d0076-ca0b-430e-aa3b-4baf7446bdf7" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050003Z:a37d0076-ca0b-430e-aa3b-4baf7446bdf7" ], + "Date": [ "Mon, 25 Dec 2023 05:00:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2248" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3c5bdbdf-3cce-4793-908b-64cd556daf83\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A14%3A54.4634698Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:14:54.1348062Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150\",\"name\":\"ceb99ed4-58d3-40fd-9a8d-33abfb539150\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5de34d5b-514b-4fc8-b04d-b25364bb490a\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A58%3A50.0555731Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:58:49.7199839Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801\",\"name\":\"1b7f1b47-6724-4937-977f-0b0ace3c8801\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150?api-version=2023-05-01+11": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801?api-version=2023-11-01+11": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "381" ], - "x-ms-client-request-id": [ "94424588-29a9-4816-a979-cd8c8109250a" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "248" ], + "x-ms-client-request-id": [ "618427ef-e048-4063-b4e9-6249c2feeaed" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1176,38 +1176,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "195" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "82" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "d788b653-5d4f-4a79-9fdd-0f93ca04f0c6" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141617Z:d788b653-5d4f-4a79-9fdd-0f93ca04f0c6" ], - "Date": [ "Mon, 28 Aug 2023 14:16:16 GMT" ] + "x-ms-correlation-request-id": [ "fbed0b14-27c6-47c3-97a2-66b8e425da73" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050014Z:fbed0b14-27c6-47c3-97a2-66b8e425da73" ], + "Date": [ "Mon, 25 Dec 2023 05:00:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2248" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3c5bdbdf-3cce-4793-908b-64cd556daf83\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A14%3A54.4634698Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:14:54.1348062Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150\",\"name\":\"ceb99ed4-58d3-40fd-9a8d-33abfb539150\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5de34d5b-514b-4fc8-b04d-b25364bb490a\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T04%3A58%3A50.0555731Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:58:49.7199839Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801\",\"name\":\"1b7f1b47-6724-4937-977f-0b0ace3c8801\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150?api-version=2023-05-01+12": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801?api-version=2023-11-01+12": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "382" ], - "x-ms-client-request-id": [ "7e22b1b5-8d66-45bd-aab8-e42ac587afe3" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "249" ], + "x-ms-client-request-id": [ "01a693c3-70c1-48aa-9a52-d2dbc0dc14f1" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1218,80 +1218,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "194" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "81" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "8c613864-6f7a-4915-9917-bd44cd61b806" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141628Z:8c613864-6f7a-4915-9917-bd44cd61b806" ], - "Date": [ "Mon, 28 Aug 2023 14:16:27 GMT" ] + "x-ms-correlation-request-id": [ "d9054678-b049-4294-b33f-fdeb7652bd0c" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050025Z:d9054678-b049-4294-b33f-fdeb7652bd0c" ], + "Date": [ "Mon, 25 Dec 2023 05:00:24 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2226" ], + "Content-Length": [ "2528" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"3c5bdbdf-3cce-4793-908b-64cd556daf83\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A14%3A54.4634698Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:14:54.1348062Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150\",\"name\":\"ceb99ed4-58d3-40fd-9a8d-33abfb539150\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"5de34d5b-514b-4fc8-b04d-b25364bb490a\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T05%3A00%3A24.5034409Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T04:58:49.7199839Z\",\"endTime\":\"2023-12-25T05:00:24.3182234Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M34.5982395S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":2063.0,\"targetRecoverPoint\":{\"recoveryPointID\":\"168154e7b68f405d933c376aef44068f\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"8802975\",\"TaskId\":\"5de34d5b-514b-4fc8-b04d-b25364bb490a\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\"}}],\"additionalDetails\":{\"RetentionTag\":\"Default\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/1b7f1b47-6724-4937-977f-0b0ace3c8801\",\"name\":\"1b7f1b47-6724-4937-977f-0b0ace3c8801\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150?api-version=2023-05-01+13": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints?api-version=2023-11-01+13": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "383" ], - "x-ms-client-request-id": [ "e65d63fc-ec85-41dc-88f3-29c07a566fca" ], - "CommandName": [ "Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "193" ], - "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "X-Powered-By": [ "ASP.NET" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "60de374b-06a5-4b55-9f3a-d1c61d4872b3" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141638Z:60de374b-06a5-4b55-9f3a-d1c61d4872b3" ], - "Date": [ "Mon, 28 Aug 2023 14:16:38 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2506" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"3c5bdbdf-3cce-4793-908b-64cd556daf83\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":null,\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A16%3A31.8291572Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:14:54.1348062Z\",\"endTime\":\"2023-08-28T14:16:31.6425473Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Backup\",\"operation\":\"Backup\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M37.5077411S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":2063.0,\"targetRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"0001-01-01T00:00:00Z\"},\"sourceRecoverPoint\":null,\"recoveryDestination\":null,\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Backup\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"OriginalDatasourceSizeInBytes\":\"8802975\",\"TaskId\":\"3c5bdbdf-3cce-4793-908b-64cd556daf83\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\"}}],\"additionalDetails\":{\"RetentionTag\":\"Default\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/ceb99ed4-58d3-40fd-9a8d-33abfb539150\",\"name\":\"ceb99ed4-58d3-40fd-9a8d-33abfb539150\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", - "isContentBase64": false - } - }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints?api-version=2023-05-01+14": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints?api-version=2023-05-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "384" ], - "x-ms-client-request-id": [ "ed037ee0-4dbe-44f7-ae0e-057063efd357" ], + "x-ms-unique-id": [ "250" ], + "x-ms-client-request-id": [ "6f5abfb6-8e34-48f2-87cf-49395afd914c" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionRecoveryPoint" ], "FullCommandName": [ "Get-AzDataProtectionRecoveryPoint_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1307,31 +1265,31 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], - "x-ms-correlation-request-id": [ "f2a8f426-363a-489f-a421-15c2bebbacf3" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141645Z:f2a8f426-363a-489f-a421-15c2bebbacf3" ], - "Date": [ "Mon, 28 Aug 2023 14:16:44 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "98" ], + "x-ms-correlation-request-id": [ "abdac04c-b075-4849-91f9-0f7ad847ad07" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050031Z:abdac04c-b075-4849-91f9-0f7ad847ad07" ], + "Date": [ "Mon, 25 Dec 2023 05:00:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "56598" ], + "Content-Length": [ "57474" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"1c6636d8725b4b77b91fde11c2098c76\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-28T14:15:34.9490176Z\",\"expiryTime\":null,\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/5b0f10f3900949dc88218fa060757f6b\",\"name\":\"5b0f10f3900949dc88218fa060757f6b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"32b0b1a6b3134a428e597af3c6a334ca\",\"recoveryPointTime\":\"2023-08-28T13:35:44.9710031Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2814cad0924b4919bf136f753b7d5277\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-28T13:35:44.9865675Z\",\"expiryTime\":\"2023-11-28T13:35:44.9865675Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-28T13:35:44.9865675Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/32b0b1a6b3134a428e597af3c6a334ca\",\"name\":\"32b0b1a6b3134a428e597af3c6a334ca\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4ebeb8120ba24acdafd3e2f44c37c92f\",\"recoveryPointTime\":\"2023-08-27T04:30:50.0171519Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"4b8e8168a78f48b2bfd30a3dca97c9eb\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-27T04:30:50.0171519Z\",\"expiryTime\":\"2023-11-27T04:30:50.0171519Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-27T04:30:50.0171519Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/4ebeb8120ba24acdafd3e2f44c37c92f\",\"name\":\"4ebeb8120ba24acdafd3e2f44c37c92f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"88504563586b4f289a7f9beeb9bf9dfa\",\"recoveryPointTime\":\"2023-08-24T04:30:54.6271602Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2a341f9cffcf47f699cbc5366aac7297\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-24T04:30:54.6271602Z\",\"expiryTime\":\"2023-11-24T04:30:54.6271602Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-24T04:30:54.6271602Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/88504563586b4f289a7f9beeb9bf9dfa\",\"name\":\"88504563586b4f289a7f9beeb9bf9dfa\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2ce99ced0b1e4a688b64d18b057b3025\",\"recoveryPointTime\":\"2023-08-20T04:30:54.8287567Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"184c9828d3124b308445177125209830\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-20T04:30:54.8287567Z\",\"expiryTime\":\"2023-11-20T04:30:54.8287567Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-20T04:30:54.8287567Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/2ce99ced0b1e4a688b64d18b057b3025\",\"name\":\"2ce99ced0b1e4a688b64d18b057b3025\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"606798a56e6d4fc28df3756c38e00435\",\"recoveryPointTime\":\"2023-08-17T04:30:50.8803359Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"8055d25ba8be431291061b5939def07d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-17T04:30:50.8803359Z\",\"expiryTime\":\"2023-11-17T04:30:50.8803359Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-17T04:30:50.8803359Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/606798a56e6d4fc28df3756c38e00435\",\"name\":\"606798a56e6d4fc28df3756c38e00435\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"ec76a19389a5493cb5faf8df8ba1207b\",\"recoveryPointTime\":\"2023-08-13T04:31:00.8874655Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"66d1970563ae4a378748ffa04142a5d8\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-13T04:31:00.8874655Z\",\"expiryTime\":\"2023-11-13T04:31:00.8874655Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-13T04:31:00.8874655Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/ec76a19389a5493cb5faf8df8ba1207b\",\"name\":\"ec76a19389a5493cb5faf8df8ba1207b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9684da211c59492a8dd948504296bc02\",\"recoveryPointTime\":\"2023-08-10T04:30:46.7543352Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"6f9f02c68d0540b0b9bdb5f39c371709\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-10T04:30:46.7543352Z\",\"expiryTime\":\"2023-11-10T04:30:46.7543352Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-10T04:30:46.7543352Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/9684da211c59492a8dd948504296bc02\",\"name\":\"9684da211c59492a8dd948504296bc02\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b1b0f1ea31ef46e2a2b86e77adf38954\",\"recoveryPointTime\":\"2023-08-06T04:30:54.4500889Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"02a61e26633d41a5877fc52dcfc9f0b6\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-06T04:30:54.4500889Z\",\"expiryTime\":\"2023-11-06T04:30:54.4500889Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-06T04:30:54.4500889Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/b1b0f1ea31ef46e2a2b86e77adf38954\",\"name\":\"b1b0f1ea31ef46e2a2b86e77adf38954\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e890e57ef0ac4fb08f6747e045f55cee\",\"recoveryPointTime\":\"2023-08-03T04:30:54.4996822Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"5f27dccb500b434db6d696554fb673aa\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-03T04:30:54.4996822Z\",\"expiryTime\":\"2023-11-03T04:30:54.4996822Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-03T04:30:54.4996822Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/e890e57ef0ac4fb08f6747e045f55cee\",\"name\":\"e890e57ef0ac4fb08f6747e045f55cee\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"42adf5436e4b4c98a752051e928a0b5e\",\"recoveryPointTime\":\"2023-07-30T04:30:58.4793731Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"45e462347a354c4b8f89c71636c66e41\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-30T04:30:58.4793731Z\",\"expiryTime\":\"2023-10-30T04:30:58.4793731Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-30T04:30:58.4793731Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/42adf5436e4b4c98a752051e928a0b5e\",\"name\":\"42adf5436e4b4c98a752051e928a0b5e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c39e41086db545b1bee4992178cde6d9\",\"recoveryPointTime\":\"2023-07-27T04:30:50.2217770Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"24ff791817c34695abe965fb79783788\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-27T04:30:50.2217770Z\",\"expiryTime\":\"2023-10-27T04:30:50.2217770Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-27T04:30:50.2217770Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/c39e41086db545b1bee4992178cde6d9\",\"name\":\"c39e41086db545b1bee4992178cde6d9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f07bde30572c4959b008de734bd0868c\",\"recoveryPointTime\":\"2023-07-23T04:30:47.2112005Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"af076549d3ac48acb5f6262af6cee808\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-23T04:30:47.2112005Z\",\"expiryTime\":\"2023-10-23T04:30:47.2112005Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-23T04:30:47.2112005Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/f07bde30572c4959b008de734bd0868c\",\"name\":\"f07bde30572c4959b008de734bd0868c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e7b9ed0d8fdb4855b5eb1f4a76fc96aa\",\"recoveryPointTime\":\"2023-07-20T04:30:45.0737364Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"8d4be32ec3144d1f80b115a2ba04af5e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-20T04:30:45.0737364Z\",\"expiryTime\":\"2023-10-20T04:30:45.0737364Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-20T04:30:45.0737364Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/e7b9ed0d8fdb4855b5eb1f4a76fc96aa\",\"name\":\"e7b9ed0d8fdb4855b5eb1f4a76fc96aa\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"75805c5efacd463c8329fcbde39f9e1c\",\"recoveryPointTime\":\"2023-07-16T04:30:49.2220642Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"40295ee7310b4a7b806fff306167cf5a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-16T04:30:49.2220642Z\",\"expiryTime\":\"2023-10-16T04:30:49.2220642Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-16T04:30:49.2220642Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/75805c5efacd463c8329fcbde39f9e1c\",\"name\":\"75805c5efacd463c8329fcbde39f9e1c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b351a1804dcd4f96a7edf5e6bd88363c\",\"recoveryPointTime\":\"2023-07-13T04:30:53.6142626Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"a3b4089c22f34a3e96ec797d7c7a2a48\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-13T04:30:53.6142626Z\",\"expiryTime\":\"2023-10-13T04:30:53.6142626Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-13T04:30:53.6142626Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/b351a1804dcd4f96a7edf5e6bd88363c\",\"name\":\"b351a1804dcd4f96a7edf5e6bd88363c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4971fb3329654509b9e6b7d092959915\",\"recoveryPointTime\":\"2023-07-09T04:30:50.7173437Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3963633c1461470398a7f093d646c0ca\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-09T04:30:50.7173437Z\",\"expiryTime\":\"2023-10-09T04:30:50.7173437Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-09T04:30:50.7173437Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/4971fb3329654509b9e6b7d092959915\",\"name\":\"4971fb3329654509b9e6b7d092959915\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b65edd36090a45faa4debcfbc94a0ad5\",\"recoveryPointTime\":\"2023-07-06T04:30:48.6556642Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2a6b2c4e699d40dcb14eee775a822a75\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-06T04:30:48.6556642Z\",\"expiryTime\":\"2023-10-06T04:30:48.6556642Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-06T04:30:48.6556642Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/b65edd36090a45faa4debcfbc94a0ad5\",\"name\":\"b65edd36090a45faa4debcfbc94a0ad5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"98209ae9d21b4836a614932bf2e3f5cf\",\"recoveryPointTime\":\"2023-07-02T04:30:56.5009851Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"94f7445d02d844428b766523a4204108\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-02T04:30:56.5009851Z\",\"expiryTime\":\"2023-10-02T04:30:56.5009851Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-02T04:30:56.5009851Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/98209ae9d21b4836a614932bf2e3f5cf\",\"name\":\"98209ae9d21b4836a614932bf2e3f5cf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0730273e57154d56ab1274cf9698768a\",\"recoveryPointTime\":\"2023-06-29T04:30:48.9707212Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"36c19a883db742f081a0ad4831190ab1\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-29T04:30:48.9707212Z\",\"expiryTime\":\"2023-09-29T04:30:48.9707212Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-29T04:30:48.9707212Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/0730273e57154d56ab1274cf9698768a\",\"name\":\"0730273e57154d56ab1274cf9698768a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b619e93192ec478c90d2492d9438be4f\",\"recoveryPointTime\":\"2023-06-25T04:30:51.6813526Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"ba3c52fe82074ef59278c0da5642af4d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-25T04:30:51.6813526Z\",\"expiryTime\":\"2023-09-25T04:30:51.6813526Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-25T04:30:51.6813526Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/b619e93192ec478c90d2492d9438be4f\",\"name\":\"b619e93192ec478c90d2492d9438be4f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"71175a195ea64c5dacb708c10c575891\",\"recoveryPointTime\":\"2023-06-22T04:30:44.4682064Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"c44328f1b527492cbdde3b14847d1ab9\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-22T04:30:44.4682064Z\",\"expiryTime\":\"2023-09-22T04:30:44.4682064Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-22T04:30:44.4682064Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/71175a195ea64c5dacb708c10c575891\",\"name\":\"71175a195ea64c5dacb708c10c575891\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e830cc1129cc4c07a0c3293d1264e451\",\"recoveryPointTime\":\"2023-06-18T04:30:48.6097944Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"cb90368a2663462e9adf7cf0b2eb3977\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-18T04:30:48.6097944Z\",\"expiryTime\":\"2023-09-18T04:30:48.6097944Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-18T04:30:48.6097944Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/e830cc1129cc4c07a0c3293d1264e451\",\"name\":\"e830cc1129cc4c07a0c3293d1264e451\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"04236bdb438247c88a43a937c9891a1c\",\"recoveryPointTime\":\"2023-06-15T04:30:48.4275124Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"33d1e3384b654982a1062f0309edd8f4\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-15T04:30:48.4275124Z\",\"expiryTime\":\"2023-09-15T04:30:48.4275124Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-15T04:30:48.4275124Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/04236bdb438247c88a43a937c9891a1c\",\"name\":\"04236bdb438247c88a43a937c9891a1c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2f51b10aebaa4c3fbcb4935749ae4870\",\"recoveryPointTime\":\"2023-06-11T04:30:54.5008778Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"5ff1efc5c6da496d8c8218d249305823\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-11T04:30:54.5008778Z\",\"expiryTime\":\"2023-09-11T04:30:54.5008778Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-11T04:30:54.5008778Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/2f51b10aebaa4c3fbcb4935749ae4870\",\"name\":\"2f51b10aebaa4c3fbcb4935749ae4870\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"a7f6f54d0a1c4fe59bd5146c15f4fd48\",\"recoveryPointTime\":\"2023-06-08T04:30:45.6413249Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"41b6dcfb2d6d4f55b9139c1c8f929c4b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-08T04:30:45.6413249Z\",\"expiryTime\":\"2023-09-08T04:30:45.6413249Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-08T04:30:45.6413249Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/a7f6f54d0a1c4fe59bd5146c15f4fd48\",\"name\":\"a7f6f54d0a1c4fe59bd5146c15f4fd48\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"bfef419e6f8748f3bd10a80417973c32\",\"recoveryPointTime\":\"2023-06-04T04:30:54.1491877Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"d81db06d55ec4ce4a73afe37bad0a58c\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-04T04:30:54.1491877Z\",\"expiryTime\":\"2023-09-04T04:30:54.1491877Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-04T04:30:54.1491877Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/bfef419e6f8748f3bd10a80417973c32\",\"name\":\"bfef419e6f8748f3bd10a80417973c32\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"945cbd66bc5941108de609c82a96dfd7\",\"recoveryPointTime\":\"2023-06-01T04:30:49.4290600Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2df957e7a9c2473aaac4d863d8a4349a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-01T04:30:49.4290600Z\",\"expiryTime\":\"2023-09-01T04:30:49.4290600Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-01T04:30:49.4290600Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/945cbd66bc5941108de609c82a96dfd7\",\"name\":\"945cbd66bc5941108de609c82a96dfd7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"140a9e39d32a4af68eec67baae45990d\",\"recoveryPointTime\":\"2023-05-28T04:30:47.4347130Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"4ff585515ced476aa68e863b097d8f7e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-28T05:07:40.6755097Z\",\"expiryTime\":\"2024-02-28T05:07:40.6755097Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-28T05:07:40.6755097Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/140a9e39d32a4af68eec67baae45990d\",\"name\":\"140a9e39d32a4af68eec67baae45990d\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5726941ea23b4e53bae3b7b3abb95d3c\",\"recoveryPointTime\":\"2023-05-25T04:30:49.1697625Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"1aff1615c51e44c19ef3ebfb36c28fec\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-25T05:31:26.1111710Z\",\"expiryTime\":\"2024-02-25T05:31:26.1111710Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-25T05:31:26.1111710Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/5726941ea23b4e53bae3b7b3abb95d3c\",\"name\":\"5726941ea23b4e53bae3b7b3abb95d3c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"8a7a1b394d0d4d4e9731441d97090dbf\",\"recoveryPointTime\":\"2023-05-21T04:30:46.1701778Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"39b3e1af80d843e8b10bf9cf9309eb11\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-21T05:24:46.0790181Z\",\"expiryTime\":\"2024-02-21T05:24:46.0790181Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-21T05:24:46.0790181Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/8a7a1b394d0d4d4e9731441d97090dbf\",\"name\":\"8a7a1b394d0d4d4e9731441d97090dbf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3d19fe7dd31745afa12426a56b406ed8\",\"recoveryPointTime\":\"2023-05-18T04:30:45.0114445Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"e6cf22b2b6c1493da2c84294c0088470\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-18T05:20:08.4949142Z\",\"expiryTime\":\"2024-02-18T05:20:08.4949142Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-18T05:20:08.4949142Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/3d19fe7dd31745afa12426a56b406ed8\",\"name\":\"3d19fe7dd31745afa12426a56b406ed8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e69166fe244442178fb043e48b084ff7\",\"recoveryPointTime\":\"2023-05-14T04:30:55.7949606Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"cc96a2feee0e48fba31b7cd6857d4240\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-14T05:12:53.4932208Z\",\"expiryTime\":\"2024-02-14T05:12:53.4932208Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-14T05:12:53.4932208Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/e69166fe244442178fb043e48b084ff7\",\"name\":\"e69166fe244442178fb043e48b084ff7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"33068af09e784e278c73f11c24d1f5f5\",\"recoveryPointTime\":\"2023-05-12T17:12:33.5294304Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"ae8e3f7773334206976d1c232224f916\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-12T18:10:26.4429146Z\",\"expiryTime\":\"2024-02-12T18:10:26.4429146Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-12T18:10:26.4429146Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/33068af09e784e278c73f11c24d1f5f5\",\"name\":\"33068af09e784e278c73f11c24d1f5f5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0d7696960a2a49389b9c883c6d0cff3b\",\"recoveryPointTime\":\"2023-05-11T04:30:47.3027145Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"940ad493271d43f09f5b72314c359a99\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-11T05:07:28.1304366Z\",\"expiryTime\":\"2024-02-11T05:07:28.1304366Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-11T05:07:28.1304366Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/0d7696960a2a49389b9c883c6d0cff3b\",\"name\":\"0d7696960a2a49389b9c883c6d0cff3b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5a6871364a444c9bae83982fba244558\",\"recoveryPointTime\":\"2023-05-10T10:28:32.1331399Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"7c343198f0f04a1ea5751c31272c4ff3\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-10T11:36:16.4816685Z\",\"expiryTime\":\"2024-02-10T11:36:16.4816685Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-10T11:36:16.4816685Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/5a6871364a444c9bae83982fba244558\",\"name\":\"5a6871364a444c9bae83982fba244558\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"de4d6d8135cb48c199a0ff3ef8122614\",\"recoveryPointTime\":\"2023-05-10T10:07:04.7737556Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"0b47508478a6479da4348a824989686d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-10T10:49:52.4792656Z\",\"expiryTime\":\"2024-02-10T10:49:52.4792656Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-10T10:49:52.4792656Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/de4d6d8135cb48c199a0ff3ef8122614\",\"name\":\"de4d6d8135cb48c199a0ff3ef8122614\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4e910103aa484853bbac153bf53a856e\",\"recoveryPointTime\":\"2023-05-07T04:31:24.9835474Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"881d03ac11da4f36b926e22853a62418\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-07T05:14:02.5006681Z\",\"expiryTime\":\"2024-02-07T05:14:02.5006681Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-07T05:14:02.5006681Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/4e910103aa484853bbac153bf53a856e\",\"name\":\"4e910103aa484853bbac153bf53a856e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"fce808694719459d9f88ee6df7c125cc\",\"recoveryPointTime\":\"2023-05-04T04:30:46.9221623Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"fe7bd31f7f84460c8960c53c71db3161\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-04T05:08:46.8218000Z\",\"expiryTime\":\"2024-02-04T05:08:46.8218000Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-04T05:08:46.8218000Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/fce808694719459d9f88ee6df7c125cc\",\"name\":\"fce808694719459d9f88ee6df7c125cc\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"74ca1875a51c4b058236c3915f215498\",\"recoveryPointTime\":\"2023-04-27T04:31:01.0245866Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"21ebf8ed6f084e179347c855d18e0b3c\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-07-27T05:24:46.6838748Z\",\"expiryTime\":\"2024-01-27T05:24:46.6838748Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-27T05:24:46.6838748Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/74ca1875a51c4b058236c3915f215498\",\"name\":\"74ca1875a51c4b058236c3915f215498\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"169c4cfff3b449e2a01df6be837cb825\",\"recoveryPointTime\":\"2023-04-23T04:31:34.4844653Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"046df15a083246be9f97aa122e52c65e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-07-23T05:06:43.0235116Z\",\"expiryTime\":\"2024-01-23T05:06:43.0235116Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-23T05:06:43.0235116Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/169c4cfff3b449e2a01df6be837cb825\",\"name\":\"169c4cfff3b449e2a01df6be837cb825\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"be58bcc9d050406ebaa4407fd03ad547\",\"recoveryPointTime\":\"2023-04-20T04:32:28.8092545Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"db831da7f6a54d2fb1fb8052a2910811\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-07-20T05:30:16.6247416Z\",\"expiryTime\":\"2024-01-20T05:30:16.6247416Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-20T05:30:16.6247416Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/be58bcc9d050406ebaa4407fd03ad547\",\"name\":\"be58bcc9d050406ebaa4407fd03ad547\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9c873d6b1f9e474a9a5e641c31dbd19f\",\"recoveryPointTime\":\"2023-04-16T04:31:03.7728205Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3c303de4654e46ab99594f510d04b57a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-07-16T05:22:34.5139414Z\",\"expiryTime\":\"2024-01-16T05:22:34.5139414Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-16T05:22:34.5139414Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/9c873d6b1f9e474a9a5e641c31dbd19f\",\"name\":\"9c873d6b1f9e474a9a5e641c31dbd19f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"1a8462c4e0d24955849162bd799702a0\",\"recoveryPointTime\":\"2023-04-13T04:31:01.9078059Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"cd27568de13a45cc9e485337d825eed0\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-07-13T05:16:41.0808219Z\",\"expiryTime\":\"2024-01-13T05:16:41.0808219Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-13T05:16:41.0808219Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/1a8462c4e0d24955849162bd799702a0\",\"name\":\"1a8462c4e0d24955849162bd799702a0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"80db138941a44d42b2c94536d47d5239\",\"recoveryPointTime\":\"2023-04-09T04:30:56.9399163Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"076cdf56cb1d44a79a7d16c853e696c0\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-07-09T05:05:07.6850183Z\",\"expiryTime\":\"2024-01-09T05:05:07.6850183Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-09T05:05:07.6850183Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/80db138941a44d42b2c94536d47d5239\",\"name\":\"80db138941a44d42b2c94536d47d5239\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"63dc26b91dad48f19f1e0acaf5dfacb0\",\"recoveryPointTime\":\"2023-04-06T04:31:04.1245780Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3a850da7540e4f9c9ff0e34d171d74a1\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-07-06T05:28:58.9185991Z\",\"expiryTime\":\"2024-01-06T05:28:58.9185991Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-06T05:28:58.9185991Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/63dc26b91dad48f19f1e0acaf5dfacb0\",\"name\":\"63dc26b91dad48f19f1e0acaf5dfacb0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"aed6e4a47da949e986c3fe6120074dd6\",\"recoveryPointTime\":\"2023-04-02T04:30:57.2447879Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"83db700191c8452b8c2537f4becab4c0\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-07-02T05:22:13.6269569Z\",\"expiryTime\":\"2024-01-02T05:22:13.6269569Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-02T05:22:13.6269569Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/aed6e4a47da949e986c3fe6120074dd6\",\"name\":\"aed6e4a47da949e986c3fe6120074dd6\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0ed48b4c2ca1405f814f47d7f838de5e\",\"recoveryPointTime\":\"2023-03-30T04:30:50.8579438Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"40f137a516e840df8b6cd66a9c8a6eb9\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-06-30T05:18:44.6264233Z\",\"expiryTime\":\"2023-12-30T05:18:44.6264233Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-30T05:18:44.6264233Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/0ed48b4c2ca1405f814f47d7f838de5e\",\"name\":\"0ed48b4c2ca1405f814f47d7f838de5e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9cf319ac51824980984b5429337918d9\",\"recoveryPointTime\":\"2023-03-26T04:30:59.2759629Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"63befee96c114faf8cae54790c8ba6da\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-06-26T05:11:04.3263947Z\",\"expiryTime\":\"2023-12-26T05:11:04.3263947Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-26T05:11:04.3263947Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/9cf319ac51824980984b5429337918d9\",\"name\":\"9cf319ac51824980984b5429337918d9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"08e94f0dcd92456aa377c4634d1f32d5\",\"recoveryPointTime\":\"2023-03-23T04:30:59.5094807Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"337d046eb73749f8a018a2bbd41be261\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-06-23T05:25:01.5718280Z\",\"expiryTime\":\"2023-12-23T05:25:01.5718280Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-23T05:25:01.5718280Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/08e94f0dcd92456aa377c4634d1f32d5\",\"name\":\"08e94f0dcd92456aa377c4634d1f32d5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}],\"nextLink\":\"https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints?api-version=2023-05-01\u0026%24skiptoken=%3c%3fxml+version%3d%221.0%22+encoding%3d%22utf-16%22%3f%3e%0d%0a%3cContinuationToken%3e%0d%0a++%3cContinuationToken%3e%0d%0a++++%3cVersion%3e2.0%3c%2fVersion%3e%0d%0a++++%3cType%3eTable%3c%2fType%3e%0d%0a++++%3cNextPartitionKey%3e1!48!ODhkYmM5N2UtNzA4My00ZWVkLWFiYmEtOTEwODQ2MjM4NmVj%3c%2fNextPartitionKey%3e%0d%0a++++%3cNextRowKey%3e1!140!cGl0aW5kZXg1XzBfMjUxNzIzMDA2NDA3MTEyMDE5MV8wXzJkN2IzM2M4NDQ2MDQ1YjNiYTI2OGRhZGQ5MmFhODZmXzBfMzc2ZjhiOWQtOGFiMC00ODE0LWE4OTctMTZjOGVhNTNhODcz%3c%2fNextRowKey%3e%0d%0a++++%3cTargetLocation%3ePrimary%3c%2fTargetLocation%3e%0d%0a++%3c%2fContinuationToken%3e%0d%0a%3c%2fContinuationToken%3e\"}", + "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"168154e7b68f405d933c376aef44068f\",\"recoveryPointTime\":\"2023-12-25T04:59:26.2653874Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"416c33cc8f8448a78118896e1d484f03\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-25T04:59:26.2653874Z\",\"expiryTime\":null,\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":null,\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/168154e7b68f405d933c376aef44068f\",\"name\":\"168154e7b68f405d933c376aef44068f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b7c6209d30ac48deba9d62e7c2218ed9\",\"recoveryPointTime\":\"2023-12-25T04:37:26.7774634Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"903e8d727d3341e093dd687530214f27\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-25T04:37:26.7774634Z\",\"expiryTime\":\"2024-03-25T04:37:26.7774634Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-25T04:37:26.7774634Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/b7c6209d30ac48deba9d62e7c2218ed9\",\"name\":\"b7c6209d30ac48deba9d62e7c2218ed9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"6720cf1b26a14863a6ba3c18399f5658\",\"recoveryPointTime\":\"2023-12-24T04:48:37.0201873Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3f8c2ac5b7df479ab7a917c0c5e66ae8\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-24T04:48:37.0201873Z\",\"expiryTime\":\"2024-03-24T04:48:37.0201873Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-24T04:48:37.0201873Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/6720cf1b26a14863a6ba3c18399f5658\",\"name\":\"6720cf1b26a14863a6ba3c18399f5658\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"a3fb30ddcee94cda954358731219af39\",\"recoveryPointTime\":\"2023-12-17T04:30:54.4113965Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"28699f74d38e46f7b1b5461f998d742c\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-17T04:30:54.4113965Z\",\"expiryTime\":\"2024-03-17T04:30:54.4113965Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-17T04:30:54.4113965Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/a3fb30ddcee94cda954358731219af39\",\"name\":\"a3fb30ddcee94cda954358731219af39\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9e31dbc620f64a7f8037408df7f90522\",\"recoveryPointTime\":\"2023-12-14T04:30:55.0537951Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"9386f9bb7e734421b2e886e941735058\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-14T04:30:55.0537951Z\",\"expiryTime\":\"2024-03-14T04:30:55.0537951Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-14T04:30:55.0537951Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/9e31dbc620f64a7f8037408df7f90522\",\"name\":\"9e31dbc620f64a7f8037408df7f90522\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4f84202d7f534613bfc257d973a5e709\",\"recoveryPointTime\":\"2023-12-10T04:30:57.8715773Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"26dddfe17c7547acaab1267b04988fb1\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-10T04:30:57.8715773Z\",\"expiryTime\":\"2024-03-10T04:30:57.8715773Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-10T04:30:57.8715773Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/4f84202d7f534613bfc257d973a5e709\",\"name\":\"4f84202d7f534613bfc257d973a5e709\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3ba772110d3443c49094ec7c3b7991c8\",\"recoveryPointTime\":\"2023-12-07T04:30:54.2210364Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"8abadba89f3c4f9b87a34616122410a6\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-07T04:30:54.2210364Z\",\"expiryTime\":\"2024-03-07T04:30:54.2210364Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-07T04:30:54.2210364Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/3ba772110d3443c49094ec7c3b7991c8\",\"name\":\"3ba772110d3443c49094ec7c3b7991c8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"d0c6bea3559742909b2c73f70d7fb6ef\",\"recoveryPointTime\":\"2023-12-03T04:30:54.3725397Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"38634cef2e834b639474a9cf70844c3d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-03T04:30:54.3725397Z\",\"expiryTime\":\"2024-03-03T04:30:54.3725397Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-03T04:30:54.3725397Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/d0c6bea3559742909b2c73f70d7fb6ef\",\"name\":\"d0c6bea3559742909b2c73f70d7fb6ef\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"1471ea5f0d7a4d1c825e9e286915f827\",\"recoveryPointTime\":\"2023-11-30T04:31:03.3847074Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"905301a284564acc9f686aa26d004e2f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-30T04:31:03.3847074Z\",\"expiryTime\":\"2024-02-29T04:31:03.3847074Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-29T04:31:03.3847074Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/1471ea5f0d7a4d1c825e9e286915f827\",\"name\":\"1471ea5f0d7a4d1c825e9e286915f827\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"04991d12c5234358bbc9eb2e072a1561\",\"recoveryPointTime\":\"2023-11-26T04:30:54.1789745Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2176f0f68bbe4feea1f208cf97aadd09\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-26T04:30:54.1789745Z\",\"expiryTime\":\"2024-02-26T04:30:54.1789745Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-26T04:30:54.1789745Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/04991d12c5234358bbc9eb2e072a1561\",\"name\":\"04991d12c5234358bbc9eb2e072a1561\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"8cfb9f7d70474424938192b1f1e8c2fb\",\"recoveryPointTime\":\"2023-11-23T04:30:48.9389514Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"def209cde508448daab2ac0b70ea86e1\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-23T04:30:48.9389514Z\",\"expiryTime\":\"2024-02-23T04:30:48.9389514Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-23T04:30:48.9389514Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/8cfb9f7d70474424938192b1f1e8c2fb\",\"name\":\"8cfb9f7d70474424938192b1f1e8c2fb\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5222a30ddfdc4dfb8f88aff816fccf50\",\"recoveryPointTime\":\"2023-11-19T04:30:48.6021961Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"5703e556bf894437a78984e7d53990cf\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-19T04:30:48.6021961Z\",\"expiryTime\":\"2024-02-19T04:30:48.6021961Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-19T04:30:48.6021961Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/5222a30ddfdc4dfb8f88aff816fccf50\",\"name\":\"5222a30ddfdc4dfb8f88aff816fccf50\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f937914a49384692b5f0d64f264dad57\",\"recoveryPointTime\":\"2023-11-16T04:30:55.6748704Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"4304aedccb9c4106bf84ea5db76ff2ac\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-16T04:30:55.6748704Z\",\"expiryTime\":\"2024-02-16T04:30:55.6748704Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-16T04:30:55.6748704Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/f937914a49384692b5f0d64f264dad57\",\"name\":\"f937914a49384692b5f0d64f264dad57\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0540d4f3880a4b55be5907c2340f2980\",\"recoveryPointTime\":\"2023-11-12T04:30:51.8975931Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"9489322e157341c194f408f209fa4bb4\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-12T04:30:51.8975931Z\",\"expiryTime\":\"2024-02-12T04:30:51.8975931Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-12T04:30:51.8975931Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/0540d4f3880a4b55be5907c2340f2980\",\"name\":\"0540d4f3880a4b55be5907c2340f2980\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"89f7fdd0a5bf443ba3e5c61dd6d4546c\",\"recoveryPointTime\":\"2023-11-09T04:30:51.2951798Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"e65862f0531b48be90a271adda73becb\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-09T04:30:51.2951798Z\",\"expiryTime\":\"2024-02-09T04:30:51.2951798Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-09T04:30:51.2951798Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/89f7fdd0a5bf443ba3e5c61dd6d4546c\",\"name\":\"89f7fdd0a5bf443ba3e5c61dd6d4546c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3ea3679f43634818a48d875726000ebd\",\"recoveryPointTime\":\"2023-11-05T04:30:57.6944999Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"07206628f40041e983488235e129b1cd\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-05T04:30:57.6944999Z\",\"expiryTime\":\"2024-02-05T04:30:57.6944999Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-05T04:30:57.6944999Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/3ea3679f43634818a48d875726000ebd\",\"name\":\"3ea3679f43634818a48d875726000ebd\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0749f8194c6b429b8cf07ac7a7ad30d0\",\"recoveryPointTime\":\"2023-11-02T04:30:45.7284586Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3f2fd9a9f3ab48ff93e582563c70facc\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-02T04:30:45.7284586Z\",\"expiryTime\":\"2024-02-02T04:30:45.7284586Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-02T04:30:45.7284586Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/0749f8194c6b429b8cf07ac7a7ad30d0\",\"name\":\"0749f8194c6b429b8cf07ac7a7ad30d0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f60692f158f3438880ecedd1a58f6d82\",\"recoveryPointTime\":\"2023-10-29T04:30:49.7761056Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"b7ca615558c0461999f3632e87906df3\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-29T04:30:49.7761056Z\",\"expiryTime\":\"2024-01-29T04:30:49.7761056Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-29T04:30:49.7761056Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/f60692f158f3438880ecedd1a58f6d82\",\"name\":\"f60692f158f3438880ecedd1a58f6d82\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"bca2a668a63c4b119c8293cd580658e3\",\"recoveryPointTime\":\"2023-10-26T04:30:49.1708105Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"7ec3eafa39724180aa53d57d2a5d59d1\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-26T04:30:49.1708105Z\",\"expiryTime\":\"2024-01-26T04:30:49.1708105Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-26T04:30:49.1708105Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/bca2a668a63c4b119c8293cd580658e3\",\"name\":\"bca2a668a63c4b119c8293cd580658e3\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9e144023881a431db0ae56709ad3475c\",\"recoveryPointTime\":\"2023-10-22T04:30:54.7552176Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"e81f9c70662c469f955b3446e920edda\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-22T04:30:54.7552176Z\",\"expiryTime\":\"2024-01-22T04:30:54.7552176Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-22T04:30:54.7552176Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/9e144023881a431db0ae56709ad3475c\",\"name\":\"9e144023881a431db0ae56709ad3475c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"05433eb279714360baeb53555a356f08\",\"recoveryPointTime\":\"2023-10-19T04:31:11.9495619Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"9b48539247f44cd2bc5965b7f0c10924\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-19T04:31:11.9495619Z\",\"expiryTime\":\"2024-01-19T04:31:11.9495619Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-19T04:31:11.9495619Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/05433eb279714360baeb53555a356f08\",\"name\":\"05433eb279714360baeb53555a356f08\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"611529ff1c1042ac8cea4667fecc054e\",\"recoveryPointTime\":\"2023-10-15T04:30:57.1217659Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"c9d7b76bbbec4703a293f62d8ea80649\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-15T04:30:57.1217659Z\",\"expiryTime\":\"2024-01-15T04:30:57.1217659Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-15T04:30:57.1217659Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/611529ff1c1042ac8cea4667fecc054e\",\"name\":\"611529ff1c1042ac8cea4667fecc054e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"99b5616388e04868ad68493fa9ffd4d1\",\"recoveryPointTime\":\"2023-10-12T04:30:55.4234705Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"8a34076e9f79454dafee55e047646b46\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-12T04:30:55.4234705Z\",\"expiryTime\":\"2024-01-12T04:30:55.4234705Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-12T04:30:55.4234705Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/99b5616388e04868ad68493fa9ffd4d1\",\"name\":\"99b5616388e04868ad68493fa9ffd4d1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9086aab3019d48d4970c146170f1c225\",\"recoveryPointTime\":\"2023-10-08T04:30:54.9049937Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"6ae2e253f17447f083d50d11c7ba7f0a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-08T04:30:54.9049937Z\",\"expiryTime\":\"2024-01-08T04:30:54.9049937Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-08T04:30:54.9049937Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/9086aab3019d48d4970c146170f1c225\",\"name\":\"9086aab3019d48d4970c146170f1c225\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5e1d60ddef604af09e7a0f9cead064ac\",\"recoveryPointTime\":\"2023-10-05T04:30:45.4012823Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3870f682f33c44b1a40460ae738f9eb4\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-05T04:30:45.4012823Z\",\"expiryTime\":\"2024-01-05T04:30:45.4012823Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-05T04:30:45.4012823Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/5e1d60ddef604af09e7a0f9cead064ac\",\"name\":\"5e1d60ddef604af09e7a0f9cead064ac\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"58306420b96e44ecb468862507b82fb5\",\"recoveryPointTime\":\"2023-10-01T04:30:53.1095201Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"774f5e5045e741b7affe5a219590269f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-01T04:30:53.1095201Z\",\"expiryTime\":\"2024-01-01T04:30:53.1095201Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-01T04:30:53.1095201Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/58306420b96e44ecb468862507b82fb5\",\"name\":\"58306420b96e44ecb468862507b82fb5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4ad52f0b7ad64aa1a366e1d5a013d04b\",\"recoveryPointTime\":\"2023-09-28T04:30:52.2162736Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"a44592c5067e49e28b744905611bc7a1\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-09-28T04:30:52.2162736Z\",\"expiryTime\":\"2023-12-28T04:30:52.2162736Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-28T04:30:52.2162736Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/4ad52f0b7ad64aa1a366e1d5a013d04b\",\"name\":\"4ad52f0b7ad64aa1a366e1d5a013d04b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3c322b07fe0e4ab6a4153ca48da77fc2\",\"recoveryPointTime\":\"2023-09-24T04:30:48.1125285Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"65d2d197b236428cb9e6a806acb07df0\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-12-24T05:16:20.8948703Z\",\"expiryTime\":\"2024-06-24T05:16:20.8948703Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-24T05:16:20.8948703Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/3c322b07fe0e4ab6a4153ca48da77fc2\",\"name\":\"3c322b07fe0e4ab6a4153ca48da77fc2\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"8bbcfc1fcadb48d2a361ed4651b663b2\",\"recoveryPointTime\":\"2023-09-21T04:30:52.8184166Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2224081f9ded4241b2413c37a7dcec54\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-12-21T05:31:36.6890570Z\",\"expiryTime\":\"2024-06-21T05:31:36.6890570Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-21T05:31:36.6890570Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/8bbcfc1fcadb48d2a361ed4651b663b2\",\"name\":\"8bbcfc1fcadb48d2a361ed4651b663b2\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"6dfdc524713746e0bb84bb4c9905f457\",\"recoveryPointTime\":\"2023-09-17T04:30:51.5450989Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"1c94854d90ec49868e4cf51b165880c4\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-12-17T05:16:57.5713999Z\",\"expiryTime\":\"2024-06-17T05:16:57.5713999Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-17T05:16:57.5713999Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/6dfdc524713746e0bb84bb4c9905f457\",\"name\":\"6dfdc524713746e0bb84bb4c9905f457\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"d4f6984eb84640fdb2b529692d51280c\",\"recoveryPointTime\":\"2023-09-14T04:30:55.3293482Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"d3043083f514406bb7f5dbc3f1a97113\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-12-14T05:10:31.4811505Z\",\"expiryTime\":\"2024-06-14T05:10:31.4811505Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-14T05:10:31.4811505Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/d4f6984eb84640fdb2b529692d51280c\",\"name\":\"d4f6984eb84640fdb2b529692d51280c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c9a4d9f4d08440748e82a11a33c4dacd\",\"recoveryPointTime\":\"2023-09-10T04:30:57.3203889Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"6808f42901434f93ab6d76c068ac2b9c\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-12-10T05:12:45.3958905Z\",\"expiryTime\":\"2024-06-10T05:12:45.3958905Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-10T05:12:45.3958905Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/c9a4d9f4d08440748e82a11a33c4dacd\",\"name\":\"c9a4d9f4d08440748e82a11a33c4dacd\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"77cfdb21fb8a478cbfda142c2bdb51cc\",\"recoveryPointTime\":\"2023-09-07T04:30:54.4699371Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"8b7db47a9f1b49609ab7bf082e1385e3\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-12-07T05:06:32.0371825Z\",\"expiryTime\":\"2024-06-07T05:06:32.0371825Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-07T05:06:32.0371825Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/77cfdb21fb8a478cbfda142c2bdb51cc\",\"name\":\"77cfdb21fb8a478cbfda142c2bdb51cc\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"48aa080a41dc40e5be802adb5614f3d2\",\"recoveryPointTime\":\"2023-09-03T04:30:56.3301383Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"efbe7a9a679d4853ba7c52da9a2a489d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-12-03T05:27:54.3382557Z\",\"expiryTime\":\"2024-06-03T05:27:54.3382557Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-03T05:27:54.3382557Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/48aa080a41dc40e5be802adb5614f3d2\",\"name\":\"48aa080a41dc40e5be802adb5614f3d2\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3524e84bcd7142f3a3a797802113ad5c\",\"recoveryPointTime\":\"2023-08-31T04:30:45.7894941Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"600fbad7b214404da9ec9f2e2f706636\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-30T05:21:03.3012085Z\",\"expiryTime\":\"2024-05-30T05:21:03.3012085Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-30T05:21:03.3012085Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/3524e84bcd7142f3a3a797802113ad5c\",\"name\":\"3524e84bcd7142f3a3a797802113ad5c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e56f7dc119f24092b7f07564b6d5de3f\",\"recoveryPointTime\":\"2023-08-29T08:03:45.6744858Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"f5890fb659c14e62ab64ddc56b44a5be\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-29T08:49:20.5634180Z\",\"expiryTime\":\"2024-05-29T08:49:20.5634180Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-29T08:49:20.5634180Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/e56f7dc119f24092b7f07564b6d5de3f\",\"name\":\"e56f7dc119f24092b7f07564b6d5de3f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"1c6636d8725b4b77b91fde11c2098c76\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-28T15:17:39.0236652Z\",\"expiryTime\":\"2024-05-28T15:17:39.0236652Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-28T15:17:39.0236652Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/5b0f10f3900949dc88218fa060757f6b\",\"name\":\"5b0f10f3900949dc88218fa060757f6b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"32b0b1a6b3134a428e597af3c6a334ca\",\"recoveryPointTime\":\"2023-08-28T13:35:44.9710031Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2814cad0924b4919bf136f753b7d5277\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-28T14:31:15.2798544Z\",\"expiryTime\":\"2024-05-28T14:31:15.2798544Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-28T14:31:15.2798544Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/32b0b1a6b3134a428e597af3c6a334ca\",\"name\":\"32b0b1a6b3134a428e597af3c6a334ca\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4ebeb8120ba24acdafd3e2f44c37c92f\",\"recoveryPointTime\":\"2023-08-27T04:30:50.0171519Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"4b8e8168a78f48b2bfd30a3dca97c9eb\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-27T05:28:10.4892889Z\",\"expiryTime\":\"2024-05-27T05:28:10.4892889Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-27T05:28:10.4892889Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/4ebeb8120ba24acdafd3e2f44c37c92f\",\"name\":\"4ebeb8120ba24acdafd3e2f44c37c92f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"88504563586b4f289a7f9beeb9bf9dfa\",\"recoveryPointTime\":\"2023-08-24T04:30:54.6271602Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2a341f9cffcf47f699cbc5366aac7297\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-24T05:21:38.2454783Z\",\"expiryTime\":\"2024-05-24T05:21:38.2454783Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-24T05:21:38.2454783Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/88504563586b4f289a7f9beeb9bf9dfa\",\"name\":\"88504563586b4f289a7f9beeb9bf9dfa\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2ce99ced0b1e4a688b64d18b057b3025\",\"recoveryPointTime\":\"2023-08-20T04:30:54.8287567Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"184c9828d3124b308445177125209830\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-20T05:13:22.7949111Z\",\"expiryTime\":\"2024-05-20T05:13:22.7949111Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-20T05:13:22.7949111Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/2ce99ced0b1e4a688b64d18b057b3025\",\"name\":\"2ce99ced0b1e4a688b64d18b057b3025\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"606798a56e6d4fc28df3756c38e00435\",\"recoveryPointTime\":\"2023-08-17T04:30:50.8803359Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"8055d25ba8be431291061b5939def07d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-17T05:07:23.6431192Z\",\"expiryTime\":\"2024-05-17T05:07:23.6431192Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-17T05:07:23.6431192Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/606798a56e6d4fc28df3756c38e00435\",\"name\":\"606798a56e6d4fc28df3756c38e00435\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"ec76a19389a5493cb5faf8df8ba1207b\",\"recoveryPointTime\":\"2023-08-13T04:31:00.8874655Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"66d1970563ae4a378748ffa04142a5d8\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-13T05:21:08.2789438Z\",\"expiryTime\":\"2024-05-13T05:21:08.2789438Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-13T05:21:08.2789438Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/ec76a19389a5493cb5faf8df8ba1207b\",\"name\":\"ec76a19389a5493cb5faf8df8ba1207b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9684da211c59492a8dd948504296bc02\",\"recoveryPointTime\":\"2023-08-10T04:30:46.7543352Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"6f9f02c68d0540b0b9bdb5f39c371709\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-10T05:15:01.1933054Z\",\"expiryTime\":\"2024-05-10T05:15:01.1933054Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-10T05:15:01.1933054Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/9684da211c59492a8dd948504296bc02\",\"name\":\"9684da211c59492a8dd948504296bc02\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b1b0f1ea31ef46e2a2b86e77adf38954\",\"recoveryPointTime\":\"2023-08-06T04:30:54.4500889Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"02a61e26633d41a5877fc52dcfc9f0b6\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-06T05:07:18.3915769Z\",\"expiryTime\":\"2024-05-06T05:07:18.3915769Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-06T05:07:18.3915769Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/b1b0f1ea31ef46e2a2b86e77adf38954\",\"name\":\"b1b0f1ea31ef46e2a2b86e77adf38954\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e890e57ef0ac4fb08f6747e045f55cee\",\"recoveryPointTime\":\"2023-08-03T04:30:54.4996822Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"5f27dccb500b434db6d696554fb673aa\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-03T05:32:01.0305042Z\",\"expiryTime\":\"2024-05-03T05:32:01.0305042Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-03T05:32:01.0305042Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/e890e57ef0ac4fb08f6747e045f55cee\",\"name\":\"e890e57ef0ac4fb08f6747e045f55cee\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"42adf5436e4b4c98a752051e928a0b5e\",\"recoveryPointTime\":\"2023-07-30T04:30:58.4793731Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"45e462347a354c4b8f89c71636c66e41\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-10-30T05:23:54.8312839Z\",\"expiryTime\":\"2024-04-30T05:23:54.8312839Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-30T05:23:54.8312839Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/42adf5436e4b4c98a752051e928a0b5e\",\"name\":\"42adf5436e4b4c98a752051e928a0b5e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c39e41086db545b1bee4992178cde6d9\",\"recoveryPointTime\":\"2023-07-27T04:30:50.2217770Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"24ff791817c34695abe965fb79783788\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-10-27T05:17:57.9353595Z\",\"expiryTime\":\"2024-04-27T05:17:57.9353595Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-27T05:17:57.9353595Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/c39e41086db545b1bee4992178cde6d9\",\"name\":\"c39e41086db545b1bee4992178cde6d9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f07bde30572c4959b008de734bd0868c\",\"recoveryPointTime\":\"2023-07-23T04:30:47.2112005Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"af076549d3ac48acb5f6262af6cee808\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-10-23T05:09:54.9298400Z\",\"expiryTime\":\"2024-04-23T05:09:54.9298400Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-23T05:09:54.9298400Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/f07bde30572c4959b008de734bd0868c\",\"name\":\"f07bde30572c4959b008de734bd0868c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e7b9ed0d8fdb4855b5eb1f4a76fc96aa\",\"recoveryPointTime\":\"2023-07-20T04:30:45.0737364Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"8d4be32ec3144d1f80b115a2ba04af5e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-10-20T05:04:31.1906758Z\",\"expiryTime\":\"2024-04-20T05:04:31.1906758Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-20T05:04:31.1906758Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/e7b9ed0d8fdb4855b5eb1f4a76fc96aa\",\"name\":\"e7b9ed0d8fdb4855b5eb1f4a76fc96aa\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}],\"nextLink\":\"https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints?api-version=2023-11-01\u0026%24skiptoken=1!48!ODhkYmM5N2UtNzA4My00ZWVkLWFiYmEtOTEwODQ2MjM4NmVj+1!140!cGl0aW5kZXg1XzBfMjUxNzEyODE4OTUwNzc3OTM1N18wXzc1ODA1YzVlZmFjZDQ2M2M4MzI5ZmNiZGUzOWY5ZTFjXzBfMzc2ZjhiOWQtOGFiMC00ODE0LWE4OTctMTZjOGVhNTNhODcz\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/restore?api-version=2023-05-01+15": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/restore?api-version=2023-11-01+14": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/restore?api-version=2023-05-01", - "Content": "{\r\n \"objectType\": \"AzureBackupRecoveryPointBasedRestoreRequest\",\r\n \"restoreTargetInfo\": {\r\n \"objectType\": \"restoreTargetInfo\",\r\n \"recoveryOption\": \"FailIfExists\",\r\n \"restoreLocation\": \"centraluseuap\",\r\n \"datasourceInfo\": {\r\n \"datasourceType\": \"Microsoft.DBforPostgreSQL/servers/databases\",\r\n \"objectType\": \"Datasource\",\r\n \"resourceID\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-28-08-2023-3-11-11\",\r\n \"resourceLocation\": \"centraluseuap\",\r\n \"resourceName\": \"oss-pstest-dbrestore-28-08-2023-3-11-11\",\r\n \"resourceType\": \"Microsoft.DBforPostgreSQL/servers/databases\",\r\n \"resourceUri\": \"\"\r\n },\r\n \"datasourceSetInfo\": {\r\n \"datasourceType\": \"Microsoft.DBforPostgreSQL/servers/databases\",\r\n \"objectType\": \"DatasourceSet\",\r\n \"resourceID\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server\",\r\n \"resourceLocation\": \"centraluseuap\",\r\n \"resourceName\": \"oss-pstest-server\",\r\n \"resourceType\": \"Microsoft.DBforPostgreSQL/servers\",\r\n \"resourceUri\": \"\"\r\n },\r\n \"datasourceAuthCredentials\": {\r\n \"objectType\": \"SecretStoreBasedAuthCredentials\",\r\n \"secretStoreResource\": {\r\n \"uri\": \"https://oss-pstest-keyvault.vault.azure.net/secrets/oss-pstest-secret\",\r\n \"secretStoreType\": \"AzureKeyVault\"\r\n }\r\n }\r\n },\r\n \"sourceDataStoreType\": \"VaultStore\",\r\n \"recoveryPointId\": \"5b0f10f3900949dc88218fa060757f6b\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/restore?api-version=2023-11-01", + "Content": "{\r\n \"objectType\": \"AzureBackupRecoveryPointBasedRestoreRequest\",\r\n \"restoreTargetInfo\": {\r\n \"objectType\": \"restoreTargetInfo\",\r\n \"recoveryOption\": \"FailIfExists\",\r\n \"restoreLocation\": \"centraluseuap\",\r\n \"datasourceInfo\": {\r\n \"datasourceType\": \"Microsoft.DBforPostgreSQL/servers/databases\",\r\n \"objectType\": \"Datasource\",\r\n \"resourceID\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-25-12-2023-11-11-11\",\r\n \"resourceLocation\": \"centraluseuap\",\r\n \"resourceName\": \"oss-pstest-dbrestore-25-12-2023-11-11-11\",\r\n \"resourceType\": \"Microsoft.DBforPostgreSQL/servers/databases\",\r\n \"resourceUri\": \"\"\r\n },\r\n \"datasourceSetInfo\": {\r\n \"datasourceType\": \"Microsoft.DBforPostgreSQL/servers/databases\",\r\n \"objectType\": \"DatasourceSet\",\r\n \"resourceID\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server\",\r\n \"resourceLocation\": \"centraluseuap\",\r\n \"resourceName\": \"oss-pstest-server\",\r\n \"resourceType\": \"Microsoft.DBforPostgreSQL/servers\",\r\n \"resourceUri\": \"\"\r\n },\r\n \"datasourceAuthCredentials\": {\r\n \"objectType\": \"SecretStoreBasedAuthCredentials\",\r\n \"secretStoreResource\": {\r\n \"uri\": \"https://oss-pstest-keyvault.vault.azure.net/secrets/oss-pstest-secret\",\r\n \"secretStoreType\": \"AzureKeyVault\"\r\n }\r\n }\r\n },\r\n \"sourceDataStoreType\": \"VaultStore\",\r\n \"recoveryPointId\": \"168154e7b68f405d933c376aef44068f\"\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "1626" ] + "Content-Length": [ "1628" ] } }, "Response": { @@ -1339,17 +1297,17 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzAxODhlZDI5LWFiOTAtNDM4ZS05ZTk5LWRlN2M1NmI1OTM5ZQ==?api-version=2023-05-01\u0026t=2023-08-28T14%3a16%3a46\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=XlZm93d2n0XV_yi0m7SGk8Cm-RBCfbFXNbVzahr43M47d6hTJhmXus3PI_e1rL37tEvo_4FDG3naQGtSUIdmKYmg_Nj5TgfsZfCpBCjOU4Wii8ApdUTEGi2X-6f_pa7M5Kk-ltJkkUvWu-zYsoetw2KmtpgUupt3LW0-uyyg2k_RaWrblU-K7DSPskCwJsAQwEyv4guMSY3VmAGI0yuOuwrcS7vwPiPkh2yQWdTdt1mZqUaPHE7M9JbNFtYbVphf3hmAEMOEOluZwg0NmLYJgS-Nxkm1pBldFEHS2qrKIJbTjttWqGduVn-SjsUumWb8-uyOl2l7R_0cTDxfmBKCOg\u0026h=UvglOxN1fuDUBmvL9nZxDuLx2SsLpW-BF754c3KR2X8" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzI1NzM1YWZjLWEyMGQtNDZkYi04YzBhLWE3OTMyMmI0NTIyOQ==?api-version=2023-11-01\u0026t=638390772326702276\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=v8PX3kdjU8mALdf9Y70o0Jz8A7vgzRoVS-9MQVb9ed2_NJbhcUxkJKyabcJ5xkylRH4tG0BJxxSvoiXA4NwmWoUQwWAAF2bikMoKcwvNpLrY1gR05bezSN0HeuUbBgKBe5Wlud0KrttjEHmhLckfjfUemxSqruiySPJvYClLhoqg7z0yCI2FXGxSQMh4S-g-A0FUQmjcfFFxR9LplrnCv5QtPfRvfY0qE7nr4a27bHnrMOOV-aO78idJEL9ajJ1rWOiNcW8ROt6ww0EZE9KMflD1S59u22_NxRp76WTb9GdZisSpWCBc0kaIoGud2Nd80qfWWHWFaZyXcoJ6mpSbnA\u0026h=5oy6c4MRuwayXXCvf0WJNS689qCjnW_sLEP6UfnmNmA" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzAxODhlZDI5LWFiOTAtNDM4ZS05ZTk5LWRlN2M1NmI1OTM5ZQ==?api-version=2023-05-01\u0026t=2023-08-28T14%3a16%3a46\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=ghhUIYq0hur7wo-vD_ftQlMjYulT_RWg4-1OZd5sHNOcFDXrU4hnMERUBZelrA2GGB79Km6Eb9m-OL4MwmyRPJ9CuWWaBIMY4uJKqzhIRVcWq1J8dzwwwSsZzFI4vwXEUnogE47dmhCzFkhqrXjsPPt9OmhAbJ6NpFI3ZYtNEL27WCWFj7uraLM_tZUQmprGGV-LyBTGReT3k_dLul0osXKtX1vC9tqMEmEaVlTJCpsXs3rOc80LOwtsLmz8ouzzS2qCqu7Tw8MFS2UGoRTYZ4AlSUbmAc_yXkfFKXFbSUQRRyJFS1jbJ_X3BM6cedEmdUSDrO6Lw1abl_dnFRN8hw\u0026h=w6QRDo3ApEzk1J12ocTmn6GUerruhQxrJxuP38u6n70" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzI1NzM1YWZjLWEyMGQtNDZkYi04YzBhLWE3OTMyMmI0NTIyOQ==?api-version=2023-11-01\u0026t=638390772326702276\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=DhbwBDq9IH0H9-Rj6EbhuOx6n-_G-aCPNVkdgwll7jlk2HEk3AT1AvD4HZ9tkPprt06XGzPR5BH4B1Gx-LOcfEtnBbTEin6p2YsS0T_cdJGhWGJ9gpNF5XUSSt59VOb062J5saQw7BF6V3YqpaPAC7eyapjgSfd9KUj-M3COj1wvjo48aIpZDOteIuySJnrDP7UNl09OQk1c1l_We4Oj_97UyGdZIqkVxiInWhrumVbHyeA9jBGXvyMqrfLpMxaH5teZCX49BfsZAtFCipiUkowSjBKDYaYOUl6zNzewASEv4F6gbj19tWONAp_hKhfLLzbVOPyTmtTbKsRAZq4gjw\u0026h=e91KeK8kk58k5qjvPmGKdanW8MCgHiemnjjGCMK6lUY" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "7fc3fafe-e6ee-4748-9245-a30ab783b885" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141646Z:7fc3fafe-e6ee-4748-9245-a30ab783b885" ], - "Date": [ "Mon, 28 Aug 2023 14:16:45 GMT" ] + "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], + "x-ms-correlation-request-id": [ "9ffe7349-a1a9-4645-8a39-fd0cbd4a6981" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050032Z:9ffe7349-a1a9-4645-8a39-fd0cbd4a6981" ], + "Date": [ "Mon, 25 Dec 2023 05:00:32 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -1359,20 +1317,20 @@ "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzAxODhlZDI5LWFiOTAtNDM4ZS05ZTk5LWRlN2M1NmI1OTM5ZQ==?api-version=2023-05-01\u0026t=2023-08-28T14%3a16%3a46\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=ghhUIYq0hur7wo-vD_ftQlMjYulT_RWg4-1OZd5sHNOcFDXrU4hnMERUBZelrA2GGB79Km6Eb9m-OL4MwmyRPJ9CuWWaBIMY4uJKqzhIRVcWq1J8dzwwwSsZzFI4vwXEUnogE47dmhCzFkhqrXjsPPt9OmhAbJ6NpFI3ZYtNEL27WCWFj7uraLM_tZUQmprGGV-LyBTGReT3k_dLul0osXKtX1vC9tqMEmEaVlTJCpsXs3rOc80LOwtsLmz8ouzzS2qCqu7Tw8MFS2UGoRTYZ4AlSUbmAc_yXkfFKXFbSUQRRyJFS1jbJ_X3BM6cedEmdUSDrO6Lw1abl_dnFRN8hw\u0026h=w6QRDo3ApEzk1J12ocTmn6GUerruhQxrJxuP38u6n70+16": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzI1NzM1YWZjLWEyMGQtNDZkYi04YzBhLWE3OTMyMmI0NTIyOQ==?api-version=2023-11-01\u0026t=638390772326702276\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=DhbwBDq9IH0H9-Rj6EbhuOx6n-_G-aCPNVkdgwll7jlk2HEk3AT1AvD4HZ9tkPprt06XGzPR5BH4B1Gx-LOcfEtnBbTEin6p2YsS0T_cdJGhWGJ9gpNF5XUSSt59VOb062J5saQw7BF6V3YqpaPAC7eyapjgSfd9KUj-M3COj1wvjo48aIpZDOteIuySJnrDP7UNl09OQk1c1l_We4Oj_97UyGdZIqkVxiInWhrumVbHyeA9jBGXvyMqrfLpMxaH5teZCX49BfsZAtFCipiUkowSjBKDYaYOUl6zNzewASEv4F6gbj19tWONAp_hKhfLLzbVOPyTmtTbKsRAZq4gjw\u0026h=e91KeK8kk58k5qjvPmGKdanW8MCgHiemnjjGCMK6lUY+15": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzAxODhlZDI5LWFiOTAtNDM4ZS05ZTk5LWRlN2M1NmI1OTM5ZQ==?api-version=2023-05-01\u0026t=2023-08-28T14%3a16%3a46\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=ghhUIYq0hur7wo-vD_ftQlMjYulT_RWg4-1OZd5sHNOcFDXrU4hnMERUBZelrA2GGB79Km6Eb9m-OL4MwmyRPJ9CuWWaBIMY4uJKqzhIRVcWq1J8dzwwwSsZzFI4vwXEUnogE47dmhCzFkhqrXjsPPt9OmhAbJ6NpFI3ZYtNEL27WCWFj7uraLM_tZUQmprGGV-LyBTGReT3k_dLul0osXKtX1vC9tqMEmEaVlTJCpsXs3rOc80LOwtsLmz8ouzzS2qCqu7Tw8MFS2UGoRTYZ4AlSUbmAc_yXkfFKXFbSUQRRyJFS1jbJ_X3BM6cedEmdUSDrO6Lw1abl_dnFRN8hw\u0026h=w6QRDo3ApEzk1J12ocTmn6GUerruhQxrJxuP38u6n70", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzI1NzM1YWZjLWEyMGQtNDZkYi04YzBhLWE3OTMyMmI0NTIyOQ==?api-version=2023-11-01\u0026t=638390772326702276\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=DhbwBDq9IH0H9-Rj6EbhuOx6n-_G-aCPNVkdgwll7jlk2HEk3AT1AvD4HZ9tkPprt06XGzPR5BH4B1Gx-LOcfEtnBbTEin6p2YsS0T_cdJGhWGJ9gpNF5XUSSt59VOb062J5saQw7BF6V3YqpaPAC7eyapjgSfd9KUj-M3COj1wvjo48aIpZDOteIuySJnrDP7UNl09OQk1c1l_We4Oj_97UyGdZIqkVxiInWhrumVbHyeA9jBGXvyMqrfLpMxaH5teZCX49BfsZAtFCipiUkowSjBKDYaYOUl6zNzewASEv4F6gbj19tWONAp_hKhfLLzbVOPyTmtTbKsRAZq4gjw\u0026h=e91KeK8kk58k5qjvPmGKdanW8MCgHiemnjjGCMK6lUY", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "386" ], - "x-ms-client-request-id": [ "7057e060-ca80-45e1-8d35-53ae61351e3e" ], - "CommandName": [ "Start-AzDataProtectionBackupInstanceRestore" ], + "x-ms-unique-id": [ "252" ], + "x-ms-client-request-id": [ "4c7f5302-ed4e-43b4-9f33-21ff4626ad7c" ], + "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -1387,34 +1345,34 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "996" ], - "x-ms-correlation-request-id": [ "98ca8c08-c86c-4a1f-af28-6cbad0a3d9e5" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141716Z:98ca8c08-c86c-4a1f-af28-6cbad0a3d9e5" ], - "Date": [ "Mon, 28 Aug 2023 14:17:16 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "992" ], + "x-ms-correlation-request-id": [ "98a5b5a9-abbc-44c3-ad04-922f0d9a5d02" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050103Z:98a5b5a9-abbc-44c3-ad04-922f0d9a5d02" ], + "Date": [ "Mon, 25 Dec 2023 05:01:03 GMT" ] }, "ContentHeaders": { "Content-Length": [ "737" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzAxODhlZDI5LWFiOTAtNDM4ZS05ZTk5LWRlN2M1NmI1OTM5ZQ==\",\"name\":\"ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzAxODhlZDI5LWFiOTAtNDM4ZS05ZTk5LWRlN2M1NmI1OTM5ZQ==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-28T14:16:45.9452146Z\",\"endTime\":\"2023-08-28T14:16:47Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzI1NzM1YWZjLWEyMGQtNDZkYi04YzBhLWE3OTMyMmI0NTIyOQ==\",\"name\":\"ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzI1NzM1YWZjLWEyMGQtNDZkYi04YzBhLWE3OTMyMmI0NTIyOQ==\",\"status\":\"Succeeded\",\"startTime\":\"2023-12-25T05:00:32.4750474Z\",\"endTime\":\"2023-12-25T05:00:33Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4\",\"objectType\":\"OperationJobExtendedInfo\"}}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzAxODhlZDI5LWFiOTAtNDM4ZS05ZTk5LWRlN2M1NmI1OTM5ZQ==?api-version=2023-05-01\u0026t=2023-08-28T14%3a16%3a46\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=XlZm93d2n0XV_yi0m7SGk8Cm-RBCfbFXNbVzahr43M47d6hTJhmXus3PI_e1rL37tEvo_4FDG3naQGtSUIdmKYmg_Nj5TgfsZfCpBCjOU4Wii8ApdUTEGi2X-6f_pa7M5Kk-ltJkkUvWu-zYsoetw2KmtpgUupt3LW0-uyyg2k_RaWrblU-K7DSPskCwJsAQwEyv4guMSY3VmAGI0yuOuwrcS7vwPiPkh2yQWdTdt1mZqUaPHE7M9JbNFtYbVphf3hmAEMOEOluZwg0NmLYJgS-Nxkm1pBldFEHS2qrKIJbTjttWqGduVn-SjsUumWb8-uyOl2l7R_0cTDxfmBKCOg\u0026h=UvglOxN1fuDUBmvL9nZxDuLx2SsLpW-BF754c3KR2X8+17": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzI1NzM1YWZjLWEyMGQtNDZkYi04YzBhLWE3OTMyMmI0NTIyOQ==?api-version=2023-11-01\u0026t=638390772326702276\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=v8PX3kdjU8mALdf9Y70o0Jz8A7vgzRoVS-9MQVb9ed2_NJbhcUxkJKyabcJ5xkylRH4tG0BJxxSvoiXA4NwmWoUQwWAAF2bikMoKcwvNpLrY1gR05bezSN0HeuUbBgKBe5Wlud0KrttjEHmhLckfjfUemxSqruiySPJvYClLhoqg7z0yCI2FXGxSQMh4S-g-A0FUQmjcfFFxR9LplrnCv5QtPfRvfY0qE7nr4a27bHnrMOOV-aO78idJEL9ajJ1rWOiNcW8ROt6ww0EZE9KMflD1S59u22_NxRp76WTb9GdZisSpWCBc0kaIoGud2Nd80qfWWHWFaZyXcoJ6mpSbnA\u0026h=5oy6c4MRuwayXXCvf0WJNS689qCjnW_sLEP6UfnmNmA+16": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzAxODhlZDI5LWFiOTAtNDM4ZS05ZTk5LWRlN2M1NmI1OTM5ZQ==?api-version=2023-05-01\u0026t=2023-08-28T14%3a16%3a46\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=XlZm93d2n0XV_yi0m7SGk8Cm-RBCfbFXNbVzahr43M47d6hTJhmXus3PI_e1rL37tEvo_4FDG3naQGtSUIdmKYmg_Nj5TgfsZfCpBCjOU4Wii8ApdUTEGi2X-6f_pa7M5Kk-ltJkkUvWu-zYsoetw2KmtpgUupt3LW0-uyyg2k_RaWrblU-K7DSPskCwJsAQwEyv4guMSY3VmAGI0yuOuwrcS7vwPiPkh2yQWdTdt1mZqUaPHE7M9JbNFtYbVphf3hmAEMOEOluZwg0NmLYJgS-Nxkm1pBldFEHS2qrKIJbTjttWqGduVn-SjsUumWb8-uyOl2l7R_0cTDxfmBKCOg\u0026h=UvglOxN1fuDUBmvL9nZxDuLx2SsLpW-BF754c3KR2X8", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzI1NzM1YWZjLWEyMGQtNDZkYi04YzBhLWE3OTMyMmI0NTIyOQ==?api-version=2023-11-01\u0026t=638390772326702276\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=v8PX3kdjU8mALdf9Y70o0Jz8A7vgzRoVS-9MQVb9ed2_NJbhcUxkJKyabcJ5xkylRH4tG0BJxxSvoiXA4NwmWoUQwWAAF2bikMoKcwvNpLrY1gR05bezSN0HeuUbBgKBe5Wlud0KrttjEHmhLckfjfUemxSqruiySPJvYClLhoqg7z0yCI2FXGxSQMh4S-g-A0FUQmjcfFFxR9LplrnCv5QtPfRvfY0qE7nr4a27bHnrMOOV-aO78idJEL9ajJ1rWOiNcW8ROt6ww0EZE9KMflD1S59u22_NxRp76WTb9GdZisSpWCBc0kaIoGud2Nd80qfWWHWFaZyXcoJ6mpSbnA\u0026h=5oy6c4MRuwayXXCvf0WJNS689qCjnW_sLEP6UfnmNmA", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "387" ], - "x-ms-client-request-id": [ "7057e060-ca80-45e1-8d35-53ae61351e3e" ], - "CommandName": [ "Start-AzDataProtectionBackupInstanceRestore" ], + "x-ms-unique-id": [ "253" ], + "x-ms-client-request-id": [ "4c7f5302-ed4e-43b4-9f33-21ff4626ad7c" ], + "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -1425,165 +1383,39 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzAxODhlZDI5LWFiOTAtNDM4ZS05ZTk5LWRlN2M1NmI1OTM5ZQ==?api-version=2023-05-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzI1NzM1YWZjLWEyMGQtNDZkYi04YzBhLWE3OTMyMmI0NTIyOQ==?api-version=2023-11-01" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "196" ], - "x-ms-correlation-request-id": [ "3a18edc4-b88f-4d5c-9627-459f1d460ff1" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141717Z:3a18edc4-b88f-4d5c-9627-459f1d460ff1" ], - "Date": [ "Mon, 28 Aug 2023 14:17:16 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "245" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"objectType\":\"OperationJobExtendedInfo\"}", - "isContentBase64": false - } - }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01+18": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "388" ], - "x-ms-client-request-id": [ "70d9d203-99e9-4a3a-954a-1775df5f1de0" ], - "CommandName": [ "Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-resource-requests": [ "192" ], - "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "X-Powered-By": [ "ASP.NET" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "59321f45-e68d-4fd3-bc79-e1ab3530ced5" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141738Z:59321f45-e68d-4fd3-bc79-e1ab3530ced5" ], - "Date": [ "Mon, 28 Aug 2023 14:17:37 GMT" ] + "x-ms-correlation-request-id": [ "89b98b93-ebf9-4fec-81ef-927da2659974" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050103Z:89b98b93-ebf9-4fec-81ef-927da2659974" ], + "Date": [ "Mon, 25 Dec 2023 05:01:03 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2500" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"7057e060-ca80-45e1-8d35-53ae61351e3e\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A16%3A46.4628366Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:16:46.1774521Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"name\":\"50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", - "isContentBase64": false - } - }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01+19": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "389" ], - "x-ms-client-request-id": [ "19ebce50-6820-4238-9dc1-114965268bc2" ], - "CommandName": [ "Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "191" ], - "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "X-Powered-By": [ "ASP.NET" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "b40da783-1228-4d44-a629-80c9f04a0c7b" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141748Z:b40da783-1228-4d44-a629-80c9f04a0c7b" ], - "Date": [ "Mon, 28 Aug 2023 14:17:47 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2500" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"7057e060-ca80-45e1-8d35-53ae61351e3e\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A16%3A46.4628366Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:16:46.1774521Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"name\":\"50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", - "isContentBase64": false - } - }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01+20": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "390" ], - "x-ms-client-request-id": [ "f89ecfad-2a7d-4e4b-8bc3-012383d53f88" ], - "CommandName": [ "Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "190" ], - "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "X-Powered-By": [ "ASP.NET" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "ce836c06-573d-443b-b79c-b50854a2fa2e" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141759Z:ce836c06-573d-443b-b79c-b50854a2fa2e" ], - "Date": [ "Mon, 28 Aug 2023 14:17:58 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2500" ], + "Content-Length": [ "245" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7057e060-ca80-45e1-8d35-53ae61351e3e\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A16%3A46.4628366Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:16:46.1774521Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"name\":\"50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4\",\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01+21": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4?api-version=2023-11-01+17": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "391" ], - "x-ms-client-request-id": [ "6c5ec499-2425-479a-9e0c-40b931ce4794" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "254" ], + "x-ms-client-request-id": [ "8b043ee2-e8c1-4565-bd9d-9c027aed5c9c" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1594,38 +1426,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "189" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "80" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "c4648532-5f2a-41df-9261-17aaae8e63dd" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141810Z:c4648532-5f2a-41df-9261-17aaae8e63dd" ], - "Date": [ "Mon, 28 Aug 2023 14:18:10 GMT" ] + "x-ms-correlation-request-id": [ "a33619d0-1791-4307-b30a-eacb7ee72f17" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050124Z:a33619d0-1791-4307-b30a-eacb7ee72f17" ], + "Date": [ "Mon, 25 Dec 2023 05:01:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2500" ], + "Content-Length": [ "2523" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7057e060-ca80-45e1-8d35-53ae61351e3e\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A16%3A46.4628366Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:16:46.1774521Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"name\":\"50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"4c7f5302-ed4e-43b4-9f33-21ff4626ad7c\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T05%3A00%3A32.9156195Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T05:00:32.7682472Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"168154e7b68f405d933c376aef44068f\",\"recoveryPointTime\":\"2023-12-25T04:59:26.2653874Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4\",\"name\":\"08247afb-d7d6-4650-8d8f-83d0ffe5c3b4\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01+22": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4?api-version=2023-11-01+18": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "392" ], - "x-ms-client-request-id": [ "5edc07df-e300-499f-a2ae-50032c5dfae5" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "255" ], + "x-ms-client-request-id": [ "17785f44-2b6b-4ac0-b20a-1cf5e2de26b3" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1636,38 +1468,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "188" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "79" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "eacacc25-c551-4407-9a96-ff9e241e1053" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141821Z:eacacc25-c551-4407-9a96-ff9e241e1053" ], - "Date": [ "Mon, 28 Aug 2023 14:18:21 GMT" ] + "x-ms-correlation-request-id": [ "30f8cb1c-7630-4176-9286-c452a0ad72fc" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050135Z:30f8cb1c-7630-4176-9286-c452a0ad72fc" ], + "Date": [ "Mon, 25 Dec 2023 05:01:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2500" ], + "Content-Length": [ "2523" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7057e060-ca80-45e1-8d35-53ae61351e3e\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A16%3A46.4628366Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:16:46.1774521Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"name\":\"50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"4c7f5302-ed4e-43b4-9f33-21ff4626ad7c\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T05%3A00%3A32.9156195Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T05:00:32.7682472Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"168154e7b68f405d933c376aef44068f\",\"recoveryPointTime\":\"2023-12-25T04:59:26.2653874Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4\",\"name\":\"08247afb-d7d6-4650-8d8f-83d0ffe5c3b4\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01+23": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4?api-version=2023-11-01+19": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "393" ], - "x-ms-client-request-id": [ "e62f9fdd-f8e8-4719-b8f9-93138c428a32" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "256" ], + "x-ms-client-request-id": [ "ab39b8e8-0163-4211-8118-24720163331f" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1678,38 +1510,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "187" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "78" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "d252f64e-ebc5-4cad-9a78-3e38a7a9f9fd" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141832Z:d252f64e-ebc5-4cad-9a78-3e38a7a9f9fd" ], - "Date": [ "Mon, 28 Aug 2023 14:18:31 GMT" ] + "x-ms-correlation-request-id": [ "4ede3458-7626-4f20-8a48-7b9f7b8f768b" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050145Z:4ede3458-7626-4f20-8a48-7b9f7b8f768b" ], + "Date": [ "Mon, 25 Dec 2023 05:01:45 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2500" ], + "Content-Length": [ "2523" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7057e060-ca80-45e1-8d35-53ae61351e3e\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A16%3A46.4628366Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:16:46.1774521Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"name\":\"50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"4c7f5302-ed4e-43b4-9f33-21ff4626ad7c\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T05%3A00%3A32.9156195Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T05:00:32.7682472Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"168154e7b68f405d933c376aef44068f\",\"recoveryPointTime\":\"2023-12-25T04:59:26.2653874Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4\",\"name\":\"08247afb-d7d6-4650-8d8f-83d0ffe5c3b4\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01+24": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4?api-version=2023-11-01+20": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "394" ], - "x-ms-client-request-id": [ "781e862c-4ee2-4944-b8b9-d1848d072034" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "257" ], + "x-ms-client-request-id": [ "52af5466-71c3-456b-8997-b604c0f24a0f" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1720,38 +1552,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "186" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "77" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "223cfa47-604d-4098-bcae-feb7896e3833" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141842Z:223cfa47-604d-4098-bcae-feb7896e3833" ], - "Date": [ "Mon, 28 Aug 2023 14:18:42 GMT" ] + "x-ms-correlation-request-id": [ "544d98f1-adc7-4bd1-9d8e-52a028f41101" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050156Z:544d98f1-adc7-4bd1-9d8e-52a028f41101" ], + "Date": [ "Mon, 25 Dec 2023 05:01:56 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2500" ], + "Content-Length": [ "2523" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7057e060-ca80-45e1-8d35-53ae61351e3e\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A16%3A46.4628366Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:16:46.1774521Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"name\":\"50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"4c7f5302-ed4e-43b4-9f33-21ff4626ad7c\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T05%3A00%3A32.9156195Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T05:00:32.7682472Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"168154e7b68f405d933c376aef44068f\",\"recoveryPointTime\":\"2023-12-25T04:59:26.2653874Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4\",\"name\":\"08247afb-d7d6-4650-8d8f-83d0ffe5c3b4\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01+25": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4?api-version=2023-11-01+21": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "395" ], - "x-ms-client-request-id": [ "d6eeb0d2-1167-4cce-9b12-785bc393fd6b" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "258" ], + "x-ms-client-request-id": [ "6eab079a-a966-4d19-825f-4a6f50254ddb" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1762,38 +1594,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "185" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "76" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "ad53df6f-4b7f-443a-8ab7-b931f7aa2bf8" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141853Z:ad53df6f-4b7f-443a-8ab7-b931f7aa2bf8" ], - "Date": [ "Mon, 28 Aug 2023 14:18:52 GMT" ] + "x-ms-correlation-request-id": [ "651694af-a9bc-4660-90ef-a0ad35236ccc" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050207Z:651694af-a9bc-4660-90ef-a0ad35236ccc" ], + "Date": [ "Mon, 25 Dec 2023 05:02:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2500" ], + "Content-Length": [ "2523" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7057e060-ca80-45e1-8d35-53ae61351e3e\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A16%3A46.4628366Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:16:46.1774521Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"name\":\"50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"4c7f5302-ed4e-43b4-9f33-21ff4626ad7c\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T05%3A00%3A32.9156195Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T05:00:32.7682472Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"168154e7b68f405d933c376aef44068f\",\"recoveryPointTime\":\"2023-12-25T04:59:26.2653874Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4\",\"name\":\"08247afb-d7d6-4650-8d8f-83d0ffe5c3b4\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01+26": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4?api-version=2023-11-01+22": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "396" ], - "x-ms-client-request-id": [ "8922f4eb-cf50-4d4f-b9c7-40c110860db7" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "259" ], + "x-ms-client-request-id": [ "0f02616f-ce27-4371-b972-2c0f147b9d0a" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1804,38 +1636,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "184" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "75" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "7b6780ba-8a19-4ba0-a03f-31ff0af574e5" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141904Z:7b6780ba-8a19-4ba0-a03f-31ff0af574e5" ], - "Date": [ "Mon, 28 Aug 2023 14:19:03 GMT" ] + "x-ms-correlation-request-id": [ "8758b24d-91c1-42f2-a2f3-e07afee5853b" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050218Z:8758b24d-91c1-42f2-a2f3-e07afee5853b" ], + "Date": [ "Mon, 25 Dec 2023 05:02:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2672" ], + "Content-Length": [ "2695" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"7057e060-ca80-45e1-8d35-53ae61351e3e\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A19%3A02.9931447Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:16:46.1774521Z\",\"endTime\":\"2023-08-28T14:19:02.7419416Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT2M16.5644895S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-28-08-2023-3-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"7057e060-ca80-45e1-8d35-53ae61351e3e\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\"}}],\"additionalDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"name\":\"50f0f743-399e-4497-a5f8-e6c90f4a36e7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"4c7f5302-ed4e-43b4-9f33-21ff4626ad7c\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T05%3A02%3A17.5036757Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T05:00:32.7682472Z\",\"endTime\":\"2023-12-25T05:02:17.2913841Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M44.5231369S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"168154e7b68f405d933c376aef44068f\",\"recoveryPointTime\":\"2023-12-25T04:59:26.2653874Z\"},\"recoveryDestination\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore-25-12-2023-11-11-11\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"4c7f5302-ed4e-43b4-9f33-21ff4626ad7c\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\"}}],\"additionalDetails\":null,\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/08247afb-d7d6-4650-8d8f-83d0ffe5c3b4\",\"name\":\"08247afb-d7d6-4650-8d8f-83d0ffe5c3b4\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints?api-version=2023-05-01+27": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints?api-version=2023-11-01+23": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "397" ], - "x-ms-client-request-id": [ "5d6a2fdc-c6de-4605-92ab-31e8845c5602" ], + "x-ms-unique-id": [ "260" ], + "x-ms-client-request-id": [ "464c2cf3-8360-4c56-b626-46eee3dd683e" ], "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionRecoveryPoint" ], "FullCommandName": [ "Get-AzDataProtectionRecoveryPoint_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -1849,33 +1681,33 @@ "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "98" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-correlation-request-id": [ "f9803584-71d9-404c-adcc-1abf0576cca7" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141910Z:f9803584-71d9-404c-adcc-1abf0576cca7" ], - "Date": [ "Mon, 28 Aug 2023 14:19:10 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "97" ], + "x-ms-correlation-request-id": [ "abf7619c-bef6-4e32-acd6-9f9ca845b8fe" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050223Z:abf7619c-bef6-4e32-acd6-9f9ca845b8fe" ], + "Date": [ "Mon, 25 Dec 2023 05:02:23 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "56598" ], + "Content-Length": [ "57474" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"1c6636d8725b4b77b91fde11c2098c76\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-28T14:15:34.9490176Z\",\"expiryTime\":null,\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/5b0f10f3900949dc88218fa060757f6b\",\"name\":\"5b0f10f3900949dc88218fa060757f6b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"32b0b1a6b3134a428e597af3c6a334ca\",\"recoveryPointTime\":\"2023-08-28T13:35:44.9710031Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2814cad0924b4919bf136f753b7d5277\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-28T13:35:44.9865675Z\",\"expiryTime\":\"2023-11-28T13:35:44.9865675Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-28T13:35:44.9865675Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/32b0b1a6b3134a428e597af3c6a334ca\",\"name\":\"32b0b1a6b3134a428e597af3c6a334ca\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4ebeb8120ba24acdafd3e2f44c37c92f\",\"recoveryPointTime\":\"2023-08-27T04:30:50.0171519Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"4b8e8168a78f48b2bfd30a3dca97c9eb\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-27T04:30:50.0171519Z\",\"expiryTime\":\"2023-11-27T04:30:50.0171519Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-27T04:30:50.0171519Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/4ebeb8120ba24acdafd3e2f44c37c92f\",\"name\":\"4ebeb8120ba24acdafd3e2f44c37c92f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"88504563586b4f289a7f9beeb9bf9dfa\",\"recoveryPointTime\":\"2023-08-24T04:30:54.6271602Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2a341f9cffcf47f699cbc5366aac7297\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-24T04:30:54.6271602Z\",\"expiryTime\":\"2023-11-24T04:30:54.6271602Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-24T04:30:54.6271602Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/88504563586b4f289a7f9beeb9bf9dfa\",\"name\":\"88504563586b4f289a7f9beeb9bf9dfa\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2ce99ced0b1e4a688b64d18b057b3025\",\"recoveryPointTime\":\"2023-08-20T04:30:54.8287567Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"184c9828d3124b308445177125209830\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-20T04:30:54.8287567Z\",\"expiryTime\":\"2023-11-20T04:30:54.8287567Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-20T04:30:54.8287567Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/2ce99ced0b1e4a688b64d18b057b3025\",\"name\":\"2ce99ced0b1e4a688b64d18b057b3025\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"606798a56e6d4fc28df3756c38e00435\",\"recoveryPointTime\":\"2023-08-17T04:30:50.8803359Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"8055d25ba8be431291061b5939def07d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-17T04:30:50.8803359Z\",\"expiryTime\":\"2023-11-17T04:30:50.8803359Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-17T04:30:50.8803359Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/606798a56e6d4fc28df3756c38e00435\",\"name\":\"606798a56e6d4fc28df3756c38e00435\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"ec76a19389a5493cb5faf8df8ba1207b\",\"recoveryPointTime\":\"2023-08-13T04:31:00.8874655Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"66d1970563ae4a378748ffa04142a5d8\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-13T04:31:00.8874655Z\",\"expiryTime\":\"2023-11-13T04:31:00.8874655Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-13T04:31:00.8874655Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/ec76a19389a5493cb5faf8df8ba1207b\",\"name\":\"ec76a19389a5493cb5faf8df8ba1207b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9684da211c59492a8dd948504296bc02\",\"recoveryPointTime\":\"2023-08-10T04:30:46.7543352Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"6f9f02c68d0540b0b9bdb5f39c371709\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-10T04:30:46.7543352Z\",\"expiryTime\":\"2023-11-10T04:30:46.7543352Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-10T04:30:46.7543352Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/9684da211c59492a8dd948504296bc02\",\"name\":\"9684da211c59492a8dd948504296bc02\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b1b0f1ea31ef46e2a2b86e77adf38954\",\"recoveryPointTime\":\"2023-08-06T04:30:54.4500889Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"02a61e26633d41a5877fc52dcfc9f0b6\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-06T04:30:54.4500889Z\",\"expiryTime\":\"2023-11-06T04:30:54.4500889Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-06T04:30:54.4500889Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/b1b0f1ea31ef46e2a2b86e77adf38954\",\"name\":\"b1b0f1ea31ef46e2a2b86e77adf38954\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e890e57ef0ac4fb08f6747e045f55cee\",\"recoveryPointTime\":\"2023-08-03T04:30:54.4996822Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"5f27dccb500b434db6d696554fb673aa\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-08-03T04:30:54.4996822Z\",\"expiryTime\":\"2023-11-03T04:30:54.4996822Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-11-03T04:30:54.4996822Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/e890e57ef0ac4fb08f6747e045f55cee\",\"name\":\"e890e57ef0ac4fb08f6747e045f55cee\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"42adf5436e4b4c98a752051e928a0b5e\",\"recoveryPointTime\":\"2023-07-30T04:30:58.4793731Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"45e462347a354c4b8f89c71636c66e41\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-30T04:30:58.4793731Z\",\"expiryTime\":\"2023-10-30T04:30:58.4793731Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-30T04:30:58.4793731Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/42adf5436e4b4c98a752051e928a0b5e\",\"name\":\"42adf5436e4b4c98a752051e928a0b5e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c39e41086db545b1bee4992178cde6d9\",\"recoveryPointTime\":\"2023-07-27T04:30:50.2217770Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"24ff791817c34695abe965fb79783788\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-27T04:30:50.2217770Z\",\"expiryTime\":\"2023-10-27T04:30:50.2217770Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-27T04:30:50.2217770Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/c39e41086db545b1bee4992178cde6d9\",\"name\":\"c39e41086db545b1bee4992178cde6d9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f07bde30572c4959b008de734bd0868c\",\"recoveryPointTime\":\"2023-07-23T04:30:47.2112005Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"af076549d3ac48acb5f6262af6cee808\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-23T04:30:47.2112005Z\",\"expiryTime\":\"2023-10-23T04:30:47.2112005Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-23T04:30:47.2112005Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/f07bde30572c4959b008de734bd0868c\",\"name\":\"f07bde30572c4959b008de734bd0868c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e7b9ed0d8fdb4855b5eb1f4a76fc96aa\",\"recoveryPointTime\":\"2023-07-20T04:30:45.0737364Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"8d4be32ec3144d1f80b115a2ba04af5e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-20T04:30:45.0737364Z\",\"expiryTime\":\"2023-10-20T04:30:45.0737364Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-20T04:30:45.0737364Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/e7b9ed0d8fdb4855b5eb1f4a76fc96aa\",\"name\":\"e7b9ed0d8fdb4855b5eb1f4a76fc96aa\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"75805c5efacd463c8329fcbde39f9e1c\",\"recoveryPointTime\":\"2023-07-16T04:30:49.2220642Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"40295ee7310b4a7b806fff306167cf5a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-16T04:30:49.2220642Z\",\"expiryTime\":\"2023-10-16T04:30:49.2220642Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-16T04:30:49.2220642Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/75805c5efacd463c8329fcbde39f9e1c\",\"name\":\"75805c5efacd463c8329fcbde39f9e1c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b351a1804dcd4f96a7edf5e6bd88363c\",\"recoveryPointTime\":\"2023-07-13T04:30:53.6142626Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"a3b4089c22f34a3e96ec797d7c7a2a48\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-13T04:30:53.6142626Z\",\"expiryTime\":\"2023-10-13T04:30:53.6142626Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-13T04:30:53.6142626Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/b351a1804dcd4f96a7edf5e6bd88363c\",\"name\":\"b351a1804dcd4f96a7edf5e6bd88363c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4971fb3329654509b9e6b7d092959915\",\"recoveryPointTime\":\"2023-07-09T04:30:50.7173437Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3963633c1461470398a7f093d646c0ca\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-09T04:30:50.7173437Z\",\"expiryTime\":\"2023-10-09T04:30:50.7173437Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-09T04:30:50.7173437Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/4971fb3329654509b9e6b7d092959915\",\"name\":\"4971fb3329654509b9e6b7d092959915\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b65edd36090a45faa4debcfbc94a0ad5\",\"recoveryPointTime\":\"2023-07-06T04:30:48.6556642Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2a6b2c4e699d40dcb14eee775a822a75\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-06T04:30:48.6556642Z\",\"expiryTime\":\"2023-10-06T04:30:48.6556642Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-06T04:30:48.6556642Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/b65edd36090a45faa4debcfbc94a0ad5\",\"name\":\"b65edd36090a45faa4debcfbc94a0ad5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"98209ae9d21b4836a614932bf2e3f5cf\",\"recoveryPointTime\":\"2023-07-02T04:30:56.5009851Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"94f7445d02d844428b766523a4204108\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-07-02T04:30:56.5009851Z\",\"expiryTime\":\"2023-10-02T04:30:56.5009851Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-10-02T04:30:56.5009851Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/98209ae9d21b4836a614932bf2e3f5cf\",\"name\":\"98209ae9d21b4836a614932bf2e3f5cf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0730273e57154d56ab1274cf9698768a\",\"recoveryPointTime\":\"2023-06-29T04:30:48.9707212Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"36c19a883db742f081a0ad4831190ab1\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-29T04:30:48.9707212Z\",\"expiryTime\":\"2023-09-29T04:30:48.9707212Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-29T04:30:48.9707212Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/0730273e57154d56ab1274cf9698768a\",\"name\":\"0730273e57154d56ab1274cf9698768a\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b619e93192ec478c90d2492d9438be4f\",\"recoveryPointTime\":\"2023-06-25T04:30:51.6813526Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"ba3c52fe82074ef59278c0da5642af4d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-25T04:30:51.6813526Z\",\"expiryTime\":\"2023-09-25T04:30:51.6813526Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-25T04:30:51.6813526Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/b619e93192ec478c90d2492d9438be4f\",\"name\":\"b619e93192ec478c90d2492d9438be4f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"71175a195ea64c5dacb708c10c575891\",\"recoveryPointTime\":\"2023-06-22T04:30:44.4682064Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"c44328f1b527492cbdde3b14847d1ab9\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-22T04:30:44.4682064Z\",\"expiryTime\":\"2023-09-22T04:30:44.4682064Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-22T04:30:44.4682064Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/71175a195ea64c5dacb708c10c575891\",\"name\":\"71175a195ea64c5dacb708c10c575891\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e830cc1129cc4c07a0c3293d1264e451\",\"recoveryPointTime\":\"2023-06-18T04:30:48.6097944Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"cb90368a2663462e9adf7cf0b2eb3977\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-18T04:30:48.6097944Z\",\"expiryTime\":\"2023-09-18T04:30:48.6097944Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-18T04:30:48.6097944Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/e830cc1129cc4c07a0c3293d1264e451\",\"name\":\"e830cc1129cc4c07a0c3293d1264e451\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"04236bdb438247c88a43a937c9891a1c\",\"recoveryPointTime\":\"2023-06-15T04:30:48.4275124Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"33d1e3384b654982a1062f0309edd8f4\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-15T04:30:48.4275124Z\",\"expiryTime\":\"2023-09-15T04:30:48.4275124Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-15T04:30:48.4275124Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/04236bdb438247c88a43a937c9891a1c\",\"name\":\"04236bdb438247c88a43a937c9891a1c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2f51b10aebaa4c3fbcb4935749ae4870\",\"recoveryPointTime\":\"2023-06-11T04:30:54.5008778Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"5ff1efc5c6da496d8c8218d249305823\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-11T04:30:54.5008778Z\",\"expiryTime\":\"2023-09-11T04:30:54.5008778Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-11T04:30:54.5008778Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/2f51b10aebaa4c3fbcb4935749ae4870\",\"name\":\"2f51b10aebaa4c3fbcb4935749ae4870\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"a7f6f54d0a1c4fe59bd5146c15f4fd48\",\"recoveryPointTime\":\"2023-06-08T04:30:45.6413249Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"41b6dcfb2d6d4f55b9139c1c8f929c4b\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-08T04:30:45.6413249Z\",\"expiryTime\":\"2023-09-08T04:30:45.6413249Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-08T04:30:45.6413249Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/a7f6f54d0a1c4fe59bd5146c15f4fd48\",\"name\":\"a7f6f54d0a1c4fe59bd5146c15f4fd48\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"bfef419e6f8748f3bd10a80417973c32\",\"recoveryPointTime\":\"2023-06-04T04:30:54.1491877Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"d81db06d55ec4ce4a73afe37bad0a58c\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-04T04:30:54.1491877Z\",\"expiryTime\":\"2023-09-04T04:30:54.1491877Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-04T04:30:54.1491877Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/bfef419e6f8748f3bd10a80417973c32\",\"name\":\"bfef419e6f8748f3bd10a80417973c32\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"945cbd66bc5941108de609c82a96dfd7\",\"recoveryPointTime\":\"2023-06-01T04:30:49.4290600Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2df957e7a9c2473aaac4d863d8a4349a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-06-01T04:30:49.4290600Z\",\"expiryTime\":\"2023-09-01T04:30:49.4290600Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-09-01T04:30:49.4290600Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/945cbd66bc5941108de609c82a96dfd7\",\"name\":\"945cbd66bc5941108de609c82a96dfd7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"140a9e39d32a4af68eec67baae45990d\",\"recoveryPointTime\":\"2023-05-28T04:30:47.4347130Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"4ff585515ced476aa68e863b097d8f7e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-28T05:07:40.6755097Z\",\"expiryTime\":\"2024-02-28T05:07:40.6755097Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-28T05:07:40.6755097Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/140a9e39d32a4af68eec67baae45990d\",\"name\":\"140a9e39d32a4af68eec67baae45990d\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5726941ea23b4e53bae3b7b3abb95d3c\",\"recoveryPointTime\":\"2023-05-25T04:30:49.1697625Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"1aff1615c51e44c19ef3ebfb36c28fec\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-25T05:31:26.1111710Z\",\"expiryTime\":\"2024-02-25T05:31:26.1111710Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-25T05:31:26.1111710Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/5726941ea23b4e53bae3b7b3abb95d3c\",\"name\":\"5726941ea23b4e53bae3b7b3abb95d3c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"8a7a1b394d0d4d4e9731441d97090dbf\",\"recoveryPointTime\":\"2023-05-21T04:30:46.1701778Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"39b3e1af80d843e8b10bf9cf9309eb11\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-21T05:24:46.0790181Z\",\"expiryTime\":\"2024-02-21T05:24:46.0790181Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-21T05:24:46.0790181Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/8a7a1b394d0d4d4e9731441d97090dbf\",\"name\":\"8a7a1b394d0d4d4e9731441d97090dbf\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3d19fe7dd31745afa12426a56b406ed8\",\"recoveryPointTime\":\"2023-05-18T04:30:45.0114445Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"e6cf22b2b6c1493da2c84294c0088470\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-18T05:20:08.4949142Z\",\"expiryTime\":\"2024-02-18T05:20:08.4949142Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-18T05:20:08.4949142Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/3d19fe7dd31745afa12426a56b406ed8\",\"name\":\"3d19fe7dd31745afa12426a56b406ed8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e69166fe244442178fb043e48b084ff7\",\"recoveryPointTime\":\"2023-05-14T04:30:55.7949606Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"cc96a2feee0e48fba31b7cd6857d4240\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-14T05:12:53.4932208Z\",\"expiryTime\":\"2024-02-14T05:12:53.4932208Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-14T05:12:53.4932208Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/e69166fe244442178fb043e48b084ff7\",\"name\":\"e69166fe244442178fb043e48b084ff7\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"33068af09e784e278c73f11c24d1f5f5\",\"recoveryPointTime\":\"2023-05-12T17:12:33.5294304Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"ae8e3f7773334206976d1c232224f916\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-12T18:10:26.4429146Z\",\"expiryTime\":\"2024-02-12T18:10:26.4429146Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-12T18:10:26.4429146Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/33068af09e784e278c73f11c24d1f5f5\",\"name\":\"33068af09e784e278c73f11c24d1f5f5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0d7696960a2a49389b9c883c6d0cff3b\",\"recoveryPointTime\":\"2023-05-11T04:30:47.3027145Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"940ad493271d43f09f5b72314c359a99\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-11T05:07:28.1304366Z\",\"expiryTime\":\"2024-02-11T05:07:28.1304366Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-11T05:07:28.1304366Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/0d7696960a2a49389b9c883c6d0cff3b\",\"name\":\"0d7696960a2a49389b9c883c6d0cff3b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5a6871364a444c9bae83982fba244558\",\"recoveryPointTime\":\"2023-05-10T10:28:32.1331399Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"7c343198f0f04a1ea5751c31272c4ff3\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-10T11:36:16.4816685Z\",\"expiryTime\":\"2024-02-10T11:36:16.4816685Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-10T11:36:16.4816685Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/5a6871364a444c9bae83982fba244558\",\"name\":\"5a6871364a444c9bae83982fba244558\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"de4d6d8135cb48c199a0ff3ef8122614\",\"recoveryPointTime\":\"2023-05-10T10:07:04.7737556Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"0b47508478a6479da4348a824989686d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-10T10:49:52.4792656Z\",\"expiryTime\":\"2024-02-10T10:49:52.4792656Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-10T10:49:52.4792656Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/de4d6d8135cb48c199a0ff3ef8122614\",\"name\":\"de4d6d8135cb48c199a0ff3ef8122614\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4e910103aa484853bbac153bf53a856e\",\"recoveryPointTime\":\"2023-05-07T04:31:24.9835474Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"881d03ac11da4f36b926e22853a62418\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-07T05:14:02.5006681Z\",\"expiryTime\":\"2024-02-07T05:14:02.5006681Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-07T05:14:02.5006681Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/4e910103aa484853bbac153bf53a856e\",\"name\":\"4e910103aa484853bbac153bf53a856e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"fce808694719459d9f88ee6df7c125cc\",\"recoveryPointTime\":\"2023-05-04T04:30:46.9221623Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"fe7bd31f7f84460c8960c53c71db3161\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-08-04T05:08:46.8218000Z\",\"expiryTime\":\"2024-02-04T05:08:46.8218000Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-04T05:08:46.8218000Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/fce808694719459d9f88ee6df7c125cc\",\"name\":\"fce808694719459d9f88ee6df7c125cc\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"74ca1875a51c4b058236c3915f215498\",\"recoveryPointTime\":\"2023-04-27T04:31:01.0245866Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"21ebf8ed6f084e179347c855d18e0b3c\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-07-27T05:24:46.6838748Z\",\"expiryTime\":\"2024-01-27T05:24:46.6838748Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-27T05:24:46.6838748Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/74ca1875a51c4b058236c3915f215498\",\"name\":\"74ca1875a51c4b058236c3915f215498\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"169c4cfff3b449e2a01df6be837cb825\",\"recoveryPointTime\":\"2023-04-23T04:31:34.4844653Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"046df15a083246be9f97aa122e52c65e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-07-23T05:06:43.0235116Z\",\"expiryTime\":\"2024-01-23T05:06:43.0235116Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-23T05:06:43.0235116Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/169c4cfff3b449e2a01df6be837cb825\",\"name\":\"169c4cfff3b449e2a01df6be837cb825\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"be58bcc9d050406ebaa4407fd03ad547\",\"recoveryPointTime\":\"2023-04-20T04:32:28.8092545Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"db831da7f6a54d2fb1fb8052a2910811\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-07-20T05:30:16.6247416Z\",\"expiryTime\":\"2024-01-20T05:30:16.6247416Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-20T05:30:16.6247416Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/be58bcc9d050406ebaa4407fd03ad547\",\"name\":\"be58bcc9d050406ebaa4407fd03ad547\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9c873d6b1f9e474a9a5e641c31dbd19f\",\"recoveryPointTime\":\"2023-04-16T04:31:03.7728205Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3c303de4654e46ab99594f510d04b57a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-07-16T05:22:34.5139414Z\",\"expiryTime\":\"2024-01-16T05:22:34.5139414Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-16T05:22:34.5139414Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/9c873d6b1f9e474a9a5e641c31dbd19f\",\"name\":\"9c873d6b1f9e474a9a5e641c31dbd19f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"1a8462c4e0d24955849162bd799702a0\",\"recoveryPointTime\":\"2023-04-13T04:31:01.9078059Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"cd27568de13a45cc9e485337d825eed0\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-07-13T05:16:41.0808219Z\",\"expiryTime\":\"2024-01-13T05:16:41.0808219Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-13T05:16:41.0808219Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/1a8462c4e0d24955849162bd799702a0\",\"name\":\"1a8462c4e0d24955849162bd799702a0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"80db138941a44d42b2c94536d47d5239\",\"recoveryPointTime\":\"2023-04-09T04:30:56.9399163Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"076cdf56cb1d44a79a7d16c853e696c0\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-07-09T05:05:07.6850183Z\",\"expiryTime\":\"2024-01-09T05:05:07.6850183Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-09T05:05:07.6850183Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/80db138941a44d42b2c94536d47d5239\",\"name\":\"80db138941a44d42b2c94536d47d5239\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"63dc26b91dad48f19f1e0acaf5dfacb0\",\"recoveryPointTime\":\"2023-04-06T04:31:04.1245780Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3a850da7540e4f9c9ff0e34d171d74a1\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-07-06T05:28:58.9185991Z\",\"expiryTime\":\"2024-01-06T05:28:58.9185991Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-06T05:28:58.9185991Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/63dc26b91dad48f19f1e0acaf5dfacb0\",\"name\":\"63dc26b91dad48f19f1e0acaf5dfacb0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"aed6e4a47da949e986c3fe6120074dd6\",\"recoveryPointTime\":\"2023-04-02T04:30:57.2447879Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"83db700191c8452b8c2537f4becab4c0\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-07-02T05:22:13.6269569Z\",\"expiryTime\":\"2024-01-02T05:22:13.6269569Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-02T05:22:13.6269569Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/aed6e4a47da949e986c3fe6120074dd6\",\"name\":\"aed6e4a47da949e986c3fe6120074dd6\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0ed48b4c2ca1405f814f47d7f838de5e\",\"recoveryPointTime\":\"2023-03-30T04:30:50.8579438Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"40f137a516e840df8b6cd66a9c8a6eb9\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-06-30T05:18:44.6264233Z\",\"expiryTime\":\"2023-12-30T05:18:44.6264233Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-30T05:18:44.6264233Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/0ed48b4c2ca1405f814f47d7f838de5e\",\"name\":\"0ed48b4c2ca1405f814f47d7f838de5e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9cf319ac51824980984b5429337918d9\",\"recoveryPointTime\":\"2023-03-26T04:30:59.2759629Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"63befee96c114faf8cae54790c8ba6da\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-06-26T05:11:04.3263947Z\",\"expiryTime\":\"2023-12-26T05:11:04.3263947Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-26T05:11:04.3263947Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/9cf319ac51824980984b5429337918d9\",\"name\":\"9cf319ac51824980984b5429337918d9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"08e94f0dcd92456aa377c4634d1f32d5\",\"recoveryPointTime\":\"2023-03-23T04:30:59.5094807Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"337d046eb73749f8a018a2bbd41be261\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-06-23T05:25:01.5718280Z\",\"expiryTime\":\"2023-12-23T05:25:01.5718280Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-23T05:25:01.5718280Z\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/08e94f0dcd92456aa377c4634d1f32d5\",\"name\":\"08e94f0dcd92456aa377c4634d1f32d5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}],\"nextLink\":\"https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints?api-version=2023-05-01\u0026%24skiptoken=%3c%3fxml+version%3d%221.0%22+encoding%3d%22utf-16%22%3f%3e%0d%0a%3cContinuationToken%3e%0d%0a++%3cContinuationToken%3e%0d%0a++++%3cVersion%3e2.0%3c%2fVersion%3e%0d%0a++++%3cType%3eTable%3c%2fType%3e%0d%0a++++%3cNextPartitionKey%3e1!48!ODhkYmM5N2UtNzA4My00ZWVkLWFiYmEtOTEwODQ2MjM4NmVj%3c%2fNextPartitionKey%3e%0d%0a++++%3cNextRowKey%3e1!140!cGl0aW5kZXg1XzBfMjUxNzIzMDA2NDA3MTEyMDE5MV8wXzJkN2IzM2M4NDQ2MDQ1YjNiYTI2OGRhZGQ5MmFhODZmXzBfMzc2ZjhiOWQtOGFiMC00ODE0LWE4OTctMTZjOGVhNTNhODcz%3c%2fNextRowKey%3e%0d%0a++++%3cTargetLocation%3ePrimary%3c%2fTargetLocation%3e%0d%0a++%3c%2fContinuationToken%3e%0d%0a%3c%2fContinuationToken%3e\"}", + "Content": "{\"value\":[{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"168154e7b68f405d933c376aef44068f\",\"recoveryPointTime\":\"2023-12-25T04:59:26.2653874Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"416c33cc8f8448a78118896e1d484f03\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-25T04:59:26.2653874Z\",\"expiryTime\":null,\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":null,\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/168154e7b68f405d933c376aef44068f\",\"name\":\"168154e7b68f405d933c376aef44068f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b7c6209d30ac48deba9d62e7c2218ed9\",\"recoveryPointTime\":\"2023-12-25T04:37:26.7774634Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"903e8d727d3341e093dd687530214f27\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-25T04:37:26.7774634Z\",\"expiryTime\":\"2024-03-25T04:37:26.7774634Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-25T04:37:26.7774634Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/b7c6209d30ac48deba9d62e7c2218ed9\",\"name\":\"b7c6209d30ac48deba9d62e7c2218ed9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"6720cf1b26a14863a6ba3c18399f5658\",\"recoveryPointTime\":\"2023-12-24T04:48:37.0201873Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3f8c2ac5b7df479ab7a917c0c5e66ae8\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-24T04:48:37.0201873Z\",\"expiryTime\":\"2024-03-24T04:48:37.0201873Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-24T04:48:37.0201873Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/6720cf1b26a14863a6ba3c18399f5658\",\"name\":\"6720cf1b26a14863a6ba3c18399f5658\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"a3fb30ddcee94cda954358731219af39\",\"recoveryPointTime\":\"2023-12-17T04:30:54.4113965Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"28699f74d38e46f7b1b5461f998d742c\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-17T04:30:54.4113965Z\",\"expiryTime\":\"2024-03-17T04:30:54.4113965Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-17T04:30:54.4113965Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/a3fb30ddcee94cda954358731219af39\",\"name\":\"a3fb30ddcee94cda954358731219af39\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9e31dbc620f64a7f8037408df7f90522\",\"recoveryPointTime\":\"2023-12-14T04:30:55.0537951Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"9386f9bb7e734421b2e886e941735058\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-14T04:30:55.0537951Z\",\"expiryTime\":\"2024-03-14T04:30:55.0537951Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-14T04:30:55.0537951Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/9e31dbc620f64a7f8037408df7f90522\",\"name\":\"9e31dbc620f64a7f8037408df7f90522\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4f84202d7f534613bfc257d973a5e709\",\"recoveryPointTime\":\"2023-12-10T04:30:57.8715773Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"26dddfe17c7547acaab1267b04988fb1\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-10T04:30:57.8715773Z\",\"expiryTime\":\"2024-03-10T04:30:57.8715773Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-10T04:30:57.8715773Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/4f84202d7f534613bfc257d973a5e709\",\"name\":\"4f84202d7f534613bfc257d973a5e709\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3ba772110d3443c49094ec7c3b7991c8\",\"recoveryPointTime\":\"2023-12-07T04:30:54.2210364Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"8abadba89f3c4f9b87a34616122410a6\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-07T04:30:54.2210364Z\",\"expiryTime\":\"2024-03-07T04:30:54.2210364Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-07T04:30:54.2210364Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/3ba772110d3443c49094ec7c3b7991c8\",\"name\":\"3ba772110d3443c49094ec7c3b7991c8\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"d0c6bea3559742909b2c73f70d7fb6ef\",\"recoveryPointTime\":\"2023-12-03T04:30:54.3725397Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"38634cef2e834b639474a9cf70844c3d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-12-03T04:30:54.3725397Z\",\"expiryTime\":\"2024-03-03T04:30:54.3725397Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-03-03T04:30:54.3725397Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/d0c6bea3559742909b2c73f70d7fb6ef\",\"name\":\"d0c6bea3559742909b2c73f70d7fb6ef\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"1471ea5f0d7a4d1c825e9e286915f827\",\"recoveryPointTime\":\"2023-11-30T04:31:03.3847074Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"905301a284564acc9f686aa26d004e2f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-30T04:31:03.3847074Z\",\"expiryTime\":\"2024-02-29T04:31:03.3847074Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-29T04:31:03.3847074Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/1471ea5f0d7a4d1c825e9e286915f827\",\"name\":\"1471ea5f0d7a4d1c825e9e286915f827\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"04991d12c5234358bbc9eb2e072a1561\",\"recoveryPointTime\":\"2023-11-26T04:30:54.1789745Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2176f0f68bbe4feea1f208cf97aadd09\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-26T04:30:54.1789745Z\",\"expiryTime\":\"2024-02-26T04:30:54.1789745Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-26T04:30:54.1789745Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/04991d12c5234358bbc9eb2e072a1561\",\"name\":\"04991d12c5234358bbc9eb2e072a1561\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"8cfb9f7d70474424938192b1f1e8c2fb\",\"recoveryPointTime\":\"2023-11-23T04:30:48.9389514Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"def209cde508448daab2ac0b70ea86e1\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-23T04:30:48.9389514Z\",\"expiryTime\":\"2024-02-23T04:30:48.9389514Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-23T04:30:48.9389514Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/8cfb9f7d70474424938192b1f1e8c2fb\",\"name\":\"8cfb9f7d70474424938192b1f1e8c2fb\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5222a30ddfdc4dfb8f88aff816fccf50\",\"recoveryPointTime\":\"2023-11-19T04:30:48.6021961Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"5703e556bf894437a78984e7d53990cf\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-19T04:30:48.6021961Z\",\"expiryTime\":\"2024-02-19T04:30:48.6021961Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-19T04:30:48.6021961Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/5222a30ddfdc4dfb8f88aff816fccf50\",\"name\":\"5222a30ddfdc4dfb8f88aff816fccf50\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f937914a49384692b5f0d64f264dad57\",\"recoveryPointTime\":\"2023-11-16T04:30:55.6748704Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"4304aedccb9c4106bf84ea5db76ff2ac\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-16T04:30:55.6748704Z\",\"expiryTime\":\"2024-02-16T04:30:55.6748704Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-16T04:30:55.6748704Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/f937914a49384692b5f0d64f264dad57\",\"name\":\"f937914a49384692b5f0d64f264dad57\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0540d4f3880a4b55be5907c2340f2980\",\"recoveryPointTime\":\"2023-11-12T04:30:51.8975931Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"9489322e157341c194f408f209fa4bb4\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-12T04:30:51.8975931Z\",\"expiryTime\":\"2024-02-12T04:30:51.8975931Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-12T04:30:51.8975931Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/0540d4f3880a4b55be5907c2340f2980\",\"name\":\"0540d4f3880a4b55be5907c2340f2980\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"89f7fdd0a5bf443ba3e5c61dd6d4546c\",\"recoveryPointTime\":\"2023-11-09T04:30:51.2951798Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"e65862f0531b48be90a271adda73becb\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-09T04:30:51.2951798Z\",\"expiryTime\":\"2024-02-09T04:30:51.2951798Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-09T04:30:51.2951798Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/89f7fdd0a5bf443ba3e5c61dd6d4546c\",\"name\":\"89f7fdd0a5bf443ba3e5c61dd6d4546c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3ea3679f43634818a48d875726000ebd\",\"recoveryPointTime\":\"2023-11-05T04:30:57.6944999Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"07206628f40041e983488235e129b1cd\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-05T04:30:57.6944999Z\",\"expiryTime\":\"2024-02-05T04:30:57.6944999Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-05T04:30:57.6944999Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/3ea3679f43634818a48d875726000ebd\",\"name\":\"3ea3679f43634818a48d875726000ebd\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"0749f8194c6b429b8cf07ac7a7ad30d0\",\"recoveryPointTime\":\"2023-11-02T04:30:45.7284586Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3f2fd9a9f3ab48ff93e582563c70facc\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-11-02T04:30:45.7284586Z\",\"expiryTime\":\"2024-02-02T04:30:45.7284586Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-02-02T04:30:45.7284586Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/0749f8194c6b429b8cf07ac7a7ad30d0\",\"name\":\"0749f8194c6b429b8cf07ac7a7ad30d0\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f60692f158f3438880ecedd1a58f6d82\",\"recoveryPointTime\":\"2023-10-29T04:30:49.7761056Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"b7ca615558c0461999f3632e87906df3\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-29T04:30:49.7761056Z\",\"expiryTime\":\"2024-01-29T04:30:49.7761056Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-29T04:30:49.7761056Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/f60692f158f3438880ecedd1a58f6d82\",\"name\":\"f60692f158f3438880ecedd1a58f6d82\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"bca2a668a63c4b119c8293cd580658e3\",\"recoveryPointTime\":\"2023-10-26T04:30:49.1708105Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"7ec3eafa39724180aa53d57d2a5d59d1\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-26T04:30:49.1708105Z\",\"expiryTime\":\"2024-01-26T04:30:49.1708105Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-26T04:30:49.1708105Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/bca2a668a63c4b119c8293cd580658e3\",\"name\":\"bca2a668a63c4b119c8293cd580658e3\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9e144023881a431db0ae56709ad3475c\",\"recoveryPointTime\":\"2023-10-22T04:30:54.7552176Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"e81f9c70662c469f955b3446e920edda\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-22T04:30:54.7552176Z\",\"expiryTime\":\"2024-01-22T04:30:54.7552176Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-22T04:30:54.7552176Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/9e144023881a431db0ae56709ad3475c\",\"name\":\"9e144023881a431db0ae56709ad3475c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"05433eb279714360baeb53555a356f08\",\"recoveryPointTime\":\"2023-10-19T04:31:11.9495619Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"9b48539247f44cd2bc5965b7f0c10924\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-19T04:31:11.9495619Z\",\"expiryTime\":\"2024-01-19T04:31:11.9495619Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-19T04:31:11.9495619Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/05433eb279714360baeb53555a356f08\",\"name\":\"05433eb279714360baeb53555a356f08\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"611529ff1c1042ac8cea4667fecc054e\",\"recoveryPointTime\":\"2023-10-15T04:30:57.1217659Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"c9d7b76bbbec4703a293f62d8ea80649\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-15T04:30:57.1217659Z\",\"expiryTime\":\"2024-01-15T04:30:57.1217659Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-15T04:30:57.1217659Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/611529ff1c1042ac8cea4667fecc054e\",\"name\":\"611529ff1c1042ac8cea4667fecc054e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"99b5616388e04868ad68493fa9ffd4d1\",\"recoveryPointTime\":\"2023-10-12T04:30:55.4234705Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"8a34076e9f79454dafee55e047646b46\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-12T04:30:55.4234705Z\",\"expiryTime\":\"2024-01-12T04:30:55.4234705Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-12T04:30:55.4234705Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/99b5616388e04868ad68493fa9ffd4d1\",\"name\":\"99b5616388e04868ad68493fa9ffd4d1\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9086aab3019d48d4970c146170f1c225\",\"recoveryPointTime\":\"2023-10-08T04:30:54.9049937Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"6ae2e253f17447f083d50d11c7ba7f0a\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-08T04:30:54.9049937Z\",\"expiryTime\":\"2024-01-08T04:30:54.9049937Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-08T04:30:54.9049937Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/9086aab3019d48d4970c146170f1c225\",\"name\":\"9086aab3019d48d4970c146170f1c225\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5e1d60ddef604af09e7a0f9cead064ac\",\"recoveryPointTime\":\"2023-10-05T04:30:45.4012823Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"3870f682f33c44b1a40460ae738f9eb4\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-05T04:30:45.4012823Z\",\"expiryTime\":\"2024-01-05T04:30:45.4012823Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-05T04:30:45.4012823Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/5e1d60ddef604af09e7a0f9cead064ac\",\"name\":\"5e1d60ddef604af09e7a0f9cead064ac\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"58306420b96e44ecb468862507b82fb5\",\"recoveryPointTime\":\"2023-10-01T04:30:53.1095201Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"774f5e5045e741b7affe5a219590269f\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-10-01T04:30:53.1095201Z\",\"expiryTime\":\"2024-01-01T04:30:53.1095201Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-01-01T04:30:53.1095201Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/58306420b96e44ecb468862507b82fb5\",\"name\":\"58306420b96e44ecb468862507b82fb5\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4ad52f0b7ad64aa1a366e1d5a013d04b\",\"recoveryPointTime\":\"2023-09-28T04:30:52.2162736Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"a44592c5067e49e28b744905611bc7a1\",\"recoveryPointDataStoresDetails\":[{\"id\":\"ba608801-9fb2-40ed-9a88-c81efd13db17\",\"type\":\"VaultStore\",\"creationTime\":\"2023-09-28T04:30:52.2162736Z\",\"expiryTime\":\"2023-12-28T04:30:52.2162736Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2023-12-28T04:30:52.2162736Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/4ad52f0b7ad64aa1a366e1d5a013d04b\",\"name\":\"4ad52f0b7ad64aa1a366e1d5a013d04b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3c322b07fe0e4ab6a4153ca48da77fc2\",\"recoveryPointTime\":\"2023-09-24T04:30:48.1125285Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"65d2d197b236428cb9e6a806acb07df0\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-12-24T05:16:20.8948703Z\",\"expiryTime\":\"2024-06-24T05:16:20.8948703Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-24T05:16:20.8948703Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/3c322b07fe0e4ab6a4153ca48da77fc2\",\"name\":\"3c322b07fe0e4ab6a4153ca48da77fc2\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"8bbcfc1fcadb48d2a361ed4651b663b2\",\"recoveryPointTime\":\"2023-09-21T04:30:52.8184166Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2224081f9ded4241b2413c37a7dcec54\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-12-21T05:31:36.6890570Z\",\"expiryTime\":\"2024-06-21T05:31:36.6890570Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-21T05:31:36.6890570Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/8bbcfc1fcadb48d2a361ed4651b663b2\",\"name\":\"8bbcfc1fcadb48d2a361ed4651b663b2\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"6dfdc524713746e0bb84bb4c9905f457\",\"recoveryPointTime\":\"2023-09-17T04:30:51.5450989Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"1c94854d90ec49868e4cf51b165880c4\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-12-17T05:16:57.5713999Z\",\"expiryTime\":\"2024-06-17T05:16:57.5713999Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-17T05:16:57.5713999Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/6dfdc524713746e0bb84bb4c9905f457\",\"name\":\"6dfdc524713746e0bb84bb4c9905f457\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"d4f6984eb84640fdb2b529692d51280c\",\"recoveryPointTime\":\"2023-09-14T04:30:55.3293482Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"d3043083f514406bb7f5dbc3f1a97113\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-12-14T05:10:31.4811505Z\",\"expiryTime\":\"2024-06-14T05:10:31.4811505Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-14T05:10:31.4811505Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/d4f6984eb84640fdb2b529692d51280c\",\"name\":\"d4f6984eb84640fdb2b529692d51280c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c9a4d9f4d08440748e82a11a33c4dacd\",\"recoveryPointTime\":\"2023-09-10T04:30:57.3203889Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"6808f42901434f93ab6d76c068ac2b9c\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-12-10T05:12:45.3958905Z\",\"expiryTime\":\"2024-06-10T05:12:45.3958905Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-10T05:12:45.3958905Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/c9a4d9f4d08440748e82a11a33c4dacd\",\"name\":\"c9a4d9f4d08440748e82a11a33c4dacd\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"77cfdb21fb8a478cbfda142c2bdb51cc\",\"recoveryPointTime\":\"2023-09-07T04:30:54.4699371Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"8b7db47a9f1b49609ab7bf082e1385e3\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-12-07T05:06:32.0371825Z\",\"expiryTime\":\"2024-06-07T05:06:32.0371825Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-07T05:06:32.0371825Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/77cfdb21fb8a478cbfda142c2bdb51cc\",\"name\":\"77cfdb21fb8a478cbfda142c2bdb51cc\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"48aa080a41dc40e5be802adb5614f3d2\",\"recoveryPointTime\":\"2023-09-03T04:30:56.3301383Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"efbe7a9a679d4853ba7c52da9a2a489d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-12-03T05:27:54.3382557Z\",\"expiryTime\":\"2024-06-03T05:27:54.3382557Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-06-03T05:27:54.3382557Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/48aa080a41dc40e5be802adb5614f3d2\",\"name\":\"48aa080a41dc40e5be802adb5614f3d2\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"3524e84bcd7142f3a3a797802113ad5c\",\"recoveryPointTime\":\"2023-08-31T04:30:45.7894941Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"600fbad7b214404da9ec9f2e2f706636\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-30T05:21:03.3012085Z\",\"expiryTime\":\"2024-05-30T05:21:03.3012085Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-30T05:21:03.3012085Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/3524e84bcd7142f3a3a797802113ad5c\",\"name\":\"3524e84bcd7142f3a3a797802113ad5c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e56f7dc119f24092b7f07564b6d5de3f\",\"recoveryPointTime\":\"2023-08-29T08:03:45.6744858Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"f5890fb659c14e62ab64ddc56b44a5be\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-29T08:49:20.5634180Z\",\"expiryTime\":\"2024-05-29T08:49:20.5634180Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-29T08:49:20.5634180Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/e56f7dc119f24092b7f07564b6d5de3f\",\"name\":\"e56f7dc119f24092b7f07564b6d5de3f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"1c6636d8725b4b77b91fde11c2098c76\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-28T15:17:39.0236652Z\",\"expiryTime\":\"2024-05-28T15:17:39.0236652Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-28T15:17:39.0236652Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/5b0f10f3900949dc88218fa060757f6b\",\"name\":\"5b0f10f3900949dc88218fa060757f6b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"32b0b1a6b3134a428e597af3c6a334ca\",\"recoveryPointTime\":\"2023-08-28T13:35:44.9710031Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2814cad0924b4919bf136f753b7d5277\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-28T14:31:15.2798544Z\",\"expiryTime\":\"2024-05-28T14:31:15.2798544Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-28T14:31:15.2798544Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/32b0b1a6b3134a428e597af3c6a334ca\",\"name\":\"32b0b1a6b3134a428e597af3c6a334ca\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"4ebeb8120ba24acdafd3e2f44c37c92f\",\"recoveryPointTime\":\"2023-08-27T04:30:50.0171519Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"4b8e8168a78f48b2bfd30a3dca97c9eb\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-27T05:28:10.4892889Z\",\"expiryTime\":\"2024-05-27T05:28:10.4892889Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-27T05:28:10.4892889Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/4ebeb8120ba24acdafd3e2f44c37c92f\",\"name\":\"4ebeb8120ba24acdafd3e2f44c37c92f\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"88504563586b4f289a7f9beeb9bf9dfa\",\"recoveryPointTime\":\"2023-08-24T04:30:54.6271602Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"2a341f9cffcf47f699cbc5366aac7297\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-24T05:21:38.2454783Z\",\"expiryTime\":\"2024-05-24T05:21:38.2454783Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-24T05:21:38.2454783Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/88504563586b4f289a7f9beeb9bf9dfa\",\"name\":\"88504563586b4f289a7f9beeb9bf9dfa\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"2ce99ced0b1e4a688b64d18b057b3025\",\"recoveryPointTime\":\"2023-08-20T04:30:54.8287567Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"184c9828d3124b308445177125209830\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-20T05:13:22.7949111Z\",\"expiryTime\":\"2024-05-20T05:13:22.7949111Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-20T05:13:22.7949111Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/2ce99ced0b1e4a688b64d18b057b3025\",\"name\":\"2ce99ced0b1e4a688b64d18b057b3025\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"606798a56e6d4fc28df3756c38e00435\",\"recoveryPointTime\":\"2023-08-17T04:30:50.8803359Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"8055d25ba8be431291061b5939def07d\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-17T05:07:23.6431192Z\",\"expiryTime\":\"2024-05-17T05:07:23.6431192Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-17T05:07:23.6431192Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/606798a56e6d4fc28df3756c38e00435\",\"name\":\"606798a56e6d4fc28df3756c38e00435\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"ec76a19389a5493cb5faf8df8ba1207b\",\"recoveryPointTime\":\"2023-08-13T04:31:00.8874655Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"66d1970563ae4a378748ffa04142a5d8\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-13T05:21:08.2789438Z\",\"expiryTime\":\"2024-05-13T05:21:08.2789438Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-13T05:21:08.2789438Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/ec76a19389a5493cb5faf8df8ba1207b\",\"name\":\"ec76a19389a5493cb5faf8df8ba1207b\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"9684da211c59492a8dd948504296bc02\",\"recoveryPointTime\":\"2023-08-10T04:30:46.7543352Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"6f9f02c68d0540b0b9bdb5f39c371709\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-10T05:15:01.1933054Z\",\"expiryTime\":\"2024-05-10T05:15:01.1933054Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-10T05:15:01.1933054Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/9684da211c59492a8dd948504296bc02\",\"name\":\"9684da211c59492a8dd948504296bc02\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"b1b0f1ea31ef46e2a2b86e77adf38954\",\"recoveryPointTime\":\"2023-08-06T04:30:54.4500889Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"02a61e26633d41a5877fc52dcfc9f0b6\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-06T05:07:18.3915769Z\",\"expiryTime\":\"2024-05-06T05:07:18.3915769Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-06T05:07:18.3915769Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/b1b0f1ea31ef46e2a2b86e77adf38954\",\"name\":\"b1b0f1ea31ef46e2a2b86e77adf38954\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e890e57ef0ac4fb08f6747e045f55cee\",\"recoveryPointTime\":\"2023-08-03T04:30:54.4996822Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"5f27dccb500b434db6d696554fb673aa\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-11-03T05:32:01.0305042Z\",\"expiryTime\":\"2024-05-03T05:32:01.0305042Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-05-03T05:32:01.0305042Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/e890e57ef0ac4fb08f6747e045f55cee\",\"name\":\"e890e57ef0ac4fb08f6747e045f55cee\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"42adf5436e4b4c98a752051e928a0b5e\",\"recoveryPointTime\":\"2023-07-30T04:30:58.4793731Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"45e462347a354c4b8f89c71636c66e41\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-10-30T05:23:54.8312839Z\",\"expiryTime\":\"2024-04-30T05:23:54.8312839Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-30T05:23:54.8312839Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/42adf5436e4b4c98a752051e928a0b5e\",\"name\":\"42adf5436e4b4c98a752051e928a0b5e\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"c39e41086db545b1bee4992178cde6d9\",\"recoveryPointTime\":\"2023-07-27T04:30:50.2217770Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"24ff791817c34695abe965fb79783788\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-10-27T05:17:57.9353595Z\",\"expiryTime\":\"2024-04-27T05:17:57.9353595Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-27T05:17:57.9353595Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/c39e41086db545b1bee4992178cde6d9\",\"name\":\"c39e41086db545b1bee4992178cde6d9\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"f07bde30572c4959b008de734bd0868c\",\"recoveryPointTime\":\"2023-07-23T04:30:47.2112005Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"af076549d3ac48acb5f6262af6cee808\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-10-23T05:09:54.9298400Z\",\"expiryTime\":\"2024-04-23T05:09:54.9298400Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-23T05:09:54.9298400Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/f07bde30572c4959b008de734bd0868c\",\"name\":\"f07bde30572c4959b008de734bd0868c\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"},{\"properties\":{\"objectType\":\"AzureBackupDiscreteRecoveryPoint\",\"recoveryPointId\":\"e7b9ed0d8fdb4855b5eb1f4a76fc96aa\",\"recoveryPointTime\":\"2023-07-20T04:30:45.0737364Z\",\"recoveryPointType\":\"Full\",\"friendlyName\":\"8d4be32ec3144d1f80b115a2ba04af5e\",\"recoveryPointDataStoresDetails\":[{\"id\":\"376f8b9d-8ab0-4814-a897-16c8ea53a873\",\"type\":\"ArchiveStore\",\"creationTime\":\"2023-10-20T05:04:31.1906758Z\",\"expiryTime\":\"2024-04-20T05:04:31.1906758Z\",\"metaData\":null,\"visible\":true,\"state\":\"COMMITTED\",\"rehydrationExpiryTime\":null,\"rehydrationStatus\":null}],\"retentionTagName\":\"Default\",\"retentionTagVersion\":\"637994396663663445\",\"policyName\":\"oss-pstest-policy\",\"policyVersion\":null,\"expiryTime\":\"2024-04-20T05:04:31.1906758Z\",\"recoveryPointState\":null},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints/e7b9ed0d8fdb4855b5eb1f4a76fc96aa\",\"name\":\"e7b9ed0d8fdb4855b5eb1f4a76fc96aa\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances/recoveryPoints\"}],\"nextLink\":\"https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/recoveryPoints?api-version=2023-11-01\u0026%24skiptoken=1!48!ODhkYmM5N2UtNzA4My00ZWVkLWFiYmEtOTEwODQ2MjM4NmVj+1!140!cGl0aW5kZXg1XzBfMjUxNzEyODE4OTUwNzc3OTM1N18wXzc1ODA1YzVlZmFjZDQ2M2M4MzI5ZmNiZGUzOWY5ZTFjXzBfMzc2ZjhiOWQtOGFiMC00ODE0LWE4OTctMTZjOGVhNTNhODcz\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/restore?api-version=2023-05-01+28": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/restore?api-version=2023-11-01+24": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/restore?api-version=2023-05-01", - "Content": "{\r\n \"objectType\": \"AzureBackupRecoveryPointBasedRestoreRequest\",\r\n \"restoreTargetInfo\": {\r\n \"objectType\": \"RestoreFilesTargetInfo\",\r\n \"recoveryOption\": \"FailIfExists\",\r\n \"restoreLocation\": \"centraluseuap\",\r\n \"targetDetails\": {\r\n \"filePrefix\": \"oss-pstest-restoreasfiles-28-08-2023-3-11-11\",\r\n \"restoreTargetLocationType\": \"AzureBlobs\",\r\n \"url\": \"https://osspstestsa.blob.core.windows.net/oss-pstest-container\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"VaultStore\",\r\n \"recoveryPointId\": \"5b0f10f3900949dc88218fa060757f6b\"\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce/restore?api-version=2023-11-01", + "Content": "{\r\n \"objectType\": \"AzureBackupRecoveryPointBasedRestoreRequest\",\r\n \"restoreTargetInfo\": {\r\n \"objectType\": \"RestoreFilesTargetInfo\",\r\n \"recoveryOption\": \"FailIfExists\",\r\n \"restoreLocation\": \"centraluseuap\",\r\n \"targetDetails\": {\r\n \"filePrefix\": \"oss-pstest-restoreasfiles-25-12-2023-11-11-11\",\r\n \"restoreTargetLocationType\": \"AzureBlobs\",\r\n \"url\": \"https://osspstestsa.blob.core.windows.net/oss-pstest-container\"\r\n }\r\n },\r\n \"sourceDataStoreType\": \"VaultStore\",\r\n \"recoveryPointId\": \"168154e7b68f405d933c376aef44068f\"\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "551" ] + "Content-Length": [ "552" ] } }, "Response": { @@ -1883,17 +1715,17 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzVlM2M2MzQ2LWY4MDUtNGY0My1iYThjLTk3YjlhNmQwMjFiMg==?api-version=2023-05-01\u0026t=2023-08-28T14%3a19%3a12\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=hQ4xysIhz6OcKCMPazdSNsv9dzDfTU7PCC28AydDZWatHRAcn9VaTLVCWJgYmvq_F_75hdmiuO5rWoq-J_UHYVk2P5sRuTfCNB8RHTrevD-c84LVib-yRpAIrIpTVptwrEQhA_V8twpJKOlI4Hc7xR2tbDN5vzJJcRmYMLGXJVremMr5CJGQfkGVjMGKmYMUEcQ4EAvTv_NwLxq4DHXb80_E3d_y6WUgTTnEnsd-lm1Tn1Ipe5L7XQtHW_q3_20RZfb0SnYUrfy6OMEjTAezf84jyJUtphv0E1v2xHJ8bfy223JU_M37QcR4ZTahZ3mVbawZnmdcBrT8xYKRHxf7Nw\u0026h=kXpAJI5MnCH7zYFof1TNlC1Z2QhLWjJSDStqrxI6ugw" ], + "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzg3OGQ4YzM1LWU1NDgtNDI3Yi05NmQ3LWY0MmQ4NDE0ODYwMQ==?api-version=2023-11-01\u0026t=638390773450949552\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=qW3j9i8hc2rPe9IZv7oXSPGuM7C80np4D2hOMOAFHUnvy2wfr4ZTPZGVt-VqeY-ofPKIAjvwJoLSLABie7wJB0PFDrhuNtwoGcE_giM-5KlA5fAS5ALhSyT8CW3pDUZN6qpyxJlgUo31PlHeMXOKIwlDWjLcH2MKzGabOqlVPkIZpiq67QsTilwjWzjLA2fWtOaLLGLS5eF_fu-WdeHDMjo15fo6Elcc1XeC2UH9X7xe_z03j7TRDQXIgZri4aVhVkBKCbGxl07v-99XjIfI-hbEXNJGYvpMs7XJiT_Te3sMcYngk97xCV-2ZS0YhCSobIVcWO8ZyEN-YFdDzNK3AQ\u0026h=F0XV6fSYtcwxKCvQRj9mtOlImXqLMCLv6C8Wa-Yjtzs" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzVlM2M2MzQ2LWY4MDUtNGY0My1iYThjLTk3YjlhNmQwMjFiMg==?api-version=2023-05-01\u0026t=2023-08-28T14%3a19%3a12\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=fp4pz0_RVbxAkDKc1aUQqvvWZSTyieL9FRnppXa5EaRe0fBLhDkBmKDmPsWHml4oIisgdNppqn9VGIJxwDpWPi4JsOX8oV53FC76Y9TyqSmkwmbaw1AxCWdFItClDyTCvTSv35QW1T0UgjTFLHw7JdXLBvdxCeqWW4xGAXFTIkUsQUFBMRyf_0yn81IWIzbuhxEE7gyiEfhvvkcY0469rZqSU-ew1ZRHk4_uNopxZteJkdcLfTv5NhFPhz5NnHyGuQFvXS8wJWkCm2o_vN1IwWBjD5EKKQS2w6mtLG1tCmrycYGLrrch98oyHVg_IE2rBLD5xrLBDqPb8AxKdGPGTw\u0026h=4sVJ8EmxfYIYVpsEs1i87EGL7aOjGIa_lAPsj0C5FbQ" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzg3OGQ4YzM1LWU1NDgtNDI3Yi05NmQ3LWY0MmQ4NDE0ODYwMQ==?api-version=2023-11-01\u0026t=638390773450793313\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=LHA5eMvWJ4gO9jRHsMBUarJb10_Iit2FH5pxqdH802DdPn2mLEyzcDy_1fSCXMu5tZpeXr3UMYQYjeRXG6OSc1TetWRpiuZq7JCJUrIxeVu0FREBYTjGd8mPT6ImqofR3Lj_4CgLijzMuyI91YXF5DCYXUAec1a1KvEyMbLRbGwxv66oxe3E5xHKhVdbPmkOvKQdGkPuUuXMC60oyF6pdJMRXBqWrgm6-BdZ3SMfqByUVW82Lww-fGh7FgFmeNMX7aDoy9zahaEVLw8jPUAYvG9-jRCqZoFLjyvR-Ct7sEDH76vK3LzCzQwDsEa8WmiY0luxhk8mW8Soq-x9npgUdQ\u0026h=sPNYaPqK24J2uVANdHgCTstacbmBppt4J-Kyb0KxssQ" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-correlation-request-id": [ "dc05c268-f799-4e6d-b58b-42992fd94ba1" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141912Z:dc05c268-f799-4e6d-b58b-42992fd94ba1" ], - "Date": [ "Mon, 28 Aug 2023 14:19:12 GMT" ] + "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], + "x-ms-correlation-request-id": [ "791549a6-a662-4560-a843-4c60dc0cce95" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050225Z:791549a6-a662-4560-a843-4c60dc0cce95" ], + "Date": [ "Mon, 25 Dec 2023 05:02:24 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -1903,20 +1735,20 @@ "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzVlM2M2MzQ2LWY4MDUtNGY0My1iYThjLTk3YjlhNmQwMjFiMg==?api-version=2023-05-01\u0026t=2023-08-28T14%3a19%3a12\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=fp4pz0_RVbxAkDKc1aUQqvvWZSTyieL9FRnppXa5EaRe0fBLhDkBmKDmPsWHml4oIisgdNppqn9VGIJxwDpWPi4JsOX8oV53FC76Y9TyqSmkwmbaw1AxCWdFItClDyTCvTSv35QW1T0UgjTFLHw7JdXLBvdxCeqWW4xGAXFTIkUsQUFBMRyf_0yn81IWIzbuhxEE7gyiEfhvvkcY0469rZqSU-ew1ZRHk4_uNopxZteJkdcLfTv5NhFPhz5NnHyGuQFvXS8wJWkCm2o_vN1IwWBjD5EKKQS2w6mtLG1tCmrycYGLrrch98oyHVg_IE2rBLD5xrLBDqPb8AxKdGPGTw\u0026h=4sVJ8EmxfYIYVpsEs1i87EGL7aOjGIa_lAPsj0C5FbQ+29": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzg3OGQ4YzM1LWU1NDgtNDI3Yi05NmQ3LWY0MmQ4NDE0ODYwMQ==?api-version=2023-11-01\u0026t=638390773450793313\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=LHA5eMvWJ4gO9jRHsMBUarJb10_Iit2FH5pxqdH802DdPn2mLEyzcDy_1fSCXMu5tZpeXr3UMYQYjeRXG6OSc1TetWRpiuZq7JCJUrIxeVu0FREBYTjGd8mPT6ImqofR3Lj_4CgLijzMuyI91YXF5DCYXUAec1a1KvEyMbLRbGwxv66oxe3E5xHKhVdbPmkOvKQdGkPuUuXMC60oyF6pdJMRXBqWrgm6-BdZ3SMfqByUVW82Lww-fGh7FgFmeNMX7aDoy9zahaEVLw8jPUAYvG9-jRCqZoFLjyvR-Ct7sEDH76vK3LzCzQwDsEa8WmiY0luxhk8mW8Soq-x9npgUdQ\u0026h=sPNYaPqK24J2uVANdHgCTstacbmBppt4J-Kyb0KxssQ+25": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzVlM2M2MzQ2LWY4MDUtNGY0My1iYThjLTk3YjlhNmQwMjFiMg==?api-version=2023-05-01\u0026t=2023-08-28T14%3a19%3a12\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=fp4pz0_RVbxAkDKc1aUQqvvWZSTyieL9FRnppXa5EaRe0fBLhDkBmKDmPsWHml4oIisgdNppqn9VGIJxwDpWPi4JsOX8oV53FC76Y9TyqSmkwmbaw1AxCWdFItClDyTCvTSv35QW1T0UgjTFLHw7JdXLBvdxCeqWW4xGAXFTIkUsQUFBMRyf_0yn81IWIzbuhxEE7gyiEfhvvkcY0469rZqSU-ew1ZRHk4_uNopxZteJkdcLfTv5NhFPhz5NnHyGuQFvXS8wJWkCm2o_vN1IwWBjD5EKKQS2w6mtLG1tCmrycYGLrrch98oyHVg_IE2rBLD5xrLBDqPb8AxKdGPGTw\u0026h=4sVJ8EmxfYIYVpsEs1i87EGL7aOjGIa_lAPsj0C5FbQ", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzg3OGQ4YzM1LWU1NDgtNDI3Yi05NmQ3LWY0MmQ4NDE0ODYwMQ==?api-version=2023-11-01\u0026t=638390773450793313\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=LHA5eMvWJ4gO9jRHsMBUarJb10_Iit2FH5pxqdH802DdPn2mLEyzcDy_1fSCXMu5tZpeXr3UMYQYjeRXG6OSc1TetWRpiuZq7JCJUrIxeVu0FREBYTjGd8mPT6ImqofR3Lj_4CgLijzMuyI91YXF5DCYXUAec1a1KvEyMbLRbGwxv66oxe3E5xHKhVdbPmkOvKQdGkPuUuXMC60oyF6pdJMRXBqWrgm6-BdZ3SMfqByUVW82Lww-fGh7FgFmeNMX7aDoy9zahaEVLw8jPUAYvG9-jRCqZoFLjyvR-Ct7sEDH76vK3LzCzQwDsEa8WmiY0luxhk8mW8Soq-x9npgUdQ\u0026h=sPNYaPqK24J2uVANdHgCTstacbmBppt4J-Kyb0KxssQ", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "399" ], - "x-ms-client-request-id": [ "e81fb0cf-ffac-423f-83f0-bd660bea7984" ], - "CommandName": [ "Start-AzDataProtectionBackupInstanceRestore" ], + "x-ms-unique-id": [ "262" ], + "x-ms-client-request-id": [ "90538712-b51b-41e1-8d3e-ea2b2ea98e40" ], + "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -1931,34 +1763,34 @@ "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "995" ], - "x-ms-correlation-request-id": [ "4479b1b2-de57-4a1c-b5ee-9fe864dea013" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141943Z:4479b1b2-de57-4a1c-b5ee-9fe864dea013" ], - "Date": [ "Mon, 28 Aug 2023 14:19:43 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "991" ], + "x-ms-correlation-request-id": [ "5c0a9741-1b70-4dac-82c7-ed22883007e6" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050255Z:5c0a9741-1b70-4dac-82c7-ed22883007e6" ], + "Date": [ "Mon, 25 Dec 2023 05:02:55 GMT" ] }, "ContentHeaders": { "Content-Length": [ "737" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzVlM2M2MzQ2LWY4MDUtNGY0My1iYThjLTk3YjlhNmQwMjFiMg==\",\"name\":\"ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzVlM2M2MzQ2LWY4MDUtNGY0My1iYThjLTk3YjlhNmQwMjFiMg==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-28T14:19:12.2785485Z\",\"endTime\":\"2023-08-28T14:19:13Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"objectType\":\"OperationJobExtendedInfo\"}}", + "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzg3OGQ4YzM1LWU1NDgtNDI3Yi05NmQ3LWY0MmQ4NDE0ODYwMQ==\",\"name\":\"ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzg3OGQ4YzM1LWU1NDgtNDI3Yi05NmQ3LWY0MmQ4NDE0ODYwMQ==\",\"status\":\"Succeeded\",\"startTime\":\"2023-12-25T05:02:24.8671922Z\",\"endTime\":\"2023-12-25T05:02:26Z\",\"properties\":{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64\",\"objectType\":\"OperationJobExtendedInfo\"}}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzVlM2M2MzQ2LWY4MDUtNGY0My1iYThjLTk3YjlhNmQwMjFiMg==?api-version=2023-05-01\u0026t=2023-08-28T14%3a19%3a12\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=hQ4xysIhz6OcKCMPazdSNsv9dzDfTU7PCC28AydDZWatHRAcn9VaTLVCWJgYmvq_F_75hdmiuO5rWoq-J_UHYVk2P5sRuTfCNB8RHTrevD-c84LVib-yRpAIrIpTVptwrEQhA_V8twpJKOlI4Hc7xR2tbDN5vzJJcRmYMLGXJVremMr5CJGQfkGVjMGKmYMUEcQ4EAvTv_NwLxq4DHXb80_E3d_y6WUgTTnEnsd-lm1Tn1Ipe5L7XQtHW_q3_20RZfb0SnYUrfy6OMEjTAezf84jyJUtphv0E1v2xHJ8bfy223JU_M37QcR4ZTahZ3mVbawZnmdcBrT8xYKRHxf7Nw\u0026h=kXpAJI5MnCH7zYFof1TNlC1Z2QhLWjJSDStqrxI6ugw+30": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzg3OGQ4YzM1LWU1NDgtNDI3Yi05NmQ3LWY0MmQ4NDE0ODYwMQ==?api-version=2023-11-01\u0026t=638390773450949552\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=qW3j9i8hc2rPe9IZv7oXSPGuM7C80np4D2hOMOAFHUnvy2wfr4ZTPZGVt-VqeY-ofPKIAjvwJoLSLABie7wJB0PFDrhuNtwoGcE_giM-5KlA5fAS5ALhSyT8CW3pDUZN6qpyxJlgUo31PlHeMXOKIwlDWjLcH2MKzGabOqlVPkIZpiq67QsTilwjWzjLA2fWtOaLLGLS5eF_fu-WdeHDMjo15fo6Elcc1XeC2UH9X7xe_z03j7TRDQXIgZri4aVhVkBKCbGxl07v-99XjIfI-hbEXNJGYvpMs7XJiT_Te3sMcYngk97xCV-2ZS0YhCSobIVcWO8ZyEN-YFdDzNK3AQ\u0026h=F0XV6fSYtcwxKCvQRj9mtOlImXqLMCLv6C8Wa-Yjtzs+26": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzVlM2M2MzQ2LWY4MDUtNGY0My1iYThjLTk3YjlhNmQwMjFiMg==?api-version=2023-05-01\u0026t=2023-08-28T14%3a19%3a12\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=hQ4xysIhz6OcKCMPazdSNsv9dzDfTU7PCC28AydDZWatHRAcn9VaTLVCWJgYmvq_F_75hdmiuO5rWoq-J_UHYVk2P5sRuTfCNB8RHTrevD-c84LVib-yRpAIrIpTVptwrEQhA_V8twpJKOlI4Hc7xR2tbDN5vzJJcRmYMLGXJVremMr5CJGQfkGVjMGKmYMUEcQ4EAvTv_NwLxq4DHXb80_E3d_y6WUgTTnEnsd-lm1Tn1Ipe5L7XQtHW_q3_20RZfb0SnYUrfy6OMEjTAezf84jyJUtphv0E1v2xHJ8bfy223JU_M37QcR4ZTahZ3mVbawZnmdcBrT8xYKRHxf7Nw\u0026h=kXpAJI5MnCH7zYFof1TNlC1Z2QhLWjJSDStqrxI6ugw", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzg3OGQ4YzM1LWU1NDgtNDI3Yi05NmQ3LWY0MmQ4NDE0ODYwMQ==?api-version=2023-11-01\u0026t=638390773450949552\u0026c=MIIHADCCBeigAwIBAgITHgOOMBozud4ntKDx9AAAA44wGjANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMxMTAxMDE1MTU0WhcNMjQxMDI2MDE1MTU0WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANDapzspH4TFvGRc9swJ2FQIjQFQwPYvDzdBmZJZNd6Dbfump0Q1DDORQBhHodmdlt_3vboaxwzxE3kpl3iiu9yDVSsCpWgM2HkQkYOcqpV6DyPd2c9npGPXe4FfaPFhWmFua6buhTiVOCjKt662-cFgXaULveIOqrfNhVNz8r96uEsbbxAFRiITiFUMplpAX32e8LLO8Yx2hXR93mSeVxTuIQF9lt6aWIZPykSSrWng9JCQHMB4tlAy5TC0LC1TbICkzaJeGbYoFjCYxXTzWNQt4OnBY6eAudwQl1dbtK8aQ4ABCvTkULxatPuQXPOzOONPHh_F3vrJnrh6CT0CHo0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBSRfDMf_mJj_wWOVnnLFwYLOPKCeTAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAJfETOToqD_ftUGtouZwC6rs1akM2usYUBsoKTxZWWLiKkIvHDqBRTkgK3np0YbqysAmhzX7Adg5NBZhKnVB80Iu0zHKZmkPq0lyKEcullWuVIU4aYOnraT97tUYV9cd99ckvzGiBcvHpIbW2Pma2lJtySUuxy6W-QOB6qTKqtn0GCkyBl3D43xxuwlYGMtMu7bauear13buD6hZ3NzDjgjFw6GBtb-iIFu3t-7KVbYGpmVC8jl77nJDT6UN1Aa6koMNwZWVYIojIn59D0gIxRDgBk3MgYV2yAa1xIjUcY7Xzj2oTPkh5rUNCCMlvPqcwqVxyc2YqWCgPSp3gHO1JzI\u0026s=qW3j9i8hc2rPe9IZv7oXSPGuM7C80np4D2hOMOAFHUnvy2wfr4ZTPZGVt-VqeY-ofPKIAjvwJoLSLABie7wJB0PFDrhuNtwoGcE_giM-5KlA5fAS5ALhSyT8CW3pDUZN6qpyxJlgUo31PlHeMXOKIwlDWjLcH2MKzGabOqlVPkIZpiq67QsTilwjWzjLA2fWtOaLLGLS5eF_fu-WdeHDMjo15fo6Elcc1XeC2UH9X7xe_z03j7TRDQXIgZri4aVhVkBKCbGxl07v-99XjIfI-hbEXNJGYvpMs7XJiT_Te3sMcYngk97xCV-2ZS0YhCSobIVcWO8ZyEN-YFdDzNK3AQ\u0026h=F0XV6fSYtcwxKCvQRj9mtOlImXqLMCLv6C8Wa-Yjtzs", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "400" ], - "x-ms-client-request-id": [ "e81fb0cf-ffac-423f-83f0-bd660bea7984" ], - "CommandName": [ "Start-AzDataProtectionBackupInstanceRestore" ], + "x-ms-unique-id": [ "263" ], + "x-ms-client-request-id": [ "90538712-b51b-41e1-8d3e-ea2b2ea98e40" ], + "CommandName": [ "Az.DataProtection.Internal\\Start-AzDataProtectionBackupInstanceRestore" ], "FullCommandName": [ "Start-AzDataProtectionBackupInstanceRestore_Trigger" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ] }, "ContentHeaders": { } @@ -1969,81 +1801,39 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzVlM2M2MzQ2LWY4MDUtNGY0My1iYThjLTk3YjlhNmQwMjFiMg==?api-version=2023-05-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/ZWY5ODFmNjktMDk0Yi00MGU5LWEwNmUtNzVjZGFkNzg1OTEyOzg3OGQ4YzM1LWU1NDgtNDI3Yi05NmQ3LWY0MmQ4NDE0ODYwMQ==?api-version=2023-11-01" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "Server": [ "Microsoft-IIS/10.0" ], "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "195" ], - "x-ms-correlation-request-id": [ "57825304-bb59-4b54-ace9-091796041f46" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141943Z:57825304-bb59-4b54-ace9-091796041f46" ], - "Date": [ "Mon, 28 Aug 2023 14:19:43 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "191" ], + "x-ms-correlation-request-id": [ "c40029a5-2ac3-4f0c-b93a-ba0981e712a8" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050256Z:c40029a5-2ac3-4f0c-b93a-ba0981e712a8" ], + "Date": [ "Mon, 25 Dec 2023 05:02:55 GMT" ] }, "ContentHeaders": { "Content-Length": [ "245" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"objectType\":\"OperationJobExtendedInfo\"}", - "isContentBase64": false - } - }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae?api-version=2023-05-01+31": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae?api-version=2023-05-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "401" ], - "x-ms-client-request-id": [ "22ef9efb-d1c4-43e3-bc68-9bf0951ead94" ], - "CommandName": [ "Get-AzDataProtectionJob" ], - "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "183" ], - "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "X-Powered-By": [ "ASP.NET" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "f34b4987-c545-45db-b3cc-0f03bdaf98c5" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T141954Z:f34b4987-c545-45db-b3cc-0f03bdaf98c5" ], - "Date": [ "Mon, 28 Aug 2023 14:19:54 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2442" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"activityID\":\"e81fb0cf-ffac-423f-83f0-bd660bea7984\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A19%3A12.8615253Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:19:12.5412892Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\"},\"recoveryDestination\":\"https://osspstestsa.blob.core.windows.net/oss-pstest-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-pstest-restoreasfiles-28-08-2023-3-11-11\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"name\":\"bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"jobId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/oss-pstest-rg/providers/Microsoft.DataProtection/BackupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64\",\"objectType\":\"OperationJobExtendedInfo\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae?api-version=2023-05-01+32": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64?api-version=2023-11-01+27": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "402" ], - "x-ms-client-request-id": [ "7a887f91-2e33-4afe-b8b4-0ccee69dd6a2" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "264" ], + "x-ms-client-request-id": [ "76a6ae0d-0d60-47c5-92c4-f524a0240db0" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2054,38 +1844,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "182" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "74" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "58ea8e45-5de7-4773-8903-acdf0391c90d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T142005Z:58ea8e45-5de7-4773-8903-acdf0391c90d" ], - "Date": [ "Mon, 28 Aug 2023 14:20:04 GMT" ] + "x-ms-correlation-request-id": [ "cdb3dd9c-37e1-4ad9-ba59-93a6aec9a755" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050306Z:cdb3dd9c-37e1-4ad9-ba59-93a6aec9a755" ], + "Date": [ "Mon, 25 Dec 2023 05:03:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2442" ], + "Content-Length": [ "2464" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e81fb0cf-ffac-423f-83f0-bd660bea7984\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A19%3A12.8615253Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:19:12.5412892Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\"},\"recoveryDestination\":\"https://osspstestsa.blob.core.windows.net/oss-pstest-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-pstest-restoreasfiles-28-08-2023-3-11-11\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"name\":\"bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"90538712-b51b-41e1-8d3e-ea2b2ea98e40\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T05%3A02%3A25.3521776Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T05:02:25.136594Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"168154e7b68f405d933c376aef44068f\",\"recoveryPointTime\":\"2023-12-25T04:59:26.2653874Z\"},\"recoveryDestination\":\"https://osspstestsa.blob.core.windows.net/oss-pstest-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-pstest-restoreasfiles-25-12-2023-11-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64\",\"name\":\"de65c246-9dea-4f8b-952d-5f46b293be64\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae?api-version=2023-05-01+33": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64?api-version=2023-11-01+28": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "403" ], - "x-ms-client-request-id": [ "55c84362-47c8-42cb-ab1f-919a9c4805a6" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "265" ], + "x-ms-client-request-id": [ "6f1a979e-a4c2-4b91-89cf-0b4866f2de3e" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2096,38 +1886,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "181" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "73" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "aa9e2238-dd9e-47bc-aaba-85db9b942ef6" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T142016Z:aa9e2238-dd9e-47bc-aaba-85db9b942ef6" ], - "Date": [ "Mon, 28 Aug 2023 14:20:15 GMT" ] + "x-ms-correlation-request-id": [ "293339fa-4b95-4c26-8b75-b2c84decae4a" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050317Z:293339fa-4b95-4c26-8b75-b2c84decae4a" ], + "Date": [ "Mon, 25 Dec 2023 05:03:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2442" ], + "Content-Length": [ "2464" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e81fb0cf-ffac-423f-83f0-bd660bea7984\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A19%3A12.8615253Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:19:12.5412892Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\"},\"recoveryDestination\":\"https://osspstestsa.blob.core.windows.net/oss-pstest-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-pstest-restoreasfiles-28-08-2023-3-11-11\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"name\":\"bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"90538712-b51b-41e1-8d3e-ea2b2ea98e40\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T05%3A02%3A25.3521776Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T05:02:25.136594Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"168154e7b68f405d933c376aef44068f\",\"recoveryPointTime\":\"2023-12-25T04:59:26.2653874Z\"},\"recoveryDestination\":\"https://osspstestsa.blob.core.windows.net/oss-pstest-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-pstest-restoreasfiles-25-12-2023-11-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64\",\"name\":\"de65c246-9dea-4f8b-952d-5f46b293be64\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae?api-version=2023-05-01+34": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64?api-version=2023-11-01+29": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "404" ], - "x-ms-client-request-id": [ "1fd32814-f264-4d22-ba31-fea30eb07e3a" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "266" ], + "x-ms-client-request-id": [ "2caee3ac-2d9c-464a-8f86-ddfb7bf4dc3a" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2138,38 +1928,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "180" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "72" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "ef2be199-e24e-46eb-a0de-3dca1c04e720" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T142027Z:ef2be199-e24e-46eb-a0de-3dca1c04e720" ], - "Date": [ "Mon, 28 Aug 2023 14:20:27 GMT" ] + "x-ms-correlation-request-id": [ "681796f3-b217-413e-8919-5440be398406" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050328Z:681796f3-b217-413e-8919-5440be398406" ], + "Date": [ "Mon, 25 Dec 2023 05:03:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2442" ], + "Content-Length": [ "2464" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e81fb0cf-ffac-423f-83f0-bd660bea7984\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A19%3A12.8615253Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:19:12.5412892Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\"},\"recoveryDestination\":\"https://osspstestsa.blob.core.windows.net/oss-pstest-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-pstest-restoreasfiles-28-08-2023-3-11-11\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"name\":\"bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"90538712-b51b-41e1-8d3e-ea2b2ea98e40\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T05%3A02%3A25.3521776Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T05:02:25.136594Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"168154e7b68f405d933c376aef44068f\",\"recoveryPointTime\":\"2023-12-25T04:59:26.2653874Z\"},\"recoveryDestination\":\"https://osspstestsa.blob.core.windows.net/oss-pstest-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-pstest-restoreasfiles-25-12-2023-11-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64\",\"name\":\"de65c246-9dea-4f8b-952d-5f46b293be64\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae?api-version=2023-05-01+35": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64?api-version=2023-11-01+30": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "405" ], - "x-ms-client-request-id": [ "54242144-30a2-430c-b2a9-9b08fb10bdf5" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "267" ], + "x-ms-client-request-id": [ "bed7757f-7dd9-4199-8357-47dfe0b6425a" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2180,38 +1970,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "179" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "71" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "4a36a44b-66bc-4335-a202-2b1f222fb0cd" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T142038Z:4a36a44b-66bc-4335-a202-2b1f222fb0cd" ], - "Date": [ "Mon, 28 Aug 2023 14:20:38 GMT" ] + "x-ms-correlation-request-id": [ "7a2c91eb-2853-47f8-a950-57f8d3c8a431" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050339Z:7a2c91eb-2853-47f8-a950-57f8d3c8a431" ], + "Date": [ "Mon, 25 Dec 2023 05:03:38 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2442" ], + "Content-Length": [ "2464" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e81fb0cf-ffac-423f-83f0-bd660bea7984\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A19%3A12.8615253Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:19:12.5412892Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\"},\"recoveryDestination\":\"https://osspstestsa.blob.core.windows.net/oss-pstest-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-pstest-restoreasfiles-28-08-2023-3-11-11\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"name\":\"bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"90538712-b51b-41e1-8d3e-ea2b2ea98e40\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T05%3A02%3A25.3521776Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T05:02:25.136594Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"168154e7b68f405d933c376aef44068f\",\"recoveryPointTime\":\"2023-12-25T04:59:26.2653874Z\"},\"recoveryDestination\":\"https://osspstestsa.blob.core.windows.net/oss-pstest-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-pstest-restoreasfiles-25-12-2023-11-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64\",\"name\":\"de65c246-9dea-4f8b-952d-5f46b293be64\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae?api-version=2023-05-01+36": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64?api-version=2023-11-01+31": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "406" ], - "x-ms-client-request-id": [ "caf4cbf8-4c2b-49f7-91a5-c8c0e0edd6b2" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "268" ], + "x-ms-client-request-id": [ "61d07411-e532-4820-82ee-94211a254089" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2222,38 +2012,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "178" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "70" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "a2f16f02-4e03-419f-b4d8-318550acc70c" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T142049Z:a2f16f02-4e03-419f-b4d8-318550acc70c" ], - "Date": [ "Mon, 28 Aug 2023 14:20:48 GMT" ] + "x-ms-correlation-request-id": [ "4ed5ffc5-bb1d-434f-a741-ddd1fe1eb8f0" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050349Z:4ed5ffc5-bb1d-434f-a741-ddd1fe1eb8f0" ], + "Date": [ "Mon, 25 Dec 2023 05:03:49 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2442" ], + "Content-Length": [ "2464" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e81fb0cf-ffac-423f-83f0-bd660bea7984\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A19%3A12.8615253Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:19:12.5412892Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\"},\"recoveryDestination\":\"https://osspstestsa.blob.core.windows.net/oss-pstest-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-pstest-restoreasfiles-28-08-2023-3-11-11\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"name\":\"bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"90538712-b51b-41e1-8d3e-ea2b2ea98e40\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T05%3A02%3A25.3521776Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T05:02:25.136594Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"168154e7b68f405d933c376aef44068f\",\"recoveryPointTime\":\"2023-12-25T04:59:26.2653874Z\"},\"recoveryDestination\":\"https://osspstestsa.blob.core.windows.net/oss-pstest-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-pstest-restoreasfiles-25-12-2023-11-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64\",\"name\":\"de65c246-9dea-4f8b-952d-5f46b293be64\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae?api-version=2023-05-01+37": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64?api-version=2023-11-01+32": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "407" ], - "x-ms-client-request-id": [ "0a1cf021-41f4-48e2-a1cc-ffa7378cc178" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "269" ], + "x-ms-client-request-id": [ "d74f98c4-f9b7-49c6-9a32-c769ad086316" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2264,38 +2054,38 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "177" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "a37d632c-77bf-4e2a-ada1-cd703dbd0b9c" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T142059Z:a37d632c-77bf-4e2a-ada1-cd703dbd0b9c" ], - "Date": [ "Mon, 28 Aug 2023 14:20:59 GMT" ] + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "69" ], + "x-ms-correlation-request-id": [ "b01b84c0-8b0d-4ebe-861f-60af56a59bc1" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050400Z:b01b84c0-8b0d-4ebe-861f-60af56a59bc1" ], + "Date": [ "Mon, 25 Dec 2023 05:03:59 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2442" ], + "Content-Length": [ "2464" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e81fb0cf-ffac-423f-83f0-bd660bea7984\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A19%3A12.8615253Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:19:12.5412892Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\"},\"recoveryDestination\":\"https://osspstestsa.blob.core.windows.net/oss-pstest-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-pstest-restoreasfiles-28-08-2023-3-11-11\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"name\":\"bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"90538712-b51b-41e1-8d3e-ea2b2ea98e40\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T05%3A02%3A25.3521776Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T05:02:25.136594Z\",\"endTime\":null,\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"InProgress\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT0S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"168154e7b68f405d933c376aef44068f\",\"recoveryPointTime\":\"2023-12-25T04:59:26.2653874Z\"},\"recoveryDestination\":\"https://osspstestsa.blob.core.windows.net/oss-pstest-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"InProgress\",\"taskProgress\":null,\"additionalDetails\":null}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-pstest-restoreasfiles-25-12-2023-11-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64\",\"name\":\"de65c246-9dea-4f8b-952d-5f46b293be64\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } }, - "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae?api-version=2023-05-01+38": { + "Start-AzDataProtectionBackupInstanceRestore+[NoContext]+OssRestore+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64?api-version=2023-11-01+33": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae?api-version=2023-05-01", + "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64?api-version=2023-11-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "408" ], - "x-ms-client-request-id": [ "e5880388-cd0f-4e5b-ba4f-4bb9b061ba08" ], - "CommandName": [ "Get-AzDataProtectionJob" ], + "x-ms-unique-id": [ "270" ], + "x-ms-client-request-id": [ "c830ac01-4684-48cd-993d-ead78bd2c16f" ], + "CommandName": [ "Az.DataProtection.internal\\Get-AzDataProtectionJob" ], "FullCommandName": [ "Get-AzDataProtectionJob_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], + "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.4.0", "Az.DataProtection/0.1.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -2306,22 +2096,22 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "176" ], + "x-ms-ratelimit-remaining-subscription-resource-requests": [ "68" ], "Server": [ "Microsoft-IIS/10.0", "Kestrel" ], "X-Content-Type-Options": [ "nosniff" ], "x-ms-request-id": [ "" ], "X-Powered-By": [ "ASP.NET" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-correlation-request-id": [ "ee5463cc-d241-4281-b86c-e3ca278a57d1" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230828T142110Z:ee5463cc-d241-4281-b86c-e3ca278a57d1" ], - "Date": [ "Mon, 28 Aug 2023 14:21:10 GMT" ] + "x-ms-correlation-request-id": [ "7bfbc728-fd19-42a1-bf49-52e7fd595ce7" ], + "x-ms-routing-request-id": [ "JIOINDIAWEST:20231225T050412Z:7bfbc728-fd19-42a1-bf49-52e7fd595ce7" ], + "Date": [ "Mon, 25 Dec 2023 05:04:12 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "2613" ], + "Content-Length": [ "2636" ], "Content-Type": [ "application/json" ], "Expires": [ "-1" ] }, - "Content": "{\"properties\":{\"activityID\":\"e81fb0cf-ffac-423f-83f0-bd660bea7984\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-08-28T14%3A21%3A01.4266832Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-08-28T14:19:12.5412892Z\",\"endTime\":\"2023-08-28T14:21:01.243726Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M48.7024368S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"5b0f10f3900949dc88218fa060757f6b\",\"recoveryPointTime\":\"2023-08-28T14:15:34.9490176Z\"},\"recoveryDestination\":\"https://osspstestsa.blob.core.windows.net/oss-pstest-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"e81fb0cf-ffac-423f-83f0-bd660bea7984\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\"}}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-pstest-restoreasfiles-28-08-2023-3-11-11\"}}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"name\":\"bbce38f2-d69e-4722-96c4-04b1d8a6b4ae\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", + "Content": "{\"properties\":{\"activityID\":\"90538712-b51b-41e1-8d3e-ea2b2ea98e40\",\"subscriptionId\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"backupInstanceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupInstances/oss-pstest-server-postgres-71e70c85-0927-42f2-a8e4-5aff1a8366ce\",\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupPolicies/oss-pstest-policy\",\"dataSourceId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres\",\"vaultName\":\"oss-pstest-vault\",\"backupInstanceFriendlyName\":\"oss-pstest-server\\\\postgres\",\"policyName\":\"oss-pstest-policy\",\"sourceResourceGroup\":\"hiagarg\",\"dataSourceSetName\":\"oss-pstest-server\",\"dataSourceName\":\"postgres\",\"sourceDataStoreName\":null,\"sourceDataStoreType\":\"VaultStore\",\"destinationDataStoreName\":null,\"progressEnabled\":true,\"etag\":\"W/\\\"datetime\u00272023-12-25T05%3A04%3A11.8961126Z\u0027\\\"\",\"sourceSubscriptionID\":\"38304e13-357e-405e-9e9a-220351dcce8c\",\"dataSourceLocation\":\"centraluseuap\",\"startTime\":\"2023-12-25T05:02:25.136594Z\",\"endTime\":\"2023-12-25T05:04:11.6755592Z\",\"dataSourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\",\"operationCategory\":\"Restore\",\"operation\":\"Restore\",\"status\":\"Completed\",\"restoreType\":null,\"isUserTriggered\":true,\"rehydrationPriority\":null,\"supportedActions\":[\"\"],\"duration\":\"PT1M46.5389652S\",\"progressUrl\":null,\"isCrossRegionRestore\":null,\"errorDetails\":null,\"extendedInfo\":{\"backupInstanceState\":null,\"dataTransferredInBytes\":null,\"targetRecoverPoint\":null,\"sourceRecoverPoint\":{\"recoveryPointID\":\"168154e7b68f405d933c376aef44068f\",\"recoveryPointTime\":\"2023-12-25T04:59:26.2653874Z\"},\"recoveryDestination\":\"https://osspstestsa.blob.core.windows.net/oss-pstest-container\",\"subTasks\":[{\"taskId\":1,\"taskName\":\"Trigger Restore\",\"taskStatus\":\"Completed\",\"taskProgress\":null,\"additionalDetails\":{\"DataTransferredInBytes\":\"0\",\"TaskId\":\"90538712-b51b-41e1-8d3e-ea2b2ea98e40\",\"DatasourceType\":\"Microsoft.DBforPostgreSQL/servers/databases\"}}],\"additionalDetails\":{\"Restore File Prefix\":\"oss-pstest-restoreasfiles-25-12-2023-11-11-11\"},\"warningDetails\":null}},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/oss-pstest-rg/providers/Microsoft.DataProtection/backupVaults/oss-pstest-vault/backupJobs/de65c246-9dea-4f8b-952d-5f46b293be64\",\"name\":\"de65c246-9dea-4f8b-952d-5f46b293be64\",\"type\":\"Microsoft.DataProtection/backupVaults/backupJobs\"}", "isContentBase64": false } } diff --git a/src/DataProtection/DataProtection.Autorest/test/Start-AzDataProtectionBackupInstanceRestore.Tests.ps1 b/src/DataProtection/DataProtection.Autorest/test/Start-AzDataProtectionBackupInstanceRestore.Tests.ps1 index 4c5209a22ac5..c8852ca9fda6 100644 --- a/src/DataProtection/DataProtection.Autorest/test/Start-AzDataProtectionBackupInstanceRestore.Tests.ps1 +++ b/src/DataProtection/DataProtection.Autorest/test/Start-AzDataProtectionBackupInstanceRestore.Tests.ps1 @@ -12,6 +12,83 @@ while(-not $mockingPath) { . ($mockingPath | Select-Object -First 1).FullName Describe 'Start-AzDataProtectionBackupInstanceRestore' { + It 'CrossRegionRestoreAsDatabase' -skip { + $resourceGroupName = $env.TestCrossRegionRestoreScenario.ResourceGroupName + $vaultName = $env.TestCrossRegionRestoreScenario.VaultName + $subscriptionId = $env.TestCrossRegionRestoreScenario.SubscriptionId + $targetResourceId = $env.TestCrossRegionRestoreScenario.TargetResourceId + $secretURI = $env.TestCrossRegionRestoreScenario.SecretURI + + $vault = Search-AzDataProtectionBackupVaultInAzGraph -ResourceGroup $resourceGroupName -Subscription $subscriptionId -Vault $vaultName -UseSecondaryRegion + + $instance = Search-AzDataProtectionBackupInstanceInAzGraph -Subscription $subscriptionId -ResourceGroup $resourceGroupName -Vault $vaultName -DatasourceType AzureDatabaseForPostgreSQL + + $recoveryPointsCrr = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance[0].Name -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subscriptionId -UseSecondaryRegion + + $OssRestoreReq = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation $vault.ReplicatedRegion[0] -RestoreType AlternateLocation -RecoveryPoint $recoveryPointsCrr[0].Property.RecoveryPointId -TargetResourceId $targetResourceId -SecretStoreURI $secretURI -SecretStoreType AzureKeyVault + + # assumes permissions are preassigned + $validateCRR = Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName $resourceGroupName -SubscriptionId $subscriptionId -VaultName $vaultName -RestoreRequest $OssRestoreReq -RestoreToSecondaryRegion + + $validateCRR.ObjectType | Should be "OperationJobExtendedInfo" + + $restoreJobCRR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName -BackupInstanceName $instance[0].Name -Parameter $OssRestoreReq -RestoreToSecondaryRegion + + $jobid = $restoreJobCRR.JobId.Split("/")[-1] + ($jobid -ne $null) | Should be $true + + $jobstatus = "InProgress" + while($jobstatus -ne "Completed") + { + Start-Sleep -Seconds 10 + + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName -UseSecondaryRegion + + ($currentjob.OperationCategory -eq "CrossRegionRestore") | Should be $true + + $jobstatus = $currentjob.Status + } + } + + It 'CrossRegionRestoreAsFiles' -skip { + $recordDate = $env.RecordDate + $resourceGroupName = $env.TestCrossRegionRestoreScenario.ResourceGroupName + $vaultName = $env.TestCrossRegionRestoreScenario.VaultName + $subscriptionId = $env.TestCrossRegionRestoreScenario.SubscriptionId + $targetContainerURI = $env.TestCrossRegionRestoreScenario.TargetContainerURI + $fileNamePrefix = $env.TestCrossRegionRestoreScenario.FileNamePrefix + "-" + $recordDate + + $vault = Search-AzDataProtectionBackupVaultInAzGraph -ResourceGroup $resourceGroupName -Subscription $subscriptionId -Vault $vaultName -UseSecondaryRegion + + $instance = Search-AzDataProtectionBackupInstanceInAzGraph -Subscription $subscriptionId -ResourceGroup $resourceGroupName -Vault $vaultName -DatasourceType AzureDatabaseForPostgreSQL + + $recoveryPointsCrr = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance[0].Name -ResourceGroupName $resourceGroupName -VaultName $vaultName -SubscriptionId $subscriptionId -UseSecondaryRegion + + $OssRestoreReq = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation $vault.ReplicatedRegion[0] -RestoreType RestoreAsFiles -RecoveryPoint $recoveryPointsCrr[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -FileNamePrefix $fileNamePrefix + + # assumes permissions are preassigned + $validateCRR = Test-AzDataProtectionBackupInstanceRestore -Name $instance[0].Name -ResourceGroupName $resourceGroupName -SubscriptionId $subscriptionId -VaultName $vaultName -RestoreRequest $OssRestoreReq -RestoreToSecondaryRegion + + $validateCRR.ObjectType | Should be "OperationJobExtendedInfo" + + $restoreJobCRR = Start-AzDataProtectionBackupInstanceRestore -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName -BackupInstanceName $instance[0].Name -Parameter $OssRestoreReq -RestoreToSecondaryRegion + + $jobid = $restoreJobCRR.JobId.Split("/")[-1] + ($jobid -ne $null) | Should be $true + + $jobstatus = "InProgress" + while($jobstatus -ne "Completed") + { + Start-Sleep -Seconds 10 + + $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName -UseSecondaryRegion + + ($currentjob.OperationCategory -eq "CrossRegionRestore") | Should be $true + + $jobstatus = $currentjob.Status + } + } + It 'CrossSubscriptionRestore' { $recordDate = $env.RecordDate $resourceGroupName = $env.TestCrossSubscriptionRestoreScenario.ResourceGroupName @@ -20,7 +97,7 @@ Describe 'Start-AzDataProtectionBackupInstanceRestore' { $targetContainerArmId = $env.TestCrossSubscriptionRestoreScenario.TargetContainerArmId $targetContainerURI = $env.TestCrossSubscriptionRestoreScenario.TargetContainerURI $fileNamePrefix = $env.TestCrossSubscriptionRestoreScenario.FileNamePrefix + "-" + $recordDate - + $vault = Get-AzDataProtectionBackupVault -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName $instance = Get-AzDataProtectionBackupInstance -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName | Where { $_.Property.DataSourceInfo.ResourceType -match "Postgre" } @@ -40,7 +117,7 @@ Describe 'Start-AzDataProtectionBackupInstanceRestore' { $jobstatus = "InProgress" while($jobstatus -ne "Completed") { - Start-TestSleep -Seconds 10 + Start-Sleep -Seconds 10 $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName $jobstatus = $currentjob.Status } @@ -52,7 +129,7 @@ Describe 'Start-AzDataProtectionBackupInstanceRestore' { $sub = $env.TestOssBackupScenario.SubscriptionId $rgName = $env.TestOssBackupScenario.ResourceGroupName $vaultName = $env.TestOssBackupScenario.VaultName - $policyName = $env.TestOssBackupScenario.PolicyName + $policyName = $env.TestOssBackupScenario.PolicyName $dataSourceId = $env.TestOssBackupScenario.OssDbId $serverName = $env.TestOssBackupScenario.OssServerName $keyVault = $env.TestOssBackupScenario.KeyVault @@ -60,14 +137,14 @@ Describe 'Start-AzDataProtectionBackupInstanceRestore' { $targetResourceId = $env.TestOssBackupScenario.TargetResourceId + "-" + $recordDate $targetContainerURI = $env.TestOssBackupScenario.TargetContainerURI $fileNamePrefix = $env.TestOssBackupScenario.FileNamePrefix + "-" + $recordDate - + $vault = Get-AzDataProtectionBackupVault -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName - + $instance = Get-AzDataProtectionBackupInstance -Subscription $sub -ResourceGroup $rgName -Vault $vaultName | Where-Object {($_.Property.DataSourceInfo.Type -eq "Microsoft.DBforPostgreSQL/servers/databases") -and ($_.Property.DataSourceInfo.ResourceId -match $serverName)} - + ($instance -ne $null) | Should be $true - # Trigger Backup + # Trigger Backup $policy = Get-AzDataProtectionBackupPolicy -SubscriptionId $sub -VaultName $vaultName -ResourceGroupName $rgName | where {$_.Name -eq $policyName} $backupJob = Backup-AzDataProtectionBackupInstanceAdhoc -BackupInstanceName $instance.Name -ResourceGroupName $rgName -SubscriptionId $sub -VaultName $vaultName -BackupRuleOptionRuleName $policy.Property.PolicyRule[0].Name -TriggerOptionRetentionTagOverride $policy.Property.PolicyRule[0].Trigger.TaggingCriterion[0].TagInfoTagName @@ -76,39 +153,39 @@ Describe 'Start-AzDataProtectionBackupInstanceRestore' { $jobstatus = "InProgress" while($jobstatus -ne "Completed") { - Start-TestSleep -Seconds 10 + Start-Sleep -Seconds 10 $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName $jobstatus = $currentjob.Status } - Start-TestSleep -Seconds 5 + Start-Sleep -Seconds 5 - # Database restore + # Database restore $rps = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance.Name -ResourceGroupName $rgName -SubscriptionId $sub -VaultName $vaultName $OssRestoreReq = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation $vault.Location -RestoreType AlternateLocation -RecoveryPoint $rps[0].Property.RecoveryPointId -TargetResourceId $targetResourceId -SecretStoreURI $secretURI -SecretStoreType AzureKeyVault $restoreJob = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.Name -ResourceGroupName $rgName -VaultName $vaultName -SubscriptionId $sub -Parameter $OssRestoreReq - Start-TestSleep -Seconds 10 - + Start-Sleep -Seconds 10 + $jobid = $restoreJob.JobId.Split("/")[-1] ($jobid -ne $null) | Should be $true $jobstatus = "InProgress" while($jobstatus -ne "Completed") { - Start-TestSleep -Seconds 10 + Start-Sleep -Seconds 10 $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName $jobstatus = $currentjob.Status } - Start-TestSleep -Seconds 5 + Start-Sleep -Seconds 5 # RestoreAsFiles $rps = Get-AzDataProtectionRecoveryPoint -BackupInstanceName $instance.Name -ResourceGroupName $rgName -SubscriptionId $sub -VaultName $vaultName - $OssRestoreReqFiles = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation $vault.Location -RestoreType RestoreAsFiles -RecoveryPoint $rps[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -FileNamePrefix $fileNamePrefix + $OssRestoreReqFiles = Initialize-AzDataProtectionRestoreRequest -DatasourceType AzureDatabaseForPostgreSQL -SourceDataStore VaultStore -RestoreLocation $vault.Location -RestoreType RestoreAsFiles -RecoveryPoint $rps[0].Property.RecoveryPointId -TargetContainerURI $targetContainerURI -FileNamePrefix $fileNamePrefix $restoreFilesJob = Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.Name -ResourceGroupName $rgName -VaultName $vaultName -SubscriptionId $sub -Parameter $OssRestoreReqFiles @@ -118,11 +195,11 @@ Describe 'Start-AzDataProtectionBackupInstanceRestore' { $jobstatus = "InProgress" while($jobstatus -ne "Completed") { - Start-TestSleep -Seconds 10 + Start-Sleep -Seconds 10 $currentjob = Get-AzDataProtectionJob -Id $jobid -SubscriptionId $sub -ResourceGroupName $rgName -VaultName $vaultName $jobstatus = $currentjob.Status } - } + } It 'TriggerExpanded' -skip { { throw [System.NotImplementedException] } | Should -Not -Throw diff --git a/src/DataProtection/DataProtection.Autorest/test/Unlock-AzDataProtectionResourceGuardOperation.Recording.json b/src/DataProtection/DataProtection.Autorest/test/Unlock-AzDataProtectionResourceGuardOperation.Recording.json deleted file mode 100644 index 2655b9042e70..000000000000 --- a/src/DataProtection/DataProtection.Autorest/test/Unlock-AzDataProtectionResourceGuardOperation.Recording.json +++ /dev/null @@ -1,694 +0,0 @@ -{ - "Unlock-AzDataProtectionResourceGuardOperation+[NoContext]+MUAAndSoftDelete+$PUT+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupResourceGuardProxies/DppResourceGuardProxy?api-version=2023-05-01+1": { - "Request": { - "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupResourceGuardProxies/DppResourceGuardProxy?api-version=2023-05-01", - "Content": "{\r\n \"properties\": {\r\n \"resourceGuardResourceId\": \"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/hiaga-rg/providers/Microsoft.DataProtection/ResourceGuards/mua-pstest-dpp-ccy-resguard\"\r\n }\r\n}", - "isContentBase64": false, - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "216" ] - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], - "x-ms-correlation-request-id": [ "3c383d03-967d-4734-9b89-5853a28a7b60" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T031809Z:3c383d03-967d-4734-9b89-5853a28a7b60" ], - "Date": [ "Tue, 29 Aug 2023 03:18:08 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1293" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"resourceGuardResourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/hiaga-rg/providers/Microsoft.DataProtection/resourceGuards/mua-pstest-dpp-ccy-resguard\",\"resourceGuardOperationDetails\":[{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\",\"defaultResourceRequest\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/hiaga-rg/providers/Microsoft.DataProtection/resourceGuards/mua-pstest-dpp-ccy-resguard/deleteBackupInstanceRequests/default\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\",\"defaultResourceRequest\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/hiaga-rg/providers/Microsoft.DataProtection/resourceGuards/mua-pstest-dpp-ccy-resguard/deleteResourceGuardProxyRequests/default\"}],\"lastUpdatedTime\":\"2023-08-29T03:18:09.0082681Z\",\"description\":\"Used in powershell testing, pls don\u0027t use for any other purpose\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupResourceGuardProxies/DppResourceGuardProxy\",\"name\":\"DppResourceGuardProxy\",\"type\":\"Microsoft.DataProtection/vaults/backupResourceGuardProxies\"}", - "isContentBase64": false - } - }, - "Unlock-AzDataProtectionResourceGuardOperation+[NoContext]+MUAAndSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/deletedBackupInstances?api-version=2023-05-01+2": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/deletedBackupInstances?api-version=2023-05-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "2" ], - "x-ms-client-request-id": [ "215057ee-5185-433e-926e-91aa76eba934" ], - "CommandName": [ "Get-AzDataProtectionSoftDeletedBackupInstance" ], - "FullCommandName": [ "Get-AzDataProtectionSoftDeletedBackupInstance_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], - "x-ms-correlation-request-id": [ "560adb9a-69fc-46f5-97de-04eb07bbeca1" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T031810Z:560adb9a-69fc-46f5-97de-04eb07bbeca1" ], - "Date": [ "Tue, 29 Aug 2023 03:18:09 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "12" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[]}", - "isContentBase64": false - } - }, - "Unlock-AzDataProtectionResourceGuardOperation+[NoContext]+MUAAndSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupInstances?api-version=2023-05-01+3": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupInstances?api-version=2023-05-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "3" ], - "x-ms-client-request-id": [ "99f32950-0e4a-4b7b-956e-aef2a2a39b93" ], - "CommandName": [ "Get-AzDataProtectionBackupInstance" ], - "FullCommandName": [ "Get-AzDataProtectionBackupInstance_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], - "x-ms-correlation-request-id": [ "9a695fa6-7171-403e-8193-4a2cb8cc5588" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T031811Z:9a695fa6-7171-403e-8193-4a2cb8cc5588" ], - "Date": [ "Tue, 29 Aug 2023 03:18:11 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2293" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"friendlyName\":\"alrpstestvm-datadisk-000-20220808-115835\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Compute/disks/alrpstestvm-datadisk-000-20220808-115835\",\"resourceUri\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Compute/disks/alrpstestvm-datadisk-000-20220808-115835\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"alrpstestvm-datadisk-000-20220808-115835\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Compute/disks/alrpstestvm-datadisk-000-20220808-115835\",\"resourceUri\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Compute/disks/alrpstestvm-datadisk-000-20220808-115835\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"alrpstestvm-datadisk-000-20220808-115835\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupPolicies/mua-pstest-disk-policy\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg\"}]}},\"protectionStatus\":{\"status\":\"ProtectionStopped\"},\"currentProtectionState\":\"ProtectionStopped\",\"provisioningState\":\"Succeeded\",\"objectType\":\"BackupInstance\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupInstances/alrpstestvm-datadisk-000-20220808-115835-alrpstestvm-datadisk-000-20220808-115835-72116c9b-066c-4a0f-91fc-98ded3a0d073\",\"name\":\"alrpstestvm-datadisk-000-20220808-115835-alrpstestvm-datadisk-000-20220808-115835-72116c9b-066c-4a0f-91fc-98ded3a0d073\",\"type\":\"Microsoft.DataProtection/backupVaults/backupInstances\"}]}", - "isContentBase64": false - } - }, - "Unlock-AzDataProtectionResourceGuardOperation+[NoContext]+MUAAndSoftDelete+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupResourceGuardProxies/DppResourceGuardProxy/unlockDelete?api-version=2023-05-01+4": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupResourceGuardProxies/DppResourceGuardProxy/unlockDelete?api-version=2023-05-01", - "Content": "{\r\n \"resourceGuardOperationRequests\": [ \"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/hiaga-rg/providers/Microsoft.DataProtection/resourceGuards/mua-pstest-dpp-ccy-resguard/deleteBackupInstanceRequests/default\" ],\r\n \"resourceToBeDeleted\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupInstances/alrpstestvm-datadisk-000-20220808-115835-alrpstestvm-datadisk-000-20220808-115835-72116c9b-066c-4a0f-91fc-98ded3a0d073\"\r\n}", - "isContentBase64": false, - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "548" ] - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], - "x-ms-correlation-request-id": [ "13e3f994-6911-431c-a513-1fd6bfc669cb" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T031813Z:13e3f994-6911-431c-a513-1fd6bfc669cb" ], - "Date": [ "Tue, 29 Aug 2023 03:18:12 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "57" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"unlockDeleteExpiryTime\":\"2023-08-29T03:48:13.3310051Z\"}", - "isContentBase64": false - } - }, - "Unlock-AzDataProtectionResourceGuardOperation+[NoContext]+MUAAndSoftDelete+$DELETE+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupInstances/alrpstestvm-datadisk-000-20220808-115835-alrpstestvm-datadisk-000-20220808-115835-72116c9b-066c-4a0f-91fc-98ded3a0d073?api-version=2023-05-01+5": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupInstances/alrpstestvm-datadisk-000-20220808-115835-alrpstestvm-datadisk-000-20220808-115835-72116c9b-066c-4a0f-91fc-98ded3a0d073?api-version=2023-05-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "6" ], - "x-ms-client-request-id": [ "d2bf6f6e-b0f4-4603-a17f-24e5b652b44e" ], - "CommandName": [ "Remove-AzDataProtectionBackupInstance" ], - "FullCommandName": [ "Remove-AzDataProtectionBackupInstance_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 202, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Location": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/YWMyZGJlYTYtY2MwNC00NDkxLWFkNWEtNmU2MTIxZWEwNDg2Ozk1NTBjNDY0LTk3OGYtNGUzMi04MTQwLTJlOWY2YTljNzEwOQ==?api-version=2023-05-01\u0026t=2023-08-29T03%3a18%3a14\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=JTJ2hcQC7jmANi2mMNFmomnjgj3nCeLB0FlblXe1Wi9gA7neDGUPA-OqGCbtO3NRajgKBCcBE7TqyyOT8DlzbdtGjkaFwiMdGjZ9rF2p3kVfqEe31YNecGKOuTIfS5I7oduOvDrWtQO2SNpJd4ica-mtTEtaRraUUqIDOmUqo72i1bbWRDPCmi8oXFGmSWQcd0KGlWTIZY0HM_EyyS6L4QjjjaLZY7ztJNikVLLK3FvCzdV72IIRzls60RKL5OfHl2k_NcjP_mrJmIZV4OzOlZ0auUYFTJ2J50OHxAlm_U5viMkrdnPHWvp_4QncKorp5bVRtOgWXQizbJJbP9lK5w\u0026h=r3NmWGNednaKm5H6405Q0IZzSyltZIN78JM4_A3NBqA" ], - "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/operationStatus/YWMyZGJlYTYtY2MwNC00NDkxLWFkNWEtNmU2MTIxZWEwNDg2Ozk1NTBjNDY0LTk3OGYtNGUzMi04MTQwLTJlOWY2YTljNzEwOQ==?api-version=2023-05-01\u0026t=2023-08-29T03%3a18%3a14\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=dS6lz26Xht7zXkRlK6r9lKD0ciyG6FC3-iGuLyna8qJ_Zh10Tgo4UMXDYSQRIGA4zWi4uJlA3TEywOMDS-5wmOCdBiWoMOSDUn_eMf-ZljARECJq0kjocX86z2yT1H94YFz4VvrWngqW3NkEWHamz49_XFm1HdeN5kf_LFsH9mOGYulJwDNuxBTlOFxZWmsGzIUjtcDvgr6r2eTJqGdv-N-XjmU4jdumrzCJylyqvyG0mvGE9PuYtcsz67n1C-y9_ELZCqlCijp-w9tHMVt2FWCUuMVTMsIfoo85udTT-3y3FXJnkM7F3i1ToN3u9Vy_SSNtgQkVzUoXsnRH_owSzg\u0026h=4mgrLVUGu7WLbhokEFLez1MriWZyEJJPPRTljxsyZPE" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-correlation-request-id": [ "5f19b223-cc71-480d-9c5c-cf918096bbfc" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T031814Z:5f19b223-cc71-480d-9c5c-cf918096bbfc" ], - "Date": [ "Tue, 29 Aug 2023 03:18:13 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null, - "isContentBase64": false - } - }, - "Unlock-AzDataProtectionResourceGuardOperation+[NoContext]+MUAAndSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/operationStatus/YWMyZGJlYTYtY2MwNC00NDkxLWFkNWEtNmU2MTIxZWEwNDg2Ozk1NTBjNDY0LTk3OGYtNGUzMi04MTQwLTJlOWY2YTljNzEwOQ==?api-version=2023-05-01\u0026t=2023-08-29T03%3a18%3a14\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=dS6lz26Xht7zXkRlK6r9lKD0ciyG6FC3-iGuLyna8qJ_Zh10Tgo4UMXDYSQRIGA4zWi4uJlA3TEywOMDS-5wmOCdBiWoMOSDUn_eMf-ZljARECJq0kjocX86z2yT1H94YFz4VvrWngqW3NkEWHamz49_XFm1HdeN5kf_LFsH9mOGYulJwDNuxBTlOFxZWmsGzIUjtcDvgr6r2eTJqGdv-N-XjmU4jdumrzCJylyqvyG0mvGE9PuYtcsz67n1C-y9_ELZCqlCijp-w9tHMVt2FWCUuMVTMsIfoo85udTT-3y3FXJnkM7F3i1ToN3u9Vy_SSNtgQkVzUoXsnRH_owSzg\u0026h=4mgrLVUGu7WLbhokEFLez1MriWZyEJJPPRTljxsyZPE+6": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/operationStatus/YWMyZGJlYTYtY2MwNC00NDkxLWFkNWEtNmU2MTIxZWEwNDg2Ozk1NTBjNDY0LTk3OGYtNGUzMi04MTQwLTJlOWY2YTljNzEwOQ==?api-version=2023-05-01\u0026t=2023-08-29T03%3a18%3a14\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=dS6lz26Xht7zXkRlK6r9lKD0ciyG6FC3-iGuLyna8qJ_Zh10Tgo4UMXDYSQRIGA4zWi4uJlA3TEywOMDS-5wmOCdBiWoMOSDUn_eMf-ZljARECJq0kjocX86z2yT1H94YFz4VvrWngqW3NkEWHamz49_XFm1HdeN5kf_LFsH9mOGYulJwDNuxBTlOFxZWmsGzIUjtcDvgr6r2eTJqGdv-N-XjmU4jdumrzCJylyqvyG0mvGE9PuYtcsz67n1C-y9_ELZCqlCijp-w9tHMVt2FWCUuMVTMsIfoo85udTT-3y3FXJnkM7F3i1ToN3u9Vy_SSNtgQkVzUoXsnRH_owSzg\u0026h=4mgrLVUGu7WLbhokEFLez1MriWZyEJJPPRTljxsyZPE", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "d2bf6f6e-b0f4-4603-a17f-24e5b652b44e" ], - "CommandName": [ "Remove-AzDataProtectionBackupInstance" ], - "FullCommandName": [ "Remove-AzDataProtectionBackupInstance_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "999" ], - "x-ms-correlation-request-id": [ "2b6890fe-cc87-4ee0-8dd9-72f01764242a" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T031845Z:2b6890fe-cc87-4ee0-8dd9-72f01764242a" ], - "Date": [ "Tue, 29 Aug 2023 03:18:44 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "479" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/operationStatus/YWMyZGJlYTYtY2MwNC00NDkxLWFkNWEtNmU2MTIxZWEwNDg2Ozk1NTBjNDY0LTk3OGYtNGUzMi04MTQwLTJlOWY2YTljNzEwOQ==\",\"name\":\"YWMyZGJlYTYtY2MwNC00NDkxLWFkNWEtNmU2MTIxZWEwNDg2Ozk1NTBjNDY0LTk3OGYtNGUzMi04MTQwLTJlOWY2YTljNzEwOQ==\",\"status\":\"Inprogress\",\"startTime\":\"2023-08-29T03:18:14.5654119Z\",\"endTime\":\"0001-01-01T00:00:00Z\"}", - "isContentBase64": false - } - }, - "Unlock-AzDataProtectionResourceGuardOperation+[NoContext]+MUAAndSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/operationStatus/YWMyZGJlYTYtY2MwNC00NDkxLWFkNWEtNmU2MTIxZWEwNDg2Ozk1NTBjNDY0LTk3OGYtNGUzMi04MTQwLTJlOWY2YTljNzEwOQ==?api-version=2023-05-01\u0026t=2023-08-29T03%3a18%3a14\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=dS6lz26Xht7zXkRlK6r9lKD0ciyG6FC3-iGuLyna8qJ_Zh10Tgo4UMXDYSQRIGA4zWi4uJlA3TEywOMDS-5wmOCdBiWoMOSDUn_eMf-ZljARECJq0kjocX86z2yT1H94YFz4VvrWngqW3NkEWHamz49_XFm1HdeN5kf_LFsH9mOGYulJwDNuxBTlOFxZWmsGzIUjtcDvgr6r2eTJqGdv-N-XjmU4jdumrzCJylyqvyG0mvGE9PuYtcsz67n1C-y9_ELZCqlCijp-w9tHMVt2FWCUuMVTMsIfoo85udTT-3y3FXJnkM7F3i1ToN3u9Vy_SSNtgQkVzUoXsnRH_owSzg\u0026h=4mgrLVUGu7WLbhokEFLez1MriWZyEJJPPRTljxsyZPE+7": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/operationStatus/YWMyZGJlYTYtY2MwNC00NDkxLWFkNWEtNmU2MTIxZWEwNDg2Ozk1NTBjNDY0LTk3OGYtNGUzMi04MTQwLTJlOWY2YTljNzEwOQ==?api-version=2023-05-01\u0026t=2023-08-29T03%3a18%3a14\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=dS6lz26Xht7zXkRlK6r9lKD0ciyG6FC3-iGuLyna8qJ_Zh10Tgo4UMXDYSQRIGA4zWi4uJlA3TEywOMDS-5wmOCdBiWoMOSDUn_eMf-ZljARECJq0kjocX86z2yT1H94YFz4VvrWngqW3NkEWHamz49_XFm1HdeN5kf_LFsH9mOGYulJwDNuxBTlOFxZWmsGzIUjtcDvgr6r2eTJqGdv-N-XjmU4jdumrzCJylyqvyG0mvGE9PuYtcsz67n1C-y9_ELZCqlCijp-w9tHMVt2FWCUuMVTMsIfoo85udTT-3y3FXJnkM7F3i1ToN3u9Vy_SSNtgQkVzUoXsnRH_owSzg\u0026h=4mgrLVUGu7WLbhokEFLez1MriWZyEJJPPRTljxsyZPE", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "d2bf6f6e-b0f4-4603-a17f-24e5b652b44e" ], - "CommandName": [ "Remove-AzDataProtectionBackupInstance" ], - "FullCommandName": [ "Remove-AzDataProtectionBackupInstance_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "998" ], - "x-ms-correlation-request-id": [ "71a35dde-b24d-4cae-89c7-a8134850d288" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T031916Z:71a35dde-b24d-4cae-89c7-a8134850d288" ], - "Date": [ "Tue, 29 Aug 2023 03:19:15 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "478" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/operationStatus/YWMyZGJlYTYtY2MwNC00NDkxLWFkNWEtNmU2MTIxZWEwNDg2Ozk1NTBjNDY0LTk3OGYtNGUzMi04MTQwLTJlOWY2YTljNzEwOQ==\",\"name\":\"YWMyZGJlYTYtY2MwNC00NDkxLWFkNWEtNmU2MTIxZWEwNDg2Ozk1NTBjNDY0LTk3OGYtNGUzMi04MTQwLTJlOWY2YTljNzEwOQ==\",\"status\":\"Succeeded\",\"startTime\":\"2023-08-29T03:18:14.5654119Z\",\"endTime\":\"2023-08-29T03:18:57Z\"}", - "isContentBase64": false - } - }, - "Unlock-AzDataProtectionResourceGuardOperation+[NoContext]+MUAAndSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/YWMyZGJlYTYtY2MwNC00NDkxLWFkNWEtNmU2MTIxZWEwNDg2Ozk1NTBjNDY0LTk3OGYtNGUzMi04MTQwLTJlOWY2YTljNzEwOQ==?api-version=2023-05-01\u0026t=2023-08-29T03%3a18%3a14\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=JTJ2hcQC7jmANi2mMNFmomnjgj3nCeLB0FlblXe1Wi9gA7neDGUPA-OqGCbtO3NRajgKBCcBE7TqyyOT8DlzbdtGjkaFwiMdGjZ9rF2p3kVfqEe31YNecGKOuTIfS5I7oduOvDrWtQO2SNpJd4ica-mtTEtaRraUUqIDOmUqo72i1bbWRDPCmi8oXFGmSWQcd0KGlWTIZY0HM_EyyS6L4QjjjaLZY7ztJNikVLLK3FvCzdV72IIRzls60RKL5OfHl2k_NcjP_mrJmIZV4OzOlZ0auUYFTJ2J50OHxAlm_U5viMkrdnPHWvp_4QncKorp5bVRtOgWXQizbJJbP9lK5w\u0026h=r3NmWGNednaKm5H6405Q0IZzSyltZIN78JM4_A3NBqA+8": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationResults/YWMyZGJlYTYtY2MwNC00NDkxLWFkNWEtNmU2MTIxZWEwNDg2Ozk1NTBjNDY0LTk3OGYtNGUzMi04MTQwLTJlOWY2YTljNzEwOQ==?api-version=2023-05-01\u0026t=2023-08-29T03%3a18%3a14\u0026c=MIIHADCCBeigAwIBAgITHgMis3caoWHPUD84qAAAAyKzdzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSW5mcmEgQ0EgMDYwHhcNMjMwODAzMDAxOTAwWhcNMjQwNzI4MDAxOTAwWjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ7NYt6Dh7vD4bFaue37w-ib6qjn-PvOVmc3eEhutBR4Zl8pcXig4SW9-kjKq4hDRrVi-hCmGGI0Kj_1Z8HFedXauV9OCk9TRmA8FHMHEW2Q0L2l6IolLc5bJbJOD4JjveobJRdOD0kUOT6MIDO01vqqk4JMx5b-DxYtmUk6a1AVLUZvkDtxSAewFiu7vWT76ExmF0S_4-wqPKCKwDflqw85FW-xILGvDNU0MPcgI-abUuoEEy0S-5WCPG50x4SLtigith5Ju_xBcl5sH7RUz4HGBn5P8FsUz64W2N5BS1ZkHRJUHTXQfYEaMz1qQwJqlaEKc3UBJD5_hdwZNaExLt0CAwEAAaOCA-0wggPpMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHLBggrBgEFBQcBAQSCAb0wggG5MGMGCCsGAQUFBzAChldodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MFMGCCsGAQUFBzAChkdodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CTDJQS0lJTlRDQTAyLkFNRS5HQkxfQU1FJTIwSW5mcmElMjBDQSUyMDA2LmNydDBTBggrBgEFBQcwAoZHaHR0cDovL2NybDMuYW1lLmdibC9haWEvQkwyUEtJSU5UQ0EwMi5BTUUuR0JMX0FNRSUyMEluZnJhJTIwQ0ElMjAwNi5jcnQwUwYIKwYBBQUHMAKGR2h0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JMMlBLSUlOVENBMDIuQU1FLkdCTF9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3J0MB0GA1UdDgQWBBRWTtlmMViy02jqjxx62TfTXg5BfzAOBgNVHQ8BAf8EBAMCBaAwggEmBgNVHR8EggEdMIIBGTCCARWgggERoIIBDYY_aHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JshjFodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJbmZyYSUyMENBJTIwMDYuY3JsMBcGA1UdIAQQMA4wDAYKKwYBBAGCN3sBATAfBgNVHSMEGDAWgBTxRmjG8cPwKy19i2rhsvm-NfzRQTAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAGS9E7Z3dO3hDEsvw1L4XOe6iH16hGeZWW6paR071dwkUN-0TqmQ_sU8ls4YrXPOlHd2VFTpMRIWVp23r1rYg9Gu2qDr0UvQ5spceN9YQansiLFLPFYGFvXTCqoPrYbcxAYoCN6KpZERGqWvf8B_lLvC8CcKV4FQdznqVSimSWtYz_60JTN1E56mTci02wcCatmMg6zsKes5I4faxTLNwMBJm6qPg-snY1IaxzLsMasZG40y7OnMR-Vk_EvW__vBvK7DZVedsVuqTKOw9ZR9qJYc2PucgCCF-DkPpd_gj78eI44mCqHRZ5kjNQymPLnA1zByHODONdiPjxHJLKx6Yyw\u0026s=JTJ2hcQC7jmANi2mMNFmomnjgj3nCeLB0FlblXe1Wi9gA7neDGUPA-OqGCbtO3NRajgKBCcBE7TqyyOT8DlzbdtGjkaFwiMdGjZ9rF2p3kVfqEe31YNecGKOuTIfS5I7oduOvDrWtQO2SNpJd4ica-mtTEtaRraUUqIDOmUqo72i1bbWRDPCmi8oXFGmSWQcd0KGlWTIZY0HM_EyyS6L4QjjjaLZY7ztJNikVLLK3FvCzdV72IIRzls60RKL5OfHl2k_NcjP_mrJmIZV4OzOlZ0auUYFTJ2J50OHxAlm_U5viMkrdnPHWvp_4QncKorp5bVRtOgWXQizbJJbP9lK5w\u0026h=r3NmWGNednaKm5H6405Q0IZzSyltZIN78JM4_A3NBqA", - "Content": null, - "isContentBase64": false, - "Headers": { - "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "d2bf6f6e-b0f4-4603-a17f-24e5b652b44e" ], - "CommandName": [ "Remove-AzDataProtectionBackupInstance" ], - "FullCommandName": [ "Remove-AzDataProtectionBackupInstance_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "Retry-After": [ "30" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/providers/Microsoft.DataProtection/locations/centraluseuap/operationStatus/YWMyZGJlYTYtY2MwNC00NDkxLWFkNWEtNmU2MTIxZWEwNDg2Ozk1NTBjNDY0LTk3OGYtNGUzMi04MTQwLTJlOWY2YTljNzEwOQ==?api-version=2023-05-01" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "199" ], - "x-ms-correlation-request-id": [ "0232d400-8d6e-4884-9ceb-b2dff3ec45eb" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T031916Z:0232d400-8d6e-4884-9ceb-b2dff3ec45eb" ], - "Date": [ "Tue, 29 Aug 2023 03:19:15 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "41" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"objectType\":\"OperationJobExtendedInfo\"}", - "isContentBase64": false - } - }, - "Unlock-AzDataProtectionResourceGuardOperation+[NoContext]+MUAAndSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/deletedBackupInstances?api-version=2023-05-01+9": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/deletedBackupInstances?api-version=2023-05-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "b2e586ec-1c6e-4615-860f-31293c8432c9" ], - "CommandName": [ "Get-AzDataProtectionSoftDeletedBackupInstance" ], - "FullCommandName": [ "Get-AzDataProtectionSoftDeletedBackupInstance_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1998" ], - "x-ms-correlation-request-id": [ "524342f7-70c2-4925-90cf-5b11d187b40d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T031917Z:524342f7-70c2-4925-90cf-5b11d187b40d" ], - "Date": [ "Tue, 29 Aug 2023 03:19:16 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2523" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[{\"properties\":{\"deletionInfo\":{\"deletionTime\":\"2023-08-29T03:18:14.4091694Z\",\"billingEndDate\":\"2023-08-29T03:18:14.4091694Z\",\"scheduledPurgeTime\":\"2023-09-08T03:18:14.4091694Z\",\"deleteActivityID\":\"d2bf6f6e-b0f4-4603-a17f-24e5b652b44e\"},\"friendlyName\":\"alrpstestvm-datadisk-000-20220808-115835\",\"dataSourceInfo\":{\"resourceID\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Compute/disks/alrpstestvm-datadisk-000-20220808-115835\",\"resourceUri\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Compute/disks/alrpstestvm-datadisk-000-20220808-115835\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"alrpstestvm-datadisk-000-20220808-115835\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"Datasource\"},\"dataSourceSetInfo\":{\"resourceID\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Compute/disks/alrpstestvm-datadisk-000-20220808-115835\",\"resourceUri\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Compute/disks/alrpstestvm-datadisk-000-20220808-115835\",\"datasourceType\":\"Microsoft.Compute/disks\",\"resourceName\":\"alrpstestvm-datadisk-000-20220808-115835\",\"resourceType\":\"Microsoft.Compute/disks\",\"resourceLocation\":\"centraluseuap\",\"objectType\":\"DatasourceSet\"},\"policyInfo\":{\"policyId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupPolicies/mua-pstest-disk-policy\",\"policyVersion\":\"\",\"policyParameters\":{\"dataStoreParametersList\":[{\"objectType\":\"AzureOperationalStoreParameters\",\"dataStoreType\":\"OperationalStore\",\"resourceGroupId\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg\"}]}},\"protectionStatus\":{\"status\":\"SoftDeleted\"},\"currentProtectionState\":\"SoftDeleted\",\"provisioningState\":\"Succeeded\",\"objectType\":\"DeletedBackupInstance\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/deletedBackupInstances/alrpstestvm-datadisk-000-20220808-115835-alrpstestvm-datadisk-000-20220808-115835-72116c9b-066c-4a0f-91fc-98ded3a0d073\",\"name\":\"alrpstestvm-datadisk-000-20220808-115835-alrpstestvm-datadisk-000-20220808-115835-72116c9b-066c-4a0f-91fc-98ded3a0d073\",\"type\":\"Microsoft.DataProtection/backupVaults/deletedBackupInstances\"}]}", - "isContentBase64": false - } - }, - "Unlock-AzDataProtectionResourceGuardOperation+[NoContext]+MUAAndSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupResourceGuardProxies/DppResourceGuardProxy?api-version=2023-05-01+10": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupResourceGuardProxies/DppResourceGuardProxy?api-version=2023-05-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "2278453b-ddac-4e3a-a5a1-1b48dd92a818" ], - "CommandName": [ "Get-AzDataProtectionResourceGuardMapping" ], - "FullCommandName": [ "Get-AzDataProtectionResourceGuardMapping_Get" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "998" ], - "x-ms-correlation-request-id": [ "12acc0fa-e6d2-4aef-9e22-7d7fd871d906" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T031918Z:12acc0fa-e6d2-4aef-9e22-7d7fd871d906" ], - "Date": [ "Tue, 29 Aug 2023 03:19:17 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "1293" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"properties\":{\"resourceGuardResourceId\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/hiaga-rg/providers/Microsoft.DataProtection/resourceGuards/mua-pstest-dpp-ccy-resguard\",\"resourceGuardOperationDetails\":[{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupInstances/delete\",\"defaultResourceRequest\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/hiaga-rg/providers/Microsoft.DataProtection/resourceGuards/mua-pstest-dpp-ccy-resguard/deleteBackupInstanceRequests/default\"},{\"vaultCriticalOperation\":\"Microsoft.DataProtection/backupVaults/backupResourceGuardProxies/delete\",\"defaultResourceRequest\":\"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/hiaga-rg/providers/Microsoft.DataProtection/resourceGuards/mua-pstest-dpp-ccy-resguard/deleteResourceGuardProxyRequests/default\"}],\"lastUpdatedTime\":\"2023-08-29T03:18:09.0082681Z\",\"description\":\"Used in powershell testing, pls don\u0027t use for any other purpose\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupResourceGuardProxies/DppResourceGuardProxy\",\"name\":\"DppResourceGuardProxy\",\"type\":\"Microsoft.DataProtection/vaults/backupResourceGuardProxies\"}", - "isContentBase64": false - } - }, - "Unlock-AzDataProtectionResourceGuardOperation+[NoContext]+MUAAndSoftDelete+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupResourceGuardProxies/DppResourceGuardProxy/unlockDelete?api-version=2023-05-01+11": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupResourceGuardProxies/DppResourceGuardProxy/unlockDelete?api-version=2023-05-01", - "Content": "{\r\n \"resourceGuardOperationRequests\": [ \"/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/hiaga-rg/providers/Microsoft.DataProtection/resourceGuards/mua-pstest-dpp-ccy-resguard/deleteResourceGuardProxyRequests/default\" ],\r\n \"resourceToBeDeleted\": \"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupResourceGuardProxies/DppResourceGuardProxy\"\r\n}", - "isContentBase64": false, - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "466" ] - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-correlation-request-id": [ "0a99bd82-812d-4bf6-8ae1-47691545d136" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T031919Z:0a99bd82-812d-4bf6-8ae1-47691545d136" ], - "Date": [ "Tue, 29 Aug 2023 03:19:18 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "57" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"unlockDeleteExpiryTime\":\"2023-08-29T03:49:19.2191830Z\"}", - "isContentBase64": false - } - }, - "Unlock-AzDataProtectionResourceGuardOperation+[NoContext]+MUAAndSoftDelete+$DELETE+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupResourceGuardProxies/DppResourceGuardProxy?api-version=2023-05-01+12": { - "Request": { - "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/backupResourceGuardProxies/DppResourceGuardProxy?api-version=2023-05-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "2d391cf4-2584-4f24-a367-707cc51cd1c8" ], - "CommandName": [ "Remove-AzDataProtectionResourceGuardMapping" ], - "FullCommandName": [ "Remove-AzDataProtectionResourceGuardMapping_Delete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], - "x-ms-correlation-request-id": [ "bc02b024-8f05-4028-8df0-331af5c6717d" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T031920Z:bc02b024-8f05-4028-8df0-331af5c6717d" ], - "Date": [ "Tue, 29 Aug 2023 03:19:19 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "2" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{}", - "isContentBase64": false - } - }, - "Unlock-AzDataProtectionResourceGuardOperation+[NoContext]+MUAAndSoftDelete+$POST+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/deletedBackupInstances/alrpstestvm-datadisk-000-20220808-115835-alrpstestvm-datadisk-000-20220808-115835-72116c9b-066c-4a0f-91fc-98ded3a0d073/undelete?api-version=2023-05-01+13": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/deletedBackupInstances/alrpstestvm-datadisk-000-20220808-115835-alrpstestvm-datadisk-000-20220808-115835-72116c9b-066c-4a0f-91fc-98ded3a0d073/undelete?api-version=2023-05-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "2ead281b-2113-4a8b-b544-2f0cb7bfd97a" ], - "CommandName": [ "Undo-AzDataProtectionBackupInstanceDeletion" ], - "FullCommandName": [ "Undo-AzDataProtectionBackupInstanceDeletion_Undelete" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1999" ], - "x-ms-correlation-request-id": [ "e537e3be-05e6-4309-9071-1a4af5a82397" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T031921Z:e537e3be-05e6-4309-9071-1a4af5a82397" ], - "Date": [ "Tue, 29 Aug 2023 03:19:20 GMT" ] - }, - "ContentHeaders": { - "Expires": [ "-1" ], - "Content-Length": [ "0" ] - }, - "Content": null, - "isContentBase64": false - } - }, - "Unlock-AzDataProtectionResourceGuardOperation+[NoContext]+MUAAndSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/deletedBackupInstances?api-version=2023-05-01+14": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault/deletedBackupInstances?api-version=2023-05-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "6acc3c08-9d46-45fa-8d50-f42f8c21a6c3" ], - "CommandName": [ "Get-AzDataProtectionSoftDeletedBackupInstance" ], - "FullCommandName": [ "Get-AzDataProtectionSoftDeletedBackupInstance_List" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "1997" ], - "x-ms-correlation-request-id": [ "ae4557d5-ff7f-4919-8aaf-1a6bdf0a252e" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T031921Z:ae4557d5-ff7f-4919-8aaf-1a6bdf0a252e" ], - "Date": [ "Tue, 29 Aug 2023 03:19:20 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "12" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"value\":[]}", - "isContentBase64": false - } - }, - "Unlock-AzDataProtectionResourceGuardOperation+[NoContext]+MUAAndSoftDelete+$GET+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault?api-version=2023-05-01+15": { - "Request": { - "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault?api-version=2023-05-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "156bc8f9-0ded-46e2-96a3-c6d5f3ec08ef" ], - "CommandName": [ "Get-AzDataProtectionBackupVault" ], - "FullCommandName": [ "Get-AzDataProtectionBackupVault_Get2" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.3.6", "Az.DataProtection/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "499" ], - "x-ms-correlation-request-id": [ "a0817e4b-50e4-4a42-bcba-edd67b9dab09" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T031922Z:a0817e4b-50e4-4a42-bcba-edd67b9dab09" ], - "Date": [ "Tue, 29 Aug 2023 03:19:21 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "845" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"MABUsed\":\"Yes\",\"Owner\":\"hiaga\",\"Purpose\":\"Testing\",\"PSTest\":\"yes\",\"DeleteBy\":\"01-2029\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"5e7205d2-6419-410b-ba18-40c3841e5487\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":10.0}},\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"None\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault\",\"name\":\"mua-pstest-backupvault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", - "isContentBase64": false - } - }, - "Unlock-AzDataProtectionResourceGuardOperation+[NoContext]+MUAAndSoftDelete+$PATCH+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault?api-version=2023-05-01+16": { - "Request": { - "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault?api-version=2023-05-01", - "Content": "{\r\n \"properties\": {\r\n \"securitySettings\": {\r\n \"softDeleteSettings\": {\r\n \"state\": \"Off\"\r\n }\r\n }\r\n }\r\n}", - "isContentBase64": false, - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "126" ] - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-arm-resource-system-data": [ "{\"lastModifiedBy\":\"hiaga@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-08-29T03:19:22.9903851Z\"}" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "99" ], - "x-ms-correlation-request-id": [ "0e1f6a2b-1875-44a2-a9fa-74c3a71b80bc" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T031923Z:0e1f6a2b-1875-44a2-a9fa-74c3a71b80bc" ], - "Date": [ "Tue, 29 Aug 2023 03:19:22 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "845" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"MABUsed\":\"Yes\",\"Owner\":\"hiaga\",\"Purpose\":\"Testing\",\"PSTest\":\"yes\",\"DeleteBy\":\"01-2029\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"5e7205d2-6419-410b-ba18-40c3841e5487\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"Off\",\"retentionDurationInDays\":0.0}},\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"None\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault\",\"name\":\"mua-pstest-backupvault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", - "isContentBase64": false - } - }, - "Unlock-AzDataProtectionResourceGuardOperation+[NoContext]+MUAAndSoftDelete+$PATCH+https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault?api-version=2023-05-01+17": { - "Request": { - "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault?api-version=2023-05-01", - "Content": "{\r\n \"properties\": {\r\n \"securitySettings\": {\r\n \"softDeleteSettings\": {\r\n \"state\": \"On\",\r\n \"retentionDurationInDays\": 10\r\n }\r\n }\r\n }\r\n}", - "isContentBase64": false, - "Headers": { - }, - "ContentHeaders": { - "Content-Type": [ "application/json" ], - "Content-Length": [ "165" ] - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-arm-resource-system-data": [ "{\"lastModifiedBy\":\"hiaga@microsoft.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2023-08-29T03:19:23.7559987Z\"}" ], - "X-Content-Type-Options": [ "nosniff" ], - "x-ms-request-id": [ "" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "Server": [ "Microsoft-IIS/10.0" ], - "X-Powered-By": [ "ASP.NET" ], - "x-ms-ratelimit-remaining-subscription-resource-requests": [ "98" ], - "x-ms-correlation-request-id": [ "26508468-add6-4d32-aed3-2fac6e1e57a4" ], - "x-ms-routing-request-id": [ "WESTINDIA:20230829T031924Z:26508468-add6-4d32-aed3-2fac6e1e57a4" ], - "Date": [ "Tue, 29 Aug 2023 03:19:24 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "845" ], - "Content-Type": [ "application/json" ], - "Expires": [ "-1" ] - }, - "Content": "{\"location\":\"centraluseuap\",\"tags\":{\"MABUsed\":\"Yes\",\"Owner\":\"hiaga\",\"Purpose\":\"Testing\",\"PSTest\":\"yes\",\"DeleteBy\":\"01-2029\"},\"identity\":{\"type\":\"SystemAssigned\",\"principalId\":\"5e7205d2-6419-410b-ba18-40c3841e5487\",\"tenantId\":\"72f988bf-86f1-41af-91ab-2d7cd011db47\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"storageSettings\":[{\"datastoreType\":\"VaultStore\",\"type\":\"LocallyRedundant\"}],\"isVaultProtectedByResourceGuard\":false,\"securitySettings\":{\"softDeleteSettings\":{\"state\":\"On\",\"retentionDurationInDays\":10.0}},\"featureSettings\":{\"crossSubscriptionRestoreSettings\":{\"state\":\"Enabled\"}},\"secureScore\":\"None\"},\"id\":\"/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DataProtection/backupVaults/mua-pstest-backupvault\",\"name\":\"mua-pstest-backupvault\",\"type\":\"Microsoft.DataProtection/backupVaults\"}", - "isContentBase64": false - } - } -} \ No newline at end of file diff --git a/src/DataProtection/DataProtection.Autorest/test/env.json b/src/DataProtection/DataProtection.Autorest/test/env.json index 8328405f81c4..e06b80b7c89e 100644 --- a/src/DataProtection/DataProtection.Autorest/test/env.json +++ b/src/DataProtection/DataProtection.Autorest/test/env.json @@ -1,160 +1,169 @@ { - "TestSoftDelete": { + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestResourceGuard": { + "Location": "centraluseuap", "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", - "BackupRuleName": "BackupDaily", - "ResourceGroupName": "pstest-diskrg", - "VaultName": "pstest-disk-vault2", - "DiskId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk2" + "ResourceGuardName": "pstest-resourceguard", + "ResourceGroupName": "hiagarg" + }, + "TestCrossSubscriptionRestoreScenario": { + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "ResourceGroupName": "CSRTestRg", + "FileNamePrefix": "oss-csr-pstest-restoreasfiles", + "TargetContainerArmId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Storage/storageAccounts/akneemasaecy/blobServices/default/containers/oss-csr-container", + "VaultName": "CSRPortalTestVault", + "TargetContainerURI": "https://akneemasaecy.blob.core.windows.net/oss-csr-container" }, "TestBackupJob": { "VaultName": "sarath-vault", "ResourceGroupName": "sarath-rg" }, - "TestMUA": { - "ResourceGuardRGName": "hiaga-rg", - "ResourceGuardName": "mua-pstest-dpp-ccy-resguard", + "TestCrossRegionRestoreScenario": { + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "FileNamePrefix": "oss-pstest-crrasfiles-1", + "ResourceGroupName": "adigupt-rg", + "SecretURI": "https://crr-ccy-kv.vault.azure.net/secrets/secret-for-crr-ccy-1", + "VaultName": "crr-wala-ecy-vault", + "TargetResourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppCrrRG/providers/Microsoft.DBforPostgreSQL/servers/crr-ccy-1/databases/oss-pstestrun-crr-1", + "TargetContainerURI": "https://zftccypod01otds1.blob.core.windows.net/oss-crr-pstest" + }, + "TestBlobHardeningScenario": { + "TargetCrossSubStorageAccountName": "hiagatestsa", + "StorageAccountName": "blobeuspstestsa", + "OperationalVaultedPolicyName": "op-vault-pstest-policy", + "Location": "eastus", + "TargetStorageAccountName": "hiagaeussa", + "VaultName": "blob-eus-pstest-vault", + "CrossSubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "TargetStorageAccountRGName": "hiagarg", + "StorageAccId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.Storage/storageAccounts/blobeuspstestsa", + "VaultPolicyName": "vaulted-pstest-policy", + "OperationalPolicyName": "op-pstest-policy", + "PolicyName": "operational-vaulted-policy", + "TargetStorageAccId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Storage/storageAccounts/hiagaeussa", + "TargetCrossSubStorageAccountRGName": "hiagaTestRG", + "ResourceGroupName": "blob-eus-pstest-rg", "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", - "ResourceGuardSubscription": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "Location": "centraluseuap", - "ResourceGroupName": "hiagarg", - "ResourceGuardId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/hiaga-rg/providers/Microsoft.DataProtection/ResourceGuards/mua-pstest-dpp-ccy-resguard", - "VaultName": "mua-pstest-backupvault", - "BackupInstanceName": "alrpstestvm-datadisk-000-20220808-115835" + "TargetCrossSubStorageAccId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/hiagaTestRG/providers/Microsoft.Storage/storageAccounts/hiagatestsa" }, - "TestGrantPermission": { - "VaultRG": "testBkpVaultRG", - "Ossrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/Ossrg", - "Snapshotrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/testBkpVaultRG", - "KeyURI": "https://rishitkeyvault3.vault.azure.net/secrets/rishitnewsecret", - "DiskPolicyName": "diskBkpPolicy", - "DiskId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Diskrg/providers/Microsoft.Compute/disks/Mydisk2", - "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "BlobId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blobrg/providers/Microsoft.Storage/storageAccounts/testblobacc4", - "Blobrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blobrg", - "Diskrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Diskrg", - "BlobPolicyName": "blobBkpPolicy", - "VaultName": "TestBkpVault", - "OssPolicyName": "TestOSSPolicy2", - "KeyVaultId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/Sqlrg/providers/Microsoft.KeyVault/vaults/rishitkeyvault3", - "OssId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/Ossrg/providers/Microsoft.DBforPostgreSQL/servers/rishitserver3/databases/postgres" + "TestBackupConfig": { + "StorageAccountName": "blobpstestsa", + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", + "StorageAccountResourceGroup": "blob-pstest-rg" }, "TestDiskBackupScenario": { - "ResourceGroupName": "pstest-diskrg", - "SnapshotRG": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg", "RestoreRG": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg", "DiskId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk", + "ResourceGroupName": "pstest-diskrg", + "RestoreDiskId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11", + "SnapshotRG": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg", + "VaultName": "pstest-disk-vault", "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", - "RestoreDiskId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-28-08-2023-3-11-11", - "NewPolicyName": "newdiskpolicy-28-08-2023-3-11-11", - "VaultName": "pstest-disk-vault" + "NewPolicyName": "newdiskpolicy-25-12-2023-11-11-11" }, - "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "TestBackupInstance": { + "TestBlobsRestore": { + "VaultName": "jecECYBlobVault", "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "ResourceGroupName": "sarath-rg", - "VaultName": "sarath-vault" + "ResourceGroupName": "BlobBackup-BugBash" }, - "TestAksBackupScenario": { + "TestBackupPolicy": { + "VaultName": "sarath-vault", + "DiskNewPolicyName": "sarath-disk-generated-policy", "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "SnapshotResourceGroupId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat", - "FriendlyName": "pstest-aks-cluster", - "PolicyName": "demoaksbackuppolicy", - "NewPolicyName": "pstest-aks-policy", - "ResourceGroupName": "aksbackuptestrg-rajat", - "DataSourceLocation": "eastus", - "SourceClusterId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.ContainerService/managedClusters/aks-pstest-cluster", - "VaultName": "demobackupvault", - "TargetClusterId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.ContainerService/managedClusters/aks-clitest-cluster" + "ResourceGroupName": "sarath-rg" }, - "TestResourceGuard": { + "TestTriggerBackup": { + "VaultName": "pstest-disk-vault", + "BackupRuleName": "BackupHourly", + "DiskId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk", "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", + "ResourceGroupName": "pstest-diskrg" + }, + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", + "TestMUA": { + "BackupInstanceName": "alrpstestvm-datadisk-000-20220808-115835", "ResourceGroupName": "hiagarg", + "ResourceGuardSubscription": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "ResourceGuardName": "mua-pstest-dpp-ccy-resguard", "Location": "centraluseuap", - "ResourceGuardName": "pstest-resourceguard" + "VaultName": "mua-pstest-backupvault", + "ResourceGuardRGName": "hiaga-rg", + "ResourceGuardId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/hiaga-rg/providers/Microsoft.DataProtection/ResourceGuards/mua-pstest-dpp-ccy-resguard", + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c" }, - "TestCrossSubscriptionRestoreScenario": { - "ResourceGroupName": "CSRTestRg", - "TargetContainerURI": "https://akneemasaecy.blob.core.windows.net/oss-csr-container", - "VaultName": "CSRPortalTestVault", + "TestBackupVault": { + "VaultName": "sarath-vault", "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "TargetContainerArmId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Storage/storageAccounts/akneemasaecy/blobServices/default/containers/oss-csr-container", - "FileNamePrefix": "oss-csr-pstest-restoreasfiles" - }, - "TestAksRestoreScenario": { - "ClusterName": "aksCluster3-ecy-araj", - "SubscriptionId": "f0c630e0-2995-4853-b056-0b3c09cb673f", - "FriendlyName": "aksCluster3-ecy-araj-BI", - "PolicyName": "h4-w1", - "NewPolicyName": "", - "ResourceGroupName": "araj-rg", - "DataSourceLocation": "eastus2euap", - "SourceClusterId": "/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj", - "VaultName": "ecy-vault", - "SnapshotResourceGroupId": "/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-srg" + "ResourceGroupName": "sarath-rg", + "NewVaultName": "new-pstest-vault" }, - "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", - "TestBlobHardeningScenario": { - "TargetCrossSubStorageAccountRGName": "hiagaTestRG", - "OperationalVaultedPolicyName": "op-vault-pstest-policy", - "TargetStorageAccountName": "hiagaeussa", - "CrossSubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "TargetStorageAccountRGName": "hiagarg", - "StorageAccId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.Storage/storageAccounts/blobeuspstestsa", - "ResourceGroupName": "blob-eus-pstest-rg", - "TargetCrossSubStorageAccountName": "hiagatestsa", - "StorageAccountName": "blobeuspstestsa", - "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", - "TargetCrossSubStorageAccId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/hiagaTestRG/providers/Microsoft.Storage/storageAccounts/hiagatestsa", - "VaultPolicyName": "vaulted-pstest-policy", - "TargetStorageAccId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Storage/storageAccounts/hiagaeussa", - "VaultName": "blob-eus-pstest-vault", - "OperationalPolicyName": "op-pstest-policy", - "PolicyName": "operational-vaulted-policy", - "Location": "eastus" + "TestGrantPermission": { + "VaultRG": "testBkpVaultRG", + "DiskId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Diskrg/providers/Microsoft.Compute/disks/Mydisk2", + "Blobrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blobrg", + "Ossrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/Ossrg", + "Diskrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Diskrg", + "DiskPolicyName": "diskBkpPolicy", + "KeyURI": "https://rishitkeyvault3.vault.azure.net/secrets/rishitnewsecret", + "Snapshotrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/testBkpVaultRG", + "BlobId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blobrg/providers/Microsoft.Storage/storageAccounts/testblobacc4", + "VaultName": "TestBkpVault", + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "KeyVaultId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/Sqlrg/providers/Microsoft.KeyVault/vaults/rishitkeyvault3", + "BlobPolicyName": "blobBkpPolicy", + "OssPolicyName": "TestOSSPolicy2", + "OssId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/Ossrg/providers/Microsoft.DBforPostgreSQL/servers/rishitserver3/databases/postgres" }, "TestOssBackupScenario": { - "ResourceGroupName": "oss-pstest-rg", - "TargetResourceId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore", + "TargetContainerURI": "https://osspstestsa.blob.core.windows.net/oss-pstest-container", "OssDbId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres", - "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", - "OssServerName": "oss-pstest-server", - "SecretURI": "https://oss-pstest-keyvault.vault.azure.net/secrets/oss-pstest-secret", - "NewPolicyName": "oss-pstest-policy-archive", + "ResourceGroupName": "oss-pstest-rg", "OssDbName": "oss-pstest-db", + "FileNamePrefix": "oss-pstest-restoreasfiles", + "SecretURI": "https://oss-pstest-keyvault.vault.azure.net/secrets/oss-pstest-secret", "VaultName": "oss-pstest-vault", - "TargetContainerURI": "https://osspstestsa.blob.core.windows.net/oss-pstest-container", "KeyVault": "oss-pstest-keyvault", - "PolicyName": "oss-pstest-policy", - "FileNamePrefix": "oss-pstest-restoreasfiles" - }, - "TestBackupVault": { - "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "ResourceGroupName": "sarath-rg", - "NewVaultName": "new-pstest-vault", - "VaultName": "sarath-vault" + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", + "OssServerName": "oss-pstest-server", + "TargetResourceId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore", + "NewPolicyName": "oss-pstest-policy-archive", + "PolicyName": "oss-pstest-policy" }, - "TestBackupPolicy": { + "TestBackupInstance": { + "VaultName": "sarath-vault", "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "ResourceGroupName": "sarath-rg", - "DiskNewPolicyName": "sarath-disk-generated-policy", - "VaultName": "sarath-vault" + "ResourceGroupName": "sarath-rg" }, - "RecordDate": "28-08-2023-3-11-11", - "TestBlobsRestore": { - "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", - "ResourceGroupName": "BlobBackup-BugBash", - "VaultName": "jecECYBlobVault" + "TestAksBackupScenario": { + "ResourceGroupName": "aksbackuptestrg-rajat", + "PolicyName": "demoaksbackuppolicy", + "FriendlyName": "pstest-aks-cluster", + "DataSourceLocation": "eastus", + "VaultName": "demobackupvault", + "SourceClusterId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.ContainerService/managedClusters/aks-pstest-cluster", + "NewPolicyName": "pstest-aks-policy", + "SnapshotResourceGroupId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat", + "TargetClusterId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.ContainerService/managedClusters/aks-clitest-cluster", + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965" }, - "TestTriggerBackup": { + "TestSoftDelete": { + "VaultName": "pstest-disk-vault2", + "BackupRuleName": "BackupDaily", + "DiskId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk2", "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", - "BackupRuleName": "BackupHourly", - "ResourceGroupName": "pstest-diskrg", - "VaultName": "pstest-disk-vault", - "DiskId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk" + "ResourceGroupName": "pstest-diskrg" }, - "TestBackupConfig": { - "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", - "StorageAccountName": "blobpstestsa", - "StorageAccountResourceGroup": "blob-pstest-rg" + "RecordDate": "25-12-2023-11-11-11", + "TestAksRestoreScenario": { + "ResourceGroupName": "azk8ssvcs-cluster-r-ecy", + "PolicyName": "azk8ssvcs-ad-policy-backupecy", + "ClusterName": "azk8ssvcs-bi-backupecy", + "FriendlyName": "aksCluster3-ecy-araj-BI", + "DataSourceLocation": "eastus2euap", + "VaultName": "azk8ssvcs-vault-ecy", + "SourceClusterId": "/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy", + "NewPolicyName": "", + "SnapshotResourceGroupId": "/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/MC_azk8ssvcs-cluster-r-ecy_azk8ssvcs-cluster-ecy_eastus2euap", + "SubscriptionId": "f0c630e0-2995-4853-b056-0b3c09cb673f" } } diff --git a/src/DataProtection/DataProtection.Autorest/test/localEnv.json b/src/DataProtection/DataProtection.Autorest/test/localEnv.json new file mode 100644 index 000000000000..8fa63fae50d8 --- /dev/null +++ b/src/DataProtection/DataProtection.Autorest/test/localEnv.json @@ -0,0 +1,169 @@ +{ + "TestTriggerBackup": { + "ResourceGroupName": "pstest-diskrg", + "BackupRuleName": "BackupHourly", + "DiskId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk", + "VaultName": "pstest-disk-vault", + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c" + }, + "TestAksBackupScenario": { + "ResourceGroupName": "aksbackuptestrg-rajat", + "DataSourceLocation": "eastus", + "FriendlyName": "pstest-aks-cluster", + "PolicyName": "demoaksbackuppolicy", + "NewPolicyName": "pstest-aks-policy", + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "TargetClusterId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.ContainerService/managedClusters/aks-clitest-cluster", + "SnapshotResourceGroupId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat", + "SourceClusterId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/aksbackuptestrg-rajat/providers/Microsoft.ContainerService/managedClusters/aks-pstest-cluster", + "VaultName": "demobackupvault" + }, + "TestBackupJob": { + "VaultName": "sarath-vault", + "ResourceGroupName": "sarath-rg" + }, + "TestAksRestoreScenario": { + "ResourceGroupName": "azk8ssvcs-cluster-r-ecy", + "ClusterName": "azk8ssvcs-bi-backupecy", + "DataSourceLocation": "eastus2euap", + "FriendlyName": "aksCluster3-ecy-araj-BI", + "PolicyName": "azk8ssvcs-ad-policy-backupecy", + "NewPolicyName": "", + "SubscriptionId": "f0c630e0-2995-4853-b056-0b3c09cb673f", + "SnapshotResourceGroupId": "/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/MC_azk8ssvcs-cluster-r-ecy_azk8ssvcs-cluster-ecy_eastus2euap", + "SourceClusterId": "/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy", + "VaultName": "azk8ssvcs-vault-ecy" + }, + "TestBlobHardeningScenario": { + "TargetCrossSubStorageAccId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/hiagaTestRG/providers/Microsoft.Storage/storageAccounts/hiagatestsa", + "OperationalVaultedPolicyName": "op-vault-pstest-policy", + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", + "Location": "eastus", + "TargetStorageAccountName": "hiagaeussa", + "PolicyName": "operational-vaulted-policy", + "CrossSubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "VaultPolicyName": "vaulted-pstest-policy", + "TargetCrossSubStorageAccountRGName": "hiagaTestRG", + "StorageAccId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/blob-eus-pstest-rg/providers/Microsoft.Storage/storageAccounts/blobeuspstestsa", + "VaultName": "blob-eus-pstest-vault", + "TargetStorageAccId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Storage/storageAccounts/hiagaeussa", + "OperationalPolicyName": "op-pstest-policy", + "ResourceGroupName": "blob-eus-pstest-rg", + "StorageAccountName": "blobeuspstestsa", + "TargetCrossSubStorageAccountName": "hiagatestsa", + "TargetStorageAccountRGName": "hiagarg" + }, + "TestDiskBackupScenario": { + "RestoreRG": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg", + "SnapshotRG": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg", + "RestoreDiskId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-restoreddisk-25-12-2023-11-11-11", + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", + "NewPolicyName": "newdiskpolicy-25-12-2023-11-11-11", + "ResourceGroupName": "pstest-diskrg", + "DiskId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourcegroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk", + "VaultName": "pstest-disk-vault" + }, + "TestResourceGuard": { + "ResourceGroupName": "hiagarg", + "ResourceGuardName": "pstest-resourceguard", + "Location": "centraluseuap", + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c" + }, + "TestGrantPermission": { + "DiskPolicyName": "diskBkpPolicy", + "VaultRG": "testBkpVaultRG", + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "OssPolicyName": "TestOSSPolicy2", + "KeyVaultId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/Sqlrg/providers/Microsoft.KeyVault/vaults/rishitkeyvault3", + "BlobId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blobrg/providers/Microsoft.Storage/storageAccounts/testblobacc4", + "Blobrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Blobrg", + "OssId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/Ossrg/providers/Microsoft.DBforPostgreSQL/servers/rishitserver3/databases/postgres", + "Snapshotrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/testBkpVaultRG", + "KeyURI": "https://rishitkeyvault3.vault.azure.net/secrets/rishitnewsecret", + "BlobPolicyName": "blobBkpPolicy", + "DiskId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Diskrg/providers/Microsoft.Compute/disks/Mydisk2", + "Ossrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourcegroups/Ossrg", + "VaultName": "TestBkpVault", + "Diskrg": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/Diskrg" + }, + "TestBackupVault": { + "ResourceGroupName": "sarath-rg", + "NewVaultName": "new-pstest-vault", + "VaultName": "sarath-vault", + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965" + }, + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "RecordDate": "25-12-2023-11-11-11", + "TestSoftDelete": { + "ResourceGroupName": "pstest-diskrg", + "BackupRuleName": "BackupDaily", + "DiskId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/pstest-diskrg/providers/Microsoft.Compute/disks/pstest-disk2", + "VaultName": "pstest-disk-vault2", + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c" + }, + "TestOssBackupScenario": { + "TargetResourceId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/oss-pstest-dbrestore", + "TargetContainerURI": "https://osspstestsa.blob.core.windows.net/oss-pstest-container", + "OssDbId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.DBforPostgreSQL/servers/oss-pstest-server/databases/postgres", + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", + "PolicyName": "oss-pstest-policy", + "OssDbName": "oss-pstest-db", + "OssServerName": "oss-pstest-server", + "NewPolicyName": "oss-pstest-policy-archive", + "FileNamePrefix": "oss-pstest-restoreasfiles", + "ResourceGroupName": "oss-pstest-rg", + "SecretURI": "https://oss-pstest-keyvault.vault.azure.net/secrets/oss-pstest-secret", + "KeyVault": "oss-pstest-keyvault", + "VaultName": "oss-pstest-vault" + }, + "TestCrossSubscriptionRestoreScenario": { + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "VaultName": "CSRPortalTestVault", + "ResourceGroupName": "CSRTestRg", + "FileNamePrefix": "oss-csr-pstest-restoreasfiles", + "TargetContainerURI": "https://akneemasaecy.blob.core.windows.net/oss-csr-container", + "TargetContainerArmId": "/subscriptions/38304e13-357e-405e-9e9a-220351dcce8c/resourceGroups/hiagarg/providers/Microsoft.Storage/storageAccounts/akneemasaecy/blobServices/default/containers/oss-csr-container" + }, + "TestBackupConfig": { + "StorageAccountName": "blobpstestsa", + "StorageAccountResourceGroup": "blob-pstest-rg", + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c" + }, + "TestBackupPolicy": { + "ResourceGroupName": "sarath-rg", + "VaultName": "sarath-vault", + "DiskNewPolicyName": "sarath-disk-generated-policy", + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965" + }, + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", + "TestBlobsRestore": { + "ResourceGroupName": "BlobBackup-BugBash", + "VaultName": "jecECYBlobVault", + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965" + }, + "TestBackupInstance": { + "ResourceGroupName": "sarath-rg", + "VaultName": "sarath-vault", + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965" + }, + "TestMUA": { + "ResourceGuardRGName": "hiaga-rg", + "ResourceGroupName": "hiagarg", + "Location": "centraluseuap", + "ResourceGuardSubscription": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "ResourceGuardName": "mua-pstest-dpp-ccy-resguard", + "SubscriptionId": "38304e13-357e-405e-9e9a-220351dcce8c", + "ResourceGuardId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/hiaga-rg/providers/Microsoft.DataProtection/ResourceGuards/mua-pstest-dpp-ccy-resguard", + "BackupInstanceName": "alrpstestvm-datadisk-000-20220808-115835", + "VaultName": "mua-pstest-backupvault" + }, + "TestCrossRegionRestoreScenario": { + "SubscriptionId": "62b829ee-7936-40c9-a1c9-47a93f9f3965", + "VaultName": "crr-wala-ecy-vault", + "TargetResourceId": "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppCrrRG/providers/Microsoft.DBforPostgreSQL/servers/crr-ccy-1/databases/oss-pstestrun-crr-1", + "ResourceGroupName": "adigupt-rg", + "FileNamePrefix": "oss-pstest-crrasfiles-1", + "SecretURI": "https://crr-ccy-kv.vault.azure.net/secrets/secret-for-crr-ccy-1", + "TargetContainerURI": "https://zftccypod01otds1.blob.core.windows.net/oss-crr-pstest" + } +} diff --git a/src/DataProtection/DataProtection.Autorest/test/utils.ps1 b/src/DataProtection/DataProtection.Autorest/test/utils.ps1 index eed66b8a6616..f921e86e51ab 100644 --- a/src/DataProtection/DataProtection.Autorest/test/utils.ps1 +++ b/src/DataProtection/DataProtection.Autorest/test/utils.ps1 @@ -36,7 +36,7 @@ function setupEnv() { # as default. You could change them if needed. $env.SubscriptionId = (Get-AzContext).Subscription.Id $env.Tenant = (Get-AzContext).Tenant.Id - $env.RecordDate = (Get-Date -Year 2023 -Month 08 -Day 28 -Hour 15 -Minute 11 -Second 11).ToString('dd-MM-yyyy-h-m-s') + $env.RecordDate = (Get-Date -Year 2023 -Month 12 -Day 25 -Hour 11 -Minute 11 -Second 11).ToString('dd-MM-yyyy-h-m-s') # For any resources you created for test, you should add it to $env here. $BackupInstanceTestVariables = @{ @@ -159,15 +159,15 @@ function setupEnv() { $AksRestoreVariables = @{ SubscriptionId = "f0c630e0-2995-4853-b056-0b3c09cb673f" #"62b829ee-7936-40c9-a1c9-47a93f9f3965" - ResourceGroupName = "araj-rg" #"aksbackuptestrg-rajat" - VaultName = "ecy-vault" #"demobackupvault" + ResourceGroupName = "azk8ssvcs-cluster-r-ecy" #"aksbackuptestrg-rajat" + VaultName = "azk8ssvcs-vault-ecy" #"demobackupvault" NewPolicyName = "" #"pstest-aks-policy" - PolicyName = "h4-w1" + PolicyName = "azk8ssvcs-ad-policy-backupecy" DataSourceLocation = "eastus2euap" - SourceClusterId = "/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-rg/providers/Microsoft.ContainerService/managedClusters/aksCluster3-ecy-araj" - SnapshotResourceGroupId = "/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/araj-srg" + SourceClusterId = "/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourcegroups/azk8ssvcs-cluster-r-ecy/providers/Microsoft.ContainerService/managedClusters/azk8ssvcs-cluster-ecy" + SnapshotResourceGroupId = "/subscriptions/f0c630e0-2995-4853-b056-0b3c09cb673f/resourceGroups/MC_azk8ssvcs-cluster-r-ecy_azk8ssvcs-cluster-ecy_eastus2euap" FriendlyName = "aksCluster3-ecy-araj-BI" - ClusterName = "aksCluster3-ecy-araj" + ClusterName = "azk8ssvcs-bi-backupecy" } $BlobHardeningVariables = @{ @@ -205,6 +205,16 @@ function setupEnv() { FileNamePrefix = "oss-csr-pstest-restoreasfiles" } + $CrossRegionRestoreVariables = @{ + ResourceGroupName = "adigupt-rg" + VaultName = "crr-wala-ecy-vault" + SubscriptionId = "62b829ee-7936-40c9-a1c9-47a93f9f3965" + TargetResourceId = "/subscriptions/62b829ee-7936-40c9-a1c9-47a93f9f3965/resourceGroups/DppCrrRG/providers/Microsoft.DBforPostgreSQL/servers/crr-ccy-1/databases/oss-pstestrun-crr-1" + SecretURI = "https://crr-ccy-kv.vault.azure.net/secrets/secret-for-crr-ccy-1" + TargetContainerURI = "https://zftccypod01otds1.blob.core.windows.net/oss-crr-pstest" + FileNamePrefix = "oss-pstest-crrasfiles-1" + } + $MUAVariables = @{ SubscriptionId = "38304e13-357e-405e-9e9a-220351dcce8c" ResourceGroupName = "hiagarg" @@ -231,6 +241,7 @@ function setupEnv() { $env.add("TestAksRestoreScenario", $AksRestoreVariables) | Out-Null $env.add("TestBlobHardeningScenario", $BlobHardeningVariables) | Out-Null $env.add("TestCrossSubscriptionRestoreScenario", $CrossSubscriptionRestoreVariables) | Out-Null + $env.add("TestCrossRegionRestoreScenario", $CrossRegionRestoreVariables) | Out-Null $env.add("TestSoftDelete", $SoftDeleteVariables) | Out-Null $env.add("TestBackupConfig", $BackupConfigVariables) | Out-Null $env.add("TestMUA", $MUAVariables) | Out-Null diff --git a/src/DataProtection/DataProtection/Az.DataProtection.psd1 b/src/DataProtection/DataProtection/Az.DataProtection.psd1 index 45e599829af2..f3b5d9a40f4d 100644 --- a/src/DataProtection/DataProtection/Az.DataProtection.psd1 +++ b/src/DataProtection/DataProtection/Az.DataProtection.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 12/5/2023 +# Generated on: 12/25/2023 # @{ @@ -51,7 +51,7 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.13.1'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.13.2'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'DataProtection.Autorest/bin/Az.DataProtection.private.dll' @@ -103,6 +103,7 @@ FunctionsToExport = 'Backup-AzDataProtectionBackupInstanceAdhoc', 'Remove-AzDataProtectionResourceGuardMapping', 'Resume-AzDataProtectionBackupInstanceProtection', 'Search-AzDataProtectionBackupInstanceInAzGraph', + 'Search-AzDataProtectionBackupVaultInAzGraph', 'Search-AzDataProtectionJobInAzGraph', 'Set-AzDataProtectionMSIPermission', 'Set-AzDataProtectionResourceGuardMapping', diff --git a/src/DataProtection/DataProtection/ChangeLog.md b/src/DataProtection/DataProtection/ChangeLog.md index 845d3bdc087d..254d15e4fc63 100644 --- a/src/DataProtection/DataProtection/ChangeLog.md +++ b/src/DataProtection/DataProtection/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Added support for Cross region restore for Backup vaults ## Version 2.1.0 * Added soft delete and MUA feature for Backup vaults diff --git a/src/DataProtection/DataProtection/help/Backup-AzDataProtectionBackupInstanceAdhoc.md b/src/DataProtection/DataProtection/help/Backup-AzDataProtectionBackupInstanceAdhoc.md index 5189519c0286..d8dbb840fafa 100644 --- a/src/DataProtection/DataProtection/help/Backup-AzDataProtectionBackupInstanceAdhoc.md +++ b/src/DataProtection/DataProtection/help/Backup-AzDataProtectionBackupInstanceAdhoc.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/backup-azdataprotectionbackupinstanceadhoc schema: 2.0.0 @@ -15,16 +15,16 @@ Trigger adhoc backup ### BackupExpanded (Default) ``` Backup-AzDataProtectionBackupInstanceAdhoc -BackupInstanceName -ResourceGroupName - -VaultName -BackupRuleOptionRuleName [-SubscriptionId ] - [-TriggerOptionRetentionTagOverride ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] - [-WhatIf] [] + [-SubscriptionId ] -VaultName -BackupRuleOptionRuleName + [-TriggerOptionRetentionTagOverride ] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] + [-Confirm] [] ``` ### BackupViaIdentityExpanded ``` Backup-AzDataProtectionBackupInstanceAdhoc -InputObject -BackupRuleOptionRuleName [-TriggerOptionRetentionTagOverride ] [-DefaultProfile ] - [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -281,4 +281,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md index bf2e36f06f7f..120c0b632cbf 100644 --- a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md +++ b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyRetentionRuleClientObject.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/edit-azdataprotectionpolicyretentionruleclientobject schema: 2.0.0 @@ -14,14 +14,14 @@ Adds or removes Retention Rule to existing Policy ### RemoveRetention (Default) ``` -Edit-AzDataProtectionPolicyRetentionRuleClientObject -Name -Policy - -RemoveRule [] +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy -Name + [-RemoveRule] [] ``` ### AddRetention ``` -Edit-AzDataProtectionPolicyRetentionRuleClientObject -IsDefault -LifeCycles - -Name -Policy [-OverwriteLifeCycle ] [] +Edit-AzDataProtectionPolicyRetentionRuleClientObject -Policy -Name + -IsDefault -LifeCycles [-OverwriteLifeCycle ] [] ``` ## DESCRIPTION @@ -81,7 +81,7 @@ Life cycles associated with the retention rule. To construct, see NOTES section for LIFECYCLES properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.ISourceLifeCycle[] +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.ISourceLifeCycle[] Parameter Sets: AddRetention Aliases: @@ -99,6 +99,7 @@ Retention Rule Name Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RetentionRuleName Parameter Sets: (All) Aliases: +Accepted values: Default, Daily, Weekly, Monthly, Yearly Required: True Position: Named @@ -111,7 +112,7 @@ Accept wildcard characters: False Specifies whether to modify an existing LifeCycle. ```yaml -Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] +Type: System.Nullable`1[System.Boolean] Parameter Sets: AddRetention Aliases: @@ -127,7 +128,7 @@ Backup Policy Object To construct, see NOTES section for POLICY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy Parameter Sets: (All) Aliases: @@ -203,4 +204,3 @@ To create the parameters described below, construct a hash table containing the - `[IsDefault ]`: ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTagClientObject.md b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTagClientObject.md index de1bf6280a6e..7b230c475015 100644 --- a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTagClientObject.md +++ b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTagClientObject.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/edit-azdataprotectionpolicytagclientobject schema: 2.0.0 @@ -14,14 +14,14 @@ Adds or removes schedule tag in an existing backup policy. ### RemoveTag (Default) ``` -Edit-AzDataProtectionPolicyTagClientObject -Name -Policy -RemoveRule +Edit-AzDataProtectionPolicyTagClientObject -Policy -Name [-RemoveRule] [] ``` ### updateTag ``` -Edit-AzDataProtectionPolicyTagClientObject -Criteria -Name - -Policy [] +Edit-AzDataProtectionPolicyTagClientObject -Policy -Name + -Criteria [] ``` ## DESCRIPTION @@ -63,7 +63,7 @@ Criterias to be associated with the schedule tag. To construct, see NOTES section for CRITERIA properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IScheduleBasedBackupCriteria[] +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IScheduleBasedBackupCriteria[] Parameter Sets: updateTag Aliases: @@ -81,6 +81,7 @@ Name of the Schedule tag. Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.TagName Parameter Sets: (All) Aliases: +Accepted values: Daily, Weekly, Monthly, Yearly Required: True Position: Named @@ -94,7 +95,7 @@ Backup Policy Object. To construct, see NOTES section for POLICY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy Parameter Sets: (All) Aliases: @@ -171,4 +172,3 @@ To create the parameters described below, construct a hash table containing the - `[IsDefault ]`: ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTriggerClientObject.md b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTriggerClientObject.md index 3a3debd6a1bc..3e201c300424 100644 --- a/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTriggerClientObject.md +++ b/src/DataProtection/DataProtection/help/Edit-AzDataProtectionPolicyTriggerClientObject.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/edit-azdataprotectionpolicytriggerclientobject schema: 2.0.0 @@ -14,7 +14,7 @@ Updates Backup schedule of an existing backup policy. ### RemoveBackupSchedule (Default) ``` -Edit-AzDataProtectionPolicyTriggerClientObject -Policy -RemoveSchedule [] +Edit-AzDataProtectionPolicyTriggerClientObject -Policy [-RemoveSchedule] [] ``` ### ModifyBackupSchedule @@ -49,7 +49,7 @@ Backup Policy object. To construct, see NOTES section for POLICY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy Parameter Sets: (All) Aliases: @@ -130,4 +130,3 @@ To create the parameters described below, construct a hash table containing the - `[IsDefault ]`: ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Find-AzDataProtectionRestorableTimeRange.md b/src/DataProtection/DataProtection/help/Find-AzDataProtectionRestorableTimeRange.md index 8db3200f5b51..ea783a2002c2 100644 --- a/src/DataProtection/DataProtection/help/Find-AzDataProtectionRestorableTimeRange.md +++ b/src/DataProtection/DataProtection/help/Find-AzDataProtectionRestorableTimeRange.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/find-azdataprotectionrestorabletimerange schema: 2.0.0 @@ -14,8 +14,8 @@ Finds the valid recovery point in time ranges for the restore. ``` Find-AzDataProtectionRestorableTimeRange -BackupInstanceName -ResourceGroupName - -VaultName -SourceDataStoreType [-SubscriptionId ] - [-EndTime ] [-StartTime ] [-DefaultProfile ] [-Confirm] [-WhatIf] + -VaultName [-SubscriptionId ] -SourceDataStoreType + [-EndTime ] [-StartTime ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -216,4 +216,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupInstance.md index 83806c086f1b..7a300852d04d 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupInstance.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupinstance schema: 2.0.0 @@ -14,14 +14,14 @@ Gets a backup instance with name in a backup vault ### List (Default) ``` -Get-AzDataProtectionBackupInstance -ResourceGroupName -VaultName - [-SubscriptionId ] [-DefaultProfile ] [] +Get-AzDataProtectionBackupInstance -ResourceGroupName [-SubscriptionId ] -VaultName + [-DefaultProfile ] [] ``` ### Get ``` -Get-AzDataProtectionBackupInstance -Name -ResourceGroupName -VaultName - [-SubscriptionId ] [-DefaultProfile ] [] +Get-AzDataProtectionBackupInstance -Name -ResourceGroupName [-SubscriptionId ] + -VaultName [-DefaultProfile ] [] ``` ### GetViaIdentity @@ -117,7 +117,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: List, Get Aliases: Required: True @@ -133,7 +133,7 @@ The value must be an UUID. ```yaml Type: System.String[] -Parameter Sets: Get, List +Parameter Sets: List, Get Aliases: Required: False @@ -148,7 +148,7 @@ The name of the backup vault. ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: List, Get Aliases: Required: True @@ -194,4 +194,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupPolicy.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupPolicy.md index 75c50a948d28..9f81b1666915 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupPolicy.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupPolicy.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackuppolicy schema: 2.0.0 @@ -14,14 +14,14 @@ Gets a backup policy belonging to a backup vault ### List (Default) ``` -Get-AzDataProtectionBackupPolicy -ResourceGroupName -VaultName [-SubscriptionId ] +Get-AzDataProtectionBackupPolicy -ResourceGroupName [-SubscriptionId ] -VaultName [-DefaultProfile ] [] ``` ### Get ``` -Get-AzDataProtectionBackupPolicy -Name -ResourceGroupName -VaultName - [-SubscriptionId ] [-DefaultProfile ] [] +Get-AzDataProtectionBackupPolicy -Name -ResourceGroupName [-SubscriptionId ] + -VaultName [-DefaultProfile ] [] ``` ### GetViaIdentity @@ -117,7 +117,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: List, Get Aliases: Required: True @@ -133,7 +133,7 @@ The value must be an UUID. ```yaml Type: System.String[] -Parameter Sets: Get, List +Parameter Sets: List, Get Aliases: Required: False @@ -148,7 +148,7 @@ The name of the backup vault. ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: List, Get Aliases: Required: True @@ -194,4 +194,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupVault.md index 2d29bfbb238f..2a8c695dd3fc 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionBackupVault.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionbackupvault schema: 2.0.0 @@ -17,15 +17,15 @@ Returns resource collection belonging to a subscription. Get-AzDataProtectionBackupVault [-SubscriptionId ] [-DefaultProfile ] [] ``` -### Get1 +### Get2 ``` -Get-AzDataProtectionBackupVault -ResourceGroupName [-SubscriptionId ] +Get-AzDataProtectionBackupVault [-SubscriptionId ] -ResourceGroupName -VaultName [-DefaultProfile ] [] ``` -### Get2 +### Get1 ``` -Get-AzDataProtectionBackupVault -ResourceGroupName -VaultName [-SubscriptionId ] +Get-AzDataProtectionBackupVault [-SubscriptionId ] -ResourceGroupName [-DefaultProfile ] [] ``` @@ -136,7 +136,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Get1, Get2 +Parameter Sets: Get2, Get1 Aliases: Required: True @@ -152,7 +152,7 @@ The value must be an UUID. ```yaml Type: System.String[] -Parameter Sets: Get, Get1, Get2 +Parameter Sets: Get, Get2, Get1 Aliases: Required: False @@ -213,4 +213,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionJob.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionJob.md index 532dbad40e85..ef99d9f5eee1 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionJob.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionJob.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionjob schema: 2.0.0 @@ -15,18 +15,18 @@ Gets a job with id in a backup vault ### List (Default) ``` Get-AzDataProtectionJob -ResourceGroupName -VaultName [-SubscriptionId ] - [-DefaultProfile ] [] + [-UseSecondaryRegion] [-DefaultProfile ] [] ``` ### Get ``` -Get-AzDataProtectionJob -Id -ResourceGroupName -VaultName - [-SubscriptionId ] [-DefaultProfile ] [] +Get-AzDataProtectionJob -ResourceGroupName -VaultName [-SubscriptionId ] + [-UseSecondaryRegion] [-DefaultProfile ] -Id [] ``` ### GetViaIdentity ``` -Get-AzDataProtectionJob -InputObject [-DefaultProfile ] +Get-AzDataProtectionJob [-DefaultProfile ] -InputObject [] ``` @@ -53,7 +53,7 @@ a6a4879d-f914-4174-b129-0e27da8a4fb0 Microsoft.DataProtection/backupVaults/backu This command gets all the backup jobs in a given backup vault. -### Example 2: Get a single Job +### Example 2: Get a single Job ```powershell Get-AzDataProtectionJob -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName sarath-rg -VaultName sarath-vault -Id 4abaea8c-f53a-4bb1-9963-59f96b597165 ``` @@ -123,7 +123,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: List, Get Aliases: Required: True @@ -139,7 +139,7 @@ The value must be an UUID. ```yaml Type: System.String[] -Parameter Sets: Get, List +Parameter Sets: List, Get Aliases: Required: False @@ -149,12 +149,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -UseSecondaryRegion +Switch parameter to fetch dataprotection job from secondary region (Cross Region Restore) + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List, Get +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -VaultName The name of the backup vault. ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: List, Get Aliases: Required: True @@ -200,4 +215,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperation.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperation.md index f649d864a0ac..5008138057b0 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperation.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperation.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionoperation schema: 2.0.0 @@ -117,4 +117,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperationStatus.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperationStatus.md index aac25394f2ac..c05765e8b9e1 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperationStatus.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionOperationStatus.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionoperationstatus schema: 2.0.0 @@ -167,4 +167,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionPolicyTemplate.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionPolicyTemplate.md index d7484383499c..951a8215b9da 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionPolicyTemplate.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionPolicyTemplate.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionpolicytemplate schema: 2.0.0 @@ -44,6 +44,7 @@ Datasource Type Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes Parameter Sets: (All) Aliases: +Accepted values: AzureDisk, AzureBlob, AzureDatabaseForPostgreSQL, AzureKubernetesService Required: True Position: Named @@ -66,4 +67,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionRecoveryPoint.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionRecoveryPoint.md index 68f293a0f4c7..9d573f198547 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionRecoveryPoint.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionRecoveryPoint.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionrecoverypoint schema: 2.0.0 @@ -15,14 +15,14 @@ Gets a Recovery Point using recoveryPointId for a Datasource. ### List (Default) ``` Get-AzDataProtectionRecoveryPoint [-BackupInstanceName ] [-ResourceGroupName ] - [-SubscriptionId ] [-VaultName ] [-DefaultProfile ] [-EndTime ] - [-StartTime ] [] + [-SubscriptionId ] [-VaultName ] [-DefaultProfile ] [-StartTime ] + [-EndTime ] [-UseSecondaryRegion] [] ``` ### Get ``` Get-AzDataProtectionRecoveryPoint -BackupInstanceName -Id -ResourceGroupName - -VaultName [-SubscriptionId ] [-DefaultProfile ] [] + [-SubscriptionId ] -VaultName [-DefaultProfile ] [] ``` ### GetViaIdentity @@ -76,7 +76,19 @@ The name of the backup instance. ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +```yaml +Type: System.String +Parameter Sets: Get Aliases: Required: True @@ -154,7 +166,19 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +```yaml +Type: System.String +Parameter Sets: Get Aliases: Required: True @@ -185,7 +209,7 @@ The value must be an UUID. ```yaml Type: System.String[] -Parameter Sets: Get, List +Parameter Sets: List, Get Aliases: Required: False @@ -195,12 +219,39 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -UseSecondaryRegion +Switch parameter to fetch recovery points from secondary region + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -VaultName The name of the backup vault. ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: List +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +```yaml +Type: System.String +Parameter Sets: Get Aliases: Required: True @@ -248,4 +299,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuard.md index 02f9f93b833f..54a0a2ce99cd 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuard.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuard.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionresourceguard schema: 2.0.0 @@ -119,7 +119,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Get, Get1 +Parameter Sets: Get1, Get Aliases: Required: True @@ -135,7 +135,7 @@ The value must be an UUID. ```yaml Type: System.String[] -Parameter Sets: Get, Get1 +Parameter Sets: Get1, Get Aliases: Required: False @@ -181,4 +181,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuardMapping.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuardMapping.md index 29570bf0de76..24f3b051b4fc 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuardMapping.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionResourceGuardMapping.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionresourceguardmapping schema: 2.0.0 @@ -14,20 +14,20 @@ Returns the ResourceGuardProxy object associated with the vault, and that matche ### Get (Default) ``` -Get-AzDataProtectionResourceGuardMapping -ResourceGroupName -VaultName - [-SubscriptionId ] [-DefaultProfile ] [] +Get-AzDataProtectionResourceGuardMapping -ResourceGroupName [-SubscriptionId ] + -VaultName [-DefaultProfile ] [] ``` -### GetViaIdentity +### List ``` -Get-AzDataProtectionResourceGuardMapping -InputObject [-DefaultProfile ] - [] +Get-AzDataProtectionResourceGuardMapping -ResourceGroupName [-SubscriptionId ] + -VaultName [-DefaultProfile ] [] ``` -### List +### GetViaIdentity ``` -Get-AzDataProtectionResourceGuardMapping -ResourceGroupName -VaultName - [-SubscriptionId ] [-DefaultProfile ] [] +Get-AzDataProtectionResourceGuardMapping -InputObject [-DefaultProfile ] + [] ``` ## DESCRIPTION @@ -175,4 +175,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Get-AzDataProtectionSoftDeletedBackupInstance.md b/src/DataProtection/DataProtection/help/Get-AzDataProtectionSoftDeletedBackupInstance.md index 32cb583db48a..1eaa4503a5fc 100644 --- a/src/DataProtection/DataProtection/help/Get-AzDataProtectionSoftDeletedBackupInstance.md +++ b/src/DataProtection/DataProtection/help/Get-AzDataProtectionSoftDeletedBackupInstance.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/get-azdataprotectionsoftdeletedbackupinstance schema: 2.0.0 @@ -14,14 +14,14 @@ Gets a deleted backup instance with name in a backup vault ### List (Default) ``` -Get-AzDataProtectionSoftDeletedBackupInstance -ResourceGroupName -VaultName - [-SubscriptionId ] [-DefaultProfile ] [] +Get-AzDataProtectionSoftDeletedBackupInstance -ResourceGroupName [-SubscriptionId ] + -VaultName [-DefaultProfile ] [] ``` ### Get ``` Get-AzDataProtectionSoftDeletedBackupInstance -BackupInstanceName -ResourceGroupName - -VaultName [-SubscriptionId ] [-DefaultProfile ] [] + [-SubscriptionId ] -VaultName [-DefaultProfile ] [] ``` ### GetViaIdentity @@ -103,7 +103,7 @@ The name is case insensitive. ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: List, Get Aliases: Required: True @@ -119,7 +119,7 @@ The value must be an UUID. ```yaml Type: System.String[] -Parameter Sets: Get, List +Parameter Sets: List, Get Aliases: Required: False @@ -134,7 +134,7 @@ The name of the backup vault. ```yaml Type: System.String -Parameter Sets: Get, List +Parameter Sets: List, Get Aliases: Required: True @@ -180,4 +180,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionBackupInstance.md index 1180b3c786ea..e5e4fa43eba1 100644 --- a/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionBackupInstance.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/initialize-azdataprotectionbackupinstance schema: 2.0.0 @@ -13,10 +13,10 @@ Initializes Backup instance Request object for configuring backup ## SYNTAX ``` -Initialize-AzDataProtectionBackupInstance -DatasourceLocation -DatasourceType - [-BackupConfiguration ] [-DatasourceId ] [-FriendlyName ] - [-PolicyId ] [-SecretStoreType ] [-SecretStoreURI ] - [-SnapshotResourceGroupId ] [] +Initialize-AzDataProtectionBackupInstance -DatasourceType -DatasourceLocation + [-PolicyId ] [-DatasourceId ] [-SecretStoreURI ] [-SecretStoreType ] + [-SnapshotResourceGroupId ] [-FriendlyName ] + [-BackupConfiguration ] [] ``` ## DESCRIPTION @@ -76,7 +76,7 @@ Use this parameter to configure protection for AzureKubernetesService. To construct, see NOTES section for BACKUPCONFIGURATION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupDatasourceParameters +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupDatasourceParameters Parameter Sets: (All) Aliases: @@ -124,6 +124,7 @@ Datasource Type Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes Parameter Sets: (All) Aliases: +Accepted values: AzureDisk, AzureBlob, AzureDatabaseForPostgreSQL, AzureKubernetesService Required: True Position: Named @@ -170,6 +171,7 @@ This parameter is only supported for AzureDatabaseForPostgreSQL currently. Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreTypes Parameter Sets: (All) Aliases: +Accepted values: AzureKeyVault Required: False Position: Named @@ -231,4 +233,3 @@ To create the parameters described below, construct a hash table containing the - `ObjectType `: Type of the specific object - used for deserializing ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionRestoreRequest.md b/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionRestoreRequest.md index c664c3a70197..66e845991ffd 100644 --- a/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionRestoreRequest.md +++ b/src/DataProtection/DataProtection/help/Initialize-AzDataProtectionRestoreRequest.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/initialize-azdataprotectionrestorerequest schema: 2.0.0 @@ -14,49 +14,47 @@ Initializes Restore Request object for triggering restore on a protected backup ### AlternateLocationFullRecovery (Default) ``` -Initialize-AzDataProtectionRestoreRequest -DatasourceType -RestoreLocation - -RestoreType -SourceDataStore -TargetResourceId - [-PointInTime ] [-RecoveryPoint ] [-RehydrationDuration ] - [-RehydrationPriority ] [-RestoreConfiguration ] - [-SecretStoreType ] [-SecretStoreURI ] [] +Initialize-AzDataProtectionRestoreRequest -DatasourceType -SourceDataStore + -RestoreLocation -RestoreType -TargetResourceId + [-RecoveryPoint ] [-RestoreConfiguration ] + [-RehydrationDuration ] [-RehydrationPriority ] [-SecretStoreURI ] + [-SecretStoreType ] [-PointInTime ] [] ``` ### AlternateLocationILR ``` -Initialize-AzDataProtectionRestoreRequest -DatasourceType -ItemLevelRecovery - -RestoreLocation -RestoreType -SourceDataStore - -TargetResourceId [-ContainersList ] [-RecoveryPoint ] +Initialize-AzDataProtectionRestoreRequest -DatasourceType -SourceDataStore + -RestoreLocation -RestoreType -TargetResourceId [-ItemLevelRecovery] + [-RecoveryPoint ] [-ContainersList ] [-RestoreConfiguration ] [] ``` -### OriginalLocationFullRecovery +### OriginalLocationILR ``` -Initialize-AzDataProtectionRestoreRequest -BackupInstance - -DatasourceType -RestoreLocation -RestoreType - -SourceDataStore [-PointInTime ] [-RecoveryPoint ] - [-RehydrationDuration ] [-RehydrationPriority ] - [-RestoreConfiguration ] [-SecretStoreType ] - [-SecretStoreURI ] [] +Initialize-AzDataProtectionRestoreRequest -DatasourceType -SourceDataStore + -RestoreLocation -RestoreType [-ItemLevelRecovery] [-RecoveryPoint ] + [-ContainersList ] [-RestoreConfiguration ] + [-RehydrationDuration ] [-RehydrationPriority ] [-SecretStoreURI ] + [-SecretStoreType ] -BackupInstance [-PointInTime ] + [-FromPrefixPattern ] [-ToPrefixPattern ] [] ``` -### OriginalLocationILR +### OriginalLocationFullRecovery ``` -Initialize-AzDataProtectionRestoreRequest -BackupInstance - -DatasourceType -ItemLevelRecovery -RestoreLocation - -RestoreType -SourceDataStore [-ContainersList ] - [-FromPrefixPattern ] [-PointInTime ] [-RecoveryPoint ] - [-RehydrationDuration ] [-RehydrationPriority ] - [-RestoreConfiguration ] [-SecretStoreType ] - [-SecretStoreURI ] [-ToPrefixPattern ] [] +Initialize-AzDataProtectionRestoreRequest -DatasourceType -SourceDataStore + -RestoreLocation -RestoreType [-RecoveryPoint ] + [-RestoreConfiguration ] [-RehydrationDuration ] + [-RehydrationPriority ] [-SecretStoreURI ] [-SecretStoreType ] + -BackupInstance [-PointInTime ] [] ``` ### RestoreAsFiles ``` -Initialize-AzDataProtectionRestoreRequest -DatasourceType -FileNamePrefix - -RestoreLocation -RestoreType -SourceDataStore - -TargetContainerURI [-RecoveryPoint ] [-RehydrationDuration ] - [-RehydrationPriority ] [-SecretStoreType ] [-SecretStoreURI ] - [-TargetResourceIdForRestoreAsFile ] [] +Initialize-AzDataProtectionRestoreRequest -DatasourceType -SourceDataStore + -RestoreLocation -RestoreType [-RecoveryPoint ] + -TargetContainerURI -FileNamePrefix [-RehydrationDuration ] + [-RehydrationPriority ] [-TargetResourceIdForRestoreAsFile ] [-SecretStoreURI ] + [-SecretStoreType ] [] ``` ## DESCRIPTION @@ -149,8 +147,8 @@ Backup Instance object to trigger original localtion restore. To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.BackupInstanceResource -Parameter Sets: OriginalLocationFullRecovery, OriginalLocationILR +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.BackupInstanceResource +Parameter Sets: OriginalLocationILR, OriginalLocationFullRecovery Aliases: Required: True @@ -182,6 +180,7 @@ Datasource Type Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes Parameter Sets: (All) Aliases: +Accepted values: AzureDisk, AzureBlob, AzureDatabaseForPostgreSQL, AzureKubernetesService Required: True Position: Named @@ -240,7 +239,7 @@ Point In Time for restore. ```yaml Type: System.DateTime -Parameter Sets: AlternateLocationFullRecovery, OriginalLocationFullRecovery, OriginalLocationILR +Parameter Sets: AlternateLocationFullRecovery, OriginalLocationILR, OriginalLocationFullRecovery Aliases: Required: False @@ -270,7 +269,7 @@ Rehydration duration for the archived recovery point to stay rehydrated, default ```yaml Type: System.String -Parameter Sets: AlternateLocationFullRecovery, OriginalLocationFullRecovery, OriginalLocationILR, RestoreAsFiles +Parameter Sets: AlternateLocationFullRecovery, OriginalLocationILR, OriginalLocationFullRecovery, RestoreAsFiles Aliases: Required: False @@ -286,7 +285,7 @@ This parameter is mandatory for rehydrate restore of archived points. ```yaml Type: System.String -Parameter Sets: AlternateLocationFullRecovery, OriginalLocationFullRecovery, OriginalLocationILR, RestoreAsFiles +Parameter Sets: AlternateLocationFullRecovery, OriginalLocationILR, OriginalLocationFullRecovery, RestoreAsFiles Aliases: Required: False @@ -302,8 +301,8 @@ Use this parameter to restore with AzureKubernetesService. To construct, see NOTES section for RESTORECONFIGURATION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteria -Parameter Sets: AlternateLocationFullRecovery, AlternateLocationILR, OriginalLocationFullRecovery, OriginalLocationILR +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteria +Parameter Sets: AlternateLocationFullRecovery, AlternateLocationILR, OriginalLocationILR, OriginalLocationFullRecovery Aliases: Required: False @@ -335,6 +334,7 @@ Restore Target Type Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.RestoreTargetType Parameter Sets: (All) Aliases: +Accepted values: AlternateLocation, OriginalLocation, RestoreAsFiles Required: True Position: Named @@ -349,8 +349,9 @@ This parameter is only supported for AzureDatabaseForPostgreSQL currently. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.SecretStoreTypes -Parameter Sets: AlternateLocationFullRecovery, OriginalLocationFullRecovery, OriginalLocationILR, RestoreAsFiles +Parameter Sets: AlternateLocationFullRecovery, OriginalLocationILR, OriginalLocationFullRecovery, RestoreAsFiles Aliases: +Accepted values: AzureKeyVault Required: False Position: Named @@ -365,7 +366,7 @@ This parameter is only supported for AzureDatabaseForPostgreSQL currently. ```yaml Type: System.String -Parameter Sets: AlternateLocationFullRecovery, OriginalLocationFullRecovery, OriginalLocationILR, RestoreAsFiles +Parameter Sets: AlternateLocationFullRecovery, OriginalLocationILR, OriginalLocationFullRecovery, RestoreAsFiles Aliases: Required: False @@ -382,6 +383,7 @@ DataStore Type of the Recovery point Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreType Parameter Sets: (All) Aliases: +Accepted values: ArchiveStore, OperationalStore, VaultStore Required: True Position: Named @@ -524,4 +526,3 @@ To create the parameters described below, construct a hash table containing the - `[Namespace ]`: Namespace in which the resource exists ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupConfigurationClientObject.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupConfigurationClientObject.md index b0ac723a8d2a..7a6dbe57dd89 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupConfigurationClientObject.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupConfigurationClientObject.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupconfigurationclientobject schema: 2.0.0 @@ -14,11 +14,11 @@ Creates new backup configuration object ``` New-AzDataProtectionBackupConfigurationClientObject -DatasourceType - [-BackupHookReference ] [-ExcludedNamespace ] - [-ExcludedResourceType ] [-IncludeAllContainer] [-IncludeClusterScopeResource ] - [-IncludedNamespace ] [-IncludedResourceType ] [-LabelSelector ] - [-SnapshotVolume ] [-StorageAccountName ] [-StorageAccountResourceGroupName ] - [-VaultedBackupContainer ] [] + [-ExcludedResourceType ] [-IncludedResourceType ] [-ExcludedNamespace ] + [-IncludedNamespace ] [-LabelSelector ] [-SnapshotVolume ] + [-IncludeClusterScopeResource ] [-BackupHookReference ] + [-VaultedBackupContainer ] [-IncludeAllContainer] [-StorageAccountName ] + [-StorageAccountResourceGroupName ] [] ``` ## DESCRIPTION @@ -40,7 +40,7 @@ KubernetesClusterBackupDatasourceParameters {excludeNS1, excludeNS2} This command can be used to create a backup configuration client object used for configuring backup for a Kubernetes cluster. BackupHookReferences is a list of references to BackupHooks that should be executed before and after the backup is executed. -### Example 2: Create a BackupConfiguration to select specific containers for configuring vaulted backups for AzureBlob. +### Example 2: Create a BackupConfiguration to select specific containers for configuring vaulted backups for AzureBlob. ```powershell $storageAccount = Get-AzStorageAccount -ResourceGroupName $resourceGroupName -Name $storageAccountName $containers=Get-AzStorageContainer -Context $storageAccount.Context @@ -62,7 +62,7 @@ Hook reference to be executed during backup. To construct, see NOTES section for BACKUPHOOKREFERENCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.NamespacedNameResource[] +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResource[] Parameter Sets: (All) Aliases: @@ -80,6 +80,7 @@ Datasource Type Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes Parameter Sets: (All) Aliases: +Accepted values: AzureDisk, AzureBlob, AzureDatabaseForPostgreSQL, AzureKubernetesService Required: True Position: Named @@ -139,7 +140,7 @@ Boolean parameter to decide whether cluster scope resources are included for bac By default this is taken as true. ```yaml -Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] +Type: System.Nullable`1[System.Boolean] Parameter Sets: (All) Aliases: @@ -200,7 +201,7 @@ Boolean parameter to decide whether snapshot volumes are included for backup. By default this is taken as true. ```yaml -Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] +Type: System.Nullable`1[System.Boolean] Parameter Sets: (All) Aliases: @@ -282,4 +283,3 @@ To create the parameters described below, construct a hash table containing the - `[Namespace ]`: Namespace in which the resource exists ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupInstance.md index ebcc80f5b76b..dca44fae35f1 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupInstance.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupinstance schema: 2.0.0 @@ -13,9 +13,9 @@ Configures Backup for supported azure resources ## SYNTAX ``` -New-AzDataProtectionBackupInstance -BackupInstance -ResourceGroupName - -VaultName [-AsJob] [-DefaultProfile ] [-NoWait] [-SubscriptionId ] - [-Tag ] [-Confirm] [-WhatIf] [] +New-AzDataProtectionBackupInstance -ResourceGroupName -VaultName + -BackupInstance [-SubscriptionId ] [-Tag ] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -129,7 +129,6 @@ The last command is used to configure protection for the backup instance. ### -AsJob - ```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) @@ -147,7 +146,7 @@ Backup instance request object which will be used to configure backup To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource Parameter Sets: (All) Aliases: @@ -160,7 +159,6 @@ Accept wildcard characters: False ### -DefaultProfile - ```yaml Type: System.Management.Automation.PSObject Parameter Sets: (All) @@ -175,7 +173,6 @@ Accept wildcard characters: False ### -NoWait - ```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) @@ -333,4 +330,3 @@ To create the parameters described below, construct a hash table containing the - `[ValidationType ]`: Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupPolicy.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupPolicy.md index f494c4822cb5..a3389a932472 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupPolicy.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupPolicy.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackuppolicy schema: 2.0.0 @@ -13,8 +13,8 @@ Creates a new backup policy in a given backup vault ## SYNTAX ``` -New-AzDataProtectionBackupPolicy -Name -Policy -ResourceGroupName - -VaultName [-DefaultProfile ] [-SubscriptionId ] [-Confirm] [-WhatIf] +New-AzDataProtectionBackupPolicy -ResourceGroupName -VaultName -Name + -Policy [-SubscriptionId ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -179,7 +179,7 @@ Edit-AzDataProtectionPolicyTriggerClientObject -Schedule $trigger -Policy $defau $defaultPol.PolicyRule[0].Trigger.ScheduleRepeatingTimeInterval[0] = "R/2023-05-09T02:30:00+01:00/P1W" $timeZone = Get-TimeZone -ListAvailable | Where-Object { $_.Id -match "Europe" } $defaultPol.PolicyRule[0].Trigger.ScheduleTimeZone = $timeZone[0].Id -$operationalVaultedPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "operationalVaultedPolicyName" -Policy $defaultPol +$operationalVaultedPolicy = New-AzDataProtectionBackupPolicy -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" -Name "operationalVaultedPolicyName" -Policy $defaultPol ``` ```output @@ -197,7 +197,6 @@ The last command creates the hybrid AzureBlob policy. ### -DefaultProfile - ```yaml Type: System.Management.Automation.PSObject Parameter Sets: (All) @@ -230,7 +229,7 @@ Policy Request Object To construct, see NOTES section for POLICY properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupPolicy +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupPolicy Parameter Sets: (All) Aliases: @@ -357,4 +356,3 @@ To create the parameters described below, construct a hash table containing the - `[IsDefault ]`: ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVault.md index 3040ce55aaf2..a22ebd69c1ee 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVault.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupvault schema: 2.0.0 @@ -13,13 +13,13 @@ Creates or updates a BackupVault resource belonging to a resource group. ## SYNTAX ``` -New-AzDataProtectionBackupVault -Location -ResourceGroupName - -StorageSetting -VaultName [-AsJob] - [-AzureMonitorAlertsForAllJobFailure ] [-CrossRegionRestoreState ] - [-CrossSubscriptionRestoreState ] [-DefaultProfile ] - [-ETag ] [-IdentityType ] [-ImmutabilityState ] [-NoWait] - [-SoftDeleteRetentionDurationInDay ] [-SoftDeleteState ] [-SubscriptionId ] - [-Tag ] [-Confirm] [-WhatIf] [] +New-AzDataProtectionBackupVault -ResourceGroupName -VaultName -Location + -StorageSetting [-SubscriptionId ] [-ETag ] [-IdentityType ] + [-AzureMonitorAlertsForAllJobFailure ] [-ImmutabilityState ] + [-CrossRegionRestoreState ] + [-CrossSubscriptionRestoreState ] [-SoftDeleteRetentionDurationInDay ] + [-SoftDeleteState ] [-Tag ] [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -61,7 +61,6 @@ This command creates a new backup vault while setting Immutability state, cross ### -AsJob - ```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) @@ -124,7 +123,6 @@ Accept wildcard characters: False ### -DefaultProfile - ```yaml Type: System.Management.Automation.PSObject Parameter Sets: (All) @@ -200,7 +198,6 @@ Accept wildcard characters: False ### -NoWait - ```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) @@ -265,7 +262,7 @@ Use New-AzDataProtectionBackupVaultStorageSetting Cmdlet to Create. To construct, see NOTES section for STORAGESETTING properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IStorageSetting[] +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IStorageSetting[] Parameter Sets: (All) Aliases: @@ -375,4 +372,3 @@ To create the parameters described below, construct a hash table containing the - `[Type ]`: Gets or sets the type. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVaultStorageSettingObject.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVaultStorageSettingObject.md index d08a032f0c07..e054480fa48e 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVaultStorageSettingObject.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionBackupVaultStorageSettingObject.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionbackupvaultstoragesettingobject schema: 2.0.0 @@ -13,7 +13,7 @@ Get Backup Vault storage setting object ## SYNTAX ``` -New-AzDataProtectionBackupVaultStorageSettingObject -DataStoreType -Type +New-AzDataProtectionBackupVaultStorageSettingObject -Type -DataStoreType [] ``` @@ -44,6 +44,7 @@ DataStore Type of the vault Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreType Parameter Sets: (All) Aliases: +Accepted values: ArchiveStore, OperationalStore, VaultStore Required: True Position: Named @@ -59,6 +60,7 @@ Storage Type of the vault Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.StorageSettingType Parameter Sets: (All) Aliases: +Accepted values: GeoRedundant, LocallyRedundant, ZoneRedundant Required: True Position: Named @@ -81,4 +83,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md index 54b93a065656..508d51241acc 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTagCriteriaClientObject.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionpolicytagcriteriaclientobject schema: 2.0.0 @@ -14,9 +14,8 @@ Creates a new criteria object ### ScheduleCriteria (Default) ``` -New-AzDataProtectionPolicyTagCriteriaClientObject [-DaysOfWeek ] - [-MonthsOfYear ] [-ScheduleTimes ] [-WeeksOfMonth ] - [] +New-AzDataProtectionPolicyTagCriteriaClientObject [-DaysOfWeek ] [-WeeksOfMonth ] + [-MonthsOfYear ] [-ScheduleTimes ] [] ``` ### AbsoluteCriteria @@ -26,8 +25,8 @@ New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria [-MonthsOfYear ] - [-ScheduleTimes ] [] +New-AzDataProtectionPolicyTagCriteriaClientObject [-MonthsOfYear ] + [-ScheduleTimes ] -DaysOfMonth [] ``` ## DESCRIPTION @@ -35,7 +34,7 @@ Creates a new criteria object ## EXAMPLES -### Example 1: Create a tag with absolute criteria +### Example 1: Create a tag with absolute criteria ```powershell New-AzDataProtectionPolicyTagCriteriaClientObject -AbsoluteCriteria FirstOfDay ``` @@ -70,6 +69,7 @@ Absolute criteria Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.AbsoluteTagCriteria Parameter Sets: AbsoluteCriteria Aliases: +Accepted values: AllBackup, FirstOfDay, FirstOfMonth, FirstOfWeek, FirstOfYear Required: True Position: Named @@ -101,6 +101,7 @@ Days of the week Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DaysOfWeek[] Parameter Sets: ScheduleCriteria Aliases: +Accepted values: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday Required: False Position: Named @@ -114,8 +115,9 @@ Months of the year. ```yaml Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.MonthsOfYear[] -Parameter Sets: MonthlyCriteria, ScheduleCriteria +Parameter Sets: ScheduleCriteria, MonthlyCriteria Aliases: +Accepted values: January, February, March, April, May, June, July, August, September, October, November, December Required: False Position: Named @@ -129,7 +131,7 @@ Schedule times. ```yaml Type: System.DateTime[] -Parameter Sets: MonthlyCriteria, ScheduleCriteria +Parameter Sets: ScheduleCriteria, MonthlyCriteria Aliases: Required: False @@ -146,6 +148,7 @@ Weeks of the month. Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.WeeksOfMonth[] Parameter Sets: ScheduleCriteria Aliases: +Accepted values: First, Second, Third, Fourth, Last Required: False Position: Named @@ -168,4 +171,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTriggerScheduleClientObject.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTriggerScheduleClientObject.md index 16177decb153..779eaed0b9ec 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTriggerScheduleClientObject.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionPolicyTriggerScheduleClientObject.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionpolicytriggerscheduleclientobject schema: 2.0.0 @@ -13,8 +13,8 @@ Creates new Schedule object ## SYNTAX ``` -New-AzDataProtectionPolicyTriggerScheduleClientObject -IntervalCount -IntervalType - -ScheduleDays [] +New-AzDataProtectionPolicyTriggerScheduleClientObject -ScheduleDays + -IntervalType -IntervalCount [] ``` ## DESCRIPTION @@ -70,6 +70,7 @@ Freuquency of the backup. Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.BackupFrequency Parameter Sets: (All) Aliases: +Accepted values: Daily, Weekly, Hourly Required: True Position: Named @@ -107,4 +108,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionResourceGuard.md index ccb2bc1c464b..57c607cd6c06 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionResourceGuard.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionResourceGuard.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionresourceguard schema: 2.0.0 @@ -13,9 +13,9 @@ Creates a resource guard under a resource group ## SYNTAX ``` -New-AzDataProtectionResourceGuard -Location -Name -ResourceGroupName - [-DefaultProfile ] [-ETag ] [-IdentityType ] [-SubscriptionId ] - [-Tag ] [-Confirm] [-WhatIf] [] +New-AzDataProtectionResourceGuard -ResourceGroupName -Name -Location + [-SubscriptionId ] [-ETag ] [-IdentityType ] [-Tag ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -40,7 +40,6 @@ The above command is used to create a resource guard "mua-resource-guard" under ### -DefaultProfile - ```yaml Type: System.Management.Automation.PSObject Parameter Sets: (All) @@ -203,4 +202,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionRestoreConfigurationClientObject.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionRestoreConfigurationClientObject.md index 552b3d91f97c..18993b9ec7fd 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionRestoreConfigurationClientObject.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionRestoreConfigurationClientObject.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionrestoreconfigurationclientobject schema: 2.0.0 @@ -14,9 +14,9 @@ Creates new restore configuration object ``` New-AzDataProtectionRestoreConfigurationClientObject -DatasourceType - [-ConflictPolicy ] [-ExcludedNamespace ] [-ExcludedResourceType ] - [-IncludeClusterScopeResource ] [-IncludedNamespace ] [-IncludedResourceType ] - [-LabelSelector ] [-NamespaceMapping ] + [-ExcludedResourceType ] [-IncludedResourceType ] [-ExcludedNamespace ] + [-IncludedNamespace ] [-LabelSelector ] [-IncludeClusterScopeResource ] + [-ConflictPolicy ] [-NamespaceMapping ] [-PersistentVolumeRestoreMode ] [-RestoreHookReference ] [] ``` @@ -66,6 +66,7 @@ Datasource Type Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes Parameter Sets: (All) Aliases: +Accepted values: AzureDisk, AzureBlob, AzureDatabaseForPostgreSQL, AzureKubernetesService Required: True Position: Named @@ -109,7 +110,7 @@ Boolean parameter to decide whether cluster scope resources are included for res By default this is taken as true. ```yaml -Type: System.Nullable`1[[System.Boolean, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]] +Type: System.Nullable`1[System.Boolean] Parameter Sets: (All) Aliases: @@ -170,7 +171,7 @@ Namespaces mapping from source namespaces to target namespaces to resolve namesp To construct, see NOTES section for NAMESPACEMAPPING properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.KubernetesClusterRestoreCriteriaNamespaceMappings +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.KubernetesClusterRestoreCriteriaNamespaceMappings Parameter Sets: (All) Aliases: @@ -203,7 +204,7 @@ Hook reference to be executed during restore. To construct, see NOTES section for RESTOREHOOKREFERENCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.NamespacedNameResource[] +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.NamespacedNameResource[] Parameter Sets: (All) Aliases: @@ -240,4 +241,3 @@ To create the parameters described below, construct a hash table containing the - `[Namespace ]`: Namespace in which the resource exists ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/New-AzDataProtectionRetentionLifeCycleClientObject.md b/src/DataProtection/DataProtection/help/New-AzDataProtectionRetentionLifeCycleClientObject.md index 9b5e8a8727fe..1eac93ff5efe 100644 --- a/src/DataProtection/DataProtection/help/New-AzDataProtectionRetentionLifeCycleClientObject.md +++ b/src/DataProtection/DataProtection/help/New-AzDataProtectionRetentionLifeCycleClientObject.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/new-azdataprotectionretentionlifecycleclientobject schema: 2.0.0 @@ -14,8 +14,8 @@ Creates new Lifecycle object ``` New-AzDataProtectionRetentionLifeCycleClientObject -SourceDataStore - -SourceRetentionDurationCount -SourceRetentionDurationType [-CopyOption ] - [-TargetDataStore ] [] + -SourceRetentionDurationType -SourceRetentionDurationCount + [-TargetDataStore ] [-CopyOption ] [] ``` ## DESCRIPTION @@ -62,6 +62,7 @@ CopyOption Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.CopyOption Parameter Sets: (All) Aliases: +Accepted values: CustomCopyOption, ImmediateCopyOption, CopyOnExpiryOption Required: False Position: Named @@ -77,6 +78,7 @@ Source Datastore Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreType Parameter Sets: (All) Aliases: +Accepted values: ArchiveStore, OperationalStore, VaultStore Required: True Position: Named @@ -107,6 +109,7 @@ Retention Duration Type Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DurationType Parameter Sets: (All) Aliases: +Accepted values: Days, Weeks, Months, Years Required: True Position: Named @@ -122,6 +125,7 @@ Target Datastore Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DataStoreType Parameter Sets: (All) Aliases: +Accepted values: ArchiveStore, OperationalStore, VaultStore Required: False Position: Named @@ -144,4 +148,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupInstance.md index af9be925442c..ac04af49fa27 100644 --- a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupInstance.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/remove-azdataprotectionbackupinstance schema: 2.0.0 @@ -14,15 +14,15 @@ Delete a backupInstances ### Delete (Default) ``` -Remove-AzDataProtectionBackupInstance -Name -ResourceGroupName -VaultName - [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] +Remove-AzDataProtectionBackupInstance -Name -ResourceGroupName [-SubscriptionId ] + -VaultName [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzDataProtectionBackupInstance -InputObject [-DefaultProfile ] - [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] + [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -246,4 +246,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupPolicy.md b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupPolicy.md index 46bafe63d1d7..5280dc2c458b 100644 --- a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupPolicy.md +++ b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupPolicy.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/remove-azdataprotectionbackuppolicy schema: 2.0.0 @@ -14,14 +14,14 @@ Deletes a backup policy belonging to a backup vault ### Delete (Default) ``` -Remove-AzDataProtectionBackupPolicy -Name -ResourceGroupName -VaultName - [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +Remove-AzDataProtectionBackupPolicy -Name -ResourceGroupName [-SubscriptionId ] + -VaultName [-DefaultProfile ] [-PassThru] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzDataProtectionBackupPolicy -InputObject [-DefaultProfile ] - [-PassThru] [-Confirm] [-WhatIf] [] + [-PassThru] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -215,4 +215,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupVault.md index 401fad59c294..c631d1f35b86 100644 --- a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionBackupVault.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/remove-azdataprotectionbackupvault schema: 2.0.0 @@ -14,14 +14,14 @@ Deletes a BackupVault resource from the resource group. ### Delete (Default) ``` -Remove-AzDataProtectionBackupVault -ResourceGroupName -VaultName [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +Remove-AzDataProtectionBackupVault -ResourceGroupName [-SubscriptionId ] -VaultName + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` -Remove-AzDataProtectionBackupVault -InputObject [-DefaultProfile ] - [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +Remove-AzDataProtectionBackupVault -InputObject [-DefaultProfile ] [-AsJob] + [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -229,4 +229,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionResourceGuard.md index a7dae8f4c520..80b441d800f3 100644 --- a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionResourceGuard.md +++ b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionResourceGuard.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/remove-azdataprotectionresourceguard schema: 2.0.0 @@ -15,13 +15,13 @@ Deletes a ResourceGuard resource from the resource group. ### Delete (Default) ``` Remove-AzDataProtectionResourceGuard -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] + [-DefaultProfile ] [-PassThru] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzDataProtectionResourceGuard -InputObject [-DefaultProfile ] - [-PassThru] [-Confirm] [-WhatIf] [] + [-PassThru] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -31,7 +31,7 @@ Deletes a ResourceGuard resource from the resource group. ### Example 1: Delete a resource guard ```powershell -Remove-AzDataProtectionResourceGuard -Name "ResourceGuardName" -ResourceGroupName "ResourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" +Remove-AzDataProtectionResourceGuard -Name "ResourceGuardName" -ResourceGroupName "ResourceGroupName" -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx" ``` This command is used to delete the resource guard under a resource group. @@ -199,4 +199,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionResourceGuardMapping.md b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionResourceGuardMapping.md index 008cc81c3447..d0479a23224f 100644 --- a/src/DataProtection/DataProtection/help/Remove-AzDataProtectionResourceGuardMapping.md +++ b/src/DataProtection/DataProtection/help/Remove-AzDataProtectionResourceGuardMapping.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/remove-azdataprotectionresourceguardmapping schema: 2.0.0 @@ -14,14 +14,14 @@ Deletes the ResourceGuardProxy ### Delete (Default) ``` -Remove-AzDataProtectionResourceGuardMapping -ResourceGroupName -VaultName - [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +Remove-AzDataProtectionResourceGuardMapping -ResourceGroupName [-SubscriptionId ] + -VaultName [-DefaultProfile ] [-PassThru] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` -Remove-AzDataProtectionResourceGuardMapping -InputObject - [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] [] +Remove-AzDataProtectionResourceGuardMapping -InputObject [-DefaultProfile ] + [-PassThru] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -210,4 +210,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Resume-AzDataProtectionBackupInstanceProtection.md b/src/DataProtection/DataProtection/help/Resume-AzDataProtectionBackupInstanceProtection.md index f6a1e59cea64..037e3a05cb1a 100644 --- a/src/DataProtection/DataProtection/help/Resume-AzDataProtectionBackupInstanceProtection.md +++ b/src/DataProtection/DataProtection/help/Resume-AzDataProtectionBackupInstanceProtection.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/resume-azdataprotectionbackupinstanceprotection schema: 2.0.0 @@ -15,14 +15,14 @@ This operation will resume protection for a stopped backup instance ### Resume (Default) ``` Resume-AzDataProtectionBackupInstanceProtection -BackupInstanceName -ResourceGroupName - -VaultName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-Confirm] [-WhatIf] [] + [-SubscriptionId ] -VaultName [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-WhatIf] [-Confirm] [] ``` ### ResumeViaIdentity ``` Resume-AzDataProtectionBackupInstanceProtection -InputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -245,4 +245,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Search-AzDataProtectionBackupInstanceInAzGraph.md b/src/DataProtection/DataProtection/help/Search-AzDataProtectionBackupInstanceInAzGraph.md index 4c74d68d8cb8..906804e05187 100644 --- a/src/DataProtection/DataProtection/help/Search-AzDataProtectionBackupInstanceInAzGraph.md +++ b/src/DataProtection/DataProtection/help/Search-AzDataProtectionBackupInstanceInAzGraph.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/search-azdataprotectionbackupinstanceinazgraph schema: 2.0.0 @@ -13,8 +13,9 @@ Searches for Backup instances in Azure Resource Graph and retrieves the expected ## SYNTAX ``` -Search-AzDataProtectionBackupInstanceInAzGraph -DatasourceType -Subscription - [-ProtectionStatus ] [-ResourceGroup ] [-Vault ] [] +Search-AzDataProtectionBackupInstanceInAzGraph -Subscription -DatasourceType + [-ResourceGroup ] [-Vault ] [-ProtectionStatus ] + [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -81,6 +82,7 @@ Datasource Type Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes Parameter Sets: (All) Aliases: +Accepted values: AzureDisk, AzureBlob, AzureDatabaseForPostgreSQL, AzureKubernetesService Required: True Position: Named @@ -89,6 +91,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -DefaultProfile +{{ Fill DefaultProfile Description }} + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ProtectionStatus Protection Status of the item @@ -96,6 +113,7 @@ Protection Status of the item Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.ProtectionStatus[] Parameter Sets: (All) Aliases: +Accepted values: ConfiguringProtection, ProtectionConfigured, ConfiguringProtectionFailed, ProtectionError Required: False Position: Named @@ -163,4 +181,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Search-AzDataProtectionBackupVaultInAzGraph.md b/src/DataProtection/DataProtection/help/Search-AzDataProtectionBackupVaultInAzGraph.md new file mode 100644 index 000000000000..d57bc9b4b03d --- /dev/null +++ b/src/DataProtection/DataProtection/help/Search-AzDataProtectionBackupVaultInAzGraph.md @@ -0,0 +1,105 @@ +--- +external help file: Az.DataProtection-help.xml +Module Name: Az.DataProtection +online version: https://learn.microsoft.com/powershell/module/az.dataprotection/search-azdataprotectionbackupvaultinazgraph +schema: 2.0.0 +--- + +# Search-AzDataProtectionBackupVaultInAzGraph + +## SYNOPSIS +Searches for Backup vaults in Azure Resource Graph and retrieves the expected entries + +## SYNTAX + +``` +Search-AzDataProtectionBackupVaultInAzGraph -Subscription [-ResourceGroup ] + [-Vault ] [-DefaultProfile ] [] +``` + +## DESCRIPTION +Searches for Backup vaults in Azure Resource Graph and retrieves the expected entries + +## EXAMPLES + +### EXAMPLE 1 +``` +Search-AzDataProtectionBackupVaultInAzGraph -Subscription "xxxxxxxx-xxxx-xxxxxxxxxxxx" -ResourceGroup $resourceGroupName -Vault $vaultName +``` + +## PARAMETERS + +### -DefaultProfile +{{ Fill DefaultProfile Description }} + +```yaml +Type: PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ResourceGroup +Resource Group of Vault + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Subscription +Subscription of Vault + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -Vault +Name of the vault + +```yaml +Type: String[] +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### CommonParameters +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). + +## INPUTS + +## OUTPUTS + +### System.Management.Automation.PSObject +## NOTES + +## RELATED LINKS + +[https://learn.microsoft.com/powershell/module/az.dataprotection/search-azdataprotectionbackupvaultinazgraph](https://learn.microsoft.com/powershell/module/az.dataprotection/search-azdataprotectionbackupvaultinazgraph) + diff --git a/src/DataProtection/DataProtection/help/Search-AzDataProtectionJobInAzGraph.md b/src/DataProtection/DataProtection/help/Search-AzDataProtectionJobInAzGraph.md index 1bd045f122ae..5dc27e870672 100644 --- a/src/DataProtection/DataProtection/help/Search-AzDataProtectionJobInAzGraph.md +++ b/src/DataProtection/DataProtection/help/Search-AzDataProtectionJobInAzGraph.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/search-azdataprotectionjobinazgraph schema: 2.0.0 @@ -13,9 +13,9 @@ Searches for Backup Jobs in Azure Resource Graph and retrieves the expected entr ## SYNTAX ``` -Search-AzDataProtectionJobInAzGraph -DatasourceType -Subscription - [-EndTime ] [-Operation ] [-ResourceGroup ] [-StartTime ] - [-Status ] [-Vault ] [] +Search-AzDataProtectionJobInAzGraph -Subscription -DatasourceType + [-ResourceGroup ] [-Vault ] [-StartTime ] [-EndTime ] + [-Operation ] [-Status ] [-DefaultProfile ] [] ``` ## DESCRIPTION @@ -64,6 +64,7 @@ Datasource Type Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.DatasourceTypes Parameter Sets: (All) Aliases: +Accepted values: AzureDisk, AzureBlob, AzureDatabaseForPostgreSQL, AzureKubernetesService Required: True Position: Named @@ -72,6 +73,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -DefaultProfile +{{ Fill DefaultProfile Description }} + +```yaml +Type: System.Management.Automation.PSObject +Parameter Sets: (All) +Aliases: AzureRMContext, AzureCredential + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -EndTime End Time filter for the Backup Job @@ -94,6 +110,7 @@ Operation filter for the backup job Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.JobOperation[] Parameter Sets: (All) Aliases: +Accepted values: OnDemandBackup, ScheduledBackup, Restore Required: False Position: Named @@ -139,6 +156,7 @@ Status filter for the backup job Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Support.JobStatus[] Parameter Sets: (All) Aliases: +Accepted values: InProgress, Completed, Failed Required: False Position: Named @@ -191,4 +209,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Set-AzDataProtectionMSIPermission.md b/src/DataProtection/DataProtection/help/Set-AzDataProtectionMSIPermission.md index f16c11917bec..8beffcd44e6b 100644 --- a/src/DataProtection/DataProtection/help/Set-AzDataProtectionMSIPermission.md +++ b/src/DataProtection/DataProtection/help/Set-AzDataProtectionMSIPermission.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/set-azdataprotectionmsipermission schema: 2.0.0 @@ -14,15 +14,14 @@ Grants required permissions to the backup vault and other resources for configur ### SetPermissionsForBackup (Default) ``` -Set-AzDataProtectionMSIPermission -BackupInstance -PermissionsScope - -VaultName -VaultResourceGroup [-KeyVaultId ] [-Confirm] [-WhatIf] - [] +Set-AzDataProtectionMSIPermission -VaultResourceGroup -VaultName -PermissionsScope + -BackupInstance [-KeyVaultId ] [-WhatIf] [-Confirm] [] ``` ### SetPermissionsForRestore ``` -Set-AzDataProtectionMSIPermission -PermissionsScope -RestoreRequest - -SnapshotResourceGroupId -VaultName -VaultResourceGroup [-Confirm] [-WhatIf] +Set-AzDataProtectionMSIPermission -VaultResourceGroup -VaultName -PermissionsScope + -RestoreRequest -SnapshotResourceGroupId [-WhatIf] [-Confirm] [] ``` @@ -34,7 +33,6 @@ Grants required permissions to the backup vault and other resources for configur ### Example 1: Grant Permissions for Azure Disks ```powershell Set-AzDataProtectionMSIPermission -BackupInstance $instance -VaultResourceGroup "VaultRG" -VaultName "Vaultname" -PermissionsScope "ResourceGroup" - ``` ```output @@ -63,7 +61,6 @@ The above command is used to assign permissions to the backup vault "Vaultname" ### Example 3: Grant Permissions for Azure Database For PostgreSQL ```powershell Set-AzDataProtectionMSIPermission -KeyVaultId "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx/resourcegroups/Sqlrg/providers/Microsoft.KeyVault/vaults/testkeyvault" -BackupInstance $instance -VaultResourceGroup "VaultRG" -VaultName "Vaultname" -PermissionsScope "Resource" - ``` ```output @@ -107,7 +104,7 @@ Backup instance request object which will be used to configure backup To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstanceResource +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstanceResource Parameter Sets: SetPermissionsForBackup Aliases: @@ -153,7 +150,7 @@ Restore request object which will be used for restore To construct, see NOTES section for RESTOREREQUEST properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest Parameter Sets: SetPermissionsForRestore Aliases: @@ -306,4 +303,3 @@ To create the parameters described below, construct a hash table containing the - `[SourceResourceId ]`: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Set-AzDataProtectionResourceGuardMapping.md b/src/DataProtection/DataProtection/help/Set-AzDataProtectionResourceGuardMapping.md index a8629f238a3a..605d7235ae4e 100644 --- a/src/DataProtection/DataProtection/help/Set-AzDataProtectionResourceGuardMapping.md +++ b/src/DataProtection/DataProtection/help/Set-AzDataProtectionResourceGuardMapping.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/set-azdataprotectionresourceguardmapping schema: 2.0.0 @@ -14,7 +14,7 @@ Creates or Updates a ResourceGuardProxy ``` Set-AzDataProtectionResourceGuardMapping -ResourceGroupName -VaultName - [-SubscriptionId ] [-ResourceGuardId ] [-DefaultProfile ] [-Confirm] [-WhatIf] + [-SubscriptionId ] [-ResourceGuardId ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` @@ -180,4 +180,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultCriticalOperation ]`: ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Start-AzDataProtectionBackupInstanceRestore.md b/src/DataProtection/DataProtection/help/Start-AzDataProtectionBackupInstanceRestore.md index 49533085bc67..f507b12f36cd 100644 --- a/src/DataProtection/DataProtection/help/Start-AzDataProtectionBackupInstanceRestore.md +++ b/src/DataProtection/DataProtection/help/Start-AzDataProtectionBackupInstanceRestore.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/start-azdataprotectionbackupinstancerestore schema: 2.0.0 @@ -14,18 +14,19 @@ Triggers restore for a BackupInstance ### Trigger (Default) ``` -Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName -ResourceGroupName +Start-AzDataProtectionBackupInstanceRestore -ResourceGroupName -BackupInstanceName -VaultName -Parameter [-SubscriptionId ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-RestoreToSecondaryRegion] [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] + [] ``` ### TriggerExpanded ``` -Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName -ResourceGroupName - -VaultName -ObjectType -RestoreTargetInfo - -SourceDataStoreType [-SubscriptionId ] - [-IdentityDetailUserAssignedIdentityArmUrl ] [-IdentityDetailUseSystemAssignedIdentity] - [-SourceResourceId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] +Start-AzDataProtectionBackupInstanceRestore -ResourceGroupName -BackupInstanceName + -VaultName [-SubscriptionId ] [-RestoreToSecondaryRegion] [-DefaultProfile ] + [-AsJob] [-NoWait] -ObjectType -RestoreTargetInfo + -SourceDataStoreType [-IdentityDetailUserAssignedIdentityArmUrl ] + [-IdentityDetailUseSystemAssignedIdentity] [-SourceResourceId ] [-WhatIf] [-Confirm] [] ``` @@ -42,8 +43,6 @@ $restoreRequest = Initialize-AzDataProtectionRestoreRequest -DatasourceType Azur Start-AzDataProtectionBackupInstanceRestore -BackupInstanceName $instance.BackupInstanceName -ResourceGroupName sarath-rg -VaultName sarath-vault -SubscriptionId "xxx-xxx-xxx" -Parameter $restorerequest ``` - - ### Example 2: Trigger restore as DB for protected AzureDatabaseForPostgreSQL using secret store. ```powershell $instance = Get-AzDataProtectionBackupInstance -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" -ResourceGroupName "resourceGroupName" -VaultName "vaultName" @@ -287,7 +286,7 @@ Azure backup restore request To construct, see NOTES section for PARAMETER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest Parameter Sets: Trigger Aliases: @@ -319,7 +318,7 @@ Gets or sets the restore target information. To construct, see NOTES section for RESTORETARGETINFO properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IRestoreTargetInfoBase +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IRestoreTargetInfoBase Parameter Sets: TriggerExpanded Aliases: @@ -330,6 +329,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestoreToSecondaryRegion +Switch parameter to trigger restore to secondary region (Cross region restore) + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SourceDataStoreType Gets or sets the type of the source data store. @@ -457,4 +471,3 @@ To create the parameters described below, construct a hash table containing the - `[RestoreLocation ]`: Target Restore region ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Stop-AzDataProtectionBackupInstanceProtection.md b/src/DataProtection/DataProtection/help/Stop-AzDataProtectionBackupInstanceProtection.md index 63fafcafcd72..7603467480f9 100644 --- a/src/DataProtection/DataProtection/help/Stop-AzDataProtectionBackupInstanceProtection.md +++ b/src/DataProtection/DataProtection/help/Stop-AzDataProtectionBackupInstanceProtection.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/stop-azdataprotectionbackupinstanceprotection schema: 2.0.0 @@ -15,14 +15,14 @@ This operation will stop protection of a backup instance and data will be held f ### Stop (Default) ``` Stop-AzDataProtectionBackupInstanceProtection -BackupInstanceName -ResourceGroupName - -VaultName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-Confirm] [-WhatIf] [] + [-SubscriptionId ] -VaultName [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-WhatIf] [-Confirm] [] ``` ### StopViaIdentity ``` Stop-AzDataProtectionBackupInstanceProtection -InputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -245,4 +245,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Suspend-AzDataProtectionBackupInstanceBackup.md b/src/DataProtection/DataProtection/help/Suspend-AzDataProtectionBackupInstanceBackup.md index 7ddbdac3d376..c97e0a993a63 100644 --- a/src/DataProtection/DataProtection/help/Suspend-AzDataProtectionBackupInstanceBackup.md +++ b/src/DataProtection/DataProtection/help/Suspend-AzDataProtectionBackupInstanceBackup.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/suspend-azdataprotectionbackupinstancebackup schema: 2.0.0 @@ -15,14 +15,14 @@ This operation will stop backup for a backup instance and retains the backup dat ### Suspend (Default) ``` Suspend-AzDataProtectionBackupInstanceBackup -BackupInstanceName -ResourceGroupName - -VaultName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-Confirm] [-WhatIf] [] + [-SubscriptionId ] -VaultName [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-WhatIf] [-Confirm] [] ``` ### SuspendViaIdentity ``` Suspend-AzDataProtectionBackupInstanceBackup -InputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] + [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -245,4 +245,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Sync-AzDataProtectionBackupInstance.md b/src/DataProtection/DataProtection/help/Sync-AzDataProtectionBackupInstance.md index 69a15c04a74f..0320f50bcd4f 100644 --- a/src/DataProtection/DataProtection/help/Sync-AzDataProtectionBackupInstance.md +++ b/src/DataProtection/DataProtection/help/Sync-AzDataProtectionBackupInstance.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/sync-azdataprotectionbackupinstance schema: 2.0.0 @@ -15,7 +15,7 @@ Sync backup instance again in case of failure\r\nThis action will retry last fai ``` Sync-AzDataProtectionBackupInstance -Name -ResourceGroupName -VaultName [-SubscriptionId ] [-SyncType ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-Confirm] [-WhatIf] [] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -217,4 +217,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceReadiness.md b/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceReadiness.md index 46d54480bc74..436e446b6d21 100644 --- a/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceReadiness.md +++ b/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceReadiness.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancereadiness schema: 2.0.0 @@ -14,8 +14,8 @@ Validate whether adhoc backup will be successful or not ``` Test-AzDataProtectionBackupInstanceReadiness -ResourceGroupName -VaultName - -BackupInstance [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-Confirm] [-WhatIf] [] + [-SubscriptionId ] -BackupInstance [-DefaultProfile ] [-AsJob] [-NoWait] + [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -23,7 +23,7 @@ Validate whether adhoc backup will be successful or not ## EXAMPLES -### Example 1: Test the backup instance +### Example 1: Test the backup instance ```powershell $vault = Get-AzDataProtectionBackupVault -ResourceGroupName "resourceGroupName" -VaultName "vaultName" $diskBackupPolicy = Get-AzDataProtectionBackupPolicy -ResourceGroupName "resourceGroupName" -VaultName $vault.Name -Name "diskBackupPolicy" @@ -62,7 +62,7 @@ Backup Instance To construct, see NOTES section for BACKUPINSTANCE properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IBackupInstance +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IBackupInstance Parameter Sets: (All) Aliases: @@ -235,4 +235,3 @@ To create the parameters described below, construct a hash table containing the - `[ValidationType ]`: Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceRestore.md b/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceRestore.md index 53761d25d3a9..9e44a396e1a5 100644 --- a/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceRestore.md +++ b/src/DataProtection/DataProtection/help/Test-AzDataProtectionBackupInstanceRestore.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/test-azdataprotectionbackupinstancerestore schema: 2.0.0 @@ -13,9 +13,9 @@ Validates if Restore can be triggered for a DataSource ## SYNTAX ``` -Test-AzDataProtectionBackupInstanceRestore -Name -ResourceGroupName - -RestoreRequest -VaultName [-AsJob] [-DefaultProfile ] - [-NoWait] [-SubscriptionId ] [-Confirm] [-WhatIf] [] +Test-AzDataProtectionBackupInstanceRestore -ResourceGroupName -Name -VaultName + -RestoreRequest [-SubscriptionId ] [-RestoreToSecondaryRegion] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -38,7 +38,6 @@ The command tests the restore request object is valid for restore ### -AsJob - ```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) @@ -53,7 +52,6 @@ Accept wildcard characters: False ### -DefaultProfile - ```yaml Type: System.Management.Automation.PSObject Parameter Sets: (All) @@ -83,7 +81,6 @@ Accept wildcard characters: False ### -NoWait - ```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) @@ -116,7 +113,7 @@ Restore request object for which to validate To construct, see NOTES section for RESTOREREQUEST properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20230501.IAzureBackupRestoreRequest +Type: Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20231101.IAzureBackupRestoreRequest Parameter Sets: (All) Aliases: @@ -127,6 +124,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -RestoreToSecondaryRegion +Switch parameter to trigger restore to secondary region + +```yaml +Type: System.Management.Automation.SwitchParameter +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: False +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -SubscriptionId Subscription Id of the backup vault @@ -217,4 +229,3 @@ To create the parameters described below, construct a hash table containing the - `[SourceResourceId ]`: Fully qualified Azure Resource Manager ID of the datasource which is being recovered. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Undo-AzDataProtectionBackupInstanceDeletion.md b/src/DataProtection/DataProtection/help/Undo-AzDataProtectionBackupInstanceDeletion.md index 0636fd5daaca..9c7236156aac 100644 --- a/src/DataProtection/DataProtection/help/Undo-AzDataProtectionBackupInstanceDeletion.md +++ b/src/DataProtection/DataProtection/help/Undo-AzDataProtectionBackupInstanceDeletion.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/undo-azdataprotectionbackupinstancedeletion schema: 2.0.0 @@ -15,14 +15,14 @@ Undeletes a soft deleted backup instance ### Undelete (Default) ``` Undo-AzDataProtectionBackupInstanceDeletion -BackupInstanceName -ResourceGroupName - -VaultName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-Confirm] [-WhatIf] [] + [-SubscriptionId ] -VaultName [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] + [-WhatIf] [-Confirm] [] ``` ### UndeleteViaIdentity ``` -Undo-AzDataProtectionBackupInstanceDeletion -InputObject - [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] [-Confirm] [-WhatIf] [] +Undo-AzDataProtectionBackupInstanceDeletion -InputObject [-DefaultProfile ] + [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -33,7 +33,7 @@ Undeletes a soft deleted backup instance ### Example 1: Undelete the soft deleted backup instance ```powershell $softDeletedBI = Get-AzDataProtectionSoftDeletedBackupInstance -ResourceGroupName $resourceGroupName -SubscriptionId $subscriptionId -VaultName $vaultName -Undo-AzDataProtectionBackupInstanceDeletion -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName -BackupInstanceName $softDeletedBI[0].Name +Undo-AzDataProtectionBackupInstanceDeletion -SubscriptionId $subscriptionId -ResourceGroupName $resourceGroupName -VaultName $vaultName -BackupInstanceName $softDeletedBI[0].Name ``` The first comamnd is used to fetch the backup instances which are in soft deleted for a give backup vault. @@ -247,4 +247,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Unlock-AzDataProtectionResourceGuardOperation.md b/src/DataProtection/DataProtection/help/Unlock-AzDataProtectionResourceGuardOperation.md index 1da04016bc44..a1edb79d1e7c 100644 --- a/src/DataProtection/DataProtection/help/Unlock-AzDataProtectionResourceGuardOperation.md +++ b/src/DataProtection/DataProtection/help/Unlock-AzDataProtectionResourceGuardOperation.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/unlock-azdataprotectionresourceguardoperation schema: 2.0.0 @@ -14,8 +14,8 @@ Unlocks the critical operation which is protected by the resource guard ``` Unlock-AzDataProtectionResourceGuardOperation -ResourceGroupName -VaultName - [-DefaultProfile ] [-ResourceGuardOperationRequest ] [-ResourceToBeDeleted ] - [-SubscriptionId ] [-Token ] [-Confirm] [-WhatIf] [] + [-SubscriptionId ] [-ResourceGuardOperationRequest ] [-ResourceToBeDeleted ] + [-Token ] [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -99,7 +99,6 @@ Pass access token in case of cross tenant resource guard. ### -DefaultProfile - ```yaml Type: System.Management.Automation.PSObject Parameter Sets: (All) @@ -250,4 +249,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md index d87b35079e95..11eb5b557f76 100644 --- a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md +++ b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupInstanceAssociatedPolicy.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionbackupinstanceassociatedpolicy schema: 2.0.0 @@ -13,9 +13,9 @@ Updates associated policy for a given backup instance ## SYNTAX ``` -Update-AzDataProtectionBackupInstanceAssociatedPolicy -BackupInstanceName -PolicyId - -ResourceGroupName -VaultName [-AsJob] [-DefaultProfile ] [-NoWait] - [-SubscriptionId ] [-Confirm] [-WhatIf] [] +Update-AzDataProtectionBackupInstanceAssociatedPolicy -ResourceGroupName -VaultName + -BackupInstanceName -PolicyId [-SubscriptionId ] [-DefaultProfile ] + [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -43,7 +43,6 @@ This command updates the associated policy of a backup instance ### -AsJob - ```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) @@ -73,7 +72,6 @@ Accept wildcard characters: False ### -DefaultProfile - ```yaml Type: System.Management.Automation.PSObject Parameter Sets: (All) @@ -88,7 +86,6 @@ Accept wildcard characters: False ### -NoWait - ```yaml Type: System.Management.Automation.SwitchParameter Parameter Sets: (All) @@ -206,4 +203,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupVault.md b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupVault.md index 283ba73436b2..e748de18b484 100644 --- a/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupVault.md +++ b/src/DataProtection/DataProtection/help/Update-AzDataProtectionBackupVault.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionbackupvault schema: 2.0.0 @@ -15,12 +15,12 @@ For example, updating tags for a resource. ### UpdateExpanded (Default) ``` -Update-AzDataProtectionBackupVault -ResourceGroupName -VaultName [-SubscriptionId ] +Update-AzDataProtectionBackupVault -ResourceGroupName [-SubscriptionId ] -VaultName [-AzureMonitorAlertsForAllJobFailure ] [-CrossRegionRestoreState ] [-CrossSubscriptionRestoreState ] [-IdentityType ] [-IdentityUserAssignedIdentity ] [-ImmutabilityState ] [-SoftDeleteRetentionDurationInDay ] [-SoftDeleteState ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded @@ -30,7 +30,7 @@ Update-AzDataProtectionBackupVault -InputObject [-CrossSubscriptionRestoreState ] [-IdentityType ] [-IdentityUserAssignedIdentity ] [-ImmutabilityState ] [-SoftDeleteRetentionDurationInDay ] [-SoftDeleteState ] [-Tag ] - [-DefaultProfile ] [-AsJob] [-NoWait] [-Confirm] [-WhatIf] [] + [-DefaultProfile ] [-AsJob] [-NoWait] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -401,4 +401,3 @@ To create the parameters described below, construct a hash table containing the - `[VaultName ]`: The name of the backup vault. ## RELATED LINKS - diff --git a/src/DataProtection/DataProtection/help/Update-AzDataProtectionResourceGuard.md b/src/DataProtection/DataProtection/help/Update-AzDataProtectionResourceGuard.md index 8a0142e1b4c2..47f8090c3bed 100644 --- a/src/DataProtection/DataProtection/help/Update-AzDataProtectionResourceGuard.md +++ b/src/DataProtection/DataProtection/help/Update-AzDataProtectionResourceGuard.md @@ -1,5 +1,5 @@ --- -external help file: +external help file: Az.DataProtection-help.xml Module Name: Az.DataProtection online version: https://learn.microsoft.com/powershell/module/az.dataprotection/update-azdataprotectionresourceguard schema: 2.0.0 @@ -13,10 +13,9 @@ Updates a resource guard belonging to a resource group ## SYNTAX ``` -Update-AzDataProtectionResourceGuard -Name -ResourceGroupName - [-CriticalOperationExclusionList ] [-DefaultProfile ] [-ETag ] - [-IdentityType ] [-SubscriptionId ] [-Tag ] [-Confirm] [-WhatIf] - [] +Update-AzDataProtectionResourceGuard -ResourceGroupName -Name [-SubscriptionId ] + [-ETag ] [-IdentityType ] [-Tag ] [-CriticalOperationExclusionList ] + [-DefaultProfile ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -63,7 +62,6 @@ Accept wildcard characters: False ### -DefaultProfile - ```yaml Type: System.Management.Automation.PSObject Parameter Sets: (All) @@ -211,4 +209,3 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ALIASES ## RELATED LINKS -